[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "address", "name": "token_", "type": "address" }, { "internalType": "address", "name": "deployer_", "type": "address" }, { "internalType": "contract IUniswapV2Router01", "name": "uniswapV2Router_", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AllowanceOverflow", "type": "error" }, { "inputs": [], "name": "AllowanceUnderflow", "type": "error" }, { "inputs": [], "name": "InsufficientAllowance", "type": "error" }, { "inputs": [], "name": "InsufficientBalance", "type": "error" }, { "inputs": [], "name": "InvalidPermit", "type": "error" }, { "inputs": [], "name": "PermitExpired", "type": "error" }, { "inputs": [], "name": "TotalSupplyOverflow", "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": "amount", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "baseAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "memeAmount", "type": "uint256" } ], "name": "Buy", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "baseAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "memeAmount", "type": "uint256" } ], "name": "Sell", "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": "amount", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "result", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "a", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "result", "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": [], "name": "b", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "result", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "valueWithFee", "type": "uint256" } ], "name": "buy", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "c", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "input", "type": "uint256" } ], "name": "calculateBuyOutput", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "input", "type": "uint256" } ], "name": "calculateSellOutput", "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": "deployer", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "deployerFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factoryFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "getPoint", "outputs": [ { "internalType": "uint256", "name": "points", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isMinted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "mint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "result", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "receiveToken", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "sell", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "token", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "result", "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": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "uniswapV2Router", "outputs": [ { "internalType": "contract IUniswapV2Router01", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdrawFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60e06040526b019b07b9dee1d6ad2a98680060045534801561002057600080fd5b5060405161187538038061187583398101604081905261003f91610249565b600061004b8682610373565b5060016100588582610373565b5060006040516100689190610432565b6040519081900390206080526001600160a01b0383811660a0819052600280546001600160a01b03191684841690811790915591841660c0526100ad916000196100d1565b6002546100c79030906001600160a01b0316600019610120565b50505050506104a8565b81601452806034526f095ea7b300000000000000000000000060005260206000604460106000875af13d15600160005114171661011657633e3f8f736000526004601cfd5b6000603452505050565b8260601b82602052637f5e9f208117600c52816034600c205581600052602c5160601c8160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261019a57600080fd5b81516001600160401b03808211156101b4576101b4610173565b604051601f8301601f19908116603f011681019082821181831017156101dc576101dc610173565b81604052838152602092508660208588010111156101f957600080fd5b600091505b8382101561021b57858201830151818301840152908201906101fe565b6000602085830101528094505050505092915050565b6001600160a01b038116811461024657600080fd5b50565b600080600080600060a0868803121561026157600080fd5b85516001600160401b038082111561027857600080fd5b61028489838a01610189565b9650602088015191508082111561029a57600080fd5b506102a788828901610189565b94505060408601516102b881610231565b60608701519093506102c981610231565b60808701519092506102da81610231565b809150509295509295909350565b600181811c908216806102fc57607f821691505b60208210810361031c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561036e576000816000526020600020601f850160051c8101602086101561034b5750805b601f850160051c820191505b8181101561036a57828155600101610357565b5050505b505050565b81516001600160401b0381111561038c5761038c610173565b6103a08161039a84546102e8565b84610322565b602080601f8311600181146103d557600084156103bd5750858301515b600019600386901b1c1916600185901b17855561036a565b600085815260208120601f198616915b82811015610404578886015182559484019460019091019084016103e5565b50858210156104225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354610440816102e8565b60018281168015610458576001811461046d5761049c565b60ff198416875282151583028701945061049c565b8760005260208060002060005b858110156104935781548a82015290840190820161047a565b50505082870194505b50929695505050505050565b60805160a05160c05161136d6105086000396000818161040a0152610e9b01526000818161046b0152818161080701528181610acc01528181610bc001528181610e780152610ed10152600081816106350152610cbb015261136d6000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636cc94a2b11610104578063c45a0155116100a2578063dd62ed3e11610071578063dd62ed3e1461042c578063e941fa7814610455578063e9ba77fb1461045d578063fc0c546a1461046657600080fd5b8063c45a0155146103c2578063cce7ec13146103dd578063d505accf146103f0578063d5f394881461040557600080fd5b806395d89b41116100de57806395d89b4114610384578063a9059cbb1461038c578063c193d62e1461039f578063c3da42b8146103b257600080fd5b80636cc94a2b1461032557806370a08231146103385780637ecebe001461035e57600080fd5b80633644e5151161017c5780634ff531b61161014b5780634ff531b6146102d65780636286116a146102f65780636a627842146102ff5780636c197ff51461031257600080fd5b80633644e5151461029e57806336ae5040146102a6578063457755cb146102ba5780634df7e3d0146102c357600080fd5b80631694505e116101b85780631694505e1461024157806318160ddd1461026c57806323b872dd1461027c578063313ce5671461028f57600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630dbe671f14610220575b600080fd5b6101e761048d565b6040516101f491906110af565b60405180910390f35b61021061020b36600461111a565b61051f565b60405190151581526020016101f4565b6102336b01a857f9b968a82fa100000081565b6040519081526020016101f4565b600254610254906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b6805345cdf77eb68f44c54610233565b61021061028a366004611144565b610573565b604051601281526020016101f4565b610233610631565b60025461021090600160a01b900460ff1681565b61023360055481565b6102336b6802f2db3d4581232a48000081565b6102336102e4366004611180565b60076020526000908152604090205481565b61023360065481565b61023361030d366004611180565b6106d4565b61023361032036600461111a565b610743565b61023361033336600461119b565b610872565b610233610346366004611180565b6387a211a2600c908152600091909152602090205490565b61023361036c366004611180565b6338377508600c908152600091909152602090205490565b6101e7610930565b61021061039a36600461111a565b61093f565b6102336103ad36600461119b565b6109ba565b610233686c6b935b8bbd40000081565b610254735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b6102336103eb36600461111a565b610a6e565b6104036103fe3660046111b4565b610cb9565b005b6102547f000000000000000000000000000000000000000000000000000000000000000081565b61023361043a366004611227565b602052637f5e9f20600c908152600091909152603490205490565b610403610e67565b61023360035481565b6102547f000000000000000000000000000000000000000000000000000000000000000081565b60606000805461049c9061125a565b80601f01602080910402602001604051908101604052809291908181526020018280546104c89061125a565b80156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b5050505050905090565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b60008360601b33602052637f5e9f208117600c526034600c20805460018101156105b357808511156105ad576313be252b6000526004601cfd5b84810382555b50506387a211a28117600c526020600c208054808511156105dc5763f4d678b86000526004601cfd5b84810382555050836000526020600c208381540181555082602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a3505060019392505050565b60007f00000000000000000000000000000000000000000000000000000000000000008061066b5761066161048d565b8051906020012090505b6040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81528160208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604082015246606082015230608082015260a081209250505090565b600254600090600160a01b900460ff166107205760405162461bcd60e51b81526020600482015260086024820152671393d517d352539560c21b60448201526064015b60405180910390fd5b6001600160a01b03821660009081526007602052604090205461056d8382610f19565b600254600090600160a01b900460ff161561078b5760405162461bcd60e51b81526020600482015260086024820152671393d517d4d1531360c21b6044820152606401610717565b6000610796836109ba565b905060006107a382610f98565b905083600460008282546107b791906112aa565b9250508190555081600360008282546107d091906112aa565b909155505033600090815260076020526040812080548692906107f49084906112aa565b9091555061082e90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683611015565b604080518281526020810186905233917fed7a144fad14804d5c249145e3e0e2b63a9eb455b76aee5bc92d711e9bba3e4a91015b60405180910390a2949350505050565b600080600354686c6b935b8bbd40000061088c91906112bd565b90506000816108af6b6802f2db3d4581232a480000670de0b6b3a76400006112d0565b6108b991906112e7565b6108cf906b01a857f9b968a82fa10000006112aa565b905060006108dd85846112bd565b6108fb6b6802f2db3d4581232a480000670de0b6b3a76400006112d0565b61090591906112e7565b61091b906b01a857f9b968a82fa10000006112aa565b905061092782826112aa565b95945050505050565b60606001805461049c9061125a565b60006387a211a2600c52336000526020600c2080548084111561096a5763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350600192915050565b6000806004546b01a857f9b968a82fa10000006109d791906112aa565b90506000686c6b935b8bbd40000082610a046b6802f2db3d4581232a480000670de0b6b3a76400006112d0565b610a0e91906112e7565b610a1891906112aa565b90506000686c6b935b8bbd400000610a3086856112bd565b610a4e6b6802f2db3d4581232a480000670de0b6b3a76400006112d0565b610a5891906112e7565b610a6291906112aa565b905061092781836112aa565b600069010f0cf064dd5920000060035410610abf5760405162461bcd60e51b815260206004820152601160248201527026a0ac2fa922a1a2a4ab22afaa27a5a2a760791b6044820152606401610717565b610af46001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308561105b565b6000610aff83610f98565b90506000610b0c82610872565b90508060046000828254610b2091906112bd565b925050819055508160036000828254610b3991906112bd565b90915550506001600160a01b03851660009081526007602052604081208054839290610b669084906112bd565b909155505060035469010f0cf064dd5920000011610c8157600060048054610b8e91906112e7565b9050610ba430610b9f8360016112bd565b610f19565b60025460035460405162e8e33760e81b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015230602483018190526044830184905260648301869052608483019390935260a4820185905260c48201929092524260e482015291169063e8e3370090610104016060604051808303816000875af1158015610c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c699190611309565b50506002805460ff60a01b1916600160a01b17905550505b604080518381526020810183905233917f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed9101610862565b7f000000000000000000000000000000000000000000000000000000000000000080610cf157610ce761048d565b8051906020012090505b84421115610d0757631a15a3cc6000526004601cfd5b6040518860601b60601c98508760601b60601c975065383775081901600e52886000526020600c2080547f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f83528360208401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604084015246606084015230608084015260a08320602e527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a60208401528960408401528860608401528060808401528760a084015260c08320604e526042602c206000528660ff1660205285604052846060526020806080600060015afa8b3d5114610e135763ddafbaef6000526004601cfd5b0190556303faf4f960a51b88176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b600554610ec0906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016907f000000000000000000000000000000000000000000000000000000000000000090611015565b600654610f0d906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f90611015565b60006005819055600655565b6805345cdf77eb68f44c5481810181811015610f3d5763e5cfe9576000526004601cfd5b806805345cdf77eb68f44c5550506387a211a2600c52816000526020600c208181540181555080602052600c5160601c60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a35050565b600080610fa66064846112e7565b9050600a610fb58260076112d0565b610fbf91906112e7565b60056000828254610fd091906112bd565b90915550600a9050610fe38260036112d0565b610fed91906112e7565b60066000828254610ffe91906112bd565b9091555061100e905081846112aa565b9392505050565b816014528060345263a9059cbb60601b60005260206000604460106000875af13d156001600051141716611051576390b8ec186000526004601cfd5b6000603452505050565b60405181606052826040528360601b602c526323b872dd60601b600c52602060006064601c6000895af13d1560016000511417166110a157637939f4246000526004601cfd5b600060605260405250505050565b60006020808352835180602085015260005b818110156110dd578581018301518582016040015282016110c1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461111557600080fd5b919050565b6000806040838503121561112d57600080fd5b611136836110fe565b946020939093013593505050565b60008060006060848603121561115957600080fd5b611162846110fe565b9250611170602085016110fe565b9150604084013590509250925092565b60006020828403121561119257600080fd5b61100e826110fe565b6000602082840312156111ad57600080fd5b5035919050565b600080600080600080600060e0888a0312156111cf57600080fd5b6111d8886110fe565b96506111e6602089016110fe565b95506040880135945060608801359350608088013560ff8116811461120a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561123a57600080fd5b611243836110fe565b9150611251602084016110fe565b90509250929050565b600181811c9082168061126e57607f821691505b60208210810361128e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561056d5761056d611294565b8082018082111561056d5761056d611294565b808202811582820484141761056d5761056d611294565b60008261130457634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561131e57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212200514739afe3b6471d0add29f8c462f98ea09fa24c733491537f2a9fb9a15733864736f6c6343000819003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000064a16b358deb46860a74e18722a41b04ec73d5990000000000000000000000008274d554b8b6c8cd33d7cbe6df629775aa87f663000000000000000000000000c532a74256d3db42d0bf7a0400fefdbad769400800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000