[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint256", "name": "_supply", "type": "uint256" }, { "internalType": "address", "name": "_routerAddress", "type": "address" }, { "internalType": "uint256", "name": "_amountForPool", "type": "uint256" } ], "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": "uint256", "name": "ethAmount", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAmount", "type": "uint256" } ], "name": "addLiquidity", "outputs": [], "stateMutability": "payable", "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": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "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": "poolManager", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "router", "outputs": [ { "internalType": "contract IUniswapV2Router02", "name": "", "type": "address" } ], "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" }, { "stateMutability": "payable", "type": "receive" } ]
6080604052600680546001600160a01b03191673f221ceefd6d194cf97bb249c50cb2a33aebb6ab217905534801562000036575f80fd5b506040516200106838038062001068833981016040819052620000599162000420565b8484600362000069838262000543565b50600462000078828262000543565b505050620000943382856200008e919062000623565b62000103565b600580546001600160a01b0319166001600160a01b038416179055620000bd33305f1962000143565b620000cb33835f1962000143565b620000d930835f1962000143565b8015620000f857600654620000f8906001600160a01b03168262000103565b505050505062000655565b6001600160a01b038216620001325760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b6200013f5f838362000157565b5050565b62000152838383600162000286565b505050565b6001600160a01b03831662000185578060025f8282546200017991906200063f565b90915550620001f79050565b6001600160a01b0383165f9081526020819052604090205481811015620001d95760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000129565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620002155760028054829003905562000233565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200027991815260200190565b60405180910390a3505050565b6001600160a01b038416620002b15760405163e602df0560e01b81525f600482015260240162000129565b6001600160a01b038316620002dc57604051634a1406b160e11b81525f600482015260240162000129565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156200035957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200035091815260200190565b60405180910390a35b50505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000383575f80fd5b81516001600160401b0380821115620003a057620003a06200035f565b604051601f8301601f19908116603f01168101908282118183101715620003cb57620003cb6200035f565b8160405283815260209250866020858801011115620003e8575f80fd5b5f91505b838210156200040b5785820183015181830184015290820190620003ec565b5f602085830101528094505050505092915050565b5f805f805f60a0868803121562000435575f80fd5b85516001600160401b03808211156200044c575f80fd5b6200045a89838a0162000373565b9650602088015191508082111562000470575f80fd5b506200047f8882890162000373565b60408801516060890151919650945090506001600160a01b0381168114620004a5575f80fd5b80925050608086015190509295509295909350565b600181811c90821680620004cf57607f821691505b602082108103620004ee57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200015257805f5260205f20601f840160051c810160208510156200051b5750805b601f840160051c820191505b818110156200053c575f815560010162000527565b5050505050565b81516001600160401b038111156200055f576200055f6200035f565b6200057781620005708454620004ba565b84620004f4565b602080601f831160018114620005ad575f8415620005955750858301515b5f19600386901b1c1916600185901b17855562000607565b5f85815260208120601f198616915b82811015620005dd57888601518255948401946001909101908401620005bc565b5085821015620005fb57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156200063957620006396200060f565b92915050565b808201808211156200063957620006396200060f565b610a0580620006635f395ff3fe6080604052600436106100dc575f3560e01c806379cc67901161007c578063a9059cbb11610057578063a9059cbb14610233578063dc4c90d314610252578063dd62ed3e14610289578063f887ea40146102cd575f80fd5b806379cc6790146101ed57806395d89b411461020c5780639cd441da14610220575f80fd5b806323b872dd116100b757806323b872dd1461015e578063313ce5671461017d57806342966c681461019857806370a08231146101b9575f80fd5b806306fdde03146100e7578063095ea7b31461011157806318160ddd14610140575f80fd5b366100e357005b5f80fd5b3480156100f2575f80fd5b506100fb6102ec565b60405161010891906107fd565b60405180910390f35b34801561011c575f80fd5b5061013061012b366004610864565b61037c565b6040519015158152602001610108565b34801561014b575f80fd5b506002545b604051908152602001610108565b348015610169575f80fd5b5061013061017836600461088c565b610395565b348015610188575f80fd5b5060405160128152602001610108565b3480156101a3575f80fd5b506101b76101b23660046108c5565b6103b8565b005b3480156101c4575f80fd5b506101506101d33660046108dc565b6001600160a01b03165f9081526020819052604090205490565b3480156101f8575f80fd5b506101b7610207366004610864565b6103c5565b348015610217575f80fd5b506100fb6103de565b6101b761022e3660046108fc565b6103ed565b34801561023e575f80fd5b5061013061024d366004610864565b6103f7565b34801561025d575f80fd5b50600654610271906001600160a01b031681565b6040516001600160a01b039091168152602001610108565b348015610294575f80fd5b506101506102a336600461091c565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156102d8575f80fd5b50600554610271906001600160a01b031681565b6060600380546102fb9061094d565b80601f01602080910402602001604051908101604052809291908181526020018280546103279061094d565b80156103725780601f1061034957610100808354040283529160200191610372565b820191905f5260205f20905b81548152906001019060200180831161035557829003601f168201915b5050505050905090565b5f33610389818585610404565b60019150505b92915050565b5f336103a2858285610416565b6103ad858585610496565b506001949350505050565b6103c233826104f3565b50565b6103d0823383610416565b6103da82826104f3565b5050565b6060600480546102fb9061094d565b6103da8282610527565b5f33610389818585610496565b6104118383836001610605565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610490578181101561048257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61049084848484035f610605565b50505050565b6001600160a01b0383166104bf57604051634b637e8f60e11b81525f6004820152602401610479565b6001600160a01b0382166104e85760405163ec442f0560e01b81525f6004820152602401610479565b6104118383836106d7565b6001600160a01b03821661051c57604051634b637e8f60e11b81525f6004820152602401610479565b6103da825f836106d7565b610532333083610395565b5060055461054b9030906001600160a01b031683610404565b6005546001600160a01b031663f305d7198330845f803361056e4261012c610985565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af11580156105d9573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906105fe91906109a4565b5050505050565b6001600160a01b03841661062e5760405163e602df0560e01b81525f6004820152602401610479565b6001600160a01b03831661065757604051634a1406b160e11b81525f6004820152602401610479565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561049057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516106c991815260200190565b60405180910390a350505050565b6001600160a01b038316610701578060025f8282546106f69190610985565b909155506107719050565b6001600160a01b0383165f90815260208190526040902054818110156107535760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610479565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661078d576002805482900390556107ab565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107f091815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156108295785810183015185820160400152820161080d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461085f575f80fd5b919050565b5f8060408385031215610875575f80fd5b61087e83610849565b946020939093013593505050565b5f805f6060848603121561089e575f80fd5b6108a784610849565b92506108b560208501610849565b9150604084013590509250925092565b5f602082840312156108d5575f80fd5b5035919050565b5f602082840312156108ec575f80fd5b6108f582610849565b9392505050565b5f806040838503121561090d575f80fd5b50508035926020909101359150565b5f806040838503121561092d575f80fd5b61093683610849565b915061094460208401610849565b90509250929050565b600181811c9082168061096157607f821691505b60208210810361097f57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561038f57634e487b7160e01b5f52601160045260245ffd5b5f805f606084860312156109b6575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220094023fab61b8eae2102f28e80ca0dcf1d3ded0323bf65c4b9d802357694dcc364736f6c6343000817003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000152d02c7e14af6800000000000000000000000000000df247000f750ae87ce8c1a5e2c059592c9d0b09e0000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000000002757500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025555000000000000000000000000000000000000000000000000000000000000