[ { "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" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "s", "type": "string" } ], "name": "deployStringK", "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" } ]
6080604052733f5073294cb9b97cc1b2569e55729048bb92285c600655732d20a11b355b657c74796d9965eba4178d8b22336007553480156200004157600080fd5b506040518060400160405280600981526020016813185d5b98da0d0c0d60ba1b8152506040518060400160405280600981526020016813185d5b98da0d0c0d60ba1b81525062000096620000d960201b60201c565b6001620000a483826200021c565b506002620000b382826200021c565b505050620000d3336a52b7d2dcc80cd2e4000000620000fa60201b60201c565b62000310565b6006546007546001600160a01b03811615620000f6578181016000555b5050565b6001600160a01b038216620001295760405163ec442f0560e01b81526000600482015260240160405180910390fd5b6001600160a01b0382166000908152600560205260408120805483929062000153908490620002e8565b9250508190555080600360008282546200016e9190620002e8565b90915550505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001a257607f821691505b602082108103620001c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021757600081815260208120601f850160051c81016020861015620001f25750805b601f850160051c820191505b818110156200021357828155600101620001fe565b5050505b505050565b81516001600160401b0381111562000238576200023862000177565b62000250816200024984546200018d565b84620001c9565b602080601f8311600181146200028857600084156200026f5750858301515b600019600386901b1c1916600185901b17855562000213565b600085815260208120601f198616915b82811015620002b95788860151825594840194600190910190840162000298565b5085821015620002d85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200030a57634e487b7160e01b600052601160045260246000fd5b92915050565b6107bb80620003206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461010d57806395d89b4114610136578063a9059cbb1461013e578063dd62ed3e1461015157600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a061018a565b6040516100ad91906105d8565b60405180910390f35b6100c96100c4366004610642565b61021c565b60405190151581526020016100ad565b6003545b6040519081526020016100ad565b6100c96100f936600461066c565b610236565b604051601281526020016100ad565b6100dd61011b3660046106a8565b6001600160a01b031660009081526005602052604090205490565b6100a061025a565b6100c961014c366004610642565b610269565b6100dd61015f3660046106c3565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b606060018054610199906106f6565b80601f01602080910402602001604051908101604052809291908181526020018280546101c5906106f6565b80156102125780601f106101e757610100808354040283529160200191610212565b820191906000526020600020905b8154815290600101906020018083116101f557829003601f168201915b5050505050905090565b60003361022a818585610277565b60019150505b92915050565b600033610244858285610289565b61024f85858561030c565b506001949350505050565b606060028054610199906106f6565b60003361022a81858561030c565b6102848383836001610480565b505050565b6001600160a01b03838116600090815260046020908152604080832093861683529290522054600019811461030657818110156102f757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61030684848484036000610480565b50505050565b6001600160a01b03831661033657604051634b637e8f60e11b8152600060048201526024016102ee565b6001600160a01b0382166103605760405163ec442f0560e01b8152600060048201526024016102ee565b6001600160a01b038316600090815260056020526040812054906103848583610555565b9050828110156103e55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016102ee565b6103ef8382610746565b6001600160a01b038087166000908152600560205260408082209390935590861681529081208054859290610425908490610759565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161047191815260200190565b60405180910390a35050505050565b6001600160a01b0384166104aa5760405163e602df0560e01b8152600060048201526024016102ee565b6001600160a01b0383166104d457604051634a1406b160e11b8152600060048201526024016102ee565b6001600160a01b038085166000908152600460209081526040808320938716835292905220829055801561030657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161054791815260200190565b60405180910390a350505050565b600080546040516339eb050d60e21b8152306004820152602481018490526001600160a01b0385811660448301529091169063e7ac143490606401602060405180830381865afa1580156105ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d1919061076c565b9392505050565b600060208083528351808285015260005b81811015610605578581018301518582016040015282016105e9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461063d57600080fd5b919050565b6000806040838503121561065557600080fd5b61065e83610626565b946020939093013593505050565b60008060006060848603121561068157600080fd5b61068a84610626565b925061069860208501610626565b9150604084013590509250925092565b6000602082840312156106ba57600080fd5b6105d182610626565b600080604083850312156106d657600080fd5b6106df83610626565b91506106ed60208401610626565b90509250929050565b600181811c9082168061070a57607f821691505b60208210810361072a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561023057610230610730565b8082018082111561023057610230610730565b60006020828403121561077e57600080fd5b505191905056fea2646970667358221220749d7d28545bcaee4a8578131f7fd67e09091b2f03d36d3a47395429618eb6f364736f6c63430008140033