Latest 22 from a total of 22 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 22770514 | 134 days ago | IN | 0 ETH | 0.00010192 | ||||
| 0x68747470 | 22548151 | 165 days ago | IN | 0 ETH | 0.00005296 | ||||
| 0x68747470 | 22547781 | 165 days ago | IN | 0 ETH | 0.00005296 | ||||
| 0x68747470 | 22547411 | 165 days ago | IN | 0 ETH | 0.00005296 | ||||
| 0x68747470 | 22413366 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22412992 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22412594 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22411813 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22411446 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22411068 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22410698 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22410326 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22409960 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22409588 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22409217 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22408847 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22408477 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22408103 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22407733 | 184 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22407363 | 185 days ago | IN | 0 ETH | 0.00002281 | ||||
| 0x68747470 | 22407017 | 185 days ago | IN | 0 ETH | 0.00002264 | ||||
| Withdraw | 19108535 | 646 days ago | IN | 0 ETH | 0.00019385 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60c06040 | 18571359 | 721 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
USDeSilo
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 20000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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);
}// 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();
}{
"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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
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
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.