[ { "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": "amount", "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": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "buyTokens", "outputs": [], "stateMutability": "payable", "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": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "sellTokens", "outputs": [], "stateMutability": "nonpayable", "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": "amount", "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" } ]
608060405234801562000010575f80fd5b5060405180606001604052806023815260200162000d7c6023913960408051808201909152600781526604d4d4d363930360cc1b602082015260036200005783826200029c565b5060046200006682826200029c565b50505062000087336b164b8bd581eb74d7740000006200008d60201b60201c565b6200038a565b6001600160a01b038216620000bc5760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620000c95f8383620000cd565b5050565b6001600160a01b038316620000fb578060025f828254620000ef919062000364565b909155506200016d9050565b6001600160a01b0383165f90815260208190526040902054818110156200014f5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000b3565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166200018b57600280548290039055620001a9565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620001ef91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200022557607f821691505b6020821081036200024457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000297575f81815260208120601f850160051c81016020861015620002725750805b601f850160051c820191505b8181101562000293578281556001016200027e565b5050505b505050565b81516001600160401b03811115620002b857620002b8620001fc565b620002d081620002c9845462000210565b846200024a565b602080601f83116001811462000306575f8415620002ee5750858301515b5f19600386901b1c1916600185901b17855562000293565b5f85815260208120601f198616915b82811015620003365788860151825594840194600190910190840162000315565b50858210156200035457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200038457634e487b7160e01b5f52601160045260245ffd5b92915050565b6109e480620003985f395ff3fe6080604052600436106100b8575f3560e01c80633610724e1161007157806395d89b411161004c57806395d89b41146101d5578063a9059cbb146101e9578063dd62ed3e14610208575f80fd5b80633610724e1461016d5780636c11bcd31461018257806370a08231146101a1575f80fd5b806318160ddd116100a157806318160ddd1461011557806323b872dd14610133578063313ce56714610152575f80fd5b806306fdde03146100bc578063095ea7b3146100e6575b5f80fd5b3480156100c7575f80fd5b506100d061024c565b6040516100dd9190610828565b60405180910390f35b3480156100f1575f80fd5b5061010561010036600461088e565b6102dc565b60405190151581526020016100dd565b348015610120575f80fd5b506002545b6040519081526020016100dd565b34801561013e575f80fd5b5061010561014d3660046108b6565b6102f2565b34801561015d575f80fd5b50604051601281526020016100dd565b61018061017b3660046108ef565b610315565b005b34801561018d575f80fd5b5061018061019c3660046108ef565b610378565b3480156101ac575f80fd5b506101256101bb366004610906565b6001600160a01b03165f9081526020819052604090205490565b3480156101e0575f80fd5b506100d06103e1565b3480156101f4575f80fd5b5061010561020336600461088e565b6103f0565b348015610213575f80fd5b50610125610222366004610926565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461025b90610957565b80601f016020809104026020016040519081016040528092919081815260200182805461028790610957565b80156102d25780601f106102a9576101008083540402835291602001916102d2565b820191905f5260205f20905b8154815290600101906020018083116102b557829003601f168201915b5050505050905090565b5f6102e83384846104b0565b5060015b92915050565b5f336102ff8582856104c2565b61030a858585610556565b506001949350505050565b8034101561036a5760405162461bcd60e51b815260206004820152601760248201527f496e73756666696369656e742066756e64732073656e7400000000000000000060448201526064015b60405180910390fd5b610375303383610556565b50565b335f908152602081905260409020548111156103d65760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152606401610361565b610375333083610556565b60606004805461025b90610957565b5f6001600160a01b0383166104475760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610361565b335f908152602081905260409020548211156104a55760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152606401610361565b6102e8338484610556565b6104bd83838360016105e5565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146105505781811015610542576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610361565b61055084848484035f6105e5565b50505050565b6001600160a01b038316610598576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610361565b6001600160a01b0382166105da576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610361565b6104bd8383836106e9565b6001600160a01b038416610627576040517fe602df050000000000000000000000000000000000000000000000000000000081525f6004820152602401610361565b6001600160a01b038316610669576040517f94280d620000000000000000000000000000000000000000000000000000000081525f6004820152602401610361565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561055057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516106db91815260200190565b60405180910390a350505050565b6001600160a01b038316610713578060025f828254610708919061098f565b9091555061079c9050565b6001600160a01b0383165f908152602081905260409020548181101561077e576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610361565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166107b8576002805482900390556107d6565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161081b91815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561085357858101830151858201604001528201610837565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610889575f80fd5b919050565b5f806040838503121561089f575f80fd5b6108a883610873565b946020939093013593505050565b5f805f606084860312156108c8575f80fd5b6108d184610873565b92506108df60208501610873565b9150604084013590509250925092565b5f602082840312156108ff575f80fd5b5035919050565b5f60208284031215610916575f80fd5b61091f82610873565b9392505050565b5f8060408385031215610937575f80fd5b61094083610873565b915061094e60208401610873565b90509250929050565b600181811c9082168061096b57607f821691505b60208210810361098957634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ec57634e487b7160e01b5f52601160045260245ffdfea26469706673582212200cb04fe584320378d80a0aec6447af3096f836a9697daf71e34143394218827064736f6c634300081500334d6574614d61736b4d69636861656c4d796572734d75726465724d656d657336393030