ETH Price: $3,315.70 (-8.97%)

Contract

0x7FC7c91D556B400AFa565013E3F32055a0713425
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw227705142025-06-23 23:50:11134 days ago1750722611IN
Ethena: USDe Silo
0 ETH0.000101924.5080713
0x68747470225481512025-05-23 21:09:35165 days ago1748034575IN
Ethena: USDe Silo
0 ETH0.000052962
0x68747470225477812025-05-23 19:54:47165 days ago1748030087IN
Ethena: USDe Silo
0 ETH0.000052962
0x68747470225474112025-05-23 18:39:47165 days ago1748025587IN
Ethena: USDe Silo
0 ETH0.000052962
0x68747470224133662025-05-04 22:27:47184 days ago1746397667IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224129922025-05-04 21:12:23184 days ago1746393143IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224125942025-05-04 19:51:35184 days ago1746388295IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224118132025-05-04 17:14:47184 days ago1746378887IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224114462025-05-04 16:00:35184 days ago1746374435IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224110682025-05-04 14:44:23184 days ago1746369863IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224106982025-05-04 13:29:23184 days ago1746365363IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224103262025-05-04 12:14:23184 days ago1746360863IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224099602025-05-04 10:59:47184 days ago1746356387IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224095882025-05-04 9:44:59184 days ago1746351899IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224092172025-05-04 8:29:47184 days ago1746347387IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224088472025-05-04 7:14:47184 days ago1746342887IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224084772025-05-04 5:59:47184 days ago1746338387IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224081032025-05-04 4:44:47184 days ago1746333887IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224077332025-05-04 3:30:11184 days ago1746329411IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224073632025-05-04 2:15:23185 days ago1746324923IN
Ethena: USDe Silo
0 ETH0.000022811
0x68747470224070172025-05-04 1:05:47185 days ago1746320747IN
Ethena: USDe Silo
0 ETH0.000022641
Withdraw191085352024-01-29 0:13:11646 days ago1706487191IN
Ethena: USDe Silo
0 ETH0.000193858.81750359

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x60c06040185713592023-11-14 16:32:47721 days ago1699979567  Contract Creation0 ETH
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
USDeSilo

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 20000 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;

/* solhint-disable var-name-mixedcase  */

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../contracts/interfaces/IUSDeSiloDefinitions.sol";

/**
 * @title USDeSilo
 * @notice The Silo allows to store USDe during the stake cooldown process.
 */
contract USDeSilo is IUSDeSiloDefinitions {
  address immutable _STAKING_VAULT;
  IERC20 immutable _USDE;

  constructor(address stakingVault, address usde) {
    _STAKING_VAULT = stakingVault;
    _USDE = IERC20(usde);
  }

  modifier onlyStakingVault() {
    if (msg.sender != _STAKING_VAULT) revert OnlyStakingVault();
    _;
  }

  function withdraw(address to, uint256 amount) external onlyStakingVault {
    _USDE.transfer(to, amount);
  }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 3 of 3 : IUSDeSiloDefinitions.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.19;

interface IUSDeSiloDefinitions {
  /// @notice Error emitted when the staking vault is not the caller
  error OnlyStakingVault();
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@aave/core-v3/=lib/aave-v3-core/",
    "@bgd-helpers/=lib/aave-helpers/src/",
    "solidity-utils/=lib/aave-helpers/lib/solidity-utils/src/",
    "@aave/core-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-core/",
    "@aave/periphery-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/",
    "aave-address-book/=lib/aave-helpers/lib/aave-address-book/src/",
    "aave-helpers/=lib/aave-helpers/",
    "aave-v3-core/=lib/aave-v3-core/",
    "aave-v3-periphery/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "governance-crosschain-bridges/=lib/aave-helpers/lib/governance-crosschain-bridges/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"stakingVault","type":"address"},{"internalType":"address","name":"usde","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"OnlyStakingVault","type":"error"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405234801561001057600080fd5b506040516102cf3803806102cf83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102166100b9600039600061010001526000605d01526102166000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c634300081300330000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a34970000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a349716146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a34970000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3

-----Decoded View---------------
Arg [0] : stakingVault (address): 0x9D39A5DE30e57443BfF2A8307A4256c8797A3497
Arg [1] : usde (address): 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a3497
Arg [1] : 0000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.