[ { "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": [], "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" } ]
60806040523480156200001157600080fd5b50604051806040016040528060098152602001682837b7b62a37b5b2b760b91b81525060405180604001604052806002815260200161141560f21b815250816003908162000060919062000237565b5060046200006f828262000237565b50505062000093336ec097ce7bc90715b34b9f10000000006200009960201b60201c565b6200032b565b620000a58282620000a9565b5050565b6001600160a01b038216620000d85760405163ec442f0560e01b81526000600482015260240160405180910390fd5b620000a5600083838060026000828254620000f4919062000303565b90915550620001009050565b6001600160a01b0382166200011e576002805482900390556200013d565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200018391815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001bb57607f821691505b602082108103620001dc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000232576000816000526020600020601f850160051c810160208610156200020d5750805b601f850160051c820191505b818110156200022e5782815560010162000219565b5050505b505050565b81516001600160401b0381111562000253576200025362000190565b6200026b81620002648454620001a6565b84620001e2565b602080601f831160018114620002a357600084156200028a5750858301515b600019600386901b1c1916600185901b1785556200022e565b600085815260208120601f198616915b82811015620002d457888601518255948401946001909101908401620002b3565b5085821015620002f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200032557634e487b7160e01b600052601160045260246000fd5b92915050565b6107a5806200033b6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806340c10f191161007657806395d89b411161005b57806395d89b4114610176578063a9059cbb1461017e578063dd62ed3e1461019157600080fd5b806340c10f191461013857806370a082311461014d57600080fd5b806318160ddd116100a757806318160ddd1461010457806323b872dd14610116578063313ce5671461012957600080fd5b806306fdde03146100c3578063095ea7b3146100e1575b600080fd5b6100cb6101ca565b6040516100d891906105ee565b60405180910390f35b6100f46100ef366004610659565b61025c565b60405190151581526020016100d8565b6002545b6040519081526020016100d8565b6100f4610124366004610683565b610276565b604051601281526020016100d8565b61014b610146366004610659565b61029a565b005b61010861015b3660046106bf565b6001600160a01b031660009081526020819052604090205490565b6100cb6102a8565b6100f461018c366004610659565b6102b7565b61010861019f3660046106e1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101d990610714565b80601f016020809104026020016040519081016040528092919081815260200182805461020590610714565b80156102525780601f1061022757610100808354040283529160200191610252565b820191906000526020600020905b81548152906001019060200180831161023557829003601f168201915b5050505050905090565b60003361026a8185856102c5565b60019150505b92915050565b6000336102848582856102d7565b61028f85858561035a565b506001949350505050565b6102a482826103b9565b5050565b6060600480546101d990610714565b60003361026a81858561035a565b6102d283838360016103ef565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610354578181101561034557604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b610354848484840360006103ef565b50505050565b6001600160a01b03831661038457604051634b637e8f60e11b81526000600482015260240161033c565b6001600160a01b0382166103ae5760405163ec442f0560e01b81526000600482015260240161033c565b6102d28383836104c4565b6001600160a01b0382166103e35760405163ec442f0560e01b81526000600482015260240161033c565b6102a4600083836104c4565b6001600160a01b0384166104195760405163e602df0560e01b81526000600482015260240161033c565b6001600160a01b03831661044357604051634a1406b160e11b81526000600482015260240161033c565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561035457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104b691815260200190565b60405180910390a350505050565b6001600160a01b0383166104ef5780600260008282546104e4919061074e565b909155506105619050565b6001600160a01b038316600090815260208190526040902054818110156105425760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161033c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661057d5760028054829003905561059c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105e191815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b8181101561061c57858101830151858201604001528201610600565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461065457600080fd5b919050565b6000806040838503121561066c57600080fd5b6106758361063d565b946020939093013593505050565b60008060006060848603121561069857600080fd5b6106a18461063d565b92506106af6020850161063d565b9150604084013590509250925092565b6000602082840312156106d157600080fd5b6106da8261063d565b9392505050565b600080604083850312156106f457600080fd5b6106fd8361063d565b915061070b6020840161063d565b90509250929050565b600181811c9082168061072857607f821691505b60208210810361074857634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561027057634e487b7160e01b600052601160045260246000fdfea264697066735822122016879df6054ff1ccc7cc28241e05125ab200871e95e7c739c7c68aca8ac36a2364736f6c63430008180033