[ { "inputs": [], "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" }, { "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": "_to", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "mint", "outputs": [], "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": [ { "internalType": "contract IERC20", "name": "_coin", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
608060405234801562000010575f80fd5b506040805180820182526004808252630aaa688b60e31b60208084018290528451808601909552918452908301529060036200004d838262000103565b5060046200005c828262000103565b505050620001cf565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200008e57607f821691505b602082108103620000ad57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620000fe57805f5260205f20601f840160051c81016020851015620000da5750805b601f840160051c820191505b81811015620000fb575f8155600101620000e6565b50505b505050565b81516001600160401b038111156200011f576200011f62000065565b620001378162000130845462000079565b84620000b3565b602080601f8311600181146200016d575f8415620001555750858301515b5f19600386901b1c1916600185901b178555620001c7565b5f85815260208120601f198616915b828110156200019d578886015182559484019460019091019084016200017c565b5085821015620001bb57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b610a8680620001dd5f395ff3fe608060405234801561000f575f80fd5b50600436106100c4575f3560e01c806340c10f191161007d578063a9059cbb11610058578063a9059cbb1461018f578063d9caed12146101a2578063dd62ed3e146101b5575f80fd5b806340c10f191461013d57806370a082311461015257806395d89b4114610187575f80fd5b806318160ddd116100ad57806318160ddd1461010957806323b872dd1461011b578063313ce5671461012e575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d06101fa565b6040516100dd9190610859565b60405180910390f35b6100f96100f43660046108e7565b61028a565b60405190151581526020016100dd565b6002545b6040519081526020016100dd565b6100f9610129366004610911565b6102a3565b604051601281526020016100dd565b61015061014b3660046108e7565b6102c6565b005b61010d61016036600461094f565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6100d06102d4565b6100f961019d3660046108e7565b6102e3565b6101506101b0366004610911565b6102f0565b61010d6101c3366004610971565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b606060038054610209906109a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610235906109a8565b80156102805780601f1061025757610100808354040283529160200191610280565b820191905f5260205f20905b81548152906001019060200180831161026357829003601f168201915b5050505050905090565b5f3361029781858561038c565b60019150505b92915050565b5f336102b085828561039e565b6102bb85858561046a565b506001949350505050565b6102d08282610513565b5050565b606060048054610209906109a8565b5f3361029781858561046a565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015610362573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061038691906109f9565b50505050565b610399838383600161056d565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610386578181101561045c576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b61038684848484035f61056d565b73ffffffffffffffffffffffffffffffffffffffff83166104b9576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610453565b73ffffffffffffffffffffffffffffffffffffffff8216610508576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610453565b6103998383836106b2565b73ffffffffffffffffffffffffffffffffffffffff8216610562576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610453565b6102d05f83836106b2565b73ffffffffffffffffffffffffffffffffffffffff84166105bc576040517fe602df050000000000000000000000000000000000000000000000000000000081525f6004820152602401610453565b73ffffffffffffffffffffffffffffffffffffffff831661060b576040517f94280d620000000000000000000000000000000000000000000000000000000081525f6004820152602401610453565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526001602090815260408083209387168352929052208290558015610386578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516106a491815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff83166106e9578060025f8282546106de9190610a18565b909155506107999050565b73ffffffffffffffffffffffffffffffffffffffff83165f908152602081905260409020548181101561076e576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610453565b73ffffffffffffffffffffffffffffffffffffffff84165f9081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff82166107c2576002805482900390556107ed565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161084c91815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b8181101561088557858101830151858201604001528201610869565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b73ffffffffffffffffffffffffffffffffffffffff811681146108e4575f80fd5b50565b5f80604083850312156108f8575f80fd5b8235610903816108c3565b946020939093013593505050565b5f805f60608486031215610923575f80fd5b833561092e816108c3565b9250602084013561093e816108c3565b929592945050506040919091013590565b5f6020828403121561095f575f80fd5b813561096a816108c3565b9392505050565b5f8060408385031215610982575f80fd5b823561098d816108c3565b9150602083013561099d816108c3565b809150509250929050565b600181811c908216806109bc57607f821691505b6020821081036109f3577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b5f60208284031215610a09575f80fd5b8151801515811461096a575f80fd5b8082018082111561029d577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffdfea2646970667358221220ea943a16f452dfa2818e7a759d543a974ff37169ae03deab7232df9d61d9335864736f6c63430008180033