[ { "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" } ]
608060405234801562000010575f80fd5b506040518060400160405280600681526020017f44756e65203200000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f44554e453200000000000000000000000000000000000000000000000000000081525081600390816200008e919062000905565b508060049081620000a0919062000905565b505050620000e433620000b8620000ea60201b60201c565b600a620000c6919062000b72565b64e8d4a51000620000d8919062000bc2565b620000f260201b60201c565b62000d6f565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000165575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200015c919062000c4f565b60405180910390fd5b6a66075fa718682a7e86e4d7620b9f7102620260636101630202600555620001955f83836200019960201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620001ed578060025f828254620001e0919062000c6a565b92505081905550620002be565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000279578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620002709392919062000cb5565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000307578060025f8282540392505081905550620004f0565b6200031a8184846200055c60201b60201c565b5f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403620004ef573073ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200054f919062000cf0565b60405180910390a3505050565b5f3073ffffffffffffffffffffffffffffffffffffffff16620005a760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846200061f60201b60201c565b620005da60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866200061f60201b60201c565b620005e6919062000c6a565b10620006145762ffffff61ffff8562000600919062000bc2565b6200060c919062000d38565b905062000618565b8390505b9392505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200071d57607f821691505b602082108103620007335762000732620006d8565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200075a565b620007a386836200075a565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620007ed620007e7620007e184620007bb565b620007c4565b620007bb565b9050919050565b5f819050919050565b6200080883620007cd565b620008206200081782620007f4565b84845462000766565b825550505050565b5f90565b6200083662000828565b62000843818484620007fd565b505050565b5b818110156200086a576200085e5f826200082c565b60018101905062000849565b5050565b601f821115620008b957620008838162000739565b6200088e846200074b565b810160208510156200089e578190505b620008b6620008ad856200074b565b83018262000848565b50505b505050565b5f82821c905092915050565b5f620008db5f1984600802620008be565b1980831691505092915050565b5f620008f58383620008ca565b9150826002028217905092915050565b6200091082620006a1565b67ffffffffffffffff8111156200092c576200092b620006ab565b5b62000938825462000705565b620009458282856200086e565b5f60209050601f8311600181146200097b575f841562000966578287015190505b620009728582620008e8565b865550620009e1565b601f1984166200098b8662000739565b5f5b82811015620009b4578489015182556001820191506020850194506020810190506200098d565b86831015620009d45784890151620009d0601f891682620008ca565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000a735780860481111562000a4b5762000a4a620009e9565b5b600185161562000a5b5780820291505b808102905062000a6b8562000a16565b945062000a2b565b94509492505050565b5f8262000a8d576001905062000b5f565b8162000a9c575f905062000b5f565b816001811462000ab5576002811462000ac05762000af6565b600191505062000b5f565b60ff84111562000ad55762000ad4620009e9565b5b8360020a91508482111562000aef5762000aee620009e9565b5b5062000b5f565b5060208310610133831016604e8410600b841016171562000b305782820a90508381111562000b2a5762000b29620009e9565b5b62000b5f565b62000b3f848484600162000a22565b9250905081840481111562000b595762000b58620009e9565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000b7e82620007bb565b915062000b8b8362000b66565b925062000bba7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a7c565b905092915050565b5f62000bce82620007bb565b915062000bdb83620007bb565b925082820262000beb81620007bb565b9150828204841483151762000c055762000c04620009e9565b5b5092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000c378262000c0c565b9050919050565b62000c498162000c2b565b82525050565b5f60208201905062000c645f83018462000c3e565b92915050565b5f62000c7682620007bb565b915062000c8383620007bb565b925082820190508082111562000c9e5762000c9d620009e9565b5b92915050565b62000caf81620007bb565b82525050565b5f60608201905062000cca5f83018662000c3e565b62000cd9602083018562000ca4565b62000ce8604083018462000ca4565b949350505050565b5f60208201905062000d055f83018462000ca4565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f62000d4482620007bb565b915062000d5183620007bb565b92508262000d645762000d6362000d0b565b5b828204905092915050565b6111bb8062000d7d5f395ff3fe608060405234801561000f575f80fd5b506004361061009c575f3560e01c806370a082311161006457806370a082311461015a57806395d89b411461018a578063a9059cbb146101a8578063ccb570e3146101d8578063dd62ed3e146101f45761009c565b806306fdde03146100a0578063095ea7b3146100be57806318160ddd146100ee57806323b872dd1461010c578063313ce5671461013c575b5f80fd5b6100a8610224565b6040516100b59190610d46565b60405180910390f35b6100d860048036038101906100d39190610df7565b6102b4565b6040516100e59190610e4f565b60405180910390f35b6100f66102d6565b6040516101039190610e77565b60405180910390f35b61012660048036038101906101219190610e90565b6102df565b6040516101339190610e4f565b60405180910390f35b61014461030d565b6040516101519190610efb565b60405180910390f35b610174600480360381019061016f9190610f14565b610315565b6040516101819190610e77565b60405180910390f35b61019261035a565b60405161019f9190610d46565b60405180910390f35b6101c260048036038101906101bd9190610df7565b6103ea565b6040516101cf9190610e4f565b60405180910390f35b6101f260048036038101906101ed9190610f3f565b61040c565b005b61020e60048036038101906102099190610f8f565b610476565b60405161021b9190610e77565b60405180910390f35b60606003805461023390610ffa565b80601f016020809104026020016040519081016040528092919081815260200182805461025f90610ffa565b80156102aa5780601f10610281576101008083540402835291602001916102aa565b820191905f5260205f20905b81548152906001019060200180831161028d57829003601f168201915b5050505050905090565b5f806102be6104f8565b90506102cb8185856104ff565b600191505092915050565b5f600254905090565b5f806102e96104f8565b90506102f6858285610511565b6103018585856105a3565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606004805461036990610ffa565b80601f016020809104026020016040519081016040528092919081815260200182805461039590610ffa565b80156103e05780601f106103b7576101008083540402835291602001916103e0565b820191905f5260205f20905b8154815290600101906020018083116103c357829003601f168201915b5050505050905090565b5f806103f46104f8565b90506104018185856105a3565b600191505092915050565b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516104699190610e77565b60405180910390a3505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b61050c8383836001610693565b505050565b5f61051c8484610476565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461059d578181101561058e578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161058593929190611039565b60405180910390fd5b61059c84848484035f610693565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610613575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161060a919061106e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610683575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161067a919061106e565b60405180910390fd5b61068e838383610862565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610703575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016106fa919061106e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610773575f6040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161076a919061106e565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561085c578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108539190610e77565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108b2578060025f8282546108a691906110b4565b92505081905550610980565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561093b578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161093293929190611039565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109c7578060025f8282540392505081905550610ba7565b6109d2818484610c11565b5f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403610ba6573073ffffffffffffffffffffffffffffffffffffffff1660015f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c049190610e77565b60405180910390a3505050565b5f3073ffffffffffffffffffffffffffffffffffffffff16610c5460055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610476565b610c7f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686610476565b610c8991906110b4565b10610cb15762ffffff61ffff85610ca091906110e7565b610caa9190611155565b9050610cb5565b8390505b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610cf3578082015181840152602081019050610cd8565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610d1882610cbc565b610d228185610cc6565b9350610d32818560208601610cd6565b610d3b81610cfe565b840191505092915050565b5f6020820190508181035f830152610d5e8184610d0e565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d9382610d6a565b9050919050565b610da381610d89565b8114610dad575f80fd5b50565b5f81359050610dbe81610d9a565b92915050565b5f819050919050565b610dd681610dc4565b8114610de0575f80fd5b50565b5f81359050610df181610dcd565b92915050565b5f8060408385031215610e0d57610e0c610d66565b5b5f610e1a85828601610db0565b9250506020610e2b85828601610de3565b9150509250929050565b5f8115159050919050565b610e4981610e35565b82525050565b5f602082019050610e625f830184610e40565b92915050565b610e7181610dc4565b82525050565b5f602082019050610e8a5f830184610e68565b92915050565b5f805f60608486031215610ea757610ea6610d66565b5b5f610eb486828701610db0565b9350506020610ec586828701610db0565b9250506040610ed686828701610de3565b9150509250925092565b5f60ff82169050919050565b610ef581610ee0565b82525050565b5f602082019050610f0e5f830184610eec565b92915050565b5f60208284031215610f2957610f28610d66565b5b5f610f3684828501610db0565b91505092915050565b5f805f60608486031215610f5657610f55610d66565b5b5f610f6386828701610de3565b9350506020610f7486828701610db0565b9250506040610f8586828701610db0565b9150509250925092565b5f8060408385031215610fa557610fa4610d66565b5b5f610fb285828601610db0565b9250506020610fc385828601610db0565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061101157607f821691505b60208210810361102457611023610fcd565b5b50919050565b61103381610d89565b82525050565b5f60608201905061104c5f83018661102a565b6110596020830185610e68565b6110666040830184610e68565b949350505050565b5f6020820190506110815f83018461102a565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6110be82610dc4565b91506110c983610dc4565b92508282019050808211156110e1576110e0611087565b5b92915050565b5f6110f182610dc4565b91506110fc83610dc4565b925082820261110a81610dc4565b9150828204841483151761112157611120611087565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61115f82610dc4565b915061116a83610dc4565b92508261117a57611179611128565b5b82820490509291505056fea2646970667358221220cb884b0065590554027ac77dbb649b12b243a9015c6495401c17b453bce313f564736f6c63430008180033