[ { "inputs": [ { "internalType": "contract IERC20Metadata", "name": "_usdc", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "ERC20InvalidUnderlying", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "SafeERC20FailedOperation", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "depositFor", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "underlying", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "withdrawTo", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60c060405234801561001057600080fd5b50604051610dd1380380610dd183398101604081905261002f916101b1565b806040518060400160405280600c81526020016b57726170706564205553444360a01b81525060405180604001604052806005815260200164775553444360d81b81525081600390816100829190610280565b50600461008f8282610280565b5050306001600160a01b0383160390506100c35760405163438d6fe360e01b81523060048201526024015b60405180910390fd5b806001600160a01b03166080816001600160a01b03168152505050806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561011c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610140919061033e565b60ff166006146101a05760405162461bcd60e51b815260206004820152602560248201527f556e6465726c79696e6720746f6b656e206d7573742068617665203620646563604482015264696d616c7360d81b60648201526084016100ba565b6001600160a01b031660a052610361565b6000602082840312156101c357600080fd5b81516001600160a01b03811681146101da57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061020b57607f821691505b60208210810361022b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561027b57806000526020600020601f840160051c810160208510156102585750805b601f840160051c820191505b818110156102785760008155600101610264565b50505b505050565b81516001600160401b03811115610299576102996101e1565b6102ad816102a784546101f7565b84610231565b6020601f8211600181146102e157600083156102c95750848201515b600019600385901b1c1916600184901b178455610278565b600084815260208120601f198516915b8281101561031157878501518255602094850194600190920191016102f1565b508482101561032f5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b60006020828403121561035057600080fd5b815160ff811681146101da57600080fd5b60805160a051610a4461038d600039600081816102ba0152610370015260006101460152610a446000f3fe608060405234801561001057600080fd5b50600436106100a45760003560e01c806306fdde03146100a9578063095ea7b3146100c757806318160ddd146100ea578063205c2878146100fc57806323b872dd1461010f5780632f4f21e214610122578063313ce567146101355780636f307dc31461014457806370a082311461017257806395d89b411461019b578063a9059cbb146101a3578063dd62ed3e146101b6575b600080fd5b6100b16101c9565b6040516100be9190610817565b60405180910390f35b6100da6100d5366004610881565b61025b565b60405190151581526020016100be565b6002545b6040519081526020016100be565b6100da61010a366004610881565b610275565b6100da61011d3660046108ab565b6102f7565b6100da610130366004610881565b61031b565b604051601281526020016100be565b7f00000000000000000000000000000000000000000000000000000000000000006040516100be91906108e8565b6100ee6101803660046108fc565b6001600160a01b031660009081526020819052604090205490565b6100b16103af565b6100da6101b1366004610881565b6103be565b6100ee6101c436600461091e565b6103cc565b6060600380546101d890610951565b80601f016020809104026020016040519081016040528092919081815260200182805461020490610951565b80156102515780601f1061022657610100808354040283529160200191610251565b820191906000526020600020905b81548152906001019060200180831161023457829003601f168201915b5050505050905090565b6000336102698185856103f7565b60019150505b92915050565b6000306001600160a01b038416036102ab578260405163ec442f0560e01b81526004016102a291906108e8565b60405180910390fd5b6102b53383610409565b6102ee7f0000000000000000000000000000000000000000000000000000000000000000846102e964e8d4a51000866109a1565b610443565b50600192915050565b6000336103058582856104a2565b6103108585856104f5565b506001949350505050565b6000333081036103405730604051634b637e8f60e11b81526004016102a291906108e8565b306001600160a01b0385160361036b578360405163ec442f0560e01b81526004016102a291906108e8565b6103977f0000000000000000000000000000000000000000000000000000000000000000823086610554565b610269846103aa64e8d4a51000866109c3565b61058d565b6060600480546101d890610951565b6000336102698185856104f5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61040483838360016105c3565b505050565b6001600160a01b038216610433576000604051634b637e8f60e11b81526004016102a291906108e8565b61043f82600083610698565b5050565b6040516001600160a01b0383811660248301526044820183905261040491859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b0383818316178352505050506107af565b60006104ae84846103cc565b905060001981146104ef57818110156104e057828183604051637dc7a0d960e11b81526004016102a2939291906109da565b6104ef848484840360006105c3565b50505050565b6001600160a01b03831661051f576000604051634b637e8f60e11b81526004016102a291906108e8565b6001600160a01b03821661054957600060405163ec442f0560e01b81526004016102a291906108e8565b610404838383610698565b6040516001600160a01b0384811660248301528381166044830152606482018390526104ef9186918216906323b872dd90608401610470565b6001600160a01b0382166105b757600060405163ec442f0560e01b81526004016102a291906108e8565b61043f60008383610698565b6001600160a01b0384166105ed57600060405163e602df0560e01b81526004016102a291906108e8565b6001600160a01b038316610617576000604051634a1406b160e11b81526004016102a291906108e8565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156104ef57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161068a91815260200190565b60405180910390a350505050565b6001600160a01b0383166106c35780600260008282546106b891906109fb565b909155506107229050565b6001600160a01b038316600090815260208190526040902054818110156107035783818360405163391434e360e21b81526004016102a2939291906109da565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661073e5760028054829003905561075d565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107a291815260200190565b60405180910390a3505050565b600080602060008451602086016000885af1806107d2576040513d6000823e3d81fd5b50506000513d915081156107ea5780600114156107f7565b6001600160a01b0384163b155b156104ef5783604051635274afe760e01b81526004016102a291906108e8565b602081526000825180602084015260005b818110156108455760208186018101516040868401015201610828565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461087c57600080fd5b919050565b6000806040838503121561089457600080fd5b61089d83610865565b946020939093013593505050565b6000806000606084860312156108c057600080fd5b6108c984610865565b92506108d760208501610865565b929592945050506040919091013590565b6001600160a01b0391909116815260200190565b60006020828403121561090e57600080fd5b61091782610865565b9392505050565b6000806040838503121561093157600080fd5b61093a83610865565b915061094860208401610865565b90509250929050565b600181811c9082168061096557607f821691505b60208210810361098557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000826109be57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761026f5761026f61098b565b6001600160a01b039390931683526020830191909152604082015260600190565b8082018082111561026f5761026f61098b56fea26469706673582212208ba0f52fec06979df163f1c251e21b11ed7d0ea603af744b8837c3032c2b374264736f6c634300081b0033000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
0x000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913
----Decoded View------------Arg [0] : _usdc (address): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
----Encoded View------------Arg [0] : 0x000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913