[ { "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" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "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": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "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": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
608060405234801561001057600080fd5b50336040518060400160405280600e81526020016d2230b49029ba30b13632b1b7b4b760911b8152506040518060400160405280600381526020016244414960e81b815250816003908161006491906101a2565b50600461007182826101a2565b5050506001600160a01b0381166100a257604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100ab816100b1565b50610261565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061012d57607f821691505b60208210810361014d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561019d57600081815260208120601f850160051c8101602086101561017a5750805b601f850160051c820191505b8181101561019957828155600101610186565b5050505b505050565b81516001600160401b038111156101bb576101bb610103565b6101cf816101c98454610119565b84610153565b602080601f83116001811461020457600084156101ec5750858301515b600019600386901b1c1916600185901b178555610199565b600085815260208120601f198616915b8281101561023357888601518255948401946001909101908401610214565b50858210156102515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6108bc806102706000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101aa578063a9059cbb146101b2578063dd62ed3e146101c5578063f2fde38b146101fe57600080fd5b806370a082311461015e578063715018a6146101875780638da5cb5b1461018f57600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a57806340c10f1914610149575b600080fd5b6100dc610211565b6040516100e99190610706565b60405180910390f35b610105610100366004610770565b6102a3565b60405190151581526020016100e9565b6002545b6040519081526020016100e9565b61010561013536600461079a565b6102bd565b604051601281526020016100e9565b61015c610157366004610770565b6102e1565b005b61011961016c3660046107d6565b6001600160a01b031660009081526020819052604090205490565b61015c6102ef565b6005546040516001600160a01b0390911681526020016100e9565b6100dc610303565b6101056101c0366004610770565b610312565b6101196101d33660046107f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61015c61020c3660046107d6565b610320565b6060600380546102209061082b565b80601f016020809104026020016040519081016040528092919081815260200182805461024c9061082b565b80156102995780601f1061026e57610100808354040283529160200191610299565b820191906000526020600020905b81548152906001019060200180831161027c57829003601f168201915b5050505050905090565b6000336102b1818585610363565b60019150505b92915050565b6000336102cb858285610375565b6102d68585856103f3565b506001949350505050565b6102eb8282610452565b5050565b6102f7610488565b61030160006104b5565b565b6060600480546102209061082b565b6000336102b18185856103f3565b610328610488565b6001600160a01b03811661035757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610360816104b5565b50565b6103708383836001610507565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146103ed57818110156103de57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161034e565b6103ed84848484036000610507565b50505050565b6001600160a01b03831661041d57604051634b637e8f60e11b81526000600482015260240161034e565b6001600160a01b0382166104475760405163ec442f0560e01b81526000600482015260240161034e565b6103708383836105dc565b6001600160a01b03821661047c5760405163ec442f0560e01b81526000600482015260240161034e565b6102eb600083836105dc565b6005546001600160a01b031633146103015760405163118cdaa760e01b815233600482015260240161034e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105315760405163e602df0560e01b81526000600482015260240161034e565b6001600160a01b03831661055b57604051634a1406b160e11b81526000600482015260240161034e565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103ed57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105ce91815260200190565b60405180910390a350505050565b6001600160a01b0383166106075780600260008282546105fc9190610865565b909155506106799050565b6001600160a01b0383166000908152602081905260409020548181101561065a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161034e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610695576002805482900390556106b4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516106f991815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561073357858101830151858201604001528201610717565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461076b57600080fd5b919050565b6000806040838503121561078357600080fd5b61078c83610754565b946020939093013593505050565b6000806000606084860312156107af57600080fd5b6107b884610754565b92506107c660208501610754565b9150604084013590509250925092565b6000602082840312156107e857600080fd5b6107f182610754565b9392505050565b6000806040838503121561080b57600080fd5b61081483610754565b915061082260208401610754565b90509250929050565b600181811c9082168061083f57607f821691505b60208210810361085f57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102b757634e487b7160e01b600052601160045260246000fdfea2646970667358221220a62bb9912ef1992a48b1fd98a8f0d6d7a612211ea01dfae4cb1a56e9aa9baea064736f6c63430008140033