[ { "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" } ]
608060405234801561000f575f80fd5b506040518060400160405280601081526020017f42697264636174636865722043617473000000000000000000000000000000008152506040518060400160405280600781526020017f4249524450415700000000000000000000000000000000000000000000000000815250816003908161008b91906105bb565b50806004908161009b91906105bb565b5050506100d6336100b06100db60201b60201c565b600a6100bc91906107f2565b633b9aca006100cb919061083c565b6100e360201b60201c565b610965565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610153575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161014a91906108bc565b60405180910390fd5b6101645f838361016860201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036101b8578060025f8282546101ac91906108d5565b92505081905550610286565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610241578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161023893929190610917565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102cd578060025f8282540392505081905550610317565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610374919061094c565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806103fc57607f821691505b60208210810361040f5761040e6103b8565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026104717fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610436565b61047b8683610436565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6104bf6104ba6104b584610493565b61049c565b610493565b9050919050565b5f819050919050565b6104d8836104a5565b6104ec6104e4826104c6565b848454610442565b825550505050565b5f90565b6105006104f4565b61050b8184846104cf565b505050565b5b8181101561052e576105235f826104f8565b600181019050610511565b5050565b601f8211156105735761054481610415565b61054d84610427565b8101602085101561055c578190505b61057061056885610427565b830182610510565b50505b505050565b5f82821c905092915050565b5f6105935f1984600802610578565b1980831691505092915050565b5f6105ab8383610584565b9150826002028217905092915050565b6105c482610381565b67ffffffffffffffff8111156105dd576105dc61038b565b5b6105e782546103e5565b6105f2828285610532565b5f60209050601f831160018114610623575f8415610611578287015190505b61061b85826105a0565b865550610682565b601f19841661063186610415565b5f5b8281101561065857848901518255600182019150602085019450602081019050610633565b868310156106755784890151610671601f891682610584565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561070c578086048111156106e8576106e761068a565b5b60018516156106f75780820291505b8081029050610705856106b7565b94506106cc565b94509492505050565b5f8261072457600190506107df565b81610731575f90506107df565b8160018114610747576002811461075157610780565b60019150506107df565b60ff8411156107635761076261068a565b5b8360020a91508482111561077a5761077961068a565b5b506107df565b5060208310610133831016604e8410600b84101617156107b55782820a9050838111156107b0576107af61068a565b5b6107df565b6107c284848460016106c3565b925090508184048111156107d9576107d861068a565b5b81810290505b9392505050565b5f60ff82169050919050565b5f6107fc82610493565b9150610807836107e6565b92506108347fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610715565b905092915050565b5f61084682610493565b915061085183610493565b925082820261085f81610493565b915082820484148315176108765761087561068a565b5b5092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6108a68261087d565b9050919050565b6108b68161089c565b82525050565b5f6020820190506108cf5f8301846108ad565b92915050565b5f6108df82610493565b91506108ea83610493565b92508282019050808211156109025761090161068a565b5b92915050565b61091181610493565b82525050565b5f60608201905061092a5f8301866108ad565b6109376020830185610908565b6109446040830184610908565b949350505050565b5f60208201905061095f5f830184610908565b92915050565b610f0d806109725f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c806342966c681161006f57806342966c681461016557806370a082311461018157806379cc6790146101b157806395d89b41146101cd578063a9059cbb146101eb578063dd62ed3e1461021b576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806323b872dd14610117578063313ce56714610147575b5f80fd5b6100b361024b565b6040516100c09190610b5b565b60405180910390f35b6100e360048036038101906100de9190610c0c565b6102db565b6040516100f09190610c64565b60405180910390f35b6101016102fd565b60405161010e9190610c8c565b60405180910390f35b610131600480360381019061012c9190610ca5565b610306565b60405161013e9190610c64565b60405180910390f35b61014f610334565b60405161015c9190610d10565b60405180910390f35b61017f600480360381019061017a9190610d29565b61033c565b005b61019b60048036038101906101969190610d54565b610350565b6040516101a89190610c8c565b60405180910390f35b6101cb60048036038101906101c69190610c0c565b610395565b005b6101d56103b5565b6040516101e29190610b5b565b60405180910390f35b61020560048036038101906102009190610c0c565b610445565b6040516102129190610c64565b60405180910390f35b61023560048036038101906102309190610d7f565b610467565b6040516102429190610c8c565b60405180910390f35b60606003805461025a90610dea565b80601f016020809104026020016040519081016040528092919081815260200182805461028690610dea565b80156102d15780601f106102a8576101008083540402835291602001916102d1565b820191905f5260205f20905b8154815290600101906020018083116102b457829003601f168201915b5050505050905090565b5f806102e56104e9565b90506102f28185856104f0565b600191505092915050565b5f600254905090565b5f806103106104e9565b905061031d858285610502565b610328858585610594565b60019150509392505050565b5f6012905090565b61034d6103476104e9565b82610684565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6103a7826103a16104e9565b83610502565b6103b18282610684565b5050565b6060600480546103c490610dea565b80601f01602080910402602001604051908101604052809291908181526020018280546103f090610dea565b801561043b5780601f106104125761010080835404028352916020019161043b565b820191905f5260205f20905b81548152906001019060200180831161041e57829003601f168201915b5050505050905090565b5f8061044f6104e9565b905061045c818585610594565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b6104fd8383836001610703565b505050565b5f61050d8484610467565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461058e578181101561057f578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161057693929190610e29565b60405180910390fd5b61058d84848484035f610703565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610604575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105fb9190610e5e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610674575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161066b9190610e5e565b60405180910390fd5b61067f8383836108d2565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106f4575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106eb9190610e5e565b60405180910390fd5b6106ff825f836108d2565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610773575f6040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161076a9190610e5e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107e3575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107da9190610e5e565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156108cc578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108c39190610c8c565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610922578060025f8282546109169190610ea4565b925050819055506109f0565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156109ab578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016109a293929190610e29565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a37578060025f8282540392505081905550610a81565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610ade9190610c8c565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610b2d82610aeb565b610b378185610af5565b9350610b47818560208601610b05565b610b5081610b13565b840191505092915050565b5f6020820190508181035f830152610b738184610b23565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ba882610b7f565b9050919050565b610bb881610b9e565b8114610bc2575f80fd5b50565b5f81359050610bd381610baf565b92915050565b5f819050919050565b610beb81610bd9565b8114610bf5575f80fd5b50565b5f81359050610c0681610be2565b92915050565b5f8060408385031215610c2257610c21610b7b565b5b5f610c2f85828601610bc5565b9250506020610c4085828601610bf8565b9150509250929050565b5f8115159050919050565b610c5e81610c4a565b82525050565b5f602082019050610c775f830184610c55565b92915050565b610c8681610bd9565b82525050565b5f602082019050610c9f5f830184610c7d565b92915050565b5f805f60608486031215610cbc57610cbb610b7b565b5b5f610cc986828701610bc5565b9350506020610cda86828701610bc5565b9250506040610ceb86828701610bf8565b9150509250925092565b5f60ff82169050919050565b610d0a81610cf5565b82525050565b5f602082019050610d235f830184610d01565b92915050565b5f60208284031215610d3e57610d3d610b7b565b5b5f610d4b84828501610bf8565b91505092915050565b5f60208284031215610d6957610d68610b7b565b5b5f610d7684828501610bc5565b91505092915050565b5f8060408385031215610d9557610d94610b7b565b5b5f610da285828601610bc5565b9250506020610db385828601610bc5565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610e0157607f821691505b602082108103610e1457610e13610dbd565b5b50919050565b610e2381610b9e565b82525050565b5f606082019050610e3c5f830186610e1a565b610e496020830185610c7d565b610e566040830184610c7d565b949350505050565b5f602082019050610e715f830184610e1a565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610eae82610bd9565b9150610eb983610bd9565b9250828201905080821115610ed157610ed0610e77565b5b9291505056fea2646970667358221220abba9a98b92b3d1cf1c6409ff930afc8e2ac44c5b48b486981b964449149e71b64736f6c634300081a0033