Genie Inu is a Mechanism to bring wealth to users based on Luck; this protocol awards users with tokens based on Random Number Generation. The last 10 buyers who bought $GENIEINU awaken the magic lamp, and 1 of 10 will become Master of Magic lamp. Magic lamp will give Master 100% of the Magic lamp wallet - a wealth wish was granted.
GenieInu.random(uint256,uint256,uint256) (#1043-1065) uses a weak PRNG: "(seed % (to - from)) + from (#1064)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
State variables written after the call(s):
- restrictedWallet[to] = true (#925)
- swapping = false (#906)
- tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#938)
- tokensForJackpot += (fees * sellJackpotFee) / sellTotalFees (#948)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#932-934)
- tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#944)
- tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#935-937)
- tokensForOperations += (fees * sellOperationsFee) / sellTotalFees (#945-947)
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
- gasBurn() (#961)
- (success,None) = address(winner).call{value: winnings}() (#1021)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
- gasBurn() (#961)
- (success,None) = address(winner).call{value: winnings}() (#1021)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#984)
- _balances[sender] = senderBalance - amount (#316)
- _balances[recipient] += amount (#318)
- super._transfer(from,to,amount) (#990)
- _balances[sender] = senderBalance - amount (#316)
- _balances[recipient] += amount (#318)
- buyerList.push(to) (#966)
- lastBuyTimestamp = block.timestamp (#969)
- tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#979)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#973-975)
- tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#976-978)
Reentrancy in GenieInu.payoutRewards(address) (#1024-1041):
External calls:
- (success,None) = address(winner).call{value: winnings}() (#1036)
State variables written after the call(s):
- delete buyerList (#1040)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#943)
-tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#944)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#943)
-tokensForOperations += (fees * sellOperationsFee) / sellTotalFees (#945-947)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#943)
-tokensForJackpot += (fees * sellJackpotFee) / sellTotalFees (#948)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#931)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#932-934)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#931)
-tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#935-937)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#931)
-tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#938)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#972)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#973-975)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#972)
-tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#976-978)
GenieInu._transfer(address,address,uint256) (#838-991) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#972)
-tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#979)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in GenieInu.swapBack() (#1121-1169):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1143)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
State variables written after the call(s):
- tokensForJackpot = 0 (#1157)
- tokensForLiquidity = 0 (#1155)
- tokensForOperations = 0 (#1156)
Apply the check-effects-interactions pattern.
Additional information: link
GenieInu.addLiquidity(uint256,uint256) (#1106-1119) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
Ensure that all the return values of the function calls are used.
Additional information: link
GenieInu.constructor().totalSupply (#630) shadows:
- ERC20.totalSupply() (#209-211) (function)
- IERC20.totalSupply() (#147) (function)
Rename the local variables that shadow another component.
Additional information: link
GenieInu.updateSwapTokensAtAmount(uint256) (#734-738) should emit an event for:
- swapTokensAtAmount = newAmount (#737)
GenieInu.setNumberOfBuysForJackpot(uint256) (#758-764) should emit an event for:
- numberOfBuysForJackpot = num (#763)
GenieInu.updateBuyFees(uint256,uint256,uint256) (#800-810) should emit an event for:
- buyOperationsFee = _operationsFee (#805)
- buyLiquidityFee = _liquidityFee (#806)
- buyJackpotFee = _jackpotFee (#807)
- buyTotalFees = buyOperationsFee + buyLiquidityFee + buyJackpotFee (#808)
GenieInu.updateSellFees(uint256,uint256,uint256) (#812-822) should emit an event for:
- sellOperationsFee = _operationsFee (#817)
- sellLiquidityFee = _liquidityFee (#818)
- sellJackpotFee = _jackpotFee (#819)
- sellTotalFees = sellOperationsFee + sellLiquidityFee + sellJackpotFee (#820)
GenieInu.updateJackpotTimeCooldown(uint256) (#1067-1073) should emit an event for:
- timeBetweenBuysForJackpot = timeInMinutes * 60 (#1072)
GenieInu.updatePercentForJackpot(uint256) (#1075-1078) should emit an event for:
- percentForJackpot = percent (#1077)
GenieInu.updateMinBuyToTriggerReward(uint256) (#1080-1082) should emit an event for:
- minBuyAmount = minBuy (#1081)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
State variables written after the call(s):
- botsCaught += 1 (#926)
Reentrancy in GenieInu.constructor() (#611-668):
External calls:
- lpPair = IDexFactory(dexRouter.factory()).createPair(address(this),dexRouter.WETH()) (#621-624)
State variables written after the call(s):
- _createInitialSupply(newOwner,totalSupply) (#665)
- _balances[account] += amount (#330)
- excludeFromFees(newOwner,true) (#658)
- _isExcludedFromFees[account] = excluded (#834)
- excludeFromFees(msg.sender,true) (#659)
- _isExcludedFromFees[account] = excluded (#834)
- excludeFromFees(operationsAddress,true) (#660)
- _isExcludedFromFees[account] = excluded (#834)
- excludeFromFees(address(this),true) (#661)
- _isExcludedFromFees[account] = excluded (#834)
- excludeFromFees(address(0xdead),true) (#662)
- _isExcludedFromFees[account] = excluded (#834)
- excludeFromFees(address(dexRouter),true) (#663)
- _isExcludedFromFees[account] = excluded (#834)
- _excludeFromMaxTransaction(address(lpPair),true) (#625)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#626)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(newOwner,true) (#651)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(msg.sender,true) (#652)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(operationsAddress,true) (#653)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(address(this),true) (#654)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(address(0xdead),true) (#655)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- _excludeFromMaxTransaction(address(dexRouter),true) (#656)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#743)
- transferOwnership(newOwner) (#667)
- _owner = newOwner (#381)
- _createInitialSupply(newOwner,totalSupply) (#665)
- _totalSupply += amount (#329)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#626)
- automatedMarketMakerPairs[pair] = value (#793)
- buyJackpotFee = 0 (#639)
- buyLiquidityFee = 0 (#638)
- buyOperationsFee = 0 (#637)
- buyTotalFees = buyOperationsFee + buyLiquidityFee + buyJackpotFee (#640)
- maxBuyAmount = (totalSupply * 4) / 1000 (#632)
- maxSellAmount = (totalSupply * 4) / 1000 (#633)
- maxWalletAmount = (totalSupply * 55) / 10000 (#634)
- operationsAddress = address(0x9606AC11dbe3DFDbffe786245747b0b76BDe9889) (#628)
- originalSellJackpotFee = 700 (#644)
- originalSellLiquidityFee = 0 (#643)
- originalSellOperationsFee = 400 (#642)
- sellJackpotFee = 1000 (#648)
- sellLiquidityFee = 0 (#647)
- sellOperationsFee = 500 (#646)
- sellTotalFees = sellOperationsFee + sellLiquidityFee + sellJackpotFee (#649)
- swapTokensAtAmount = (totalSupply * 25) / 100000 (#635)
Reentrancy in GenieInu.forceSwapBack() (#1198-1207):
External calls:
- swapBack() (#1204)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
External calls sending eth:
- swapBack() (#1204)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
State variables written after the call(s):
- swapping = false (#1205)
Reentrancy in GenieInu.swapBack() (#1121-1169):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1143)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
- _allowances[owner][spender] = amount (#342)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
Event emitted after the call(s):
- CaughtBot(to) (#927)
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
Event emitted after the call(s):
- JackpotTriggered(winnings,winner) (#1038)
- payoutRewards(to) (#959)
Reentrancy in GenieInu._transfer(address,address,uint256) (#838-991):
External calls:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
- gasBurn() (#961)
- (success,None) = address(winner).call{value: winnings}() (#1021)
External calls sending eth:
- swapBack() (#905)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
- payoutRewards(to) (#959)
- (success,None) = address(winner).call{value: winnings}() (#1036)
- gasBurn() (#961)
- (success,None) = address(winner).call{value: winnings}() (#1021)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#320)
- super._transfer(from,address(this),fees) (#984)
- Transfer(sender,recipient,amount) (#320)
- super._transfer(from,to,amount) (#990)
Reentrancy in GenieInu.constructor() (#611-668):
External calls:
- lpPair = IDexFactory(dexRouter.factory()).createPair(address(this),dexRouter.WETH()) (#621-624)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(address(dexRouter),true) (#663)
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(address(this),true) (#661)
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(msg.sender,true) (#659)
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(operationsAddress,true) (#660)
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(address(0xdead),true) (#662)
- ExcludeFromFees(account,excluded) (#835)
- excludeFromFees(newOwner,true) (#658)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(newOwner,true) (#651)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#626)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(address(lpPair),true) (#625)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(operationsAddress,true) (#653)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(msg.sender,true) (#652)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(address(dexRouter),true) (#656)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(address(0xdead),true) (#655)
- MaxTransactionExclusion(updAds,isExcluded) (#744)
- _excludeFromMaxTransaction(address(this),true) (#654)
- OwnershipTransferred(_owner,newOwner) (#380)
- transferOwnership(newOwner) (#667)
- SetAutomatedMarketMakerPair(pair,value) (#797)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#626)
- Transfer(address(0),account,amount) (#331)
- _createInitialSupply(newOwner,totalSupply) (#665)
Reentrancy in GenieInu.forceSwapBack() (#1198-1207):
External calls:
- swapBack() (#1204)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
External calls sending eth:
- swapBack() (#1204)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
Event emitted after the call(s):
- OwnerForcedSwapBack(block.timestamp) (#1206)
Reentrancy in GenieInu.payoutRewards(address) (#1024-1041):
External calls:
- (success,None) = address(winner).call{value: winnings}() (#1036)
Event emitted after the call(s):
- JackpotTriggered(winnings,winner) (#1038)
Reentrancy in GenieInu.swapBack() (#1121-1169):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1143)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1097-1103)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1111-1118)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#343)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1160)
Reentrancy in GenieInu.transferForeignToken(address,address) (#1171-1181):
External calls:
- _sent = IERC20(_token).transfer(_to,_contractBalance) (#1179)
Event emitted after the call(s):
- TransferForeignToken(_token,_contractBalance) (#1180)
Apply the check-effects-interactions pattern.
Additional information: link
GenieInu._transfer(address,address,uint256) (#838-991) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp >= lastBuyTimestamp + timeBetweenBuysForJackpot && address(this).balance > 100000000000000000 && buyerList.length >= numberOfBuysForJackpot (#954-957)
Avoid relying on block.timestamp.
Additional information: link
EnumerableSet.values(EnumerableSet.AddressSet) (#129-143) uses assembly
- INLINE ASM (#138-140)
Do not use evm assembly.
Additional information: link
Context._msgData() (#14-17) is never used and should be removed
EnumerableSet._add(EnumerableSet.Set,bytes32) (#26-34) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (#71-77) is never used and should be removed
EnumerableSet._contains(EnumerableSet.Set,bytes32) (#59-65) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (#67-69) is never used and should be removed
EnumerableSet._remove(EnumerableSet.Set,bytes32) (#36-57) is never used and should be removed
EnumerableSet._values(EnumerableSet.Set) (#79-81) is never used and should be removed
EnumerableSet.add(EnumerableSet.AddressSet,address) (#89-94) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (#121-127) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#106-112) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (#117-119) is never used and should be removed
EnumerableSet.remove(EnumerableSet.AddressSet,address) (#96-101) is never used and should be removed
EnumerableSet.values(EnumerableSet.AddressSet) (#129-143) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.15 (#7) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.15 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in GenieInu.gasBurn() (#1008-1022):
- (success,None) = address(winner).call{value: winnings}() (#1021)
Low level call in GenieInu.payoutRewards(address) (#1024-1041):
- (success,None) = address(winner).call{value: winnings}() (#1036)
Low level call in GenieInu.swapBack() (#1121-1169):
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1164-1166)
Low level call in GenieInu.withdrawStuckETH() (#1184-1187):
- (success,None) = address(owner()).call{value: address(this).balance}() (#1186)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDexRouter.WETH() (#388) is not in mixedCase
Function IDexPair.DOMAIN_SEPARATOR() (#459) is not in mixedCase
Function IDexPair.PERMIT_TYPEHASH() (#461) is not in mixedCase
Function IDexPair.MINIMUM_LIQUIDITY() (#475) is not in mixedCase
Parameter GenieInu.addPresaleAddressForExclusions(address)._presaleAddress (#673) is not in mixedCase
Parameter GenieInu.updateBuyFees(uint256,uint256,uint256)._operationsFee (#801) is not in mixedCase
Parameter GenieInu.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#802) is not in mixedCase
Parameter GenieInu.updateBuyFees(uint256,uint256,uint256)._jackpotFee (#803) is not in mixedCase
Parameter GenieInu.updateSellFees(uint256,uint256,uint256)._operationsFee (#813) is not in mixedCase
Parameter GenieInu.updateSellFees(uint256,uint256,uint256)._liquidityFee (#814) is not in mixedCase
Parameter GenieInu.updateSellFees(uint256,uint256,uint256)._jackpotFee (#815) is not in mixedCase
Parameter GenieInu.transferForeignToken(address,address)._token (#1171) is not in mixedCase
Parameter GenieInu.transferForeignToken(address,address)._to (#1171) is not in mixedCase
Parameter GenieInu.setOperationsAddress(address)._operationsAddress (#1189) is not in mixedCase
Variable GenieInu.FEE_DENOMINATOR (#567) is not in mixedCase
Variable GenieInu._isExcludedFromFees (#572) is not in mixedCase
Variable GenieInu._isExcludedMaxTransactionAmount (#573) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#15)" inContext (#9-18)
Remove redundant statements if they congest code but offer no value.
Additional information: link
GenieInu.constructor() (#611-668) uses literals with too many digits:
- swapTokensAtAmount = (totalSupply * 25) / 100000 (#635)
GenieInu.updateSwapTokensAtAmount(uint256) (#734-738) uses literals with too many digits:
- require(bool)(newAmount >= (totalSupply() * 1) / 100000) (#735)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GenieInu.FEE_DENOMINATOR (#567) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#197-199)
symbol() should be declared external:
- ERC20.symbol() (#201-203)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#223-231)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#233-241)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#243-251)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#253-270)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#272-283)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#285-300)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 0% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find Telegram link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token is relatively young, but twitter if very old (probably it's fake).
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account