{"matchId":"2020884","creationMatch":null,"runtimeMatch":"exact_match","verifiedAt":"2024-08-08T14:24:07Z","creationBytecode":{"onchainBytecode":null,"recompiledBytecode":"0x60c060405234801561001057600080fd5b506040516102cf3803806102cf83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102166100b9600039600061010001526000605d01526102166000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","sourceMap":"324:447:0:-:0;;;433:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;487:29:0;;;;;522:20;;;324:447;;14:177:3;93:13;;-1:-1:-1;;;;;135:31:3;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:293::-;275:6;283;336:2;324:9;315:7;311:23;307:32;304:52;;;352:1;349;342:12;304:52;375:40;405:9;375:40;:::i;:::-;365:50;;434:49;479:2;468:9;464:18;434:49;:::i;:::-;424:59;;196:293;;;;;:::o;:::-;324:447:0;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","offset":666}},"transformations":null,"transformationValues":null},"runtimeBytecode":{"onchainBytecode":"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a349716146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","recompiledBytecode":"0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","sourceMap":"324:447:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;660:109;;;;;;:::i;:::-;;:::i;:::-;;;589:10;:28;603:14;589:28;;585:59;;626:18;;;;;;;;;;;;;;585:59;738:26:::1;::::0;;;;:14:::1;588:55:3::0;;;738:26:0::1;::::0;::::1;570:74:3::0;660:18;;;653:34;;;738:5:0::1;:14;::::0;::::1;::::0;543:18:3;;738:26:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;660:109:::0;;:::o;14:377:3:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;198:9;185:23;248:42;241:5;237:54;230:5;227:65;217:93;;306:1;303;296:12;217:93;329:5;381:2;366:18;;;;353:32;;-1:-1:-1;;;14:377:3:o;698:277::-;765:6;818:2;806:9;797:7;793:23;789:32;786:52;;;834:1;831;824:12;786:52;866:9;860:16;919:5;912:13;905:21;898:5;895:32;885:60;;941:1;938;931:12;885:60;964:5;698:277;-1:-1:-1;;;698:277:3:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","offset":481}},"immutableReferences":{"8":[{"start":93,"length":32}],"11":[{"start":256,"length":32}]},"transformations":[{"id":"8","type":"replace","offset":93,"reason":"immutable"},{"id":"11","type":"replace","offset":256,"reason":"immutable"}],"transformationValues":{"immutables":{"8":"0x0000000000000000000000009d39a5de30e57443bff2a8307a4256c8797a3497","11":"0x0000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3"}}},"deployment":{"transactionHash":null,"blockNumber":null,"transactionIndex":null,"deployer":null},"sources":{"contracts/USDeSilo.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.0;\n\n/* solhint-disable var-name-mixedcase  */\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"../contracts/interfaces/IUSDeSiloDefinitions.sol\";\n\n/**\n * @title USDeSilo\n * @notice The Silo allows to store USDe during the stake cooldown process.\n */\ncontract USDeSilo is IUSDeSiloDefinitions {\n  address immutable _STAKING_VAULT;\n  IERC20 immutable _USDE;\n\n  constructor(address stakingVault, address usde) {\n    _STAKING_VAULT = stakingVault;\n    _USDE = IERC20(usde);\n  }\n\n  modifier onlyStakingVault() {\n    if (msg.sender != _STAKING_VAULT) revert OnlyStakingVault();\n    _;\n  }\n\n  function withdraw(address to, uint256 amount) external onlyStakingVault {\n    _USDE.transfer(to, amount);\n  }\n}\n"},"contracts/interfaces/IUSDeSiloDefinitions.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity 0.8.19;\n\ninterface IUSDeSiloDefinitions {\n  /// @notice Error emitted when the staking vault is not the caller\n  error OnlyStakingVault();\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.19+commit.7dd6d404","compilerSettings":{"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":20000,"enabled":true},"evmVersion":"paris","remappings":[":@aave/core-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-core/",":@aave/core-v3/=lib/aave-v3-core/",":@aave/periphery-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/",":@bgd-helpers/=lib/aave-helpers/src/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":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/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":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/",":solidity-utils/=lib/aave-helpers/lib/solidity-utils/src/"]},"name":"USDeSilo","fullyQualifiedName":"contracts/USDeSilo.sol:USDeSilo"},"abi":[{"type":"constructor","inputs":[{"name":"stakingVault","type":"address","internalType":"address"},{"name":"usde","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"OnlyStakingVault","type":"error","inputs":[]},{"name":"withdraw","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.19+commit.7dd6d404"},"language":"Solidity","output":{"abi":[{"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"}],"devdoc":{"kind":"dev","methods":{},"title":"USDeSilo","version":1},"userdoc":{"errors":{"OnlyStakingVault()":[{"notice":"Error emitted when the staking vault is not the caller"}]},"kind":"user","methods":{},"notice":"The Silo allows to store USDe during the stake cooldown process.","version":1}},"settings":{"compilationTarget":{"contracts/USDeSilo.sol":"USDeSilo"},"evmVersion":"paris","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":20000},"remappings":[":@aave/core-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-core/",":@aave/core-v3/=lib/aave-v3-core/",":@aave/periphery-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/",":@bgd-helpers/=lib/aave-helpers/src/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":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/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":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/",":solidity-utils/=lib/aave-helpers/lib/solidity-utils/src/"]},"sources":{"contracts/USDeSilo.sol":{"keccak256":"0x2cfe6abe38d821ecfab7f7e41f562a1c6cecad2fca68eba6119da012665a5d32","license":"GPL-3.0","urls":["bzz-raw://53c37cba0b27757cd8984aef66dce337e0fc64e6eccb6e0c66c56456c4f40ba3","dweb:/ipfs/QmUpoWm96B9pN7mTYPGCSa5rrFVgonohDstMYpPwNRGi73"]},"contracts/interfaces/IUSDeSiloDefinitions.sol":{"keccak256":"0x16dcf03d98a369569053486ba8cc8aab9787006864c0fa11c50f786eccccffdd","license":"GPL-3.0","urls":["bzz-raw://a5b900557d008e662f13af278c14a02696be0016476c309714db27d69453b0fd","dweb:/ipfs/QmeXnRUqNGJGVEsayDnY4jHnxG2cSQoLFj8s6xUpUaY9Wr"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305","license":"MIT","urls":["bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5","dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53"]}},"version":1},"storageLayout":{"types":null,"storage":[]},"transientStorageLayout":null,"userdoc":{"kind":"user","errors":{"OnlyStakingVault()":[{"notice":"Error emitted when the staking vault is not the caller"}]},"notice":"The Silo allows to store USDe during the stake cooldown process.","methods":{},"version":1},"devdoc":{"kind":"dev","title":"USDeSilo","methods":{},"version":1},"sourceIds":{"contracts/USDeSilo.sol":{"id":0},"contracts/interfaces/IUSDeSiloDefinitions.sol":{"id":1},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":2}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/USDeSilo.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.0;\n\n/* solhint-disable var-name-mixedcase  */\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"../contracts/interfaces/IUSDeSiloDefinitions.sol\";\n\n/**\n * @title USDeSilo\n * @notice The Silo allows to store USDe during the stake cooldown process.\n */\ncontract USDeSilo is IUSDeSiloDefinitions {\n  address immutable _STAKING_VAULT;\n  IERC20 immutable _USDE;\n\n  constructor(address stakingVault, address usde) {\n    _STAKING_VAULT = stakingVault;\n    _USDE = IERC20(usde);\n  }\n\n  modifier onlyStakingVault() {\n    if (msg.sender != _STAKING_VAULT) revert OnlyStakingVault();\n    _;\n  }\n\n  function withdraw(address to, uint256 amount) external onlyStakingVault {\n    _USDE.transfer(to, amount);\n  }\n}\n"},"contracts/interfaces/IUSDeSiloDefinitions.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity 0.8.19;\n\ninterface IUSDeSiloDefinitions {\n  /// @notice Error emitted when the staking vault is not the caller\n  error OnlyStakingVault();\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 amount) external returns (bool);\n}\n"}},"language":"Solidity","settings":{"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":20000,"enabled":true},"evmVersion":"paris","remappings":[":@aave/core-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-core/",":@aave/core-v3/=lib/aave-v3-core/",":@aave/periphery-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/",":@bgd-helpers/=lib/aave-helpers/src/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":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/",":ds-test/=lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":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/",":solidity-utils/=lib/aave-helpers/lib/solidity-utils/src/"]}},"stdJsonOutput":{"sources":{"contracts/USDeSilo.sol":{"id":0},"contracts/interfaces/IUSDeSiloDefinitions.sol":{"id":1},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":2}},"contracts":{"contracts/USDeSilo.sol":{"USDeSilo":{"abi":[{"type":"constructor","inputs":[{"name":"stakingVault","type":"address","internalType":"address"},{"name":"usde","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"OnlyStakingVault","type":"error","inputs":[]},{"name":"withdraw","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"USDeSilo\",\"version\":1},\"userdoc\":{\"errors\":{\"OnlyStakingVault()\":[{\"notice\":\"Error emitted when the staking vault is not the caller\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"The Silo allows to store USDe during the stake cooldown process.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/USDeSilo.sol\":\"USDeSilo\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":20000},\"remappings\":[\":@aave/core-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-core/\",\":@aave/core-v3/=lib/aave-v3-core/\",\":@aave/periphery-v3/=lib/aave-helpers/lib/aave-address-book/lib/aave-v3-periphery/\",\":@bgd-helpers/=lib/aave-helpers/src/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":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/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":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/\",\":solidity-utils/=lib/aave-helpers/lib/solidity-utils/src/\"]},\"sources\":{\"contracts/USDeSilo.sol\":{\"keccak256\":\"0x2cfe6abe38d821ecfab7f7e41f562a1c6cecad2fca68eba6119da012665a5d32\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://53c37cba0b27757cd8984aef66dce337e0fc64e6eccb6e0c66c56456c4f40ba3\",\"dweb:/ipfs/QmUpoWm96B9pN7mTYPGCSa5rrFVgonohDstMYpPwNRGi73\"]},\"contracts/interfaces/IUSDeSiloDefinitions.sol\":{\"keccak256\":\"0x16dcf03d98a369569053486ba8cc8aab9787006864c0fa11c50f786eccccffdd\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://a5b900557d008e662f13af278c14a02696be0016476c309714db27d69453b0fd\",\"dweb:/ipfs/QmeXnRUqNGJGVEsayDnY4jHnxG2cSQoLFj8s6xUpUaY9Wr\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"OnlyStakingVault()":[{"notice":"Error emitted when the staking vault is not the caller"}]},"notice":"The Silo allows to store USDe during the stake cooldown process.","methods":{},"version":1},"devdoc":{"kind":"dev","title":"USDeSilo","methods":{},"version":1},"storageLayout":{"types":null,"storage":[]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60c060405234801561001057600080fd5b506040516102cf3803806102cf83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102166100b9600039600061010001526000605d01526102166000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","sourceMap":"324:447:0:-:0;;;433:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;487:29:0;;;;;522:20;;;324:447;;14:177:3;93:13;;-1:-1:-1;;;;;135:31:3;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:293::-;275:6;283;336:2;324:9;315:7;311:23;307:32;304:52;;;352:1;349;342:12;304:52;375:40;405:9;375:40;:::i;:::-;365:50;;434:49;479:2;468:9;464:18;434:49;:::i;:::-;424:59;;196:293;;;;;:::o;:::-;324:447:0;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f3fef3a314610030575b600080fd5b61004361003e366004610172565b610045565b005b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b4576040517f17dd114500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015610149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016d91906101b7565b505050565b6000806040838503121561018557600080fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146101a957600080fd5b946020939093013593505050565b6000602082840312156101c957600080fd5b815180151581146101d957600080fd5b939250505056fea2646970667358221220015d947b3313f9636868b053d07450b9161f93387ec42a6ba30b132c40606c4364736f6c63430008130033","sourceMap":"324:447:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;660:109;;;;;;:::i;:::-;;:::i;:::-;;;589:10;:28;603:14;589:28;;585:59;;626:18;;;;;;;;;;;;;;585:59;738:26:::1;::::0;;;;:14:::1;588:55:3::0;;;738:26:0::1;::::0;::::1;570:74:3::0;660:18;;;653:34;;;738:5:0::1;:14;::::0;::::1;::::0;543:18:3;;738:26:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;660:109:::0;;:::o;14:377:3:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;198:9;185:23;248:42;241:5;237:54;230:5;227:65;217:93;;306:1;303;296:12;217:93;329:5;381:2;366:18;;;;353:32;;-1:-1:-1;;;14:377:3:o;698:277::-;765:6;818:2;806:9;797:7;793:23;789:32;786:52;;;834:1;831;824:12;786:52;866:9;860:16;919:5;912:13;905:21;898:5;895:32;885:60;;941:1;938;931:12;885:60;964:5;698:277;-1:-1:-1;;;698:277:3:o","linkReferences":{},"immutableReferences":{"8":[{"start":93,"length":32}],"11":[{"start":256,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"withdraw(address,uint256)","signatureHash4":"0xf3fef3a3","signatureHash32":"0xf3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a"}],"event":[],"error":[{"signature":"OnlyStakingVault()","signatureHash4":"0x17dd1145","signatureHash32":"0x17dd1145649193f1cf3a42c450916c64a203111eba946a433b99ebd505bf6eef"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"1","address":"0x7FC7c91D556B400AFa565013E3F32055a0713425"}