[ { "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" } ]
60806040523480156200001157600080fd5b506040518060400160405280600d81526020017f4c697a6172646f20506570657a000000000000000000000000000000000000008152506040518060400160405280600481526020017f4c5a505a0000000000000000000000000000000000000000000000000000000081525081600390816200008f919062000605565b508060049081620000a1919062000605565b50505060006b1921a082258a73bfc32400009050620000c73382620000ce60201b60201c565b5062000823565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001435760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200013a919062000731565b60405180910390fd5b62000157600083836200015b60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620001b1578060026000828254620001a491906200077d565b9250508190555062000287565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000240578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200023793929190620007c9565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002d257806002600082825403925050819055506200031f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200037e919062000806565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200040d57607f821691505b602082108103620004235762000422620003c5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200048d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200044e565b6200049986836200044e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004e6620004e0620004da84620004b1565b620004bb565b620004b1565b9050919050565b6000819050919050565b6200050283620004c5565b6200051a6200051182620004ed565b8484546200045b565b825550505050565b600090565b6200053162000522565b6200053e818484620004f7565b505050565b5b8181101562000566576200055a60008262000527565b60018101905062000544565b5050565b601f821115620005b5576200057f8162000429565b6200058a846200043e565b810160208510156200059a578190505b620005b2620005a9856200043e565b83018262000543565b50505b505050565b600082821c905092915050565b6000620005da60001984600802620005ba565b1980831691505092915050565b6000620005f58383620005c7565b9150826002028217905092915050565b62000610826200038b565b67ffffffffffffffff8111156200062c576200062b62000396565b5b620006388254620003f4565b620006458282856200056a565b600060209050601f8311600181146200067d576000841562000668578287015190505b620006748582620005e7565b865550620006e4565b601f1984166200068d8662000429565b60005b82811015620006b75784890151825560018201915060208501945060208101905062000690565b86831015620006d75784890151620006d3601f891682620005c7565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200071982620006ec565b9050919050565b6200072b816200070c565b82525050565b600060208201905062000748600083018462000720565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200078a82620004b1565b91506200079783620004b1565b9250828201905080821115620007b257620007b16200074e565b5b92915050565b620007c381620004b1565b82525050565b6000606082019050620007e0600083018662000720565b620007ef6020830185620007b8565b620007fe6040830184620007b8565b949350505050565b60006020820190506200081d6000830184620007b8565b92915050565b610f8680620008336000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c681461016857806370a082311461018457806379cc6790146101b457806395d89b41146101d0578063a9059cbb146101ee578063dd62ed3e1461021e576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b661024e565b6040516100c39190610bad565b60405180910390f35b6100e660048036038101906100e19190610c68565b6102e0565b6040516100f39190610cc3565b60405180910390f35b610104610303565b6040516101119190610ced565b60405180910390f35b610134600480360381019061012f9190610d08565b61030d565b6040516101419190610cc3565b60405180910390f35b61015261033c565b60405161015f9190610d77565b60405180910390f35b610182600480360381019061017d9190610d92565b610345565b005b61019e60048036038101906101999190610dbf565b610359565b6040516101ab9190610ced565b60405180910390f35b6101ce60048036038101906101c99190610c68565b6103a1565b005b6101d86103c1565b6040516101e59190610bad565b60405180910390f35b61020860048036038101906102039190610c68565b610453565b6040516102159190610cc3565b60405180910390f35b61023860048036038101906102339190610dec565b610476565b6040516102459190610ced565b60405180910390f35b60606003805461025d90610e5b565b80601f016020809104026020016040519081016040528092919081815260200182805461028990610e5b565b80156102d65780601f106102ab576101008083540402835291602001916102d6565b820191906000526020600020905b8154815290600101906020018083116102b957829003601f168201915b5050505050905090565b6000806102eb6104fd565b90506102f8818585610505565b600191505092915050565b6000600254905090565b6000806103186104fd565b9050610325858285610517565b6103308585856105ab565b60019150509392505050565b60006012905090565b6103566103506104fd565b8261069f565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6103b3826103ad6104fd565b83610517565b6103bd828261069f565b5050565b6060600480546103d090610e5b565b80601f01602080910402602001604051908101604052809291908181526020018280546103fc90610e5b565b80156104495780601f1061041e57610100808354040283529160200191610449565b820191906000526020600020905b81548152906001019060200180831161042c57829003601f168201915b5050505050905090565b60008061045e6104fd565b905061046b8185856105ab565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6105128383836001610721565b505050565b60006105238484610476565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105a55781811015610595578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161058c93929190610e9b565b60405180910390fd5b6105a484848484036000610721565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361061d5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106149190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361068f5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106869190610ed2565b60405180910390fd5b61069a8383836108f8565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107115760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016107089190610ed2565b60405180910390fd5b61071d826000836108f8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107935760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161078a9190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108055760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107fc9190610ed2565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108f2578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108e99190610ced565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361094a57806002600082825461093e9190610f1c565b92505081905550610a1d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156109d6578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016109cd93929190610e9b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a665780600260008282540392505081905550610ab3565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b109190610ced565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b57578082015181840152602081019050610b3c565b60008484015250505050565b6000601f19601f8301169050919050565b6000610b7f82610b1d565b610b898185610b28565b9350610b99818560208601610b39565b610ba281610b63565b840191505092915050565b60006020820190508181036000830152610bc78184610b74565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610bff82610bd4565b9050919050565b610c0f81610bf4565b8114610c1a57600080fd5b50565b600081359050610c2c81610c06565b92915050565b6000819050919050565b610c4581610c32565b8114610c5057600080fd5b50565b600081359050610c6281610c3c565b92915050565b60008060408385031215610c7f57610c7e610bcf565b5b6000610c8d85828601610c1d565b9250506020610c9e85828601610c53565b9150509250929050565b60008115159050919050565b610cbd81610ca8565b82525050565b6000602082019050610cd86000830184610cb4565b92915050565b610ce781610c32565b82525050565b6000602082019050610d026000830184610cde565b92915050565b600080600060608486031215610d2157610d20610bcf565b5b6000610d2f86828701610c1d565b9350506020610d4086828701610c1d565b9250506040610d5186828701610c53565b9150509250925092565b600060ff82169050919050565b610d7181610d5b565b82525050565b6000602082019050610d8c6000830184610d68565b92915050565b600060208284031215610da857610da7610bcf565b5b6000610db684828501610c53565b91505092915050565b600060208284031215610dd557610dd4610bcf565b5b6000610de384828501610c1d565b91505092915050565b60008060408385031215610e0357610e02610bcf565b5b6000610e1185828601610c1d565b9250506020610e2285828601610c1d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610e7357607f821691505b602082108103610e8657610e85610e2c565b5b50919050565b610e9581610bf4565b82525050565b6000606082019050610eb06000830186610e8c565b610ebd6020830185610cde565b610eca6040830184610cde565b949350505050565b6000602082019050610ee76000830184610e8c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f2782610c32565b9150610f3283610c32565b9250828201905080821115610f4a57610f49610eed565b5b9291505056fea2646970667358221220016c393ca836a92373f8c64afdafed8bf258d4790efe47fb994d3a13752926f664736f6c63430008180033