[ { "inputs": [ { "internalType": "address", "name": "initialOwner", "type": "address" } ], "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": [], "name": "UNISWAP_FACTORY", "outputs": [ { "internalType": "contract IUniswapV2Factory", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UNISWAP_ROUTER", "outputs": [ { "internalType": "contract IUniswapV2Router02", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UNISWAP_V2_PAIR", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "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": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "createDexPair", "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": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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" } ]
60806040523480156200001157600080fd5b50604051620011ae380380620011ae8339810160408190526200003491620003f8565b8060405180604001604052806006815260200165283733bb371960d11b81525060405180604001604052806006815260200165282723ab271960d11b8152508160039081620000849190620004d0565b506004620000938282620004d0565b5050506001600160a01b038116620000c657604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d18162000145565b50620000e9816acecb8f27f4200f3a00000062000197565b6200010c81737a250d5630b4cf539739df2c5dacb4c659f2488d600019620001d5565b6200012f30737a250d5630b4cf539739df2c5dacb4c659f2488d600019620001d5565b6200013e8130600019620001d5565b50620005c4565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001c35760405163ec442f0560e01b815260006004820152602401620000bd565b620001d160008383620001e9565b5050565b620001e483838360016200031c565b505050565b6001600160a01b038316620002185780600260008282546200020c91906200059c565b909155506200028c9050565b6001600160a01b038316600090815260208190526040902054818110156200026d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000bd565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002aa57600280548290039055620002c9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200030f91815260200190565b60405180910390a3505050565b6001600160a01b038416620003485760405163e602df0560e01b815260006004820152602401620000bd565b6001600160a01b0383166200037457604051634a1406b160e11b815260006004820152602401620000bd565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015620003f257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051620003e991815260200190565b60405180910390a35b50505050565b6000602082840312156200040b57600080fd5b81516001600160a01b03811681146200042357600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200045557607f821691505b6020821081036200047657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e4576000816000526020600020601f850160051c81016020861015620004a75750805b601f850160051c820191505b81811015620004c857828155600101620004b3565b505050505050565b81516001600160401b03811115620004ec57620004ec6200042a565b6200050481620004fd845462000440565b846200047c565b602080601f8311600181146200053c5760008415620005235750858301515b600019600386901b1c1916600185901b178555620004c8565b600085815260208120601f198616915b828110156200056d578886015182559484019460019091019084016200054c565b50858210156200058c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620005be57634e487b7160e01b600052601160045260246000fd5b92915050565b610bda80620005d46000396000f3fe6080604052600436106100fe5760003560e01c8063715018a611610095578063c74c0fac11610064578063c74c0fac14610295578063d8264920146102bd578063dd62ed3e146102e5578063f2fde38b1461032b578063f40acc3d1461034b57600080fd5b8063715018a6146102195780638da5cb5b1461022e57806395d89b4114610260578063a9059cbb1461027557600080fd5b806323ed291e116100d157806323ed291e1461019d578063313ce567146101a757806342966c68146101c357806370a08231146101e357600080fd5b806306fdde0314610103578063095ea7b31461012e57806318160ddd1461015e57806323b872dd1461017d575b600080fd5b34801561010f57600080fd5b5061011861036b565b60405161012591906109e5565b60405180910390f35b34801561013a57600080fd5b5061014e610149366004610a49565b6103fd565b6040519015158152602001610125565b34801561016a57600080fd5b506002545b604051908152602001610125565b34801561018957600080fd5b5061014e610198366004610a75565b610417565b6101a561043b565b005b3480156101b357600080fd5b5060405160128152602001610125565b3480156101cf57600080fd5b506101a56101de366004610ab6565b6105c5565b3480156101ef57600080fd5b5061016f6101fe366004610acf565b6001600160a01b031660009081526020819052604090205490565b34801561022557600080fd5b506101a56105d2565b34801561023a57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610125565b34801561026c57600080fd5b506101186105e6565b34801561028157600080fd5b5061014e610290366004610a49565b6105f5565b3480156102a157600080fd5b50610248735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b3480156102c957600080fd5b50610248737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156102f157600080fd5b5061016f610300366004610af3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561033757600080fd5b506101a5610346366004610acf565b610603565b34801561035757600080fd5b50600654610248906001600160a01b031681565b60606003805461037a90610b2c565b80601f01602080910402602001604051908101604052809291908181526020018280546103a690610b2c565b80156103f35780601f106103c8576101008083540402835291602001916103f3565b820191906000526020600020905b8154815290600101906020018083116103d657829003601f168201915b5050505050905090565b60003361040b81858561063e565b60019150505b92915050565b600033610425858285610650565b6104308585856106ce565b506001949350505050565b61044361072d565b6006546001600160a01b0316156104985760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b60448201526064015b60405180910390fd5b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610b66565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561057f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a39190610b66565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6105cf338261075a565b50565b6105da61072d565b6105e46000610794565b565b60606004805461037a90610b2c565b60003361040b8185856106ce565b61060b61072d565b6001600160a01b03811661063557604051631e4fbdf760e01b81526000600482015260240161048f565b6105cf81610794565b61064b83838360016107e6565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146106c857818110156106b957604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161048f565b6106c8848484840360006107e6565b50505050565b6001600160a01b0383166106f857604051634b637e8f60e11b81526000600482015260240161048f565b6001600160a01b0382166107225760405163ec442f0560e01b81526000600482015260240161048f565b61064b8383836108bb565b6005546001600160a01b031633146105e45760405163118cdaa760e01b815233600482015260240161048f565b6001600160a01b03821661078457604051634b637e8f60e11b81526000600482015260240161048f565b610790826000836108bb565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166108105760405163e602df0560e01b81526000600482015260240161048f565b6001600160a01b03831661083a57604051634a1406b160e11b81526000600482015260240161048f565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156106c857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108ad91815260200190565b60405180910390a350505050565b6001600160a01b0383166108e65780600260008282546108db9190610b83565b909155506109589050565b6001600160a01b038316600090815260208190526040902054818110156109395760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161048f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661097457600280548290039055610993565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109d891815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b81811015610a13578581018301518582016040015282016109f7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146105cf57600080fd5b60008060408385031215610a5c57600080fd5b8235610a6781610a34565b946020939093013593505050565b600080600060608486031215610a8a57600080fd5b8335610a9581610a34565b92506020840135610aa581610a34565b929592945050506040919091013590565b600060208284031215610ac857600080fd5b5035919050565b600060208284031215610ae157600080fd5b8135610aec81610a34565b9392505050565b60008060408385031215610b0657600080fd5b8235610b1181610a34565b91506020830135610b2181610a34565b809150509250929050565b600181811c90821680610b4057607f821691505b602082108103610b6057634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610b7857600080fd5b8151610aec81610a34565b8082018082111561041157634e487b7160e01b600052601160045260246000fdfea2646970667358221220a514dcdcfe82b36cab40bc2cf10533c2e1264280f4dbcdf60378387aff7ad8fb64736f6c634300081800330000000000000000000000007a60a79582b92257d3de1515d0815198923809cb