0 txs
62 calls
constructor
constructor(address _sUSDS)
functions
claim
purefunction claim(address, address, bytes) pure returns (uint256)
maxDeposit
viewfunction maxDeposit(address) view returns (uint256)
maxWithdraw
viewfunction maxWithdraw(address) view returns (uint256)
reinvest
purefunction reinvest(address, address, bytes) pure
sUSDS
viewfunction sUSDS() view returns (address)
totalAssets
viewfunction totalAssets(address) view returns (uint256)
deposit
nonpayablefunction deposit(address asset, uint256 amount)
withdraw
nonpayablefunction withdraw(address, uint256 amount)
events
No events.
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
AddressNotContract
error AddressNotContract(address addr)
FailedInnerCall
error FailedInnerCall()
NothingToClaim
error NothingToClaim()
NothingToReinvest
error NothingToReinvest()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
creation bytecode
0x60a060405234801561000f575f80fd5b5060405161099538038061099583398101604081905261002e91610078565b806001600160a01b03163b5f036100675760405163247e970160e01b81526001600160a01b038216600482015260240160405180910390fd5b6001600160a01b03166080526100a5565b5f60208284031215610088575f80fd5b81516001600160a01b038116811461009e575f80fd5b9392505050565b6080516108af6100e65f395f818160c9015281816101790152818161020001528181610241015281816102ea0152818161033801526103f201526108af5ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c8063ce96cb7711610058578063ce96cb7714610116578063f3e0ffbf14610129578063f3fef3a31461013c578063fd9c61881461014f575f80fd5b8063402d267d1461008957806347e7ef24146100af5780634f5a19df146100c4578063767081d114610103575b5f80fd5b61009c61009736600461074f565b610162565b6040519081526020015b60405180910390f35b6100c26100bd366004610768565b6101f1565b005b6100eb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a6565b61009c610111366004610790565b6102b9565b61009c61012436600461074f565b6102d3565b61009c61013736600461074f565b610321565b6100c261014a366004610768565b6103cf565b6100c261015d366004610790565b610429565b60405163402d267d60e01b81523360048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063402d267d906024015b602060405180830381865afa1580156101c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101eb9190610817565b92915050565b6102256001600160a01b0383167f000000000000000000000000000000000000000000000000000000000000000083610442565b604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f65906044015b6020604051808303815f875af1158015610290573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b49190610817565b505050565b5f6040516312d37ee560e31b815260040160405180910390fd5b60405163ce96cb7760e01b81523360048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ce96cb77906024016101ac565b6040516370a0823160e01b81523360048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634cdad5069082906370a0823190602401602060405180830381865afa15801561038d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103b19190610817565b6040518263ffffffff1660e01b81526004016101ac91815260200190565b604051632d182be560e21b815260048101829052306024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b460af9490606401610274565b604051634e5e2ae960e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261049384826104fb565b6104f557604080516001600160a01b03851660248201525f6044808301919091528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526104eb90859061059c565b6104f5848261059c565b50505050565b5f805f846001600160a01b031684604051610516919061082e565b5f604051808303815f865af19150503d805f811461054f576040519150601f19603f3d011682016040523d82523d5f602084013e610554565b606091505b509150915081801561057e57508051158061057e57508080602001905181019061057e919061085a565b801561059357505f856001600160a01b03163b115b95945050505050565b5f6105b06001600160a01b03841683610602565b905080515f141580156105d45750808060200190518101906105d2919061085a565b155b156102b457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061060f83835f610616565b9392505050565b60608147101561063b5760405163cd78605960e01b81523060048201526024016105f9565b5f80856001600160a01b03168486604051610656919061082e565b5f6040518083038185875af1925050503d805f8114610690576040519150601f19603f3d011682016040523d82523d5f602084013e610695565b606091505b50915091506106a58683836106af565b9695505050505050565b6060826106c4576106bf8261070b565b61060f565b81511580156106db57506001600160a01b0384163b155b1561070457604051639996b31560e01b81526001600160a01b03851660048201526024016105f9565b508061060f565b80511561071b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461074a575f80fd5b919050565b5f6020828403121561075f575f80fd5b61060f82610734565b5f8060408385031215610779575f80fd5b61078283610734565b946020939093013593505050565b5f805f80606085870312156107a3575f80fd5b6107ac85610734565b93506107ba60208601610734565b9250604085013567ffffffffffffffff808211156107d6575f80fd5b818701915087601f8301126107e9575f80fd5b8135818111156107f7575f80fd5b886020828501011115610808575f80fd5b95989497505060200194505050565b5f60208284031215610827575f80fd5b5051919050565b5f82515f5b8181101561084d5760208186018101518583015201610833565b505f920191825250919050565b5f6020828403121561086a575f80fd5b8151801515811461060f575f80fdfea2646970667358221220bc29dd58a3b8a9b1d0809f233f9d2501490bc58325093594b4546a585c1f447864736f6c63430008160033000000000000000000000000a3931d71877c0e7a3148cb7eb4463524fec27fbd