[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "uint256", "name": "maxSupply_", "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" } ]
6080604052346100305761001a6100146101de565b91610201565b610022610035565b610d4861082c8239610d4890f35b61003b565b60405190565b600080fd5b601f801991011690565b634e487b7160e01b600052604160045260246000fd5b9061006a90610040565b810190811060018060401b0382111761008257604052565b61004a565b9061009a610093610035565b9283610060565b565b600080fd5b600080fd5b600080fd5b600080fd5b60018060401b0381116100cc576100c8602091610040565b0190565b61004a565b60005b8381106100e5575050906000910152565b8060209183015181850152016100d4565b9092919261010b610106826100b0565b610087565b9381855260208501908284011161012757610125926100d1565b565b6100ab565b9080601f8301121561014a57816020610147935191016100f6565b90565b6100a6565b90565b61015b8161014f565b0361016257565b600080fd5b9050519061017482610152565b565b90916060828403126101d957600082015160018060401b0381116101d457836101a091840161012c565b9260208301519060018060401b0382116101cf576101c3816101cc93860161012c565b93604001610167565b90565b6100a1565b6100a1565b61009c565b6101fc611574803803806101f181610087565b928339810190610176565b909192565b610215929161020f91610475565b336104f2565b565b5190565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610251575b602083101461024c57565b61021b565b91607f1691610241565b600052602060002090565b601f602091010490565b1b90565b9190600861029091029161028a60001984610270565b92610270565b9181191691161790565b90565b6102b16102ac6102b69261014f565b61029a565b61014f565b90565b90565b91906102d26102cd6102da9361029d565b6102b9565b908354610274565b9055565b600090565b6102f5916102ef6102de565b916102bc565b565b5b818110610303575050565b8061031160006001936102e3565b016102f8565b9190601f8111610327575b505050565b6103336103589361025b565b90602061033f84610266565b83019310610360575b61035190610266565b01906102f7565b388080610322565b915061035181929050610348565b1c90565b90610383906000199060080261036e565b191690565b8161039291610372565b906002021790565b906103a481610217565b9060018060401b038211610464576103c6826103c08554610231565b85610317565b602090601f83116001146103fb579180916103ea936000926103ef575b5050610388565b90555b565b909150015138806103e3565b601f1983169161040a8561025b565b9260005b81811061044c57509160029391856001969410610432575b505050020190556103ed565b610442910151601f841690610372565b9055388080610426565b9193602060018192878701518155019501920161040e565b61004a565b906104739161039a565b565b9061048461048b926003610469565b6004610469565b565b90565b60018060a01b031690565b6104af6104aa6104b49261048d565b61029a565b610490565b90565b6104c09061049b565b90565b6104cc90610490565b90565b6104d8906104c3565b9052565b91906104f0906000602085019401906104cf565b565b8061050e61050861050360006104b7565b6104c3565b916104c3565b1461052b576105299161052160006104b7565b9190916106b4565b565b61055061053860006104b7565b600091829163ec442f0560e01b8352600483016104dc565b0390fd5b61056861056361056d92610490565b61029a565b610490565b90565b61057990610554565b90565b61058590610570565b90565b906105929061057c565b600052602052604060002090565b60001c90565b90565b6105b56105ba916105a0565b6105a6565b90565b6105c790546105a9565b90565b6105d39061014f565b9052565b60409061060161060894969593966105f7606084019860008501906104cf565b60208301906105ca565b01906105ca565b565b90610615910361014f565b90565b60001b90565b9061062b60001991610618565b9181191691161790565b9061064a6106456106519261029d565b6102b9565b825461061e565b9055565b634e487b7160e01b600052601160045260246000fd5b61067a6106809193929361014f565b9261014f565b820180921161068b57565b610655565b9061069b910161014f565b90565b91906106b2906000602085019401906105ca565b565b919091806106d36106cd6106c860006104b7565b6104c3565b916104c3565b146000146107b8576106f86106f1836106ec60026105bd565b61066b565b6002610635565b5b8261071561070f61070a60006104b7565b6104c3565b916104c3565b1460001461078b5761073a6107338361072e60026105bd565b61060a565b6002610635565b5b91909161078661077461076e7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9361057c565b9361057c565b9361077d610035565b9182918261069e565b0390a3565b6107b3826107ad61079e60008790610588565b916107a8836105bd565b610690565b90610635565b61073b565b6107cc6107c760008390610588565b6105bd565b806107df6107d98561014f565b9161014f565b10610808576107f261080391849061060a565b6107fe60008490610588565b610635565b6106f9565b90610827909192600093849363391434e360e21b8552600485016105d7565b0390fdfe60806040526004361015610013575b6104c6565b61001e6000356100ad565b806306fdde03146100a8578063095ea7b3146100a357806318160ddd1461009e57806323b872dd14610099578063313ce5671461009457806370a082311461008f57806395d89b411461008a578063a9059cbb146100855763dd62ed3e0361000e57610490565b61042c565b6103f7565b6103c2565b61036e565b61030f565b61029f565b610246565b610159565b60e01c90565b60405190565b600080fd5b600080fd5b60009103126100ce57565b6100be565b5190565b60209181520190565b60005b8381106100f4575050906000910152565b8060209183015181850152016100e3565b601f801991011690565b61012e61013760209361013c93610125816100d3565b938480936100d7565b958691016100e0565b610105565b0190565b610156916020820191600081840391015261010f565b90565b34610189576101693660046100c3565b61018561017461062d565b61017c6100b3565b91829182610140565b0390f35b6100b9565b60018060a01b031690565b6101a29061018e565b90565b6101ae81610199565b036101b557565b600080fd5b905035906101c7826101a5565b565b90565b6101d5816101c9565b036101dc57565b600080fd5b905035906101ee826101cc565b565b9190604083820312610219578061020d61021692600086016101ba565b936020016101e1565b90565b6100be565b151590565b61022c9061021e565b9052565b919061024490600060208501940190610223565b565b346102775761027361026261025c3660046101f0565b90610648565b61026a6100b3565b91829182610230565b0390f35b6100b9565b610285906101c9565b9052565b919061029d9060006020850194019061027c565b565b346102cf576102af3660046100c3565b6102cb6102ba610699565b6102c26100b3565b91829182610289565b0390f35b6100b9565b909160608284031261030a576103076102f084600085016101ba565b936102fe81602086016101ba565b936040016101e1565b90565b6100be565b346103405761033c61032b6103253660046102d4565b916106af565b6103336100b3565b91829182610230565b0390f35b6100b9565b60ff1690565b61035490610345565b9052565b919061036c9060006020850194019061034b565b565b3461039e5761037e3660046100c3565b61039a610389610705565b6103916100b3565b91829182610358565b0390f35b6100b9565b906020828203126103bd576103ba916000016101ba565b90565b6100be565b346103f2576103ee6103dd6103d83660046103a3565b610767565b6103e56100b3565b91829182610289565b0390f35b6100b9565b34610427576104073660046100c3565b610423610412610786565b61041a6100b3565b91829182610140565b0390f35b6100b9565b3461045d576104596104486104423660046101f0565b9061079c565b6104506100b3565b91829182610230565b0390f35b6100b9565b919060408382031261048b578061047f61048892600086016101ba565b936020016101ba565b90565b6100be565b346104c1576104bd6104ac6104a6366004610462565b906107d6565b6104b46100b3565b91829182610289565b0390f35b6100b9565b600080fd5b606090565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610506575b602083101461050157565b6104d0565b91607f16916104f6565b60209181520190565b600052602060002090565b906000929180549061053f610538836104e6565b8094610510565b91600181169081600014610598575060011461055b575b505050565b6105689192939450610519565b916000925b8184106105805750500190388080610556565b6001816020929593955484860152019101929061056d565b92949550505060ff1916825215156020020190388080610556565b906105bd91610524565b90565b634e487b7160e01b600052604160045260246000fd5b906105e090610105565b810190811067ffffffffffffffff8211176105fa57604052565b6105c0565b9061061f6106189261060f6100b3565b938480926105b3565b03836105d6565b565b61062a906105ff565b90565b6106356104cb565b506106406003610621565b90565b600090565b61066591610654610643565b5061065d610803565b919091610810565b600190565b600090565b60001c90565b90565b6106846106899161066f565b610675565b90565b6106969054610678565b90565b6106a161066a565b506106ac600261068c565b90565b916106d9926106bc610643565b506106d16106c8610803565b8290849161086e565b91909161093e565b600190565b600090565b90565b90565b6106fd6106f8610702926106e3565b6106e6565b610345565b90565b61070d6106de565b5061071860126106e9565b90565b61072f61072a6107349261018e565b6106e6565b61018e565b90565b6107409061071b565b90565b61074c90610737565b90565b9061075990610743565b600052602052604060002090565b61077e6107839161077661066a565b50600061074f565b61068c565b90565b61078e6104cb565b506107996004610621565b90565b6107b9916107a8610643565b506107b1610803565b91909161093e565b600190565b906107c890610743565b600052602052604060002090565b6107fb916107f16107f6926107e961066a565b5060016107be565b61074f565b61068c565b90565b600090565b61080b6107fe565b503390565b9161081e9291600192610a3d565b565b61082990610199565b9052565b60409061085761085e949695939661084d60608401986000850190610820565b602083019061027c565b019061027c565b565b9061086b91036101c9565b90565b92919261087c8183906107d6565b908161089261088c6000196101c9565b916101c9565b0361089f575b5050509050565b816108b26108ac876101c9565b916101c9565b106108d9576108d093946108c7919392610860565b90600092610a3d565b80388080610898565b506108f9849291926000938493637dc7a0d960e11b85526004850161082d565b0390fd5b90565b61091461090f610919926108fd565b6106e6565b61018e565b90565b61092590610900565b90565b919061093c90600060208501940190610820565b565b918261095b610955610950600061091c565b610199565b91610199565b146109b8578161097c610976610971600061091c565b610199565b91610199565b1461098f5761098d92919091610b9b565b565b6109b461099c600061091c565b600091829163ec442f0560e01b835260048301610928565b0390fd5b6109dd6109c5600061091c565b6000918291634b637e8f60e11b835260048301610928565b0390fd5b60001b90565b906109f4600019916109e1565b9181191691161790565b610a12610a0d610a17926101c9565b6106e6565b6101c9565b90565b90565b90610a32610a2d610a39926109fe565b610a1a565b82546109e7565b9055565b909281610a5b610a55610a50600061091c565b610199565b91610199565b14610b295783610a7c610a76610a71600061091c565b610199565b91610199565b14610b0057610aa083610a9b610a94600186906107be565b879061074f565b610a1d565b610aaa575b505050565b919091610af5610ae3610add7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92593610743565b93610743565b93610aec6100b3565b91829182610289565b0390a3388080610aa5565b610b25610b0d600061091c565b6000918291634a1406b160e11b835260048301610928565b0390fd5b610b4e610b36600061091c565b600091829163e602df0560e01b835260048301610928565b0390fd5b634e487b7160e01b600052601160045260246000fd5b610b77610b7d919392936101c9565b926101c9565b8201809211610b8857565b610b52565b90610b9891016101c9565b90565b91909180610bba610bb4610baf600061091c565b610199565b91610199565b14600014610c9f57610bdf610bd883610bd3600261068c565b610b68565b6002610a1d565b5b82610bfc610bf6610bf1600061091c565b610199565b91610199565b14600014610c7257610c21610c1a83610c15600261068c565b610860565b6002610a1d565b5b919091610c6d610c5b610c557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef93610743565b93610743565b93610c646100b3565b91829182610289565b0390a3565b610c9a82610c94610c856000879061074f565b91610c8f8361068c565b610b8d565b90610a1d565b610c22565b610cb3610cae6000839061074f565b61068c565b80610cc6610cc0856101c9565b916101c9565b10610cef57610cd9610cea918490610860565b610ce56000849061074f565b610a1d565b610be0565b90610d0e909192600093849363391434e360e21b85526004850161082d565b0390fdfea26469706673582212200089e41a373b8f629373b8d8dd90e602b63fd96a9be3532ad04ce832aff224cf64736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000004586d6173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004584d415300000000000000000000000000000000000000000000000000000000