[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" } ], "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" } ]
608060405234801561000f575f5ffd5b50604051610a05380380610a0583398101604081905261002e91610105565b8181600361003c83826101ee565b50600461004982826101ee565b50505050506102a8565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610076575f5ffd5b81516001600160401b0381111561008f5761008f610053565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100bd576100bd610053565b6040528181528382016020018510156100d4575f5ffd5b5f5b828110156100f2576020818601810151838301820152016100d6565b505f918101602001919091529392505050565b5f5f60408385031215610116575f5ffd5b82516001600160401b0381111561012b575f5ffd5b61013785828601610067565b602085015190935090506001600160401b03811115610154575f5ffd5b61016085828601610067565b9150509250929050565b600181811c9082168061017e57607f821691505b60208210810361019c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101e957805f5260205f20601f840160051c810160208510156101c75750805b601f840160051c820191505b818110156101e6575f81556001016101d3565b50505b505050565b81516001600160401b0381111561020757610207610053565b61021b81610215845461016a565b846101a2565b6020601f82116001811461024d575f83156102365750848201515b5f19600385901b1c1916600184901b1784556101e6565b5f84815260208120601f198516915b8281101561027c578785015182556020948501946001909201910161025c565b508482101561029957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b610750806102b55f395ff3fe608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806340c10f191161007257806395d89b411161005857806395d89b411461016f578063a9059cbb14610177578063dd62ed3e1461018a575f5ffd5b806340c10f191461013257806370a0823114610147575f5ffd5b806318160ddd116100a257806318160ddd146100fe57806323b872dd14610110578063313ce56714610123575f5ffd5b806306fdde03146100bd578063095ea7b3146100db575b5f5ffd5b6100c56101c2565b6040516100d291906105d3565b60405180910390f35b6100ee6100e9366004610639565b610252565b60405190151581526020016100d2565b6002545b6040519081526020016100d2565b6100ee61011e366004610661565b61026b565b604051601281526020016100d2565b610145610140366004610639565b61028e565b005b61010261015536600461069b565b6001600160a01b03165f9081526020819052604090205490565b6100c561029c565b6100ee610185366004610639565b6102ab565b6101026101983660046106bb565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101d1906106ec565b80601f01602080910402602001604051908101604052809291908181526020018280546101fd906106ec565b80156102485780601f1061021f57610100808354040283529160200191610248565b820191905f5260205f20905b81548152906001019060200180831161022b57829003601f168201915b5050505050905090565b5f3361025f8185856102b8565b60019150505b92915050565b5f336102788582856102ca565b61028385858561034a565b506001949350505050565b61029882826103a7565b5050565b6060600480546101d1906106ec565b5f3361025f81858561034a565b6102c583838360016103db565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610344578181101561033657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61034484848484035f6103db565b50505050565b6001600160a01b03831661037357604051634b637e8f60e11b81525f600482015260240161032d565b6001600160a01b03821661039c5760405163ec442f0560e01b81525f600482015260240161032d565b6102c58383836104ad565b6001600160a01b0382166103d05760405163ec442f0560e01b81525f600482015260240161032d565b6102985f83836104ad565b6001600160a01b0384166104045760405163e602df0560e01b81525f600482015260240161032d565b6001600160a01b03831661042d57604051634a1406b160e11b81525f600482015260240161032d565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561034457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161049f91815260200190565b60405180910390a350505050565b6001600160a01b0383166104d7578060025f8282546104cc9190610724565b909155506105479050565b6001600160a01b0383165f90815260208190526040902054818110156105295760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161032d565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661056357600280548290039055610581565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105c691815260200190565b60405180910390a3505050565b602081525f82518060208401525f5b818110156105ff57602081860181015160408684010152016105e2565b505f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610634575f5ffd5b919050565b5f5f6040838503121561064a575f5ffd5b6106538361061e565b946020939093013593505050565b5f5f5f60608486031215610673575f5ffd5b61067c8461061e565b925061068a6020850161061e565b929592945050506040919091013590565b5f602082840312156106ab575f5ffd5b6106b48261061e565b9392505050565b5f5f604083850312156106cc575f5ffd5b6106d58361061e565b91506106e36020840161061e565b90509250929050565b600181811c9082168061070057607f821691505b60208210810361071e57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561026557634e487b7160e01b5f52601160045260245ffdfea164736f6c634300081c000a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000002544100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015400000000000000000000000000000000000000000000000000000000000000