Loading
[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }, { "internalType": "uint256", "name": "initialSupply", "type": "uint256" } ], "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": "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" } ]
608060405234801562000010575f80fd5b506040516200183b3803806200183b83398181016040528101906200003691906200053a565b8383816003908162000049919062000815565b5080600490816200005b919062000815565b5050508160055f6101000a81548160ff021916908360ff1602179055506200008a33826200009460201b60201c565b5050505062000a25565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000107575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620000fe91906200093c565b60405180910390fd5b6200011a5f83836200011e60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000172578060025f82825462000165919062000984565b9250508190555062000243565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620001fe578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620001f593929190620009cf565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200028c578060025f8282540392505081905550620002d6565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000335919062000a0a565b60405180910390a3505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620003a3826200035b565b810181811067ffffffffffffffff82111715620003c557620003c46200036b565b5b80604052505050565b5f620003d962000342565b9050620003e7828262000398565b919050565b5f67ffffffffffffffff8211156200040957620004086200036b565b5b62000414826200035b565b9050602081019050919050565b5f5b838110156200044057808201518184015260208101905062000423565b5f8484015250505050565b5f620004616200045b84620003ec565b620003ce565b90508281526020810184848401111562000480576200047f62000357565b5b6200048d84828562000421565b509392505050565b5f82601f830112620004ac57620004ab62000353565b5b8151620004be8482602086016200044b565b91505092915050565b5f60ff82169050919050565b620004de81620004c7565b8114620004e9575f80fd5b50565b5f81519050620004fc81620004d3565b92915050565b5f819050919050565b620005168162000502565b811462000521575f80fd5b50565b5f8151905062000534816200050b565b92915050565b5f805f80608085870312156200055557620005546200034b565b5b5f85015167ffffffffffffffff8111156200057557620005746200034f565b5b620005838782880162000495565b945050602085015167ffffffffffffffff811115620005a757620005a66200034f565b5b620005b58782880162000495565b9350506040620005c887828801620004ec565b9250506060620005db8782880162000524565b91505092959194509250565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200063657607f821691505b6020821081036200064c576200064b620005f1565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620006b07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000673565b620006bc868362000673565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620006fd620006f7620006f18462000502565b620006d4565b62000502565b9050919050565b5f819050919050565b6200071883620006dd565b62000730620007278262000704565b8484546200067f565b825550505050565b5f90565b6200074662000738565b620007538184846200070d565b505050565b5b818110156200077a576200076e5f826200073c565b60018101905062000759565b5050565b601f821115620007c957620007938162000652565b6200079e8462000664565b81016020851015620007ae578190505b620007c6620007bd8562000664565b83018262000758565b50505b505050565b5f82821c905092915050565b5f620007eb5f1984600802620007ce565b1980831691505092915050565b5f620008058383620007da565b9150826002028217905092915050565b6200082082620005e7565b67ffffffffffffffff8111156200083c576200083b6200036b565b5b6200084882546200061e565b620008558282856200077e565b5f60209050601f8311600181146200088b575f841562000876578287015190505b620008828582620007f8565b865550620008f1565b601f1984166200089b8662000652565b5f5b82811015620008c4578489015182556001820191506020850194506020810190506200089d565b86831015620008e45784890151620008e0601f891682620007da565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200092482620008f9565b9050919050565b620009368162000918565b82525050565b5f602082019050620009515f8301846200092b565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f620009908262000502565b91506200099d8362000502565b9250828201905080821115620009b857620009b762000957565b5b92915050565b620009c98162000502565b82525050565b5f606082019050620009e45f8301866200092b565b620009f36020830185620009be565b62000a026040830184620009be565b949350505050565b5f60208201905062000a1f5f830184620009be565b92915050565b610e088062000a335f395ff3fe608060405234801561000f575f80fd5b5060043610610091575f3560e01c8063313ce56711610064578063313ce5671461013157806370a082311461014f57806395d89b411461017f578063a9059cbb1461019d578063dd62ed3e146101cd57610091565b806306fdde0314610095578063095ea7b3146100b357806318160ddd146100e357806323b872dd14610101575b5f80fd5b61009d6101fd565b6040516100aa9190610a81565b60405180910390f35b6100cd60048036038101906100c89190610b32565b61028d565b6040516100da9190610b8a565b60405180910390f35b6100eb6102af565b6040516100f89190610bb2565b60405180910390f35b61011b60048036038101906101169190610bcb565b6102b8565b6040516101289190610b8a565b60405180910390f35b6101396102e6565b6040516101469190610c36565b60405180910390f35b61016960048036038101906101649190610c4f565b6102fb565b6040516101769190610bb2565b60405180910390f35b610187610340565b6040516101949190610a81565b60405180910390f35b6101b760048036038101906101b29190610b32565b6103d0565b6040516101c49190610b8a565b60405180910390f35b6101e760048036038101906101e29190610c7a565b6103f2565b6040516101f49190610bb2565b60405180910390f35b60606003805461020c90610ce5565b80601f016020809104026020016040519081016040528092919081815260200182805461023890610ce5565b80156102835780601f1061025a57610100808354040283529160200191610283565b820191905f5260205f20905b81548152906001019060200180831161026657829003601f168201915b5050505050905090565b5f80610297610474565b90506102a481858561047b565b600191505092915050565b5f600254905090565b5f806102c2610474565b90506102cf85828561048d565b6102da85858561051f565b60019150509392505050565b5f60055f9054906101000a900460ff16905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606004805461034f90610ce5565b80601f016020809104026020016040519081016040528092919081815260200182805461037b90610ce5565b80156103c65780601f1061039d576101008083540402835291602001916103c6565b820191905f5260205f20905b8154815290600101906020018083116103a957829003601f168201915b5050505050905090565b5f806103da610474565b90506103e781858561051f565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b610488838383600161060f565b505050565b5f61049884846103f2565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610519578181101561050a578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161050193929190610d24565b60405180910390fd5b61051884848484035f61060f565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361058f575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105869190610d59565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105ff575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016105f69190610d59565b60405180910390fd5b61060a8383836107de565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361067f575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016106769190610d59565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106ef575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016106e69190610d59565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080156107d8578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107cf9190610bb2565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361082e578060025f8282546108229190610d9f565b925050819055506108fc565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156108b7578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016108ae93929190610d24565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610943578060025f828254039250508190555061098d565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109ea9190610bb2565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610a2e578082015181840152602081019050610a13565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610a53826109f7565b610a5d8185610a01565b9350610a6d818560208601610a11565b610a7681610a39565b840191505092915050565b5f6020820190508181035f830152610a998184610a49565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ace82610aa5565b9050919050565b610ade81610ac4565b8114610ae8575f80fd5b50565b5f81359050610af981610ad5565b92915050565b5f819050919050565b610b1181610aff565b8114610b1b575f80fd5b50565b5f81359050610b2c81610b08565b92915050565b5f8060408385031215610b4857610b47610aa1565b5b5f610b5585828601610aeb565b9250506020610b6685828601610b1e565b9150509250929050565b5f8115159050919050565b610b8481610b70565b82525050565b5f602082019050610b9d5f830184610b7b565b92915050565b610bac81610aff565b82525050565b5f602082019050610bc55f830184610ba3565b92915050565b5f805f60608486031215610be257610be1610aa1565b5b5f610bef86828701610aeb565b9350506020610c0086828701610aeb565b9250506040610c1186828701610b1e565b9150509250925092565b5f60ff82169050919050565b610c3081610c1b565b82525050565b5f602082019050610c495f830184610c27565b92915050565b5f60208284031215610c6457610c63610aa1565b5b5f610c7184828501610aeb565b91505092915050565b5f8060408385031215610c9057610c8f610aa1565b5b5f610c9d85828601610aeb565b9250506020610cae85828601610aeb565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610cfc57607f821691505b602082108103610d0f57610d0e610cb8565b5b50919050565b610d1e81610ac4565b82525050565b5f606082019050610d375f830186610d15565b610d446020830185610ba3565b610d516040830184610ba3565b949350505050565b5f602082019050610d6c5f830184610d15565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610da982610aff565b9150610db483610aff565b9250828201905080821115610dcc57610dcb610d72565b5b9291505056fea2646970667358221220d34c955a2c5b2433717147c194e0c700dbe9cb5ba9593866165eb4328801325164736f6c63430008180033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000000005626f6e75730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002626e000000000000000000000000000000000000000000000000000000000000