[ { "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": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "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": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b50604051806040016040528060098152602001682330b5b2aa37b5b2b760b91b8152506040518060400160405280600481526020016346414b4560e01b8152508160039081620000629190620002bb565b506004620000718282620002bb565b5073b37818de6b736f7144ad172742772fd9bbd9c61d915062000098905081600a6200009f565b50620003af565b6001600160a01b038216620000cf5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000dd60008383620000e1565b5050565b6001600160a01b0383166200011057806002600082825462000104919062000387565b90915550620001849050565b6001600160a01b03831660009081526020819052604090205481811015620001655760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620001a257600280548290039055620001c1565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200020791815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023f57607f821691505b6020821081036200026057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b6576000816000526020600020601f850160051c81016020861015620002915750805b601f850160051c820191505b81811015620002b2578281556001016200029d565b5050505b505050565b81516001600160401b03811115620002d757620002d762000214565b620002ef81620002e884546200022a565b8462000266565b602080601f8311600181146200032757600084156200030e5750858301515b600019600386901b1c1916600185901b178555620002b2565b600085815260208120601f198616915b82811015620003585788860151825594840194600190910190840162000337565b5085821015620003775787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003a957634e487b7160e01b600052601160045260246000fd5b92915050565b61068280620003bf6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461010d57806395d89b4114610121578063a9059cbb14610129578063dd62ed3e1461013c57600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a0610175565b6040516100ad91906104cb565b60405180910390f35b6100c96100c4366004610536565b610207565b60405190151581526020016100ad565b6002545b6040519081526020016100ad565b6100c96100f9366004610560565b610221565b604051601281526020016100ad565b6100dd61011b36600461059c565b50600a90565b6100a0610238565b6100c9610137366004610536565b610247565b6100dd61014a3660046105be565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b606060038054610184906105f1565b80601f01602080910402602001604051908101604052809291908181526020018280546101b0906105f1565b80156101fd5780601f106101d2576101008083540402835291602001916101fd565b820191906000526020600020905b8154815290600101906020018083116101e057829003601f168201915b5050505050905090565b600033610215818585610255565b60019150505b92915050565b600061022d3283610247565b506001949350505050565b606060048054610184906105f1565b600033610215818585610267565b61026283838360016102cb565b505050565b6001600160a01b03831661029657604051634b637e8f60e11b8152600060048201526024015b60405180910390fd5b6001600160a01b0382166102c05760405163ec442f0560e01b81526000600482015260240161028d565b6102628383836103a1565b6001600160a01b0384166102f55760405163e602df0560e01b81526000600482015260240161028d565b6001600160a01b03831661031f57604051634a1406b160e11b81526000600482015260240161028d565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561039b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161039291815260200190565b60405180910390a35b50505050565b6001600160a01b0383166103cc5780600260008282546103c1919061062b565b9091555061043e9050565b6001600160a01b0383166000908152602081905260409020548181101561041f5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161028d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661045a57600280548290039055610479565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104be91815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156104f9578581018301518582016040015282016104dd565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461053157600080fd5b919050565b6000806040838503121561054957600080fd5b6105528361051a565b946020939093013593505050565b60008060006060848603121561057557600080fd5b61057e8461051a565b925061058c6020850161051a565b9150604084013590509250925092565b6000602082840312156105ae57600080fd5b6105b78261051a565b9392505050565b600080604083850312156105d157600080fd5b6105da8361051a565b91506105e86020840161051a565b90509250929050565b600181811c9082168061060557607f821691505b60208210810361062557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561021b57634e487b7160e01b600052601160045260246000fdfea26469706673582212206863bf6a3da1eb9e8281935dce863ed681b88fcc2c0b620dfedb0e7679e8df1764736f6c63430008180033