[ { "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" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": [], "name": "liquidityPool", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_liquidityPool", "type": "address" } ], "name": "setLiquidityPool", "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": "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" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b50336040518060400160405280600a8152602001694173735769664361747360b01b8152506040518060400160405280600381526020016241574360e81b8152508160039081620000639190620003de565b506004620000728282620003de565b5050506001600160a01b038116620000a557604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000b081620000ce565b50620000c8336a011b1eea4c8e67b1a0000062000120565b620004d2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200014c5760405163ec442f0560e01b8152600060048201526024016200009c565b6200015a600083836200015e565b5050565b6200016b83838362000205565b6006546001600160a01b031662000200576005546001600160a01b0384811691161480620001a657506005546001600160a01b038381169116145b620002005760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b60648201526084016200009c565b505050565b6001600160a01b03831662000234578060026000828254620002289190620004aa565b90915550620002a89050565b6001600160a01b03831660009081526020819052604090205481811015620002895760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200009c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002c657600280548290039055620002e5565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200032b91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036357607f821691505b6020821081036200038457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000200576000816000526020600020601f850160051c81016020861015620003b55750805b601f850160051c820191505b81811015620003d657828155600101620003c1565b505050505050565b81516001600160401b03811115620003fa57620003fa62000338565b62000412816200040b84546200034e565b846200038a565b602080601f8311600181146200044a5760008415620004315750858301515b600019600386901b1c1916600185901b178555620003d6565b600085815260208120601f198616915b828110156200047b578886015182559484019460019091019084016200045a565b50858210156200049a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004cc57634e487b7160e01b600052601160045260246000fd5b92915050565b61097b80620004e26000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101e6578063a9059cbb146101ee578063dd62ed3e14610201578063f2fde38b1461023a57600080fd5b806370a08231146101a4578063715018a6146101cd5780638da5cb5b146101d557600080fd5b806318160ddd116100c857806318160ddd1461014557806323b872dd14610157578063313ce5671461016a578063665a11ca1461017957600080fd5b806301877020146100ef57806306fdde0314610104578063095ea7b314610122575b600080fd5b6101026100fd3660046107e0565b61024d565b005b61010c610277565b6040516101199190610802565b60405180910390f35b610135610130366004610851565b610309565b6040519015158152602001610119565b6002545b604051908152602001610119565b61013561016536600461087b565b610323565b60405160128152602001610119565b60065461018c906001600160a01b031681565b6040516001600160a01b039091168152602001610119565b6101496101b23660046107e0565b6001600160a01b031660009081526020819052604090205490565b610102610347565b6005546001600160a01b031661018c565b61010c61035b565b6101356101fc366004610851565b61036a565b61014961020f3660046108b7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101026102483660046107e0565b610378565b6102556103bb565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b606060038054610286906108ea565b80601f01602080910402602001604051908101604052809291908181526020018280546102b2906108ea565b80156102ff5780601f106102d4576101008083540402835291602001916102ff565b820191906000526020600020905b8154815290600101906020018083116102e257829003601f168201915b5050505050905090565b6000336103178185856103e8565b60019150505b92915050565b6000336103318582856103fa565b61033c858585610478565b506001949350505050565b61034f6103bb565b61035960006104d7565b565b606060048054610286906108ea565b600033610317818585610478565b6103806103bb565b6001600160a01b0381166103af57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6103b8816104d7565b50565b6005546001600160a01b031633146103595760405163118cdaa760e01b81523360048201526024016103a6565b6103f58383836001610529565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610472578181101561046357604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103a6565b61047284848484036000610529565b50505050565b6001600160a01b0383166104a257604051634b637e8f60e11b8152600060048201526024016103a6565b6001600160a01b0382166104cc5760405163ec442f0560e01b8152600060048201526024016103a6565b6103f58383836105fe565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105535760405163e602df0560e01b8152600060048201526024016103a6565b6001600160a01b03831661057d57604051634a1406b160e11b8152600060048201526024016103a6565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561047257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105f091815260200190565b60405180910390a350505050565b61060983838361069a565b6006546001600160a01b03166103f5576005546001600160a01b038481169116148061064257506005546001600160a01b038381169116145b6103f55760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b60648201526084016103a6565b6001600160a01b0383166106c55780600260008282546106ba9190610924565b909155506107379050565b6001600160a01b038316600090815260208190526040902054818110156107185760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103a6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661075357600280548290039055610772565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107b791815260200190565b60405180910390a3505050565b80356001600160a01b03811681146107db57600080fd5b919050565b6000602082840312156107f257600080fd5b6107fb826107c4565b9392505050565b60006020808352835180602085015260005b8181101561083057858101830151858201604001528201610814565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561086457600080fd5b61086d836107c4565b946020939093013593505050565b60008060006060848603121561089057600080fd5b610899846107c4565b92506108a7602085016107c4565b9150604084013590509250925092565b600080604083850312156108ca57600080fd5b6108d3836107c4565b91506108e1602084016107c4565b90509250929050565b600181811c908216806108fe57607f821691505b60208210810361091e57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561031d57634e487b7160e01b600052601160045260246000fdfea2646970667358221220e3e5b586bff28963a464ac85d61b579d899c44d658128326d665cbdf03dae52e64736f6c63430008170033