[ { "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": "owner", "type": "address" }, { "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": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "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": "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" } ]
608060405234801561000f575f80fd5b506040805180820182526005808252641353d3905160da1b602080840182905284518086019095529184529083015290600361004b83826100fa565b50600461005882826100fa565b5050506101b5565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008857607f821691505b6020821081036100a657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f5575f81815260208120601f850160051c810160208610156100d25750805b601f850160051c820191505b818110156100f1578281556001016100de565b5050505b505050565b81516001600160401b0381111561011357610113610060565b610127816101218454610074565b846100ac565b602080601f83116001811461015a575f84156101435750858301515b5f19600386901b1c1916600185901b1785556100f1565b5f85815260208120601f198616915b8281101561018857888601518255948401946001909101908401610169565b50858210156101a557878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6107ea806101c25f395ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806370a082311161006e57806370a082311461013f57806395d89b41146101675780639dc29fac1461016f578063a9059cbb14610182578063dd62ed3e14610195578063e1f21c67146101cd575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd14610108578063313ce5671461011b57806340c10f191461012a575b5f80fd5b6100bd6101e0565b6040516100ca9190610645565b60405180910390f35b6100e66100e13660046106ab565b610270565b60405190151581526020016100ca565b6002545b6040519081526020016100ca565b6100e66101163660046106d3565b610289565b604051601281526020016100ca565b61013d6101383660046106ab565b6102ac565b005b6100fa61014d36600461070c565b6001600160a01b03165f9081526020819052604090205490565b6100bd6102ba565b61013d61017d3660046106ab565b6102c9565b6100e66101903660046106ab565b6102d3565b6100fa6101a336600461072c565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6100e66101db3660046106d3565b6102e0565b6060600380546101ef9061075d565b80601f016020809104026020016040519081016040528092919081815260200182805461021b9061075d565b80156102665780601f1061023d57610100808354040283529160200191610266565b820191905f5260205f20905b81548152906001019060200180831161024957829003601f168201915b5050505050905090565b5f3361027d8185856102f6565b60019150505b92915050565b5f33610296858285610308565b6102a1858585610388565b506001949350505050565b6102b682826103e5565b5050565b6060600480546101ef9061075d565b6102b68282610419565b5f3361027d818585610388565b5f6102ec8484846102f6565b5060019392505050565b610303838383600161044d565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610382578181101561037457604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61038284848484035f61044d565b50505050565b6001600160a01b0383166103b157604051634b637e8f60e11b81525f600482015260240161036b565b6001600160a01b0382166103da5760405163ec442f0560e01b81525f600482015260240161036b565b61030383838361051f565b6001600160a01b03821661040e5760405163ec442f0560e01b81525f600482015260240161036b565b6102b65f838361051f565b6001600160a01b03821661044257604051634b637e8f60e11b81525f600482015260240161036b565b6102b6825f8361051f565b6001600160a01b0384166104765760405163e602df0560e01b81525f600482015260240161036b565b6001600160a01b03831661049f57604051634a1406b160e11b81525f600482015260240161036b565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561038257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161051191815260200190565b60405180910390a350505050565b6001600160a01b038316610549578060025f82825461053e9190610795565b909155506105b99050565b6001600160a01b0383165f908152602081905260409020548181101561059b5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161036b565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105d5576002805482900390556105f3565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161063891815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561067057858101830151858201604001528201610654565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146106a6575f80fd5b919050565b5f80604083850312156106bc575f80fd5b6106c583610690565b946020939093013593505050565b5f805f606084860312156106e5575f80fd5b6106ee84610690565b92506106fc60208501610690565b9150604084013590509250925092565b5f6020828403121561071c575f80fd5b61072582610690565b9392505050565b5f806040838503121561073d575f80fd5b61074683610690565b915061075460208401610690565b90509250929050565b600181811c9082168061077157607f821691505b60208210810361078f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561028357634e487b7160e01b5f52601160045260245ffdfea26469706673582212204ab58d913982adb2eaa2ccc58f30c2c5657a2a9108fe0edb9279a09c7a125a7464736f6c63430008140033