[ { "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": "uint256", "name": "amount", "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" } ]
608060405234801561001057600080fd5b50604080518082018252600380825262554e4960e81b6020808401829052845180860190955282855284015290919061004983826100ff565b50600461005682826100ff565b5050506101be565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061008857607f821691505b6020821081036100a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100fa576000816000526020600020601f850160051c810160208610156100d75750805b601f850160051c820191505b818110156100f6578281556001016100e3565b5050505b505050565b81516001600160401b038111156101185761011861005e565b61012c816101268454610074565b846100ae565b602080601f83116001811461016157600084156101495750858301515b600019600386901b1c1916600185901b1785556100f6565b600085815260208120601f198616915b8281101561019057888601518255948401946001909101908401610171565b50858210156101ae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6109ef80620001ce6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806370a0823111610076578063a0712d681161005b578063a0712d6814610176578063a9059cbb1461018b578063dd62ed3e1461019e57600080fd5b806370a082311461013857806395d89b411461016e57600080fd5b806318160ddd116100a757806318160ddd1461010457806323b872dd14610116578063313ce5671461012957600080fd5b806306fdde03146100c3578063095ea7b3146100e1575b600080fd5b6100cb6101e4565b6040516100d891906107c2565b60405180910390f35b6100f46100ef366004610858565b610276565b60405190151581526020016100d8565b6002545b6040519081526020016100d8565b6100f4610124366004610882565b610290565b604051601281526020016100d8565b6101086101463660046108be565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100cb6102b4565b6101896101843660046108e0565b6102c3565b005b6100f4610199366004610858565b6102d0565b6101086101ac3660046108f9565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f39061092c565b80601f016020809104026020016040519081016040528092919081815260200182805461021f9061092c565b801561026c5780601f106102415761010080835404028352916020019161026c565b820191906000526020600020905b81548152906001019060200180831161024f57829003601f168201915b5050505050905090565b6000336102848185856102de565b60019150505b92915050565b60003361029e8582856102f0565b6102a98585856103c4565b506001949350505050565b6060600480546101f39061092c565b6102cd338261046f565b50565b6000336102848185856103c4565b6102eb83838360016104cf565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146103be57818110156103af576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b6103be848484840360006104cf565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610414576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016103a6565b73ffffffffffffffffffffffffffffffffffffffff8216610464576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a6565b6102eb838383610617565b73ffffffffffffffffffffffffffffffffffffffff82166104bf576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a6565b6104cb60008383610617565b5050565b73ffffffffffffffffffffffffffffffffffffffff841661051f576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a6565b73ffffffffffffffffffffffffffffffffffffffff831661056f576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016103a6565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156103be578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060991815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831661064f578060026000828254610644919061097f565b909155506107019050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156106d5576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016103a6565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661072a57600280548290039055610756565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107b591815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156107f0578581018301518582016040015282016107d4565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085357600080fd5b919050565b6000806040838503121561086b57600080fd5b6108748361082f565b946020939093013593505050565b60008060006060848603121561089757600080fd5b6108a08461082f565b92506108ae6020850161082f565b9150604084013590509250925092565b6000602082840312156108d057600080fd5b6108d98261082f565b9392505050565b6000602082840312156108f257600080fd5b5035919050565b6000806040838503121561090c57600080fd5b6109158361082f565b91506109236020840161082f565b90509250929050565b600181811c9082168061094057607f821691505b602082108103610979577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561028a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212207f17c98882d17d586faf4b3533c768d13e35fbeed0d76c4b3ba175dc0f4e2b9364736f6c63430008180033