[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "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": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "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" } ]
608060405234801562000010575f80fd5b5060405162001876380380620018768339818101604052810190620000369190620004e4565b82828160039081620000499190620007a9565b5080600490816200005b9190620007a9565b5050506200007033826200007960201b60201c565b505050620009b9565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000ec575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620000e39190620008d0565b60405180910390fd5b620000ff5f83836200010360201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000157578060025f8282546200014a919062000918565b9250508190555062000228565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620001e3578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620001da9392919062000963565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000271578060025f8282540392505081905550620002bb565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200031a91906200099e565b60405180910390a3505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620003888262000340565b810181811067ffffffffffffffff82111715620003aa57620003a962000350565b5b80604052505050565b5f620003be62000327565b9050620003cc82826200037d565b919050565b5f67ffffffffffffffff821115620003ee57620003ed62000350565b5b620003f98262000340565b9050602081019050919050565b5f5b838110156200042557808201518184015260208101905062000408565b5f8484015250505050565b5f620004466200044084620003d1565b620003b3565b9050828152602081018484840111156200046557620004646200033c565b5b6200047284828562000406565b509392505050565b5f82601f83011262000491576200049062000338565b5b8151620004a384826020860162000430565b91505092915050565b5f819050919050565b620004c081620004ac565b8114620004cb575f80fd5b50565b5f81519050620004de81620004b5565b92915050565b5f805f60608486031215620004fe57620004fd62000330565b5b5f84015167ffffffffffffffff8111156200051e576200051d62000334565b5b6200052c868287016200047a565b935050602084015167ffffffffffffffff81111562000550576200054f62000334565b5b6200055e868287016200047a565b92505060406200057186828701620004ce565b9150509250925092565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620005ca57607f821691505b602082108103620005e057620005df62000585565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620006447fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000607565b62000650868362000607565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620006916200068b6200068584620004ac565b62000668565b620004ac565b9050919050565b5f819050919050565b620006ac8362000671565b620006c4620006bb8262000698565b84845462000613565b825550505050565b5f90565b620006da620006cc565b620006e7818484620006a1565b505050565b5b818110156200070e57620007025f82620006d0565b600181019050620006ed565b5050565b601f8211156200075d576200072781620005e6565b6200073284620005f8565b8101602085101562000742578190505b6200075a6200075185620005f8565b830182620006ec565b50505b505050565b5f82821c905092915050565b5f6200077f5f198460080262000762565b1980831691505092915050565b5f6200079983836200076e565b9150826002028217905092915050565b620007b4826200057b565b67ffffffffffffffff811115620007d057620007cf62000350565b5b620007dc8254620005b2565b620007e982828562000712565b5f60209050601f8311600181146200081f575f84156200080a578287015190505b6200081685826200078c565b86555062000885565b601f1984166200082f86620005e6565b5f5b82811015620008585784890151825560018201915060208501945060208101905062000831565b8683101562000878578489015162000874601f8916826200076e565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620008b8826200088d565b9050919050565b620008ca81620008ac565b82525050565b5f602082019050620008e55f830184620008bf565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6200092482620004ac565b91506200093183620004ac565b92508282019050808211156200094c576200094b620008eb565b5b92915050565b6200095d81620004ac565b82525050565b5f606082019050620009785f830186620008bf565b62000987602083018562000952565b62000996604083018462000952565b949350505050565b5f602082019050620009b35f83018462000952565b92915050565b610eaf80620009c75f395ff3fe608060405234801561000f575f80fd5b506004361061009c575f3560e01c806340c10f191161006457806340c10f191461015a57806370a082311461017657806395d89b41146101a6578063a9059cbb146101c4578063dd62ed3e146101f45761009c565b806306fdde03146100a0578063095ea7b3146100be57806318160ddd146100ee57806323b872dd1461010c578063313ce5671461013c575b5f80fd5b6100a8610224565b6040516100b59190610b28565b60405180910390f35b6100d860048036038101906100d39190610bd9565b6102b4565b6040516100e59190610c31565b60405180910390f35b6100f66102d6565b6040516101039190610c59565b60405180910390f35b61012660048036038101906101219190610c72565b6102df565b6040516101339190610c31565b60405180910390f35b61014461030d565b6040516101519190610cdd565b60405180910390f35b610174600480360381019061016f9190610bd9565b610315565b005b610190600480360381019061018b9190610cf6565b610323565b60405161019d9190610c59565b60405180910390f35b6101ae610368565b6040516101bb9190610b28565b60405180910390f35b6101de60048036038101906101d99190610bd9565b6103f8565b6040516101eb9190610c31565b60405180910390f35b61020e60048036038101906102099190610d21565b61041a565b60405161021b9190610c59565b60405180910390f35b60606003805461023390610d8c565b80601f016020809104026020016040519081016040528092919081815260200182805461025f90610d8c565b80156102aa5780601f10610281576101008083540402835291602001916102aa565b820191905f5260205f20905b81548152906001019060200180831161028d57829003601f168201915b5050505050905090565b5f806102be61049c565b90506102cb8185856104a3565b600191505092915050565b5f600254905090565b5f806102e961049c565b90506102f68582856104b5565b610301858585610547565b60019150509392505050565b5f6012905090565b61031f8282610637565b5050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60606004805461037790610d8c565b80601f01602080910402602001604051908101604052809291908181526020018280546103a390610d8c565b80156103ee5780601f106103c5576101008083540402835291602001916103ee565b820191905f5260205f20905b8154815290600101906020018083116103d157829003601f168201915b5050505050905090565b5f8061040261049c565b905061040f818585610547565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b6104b083838360016106b6565b505050565b5f6104c0848461041a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105415781811015610532578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161052993929190610dcb565b60405180910390fd5b61054084848484035f6106b6565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105b7575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105ae9190610e00565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610627575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161061e9190610e00565b60405180910390fd5b610632838383610885565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106a7575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161069e9190610e00565b60405180910390fd5b6106b25f8383610885565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610726575f6040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161071d9190610e00565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610796575f6040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161078d9190610e00565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550801561087f578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108769190610c59565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108d5578060025f8282546108c99190610e46565b925050819055506109a3565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561095e578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161095593929190610dcb565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109ea578060025f8282540392505081905550610a34565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a919190610c59565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610ad5578082015181840152602081019050610aba565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610afa82610a9e565b610b048185610aa8565b9350610b14818560208601610ab8565b610b1d81610ae0565b840191505092915050565b5f6020820190508181035f830152610b408184610af0565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b7582610b4c565b9050919050565b610b8581610b6b565b8114610b8f575f80fd5b50565b5f81359050610ba081610b7c565b92915050565b5f819050919050565b610bb881610ba6565b8114610bc2575f80fd5b50565b5f81359050610bd381610baf565b92915050565b5f8060408385031215610bef57610bee610b48565b5b5f610bfc85828601610b92565b9250506020610c0d85828601610bc5565b9150509250929050565b5f8115159050919050565b610c2b81610c17565b82525050565b5f602082019050610c445f830184610c22565b92915050565b610c5381610ba6565b82525050565b5f602082019050610c6c5f830184610c4a565b92915050565b5f805f60608486031215610c8957610c88610b48565b5b5f610c9686828701610b92565b9350506020610ca786828701610b92565b9250506040610cb886828701610bc5565b9150509250925092565b5f60ff82169050919050565b610cd781610cc2565b82525050565b5f602082019050610cf05f830184610cce565b92915050565b5f60208284031215610d0b57610d0a610b48565b5b5f610d1884828501610b92565b91505092915050565b5f8060408385031215610d3757610d36610b48565b5b5f610d4485828601610b92565b9250506020610d5585828601610b92565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610da357607f821691505b602082108103610db657610db5610d5f565b5b50919050565b610dc581610b6b565b82525050565b5f606082019050610dde5f830186610dbc565b610deb6020830185610c4a565b610df86040830184610c4a565b949350505050565b5f602082019050610e135f830184610dbc565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610e5082610ba6565b9150610e5b83610ba6565b9250828201905080821115610e7357610e72610e19565b5b9291505056fea2646970667358221220c6507eec56c3f9b2d924f691690c76d2b21dd75a20690d6f6f61ad2994785b3064736f6c63430008180033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000000944454d4f544f4b454e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024454000000000000000000000000000000000000000000000000000000000000