[ { "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": [], "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": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" } ], "name": "transfer", "outputs": [], "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" } ]
608060405234801562000010575f80fd5b506040518060400160405280600781526020017f4e6f74636f696e000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e4f54000000000000000000000000000000000000000000000000000000000081525081600390816200008e9190620008bd565b508060049081620000a09190620008bd565b505050620000e533620000b8620000eb60201b60201c565b600a620000c6919062000b2a565b6503ee0fab8a00620000d9919062000b7a565b620000f360201b60201c565b62000d27565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000166575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200015d919062000c07565b60405180910390fd5b620001795f83836200017d60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620001ef578060025f828254620001c4919062000c22565b925050819055506901b9132ca25e2bff31eb674ed1d5f337c62c7b02601160420202600555620002c0565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156200027b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620002729392919062000c6d565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b620002d38184846200051460201b60201c565b5f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403620004a8573073ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000507919062000ca8565b60405180910390a3505050565b5f3073ffffffffffffffffffffffffffffffffffffffff166200055f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684620005d760201b60201c565b6200059260055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686620005d760201b60201c565b6200059e919062000c22565b10620005cc5762ffeeaa61ffee85620005b8919062000b7a565b620005c4919062000cf0565b9050620005d0565b8390505b9392505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620006d557607f821691505b602082108103620006eb57620006ea62000690565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200074f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000712565b6200075b868362000712565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620007a56200079f620007998462000773565b6200077c565b62000773565b9050919050565b5f819050919050565b620007c08362000785565b620007d8620007cf82620007ac565b8484546200071e565b825550505050565b5f90565b620007ee620007e0565b620007fb818484620007b5565b505050565b5b818110156200082257620008165f82620007e4565b60018101905062000801565b5050565b601f82111562000871576200083b81620006f1565b620008468462000703565b8101602085101562000856578190505b6200086e620008658562000703565b83018262000800565b50505b505050565b5f82821c905092915050565b5f620008935f198460080262000876565b1980831691505092915050565b5f620008ad838362000882565b9150826002028217905092915050565b620008c88262000659565b67ffffffffffffffff811115620008e457620008e362000663565b5b620008f08254620006bd565b620008fd82828562000826565b5f60209050601f83116001811462000933575f84156200091e578287015190505b6200092a8582620008a0565b86555062000999565b601f1984166200094386620006f1565b5f5b828110156200096c5784890151825560018201915060208501945060208101905062000945565b868310156200098c578489015162000988601f89168262000882565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000a2b5780860481111562000a035762000a02620009a1565b5b600185161562000a135780820291505b808102905062000a2385620009ce565b9450620009e3565b94509492505050565b5f8262000a45576001905062000b17565b8162000a54575f905062000b17565b816001811462000a6d576002811462000a785762000aae565b600191505062000b17565b60ff84111562000a8d5762000a8c620009a1565b5b8360020a91508482111562000aa75762000aa6620009a1565b5b5062000b17565b5060208310610133831016604e8410600b841016171562000ae85782820a90508381111562000ae25762000ae1620009a1565b5b62000b17565b62000af78484846001620009da565b9250905081840481111562000b115762000b10620009a1565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000b368262000773565b915062000b438362000b1e565b925062000b727fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a34565b905092915050565b5f62000b868262000773565b915062000b938362000773565b925082820262000ba38162000773565b9150828204841483151762000bbd5762000bbc620009a1565b5b5092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000bef8262000bc4565b9050919050565b62000c018162000be3565b82525050565b5f60208201905062000c1c5f83018462000bf6565b92915050565b5f62000c2e8262000773565b915062000c3b8362000773565b925082820190508082111562000c565762000c55620009a1565b5b92915050565b62000c678162000773565b82525050565b5f60608201905062000c825f83018662000bf6565b62000c91602083018562000c5c565b62000ca0604083018462000c5c565b949350505050565b5f60208201905062000cbd5f83018462000c5c565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f62000cfc8262000773565b915062000d098362000773565b92508262000d1c5762000d1b62000cc3565b5b828204905092915050565b6111918062000d355f395ff3fe608060405234801561000f575f80fd5b506004361061009c575f3560e01c806370a082311161006457806370a082311461015a57806395d89b411461018a578063a9059cbb146101a8578063ccb570e3146101d8578063dd62ed3e146101f45761009c565b806306fdde03146100a0578063095ea7b3146100be57806318160ddd146100ee57806323b872dd1461010c578063313ce5671461013c575b5f80fd5b6100a8610224565b6040516100b59190610d1c565b60405180910390f35b6100d860048036038101906100d39190610dcd565b6102b4565b6040516100e59190610e25565b60405180910390f35b6100f66102d6565b6040516101039190610e4d565b60405180910390f35b61012660048036038101906101219190610e66565b6102df565b6040516101339190610e25565b60405180910390f35b61014461030d565b6040516101519190610ed1565b60405180910390f35b610174600480360381019061016f9190610eea565b610315565b6040516101819190610e4d565b60405180910390f35b61019261035a565b60405161019f9190610d1c565b60405180910390f35b6101c260048036038101906101bd9190610dcd565b6103ea565b6040516101cf9190610e25565b60405180910390f35b6101f260048036038101906101ed9190610f15565b61040c565b005b61020e60048036038101906102099190610f65565b610476565b60405161021b9190610e4d565b60405180910390f35b60606003805461023390610fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461025f90610fd0565b80156102aa5780601f10610281576101008083540402835291602001916102aa565b820191905f5260205f20905b81548152906001019060200180831161028d57829003601f168201915b5050505050905090565b5f806102be6104f8565b90506102cb8185856104ff565b600191505092915050565b5f600254905090565b5f806102e96104f8565b90506102f6858285610511565b6103018585856105a3565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606004805461036990610fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461039590610fd0565b80156103e05780601f106103b7576101008083540402835291602001916103e0565b820191905f5260205f20905b8154815290600101906020018083116103c357829003601f168201915b5050505050905090565b5f806103f46104f8565b90506104018185856105a3565b600191505092915050565b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516104699190610e4d565b60405180910390a3505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b61050c8383836001610693565b505050565b5f61051c8484610476565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461059d578181101561058e578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016105859392919061100f565b60405180910390fd5b61059c84848484035f610693565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610613575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161060a9190611044565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610683575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161067a9190611044565b60405180910390fd5b61068e838383610862565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610703575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016106fa9190611044565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610773575f6040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161076a9190611044565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561085c578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108539190610e4d565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108d0578060025f8282546108a6919061108a565b925050819055506901b9132ca25e2bff31eb674ed1d5f337c62c7b0260116042020260055561099e565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610959578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016109509392919061100f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b6109a9818484610be7565b5f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403610b7d573073ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bda9190610e4d565b60405180910390a3505050565b5f3073ffffffffffffffffffffffffffffffffffffffff16610c2a60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610476565b610c5560055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686610476565b610c5f919061108a565b10610c875762ffeeaa61ffee85610c7691906110bd565b610c80919061112b565b9050610c8b565b8390505b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610cc9578082015181840152602081019050610cae565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610cee82610c92565b610cf88185610c9c565b9350610d08818560208601610cac565b610d1181610cd4565b840191505092915050565b5f6020820190508181035f830152610d348184610ce4565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d6982610d40565b9050919050565b610d7981610d5f565b8114610d83575f80fd5b50565b5f81359050610d9481610d70565b92915050565b5f819050919050565b610dac81610d9a565b8114610db6575f80fd5b50565b5f81359050610dc781610da3565b92915050565b5f8060408385031215610de357610de2610d3c565b5b5f610df085828601610d86565b9250506020610e0185828601610db9565b9150509250929050565b5f8115159050919050565b610e1f81610e0b565b82525050565b5f602082019050610e385f830184610e16565b92915050565b610e4781610d9a565b82525050565b5f602082019050610e605f830184610e3e565b92915050565b5f805f60608486031215610e7d57610e7c610d3c565b5b5f610e8a86828701610d86565b9350506020610e9b86828701610d86565b9250506040610eac86828701610db9565b9150509250925092565b5f60ff82169050919050565b610ecb81610eb6565b82525050565b5f602082019050610ee45f830184610ec2565b92915050565b5f60208284031215610eff57610efe610d3c565b5b5f610f0c84828501610d86565b91505092915050565b5f805f60608486031215610f2c57610f2b610d3c565b5b5f610f3986828701610db9565b9350506020610f4a86828701610d86565b9250506040610f5b86828701610d86565b9150509250925092565b5f8060408385031215610f7b57610f7a610d3c565b5b5f610f8885828601610d86565b9250506020610f9985828601610d86565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610fe757607f821691505b602082108103610ffa57610ff9610fa3565b5b50919050565b61100981610d5f565b82525050565b5f6060820190506110225f830186611000565b61102f6020830185610e3e565b61103c6040830184610e3e565b949350505050565b5f6020820190506110575f830184611000565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61109482610d9a565b915061109f83610d9a565b92508282019050808211156110b7576110b661105d565b5b92915050565b5f6110c782610d9a565b91506110d283610d9a565b92508282026110e081610d9a565b915082820484148315176110f7576110f661105d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61113582610d9a565b915061114083610d9a565b9250826111505761114f6110fe565b5b82820490509291505056fea2646970667358221220c5216bf8ef1ba39db0f6a6a5c43e5de6000f4977c612603ec58043d8eee95ba164736f6c63430008180033