[ { "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": "pure", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "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" } ]
60806040523480156200001157600080fd5b506040518060400160405280600a81526020016915195d1a195c881554d160b21b815250604051806040016040528060048152602001631554d11560e21b8152508160039081620000639190620002bc565b506004620000728282620002bc565b50505062000098620000896200009e60201b60201c565b670de0b6b3a7640000620000a2565b620003b0565b3390565b6001600160a01b038216620000d25760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000e060008383620000e4565b5050565b6001600160a01b0383166200011357806002600082825462000107919062000388565b90915550620001879050565b6001600160a01b03831660009081526020819052604090205481811015620001685760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c9565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620001a557600280548290039055620001c4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200020a91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200024257607f821691505b6020821081036200026357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b757600081815260208120601f850160051c81016020861015620002925750805b601f850160051c820191505b81811015620002b3578281556001016200029e565b5050505b505050565b81516001600160401b03811115620002d857620002d862000217565b620002f081620002e984546200022d565b8462000269565b602080601f8311600181146200032857600084156200030f5750858301515b600019600386901b1c1916600185901b178555620002b3565b600085815260208120601f198616915b82811015620003595788860151825594840194600190910190840162000338565b5085821015620003785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003aa57634e487b7160e01b600052601160045260246000fd5b92915050565b61092d80620003c06000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063313ce5671161007657806395d89b411161005b57806395d89b4114610180578063a9059cbb14610188578063dd62ed3e1461019b57600080fd5b8063313ce5671461013b57806370a082311461014a57600080fd5b806306fdde03146100a8578063095ea7b3146100f357806318160ddd1461011657806323b872dd14610128575b600080fd5b60408051808201909152600481527f555344540000000000000000000000000000000000000000000000000000000060208201525b6040516100ea9190610743565b60405180910390f35b6101066101013660046107d8565b6101e1565b60405190151581526020016100ea565b6002545b6040519081526020016100ea565b610106610136366004610802565b6101fb565b604051600681526020016100ea565b61011a61015836600461083e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100dd61021f565b6101066101963660046107d8565b6102b1565b61011a6101a9366004610860565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000336101ef8185856102bf565b60019150505b92915050565b6000336102098582856102d1565b6102148585856103a5565b506001949350505050565b60606004805461022e90610893565b80601f016020809104026020016040519081016040528092919081815260200182805461025a90610893565b80156102a75780601f1061027c576101008083540402835291602001916102a7565b820191906000526020600020905b81548152906001019060200180831161028a57829003601f168201915b5050505050905090565b6000336101ef8185856103a5565b6102cc8383836001610450565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461039f5781811015610390576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b61039f84848484036000610450565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83166103f5576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610387565b73ffffffffffffffffffffffffffffffffffffffff8216610445576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610387565b6102cc838383610598565b73ffffffffffffffffffffffffffffffffffffffff84166104a0576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610387565b73ffffffffffffffffffffffffffffffffffffffff83166104f0576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610387565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160209081526040808320938716835292905220829055801561039f578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161058a91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff83166105d05780600260008282546105c591906108e6565b909155506106829050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610656576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610387565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff82166106ab576002805482900390556106d7565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161073691815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561077057858101830151858201604001528201610754565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146107d357600080fd5b919050565b600080604083850312156107eb57600080fd5b6107f4836107af565b946020939093013593505050565b60008060006060848603121561081757600080fd5b610820846107af565b925061082e602085016107af565b9150604084013590509250925092565b60006020828403121561085057600080fd5b610859826107af565b9392505050565b6000806040838503121561087357600080fd5b61087c836107af565b915061088a602084016107af565b90509250929050565b600181811c908216806108a757607f821691505b6020821081036108e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156101f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea164736f6c6343000814000a