[ { "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": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "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" } ]
60806040523480156200001157600080fd5b506040518060400160405280600d81526020016c2632b233b4ba3c902a37b5b2b760991b815250604051806040016040528060038152602001624c445960e81b8152508160039081620000659190620002d4565b506004620000748282620002d4565b505050620000af336200008c620000b560201b60201c565b6200009990600a620004b5565b620000a99063047868c0620004cd565b620000ba565b620004fd565b601290565b6001600160a01b038216620000ea5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000f860008383620000fc565b5050565b6001600160a01b0383166200012b5780600260008282546200011f9190620004e7565b909155506200019f9050565b6001600160a01b03831660009081526020819052604090205481811015620001805760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000e1565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620001bd57600280548290039055620001dc565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200022291815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200025a57607f821691505b6020821081036200027b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002cf57600081815260208120601f850160051c81016020861015620002aa5750805b601f850160051c820191505b81811015620002cb57828155600101620002b6565b5050505b505050565b81516001600160401b03811115620002f057620002f06200022f565b620003088162000301845462000245565b8462000281565b602080601f831160018114620003405760008415620003275750858301515b600019600386901b1c1916600185901b178555620002cb565b600085815260208120601f198616915b82811015620003715788860151825594840194600190910190840162000350565b5085821015620003905787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003f7578160001904821115620003db57620003db620003a0565b80851615620003e957918102915b93841c9390800290620003bb565b509250929050565b6000826200041057506001620004af565b816200041f57506000620004af565b8160018114620004385760028114620004435762000463565b6001915050620004af565b60ff841115620004575762000457620003a0565b50506001821b620004af565b5060208310610133831016604e8410600b841016171562000488575081810a620004af565b620004948383620003b6565b8060001904821115620004ab57620004ab620003a0565b0290505b92915050565b6000620004c660ff841683620003ff565b9392505050565b8082028115828204841417620004af57620004af620003a0565b80820180821115620004af57620004af620003a0565b6107d3806200050d6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c681461012357806370a082311461013857806379cc67901461016157806395d89b4114610174578063a9059cbb1461017c578063dd62ed3e1461018f57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101c8565b6040516100c39190610604565b60405180910390f35b6100df6100da36600461066e565b61025a565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f366004610698565b610274565b604051601281526020016100c3565b6101366101313660046106d4565b610298565b005b6100f36101463660046106ed565b6001600160a01b031660009081526020819052604090205490565b61013661016f36600461066e565b6102a5565b6100b66102be565b6100df61018a36600461066e565b6102cd565b6100f361019d36600461070f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101d790610742565b80601f016020809104026020016040519081016040528092919081815260200182805461020390610742565b80156102505780601f1061022557610100808354040283529160200191610250565b820191906000526020600020905b81548152906001019060200180831161023357829003601f168201915b5050505050905090565b6000336102688185856102db565b60019150505b92915050565b6000336102828582856102ed565b61028d858585610370565b506001949350505050565b6102a233826103cf565b50565b6102b08233836102ed565b6102ba82826103cf565b5050565b6060600480546101d790610742565b600033610268818585610370565b6102e88383836001610405565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461036a578181101561035b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61036a84848484036000610405565b50505050565b6001600160a01b03831661039a57604051634b637e8f60e11b815260006004820152602401610352565b6001600160a01b0382166103c45760405163ec442f0560e01b815260006004820152602401610352565b6102e88383836104da565b6001600160a01b0382166103f957604051634b637e8f60e11b815260006004820152602401610352565b6102ba826000836104da565b6001600160a01b03841661042f5760405163e602df0560e01b815260006004820152602401610352565b6001600160a01b03831661045957604051634a1406b160e11b815260006004820152602401610352565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561036a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104cc91815260200190565b60405180910390a350505050565b6001600160a01b0383166105055780600260008282546104fa919061077c565b909155506105779050565b6001600160a01b038316600090815260208190526040902054818110156105585760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610352565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610593576002805482900390556105b2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105f791815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561063157858101830151858201604001528201610615565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461066957600080fd5b919050565b6000806040838503121561068157600080fd5b61068a83610652565b946020939093013593505050565b6000806000606084860312156106ad57600080fd5b6106b684610652565b92506106c460208501610652565b9150604084013590509250925092565b6000602082840312156106e657600080fd5b5035919050565b6000602082840312156106ff57600080fd5b61070882610652565b9392505050565b6000806040838503121561072257600080fd5b61072b83610652565b915061073960208401610652565b90509250929050565b600181811c9082168061075657607f821691505b60208210810361077657634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561026e57634e487b7160e01b600052601160045260246000fdfea26469706673582212202f0d374ac2055f85e0082b4e3e28f81be9d863b939f082bbea2f875178e059d664736f6c63430008140033