A New era meme token with a degen twist. The never ending pump, Your wish is my command. A new unique contract that has never been done before. Genie contract contains a special magic lamp and function for the last buyers to win a huge jackpot if no buys come in. Will you be cursed? or blessed by the Genie?
Experienced team and developers. Join the #DJINNARMY
Genie.random(uint256,uint256,uint256) (#1039-1061) uses a weak PRNG: "(seed % (to - from)) + from (#1060)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
State variables written after the call(s):
- restrictedWallet[to] = true (#921)
- swapping = false (#902)
- tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#934)
- tokensForJackpot += (fees * sellJackpotFee) / sellTotalFees (#944)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#928-930)
- tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#940)
- tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#931-933)
- tokensForOperations += (fees * sellOperationsFee) / sellTotalFees (#941-943)
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
- gasBurn() (#957)
- (success,None) = address(winner).call{value: winnings}() (#1017)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
- gasBurn() (#957)
- (success,None) = address(winner).call{value: winnings}() (#1017)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#980)
- _balances[sender] = senderBalance - amount (#312)
- _balances[recipient] += amount (#314)
- super._transfer(from,to,amount) (#986)
- _balances[sender] = senderBalance - amount (#312)
- _balances[recipient] += amount (#314)
- buyerList.push(to) (#962)
- lastBuyTimestamp = block.timestamp (#965)
- tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#975)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#969-971)
- tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#972-974)
Reentrancy in Genie.payoutRewards(address) (#1020-1037):
External calls:
- (success,None) = address(winner).call{value: winnings}() (#1032)
State variables written after the call(s):
- delete buyerList (#1036)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#939)
-tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#940)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#939)
-tokensForOperations += (fees * sellOperationsFee) / sellTotalFees (#941-943)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (sellTotalFees)) / FEE_DENOMINATOR (#939)
-tokensForJackpot += (fees * sellJackpotFee) / sellTotalFees (#944)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#927)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#928-930)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#927)
-tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#931-933)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#927)
-tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#934)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#968)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#969-971)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#968)
-tokensForOperations += (fees * buyOperationsFee) / buyTotalFees (#972-974)
Genie._transfer(address,address,uint256) (#834-987) performs a multiplication on the result of a division:
-fees = (amount * (buyTotalFees)) / FEE_DENOMINATOR (#968)
-tokensForJackpot += (fees * buyJackpotFee) / buyTotalFees (#975)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Genie.swapBack() (#1117-1165):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1139)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
State variables written after the call(s):
- tokensForJackpot = 0 (#1153)
- tokensForLiquidity = 0 (#1151)
- tokensForOperations = 0 (#1152)
Apply the check-effects-interactions pattern.
Additional information: link
Genie.addLiquidity(uint256,uint256) (#1102-1115) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
Ensure that all the return values of the function calls are used.
Additional information: link
Genie.constructor().totalSupply (#626) shadows:
- ERC20.totalSupply() (#205-207) (function)
- IERC20.totalSupply() (#143) (function)
Rename the local variables that shadow another component.
Additional information: link
Genie.updateSwapTokensAtAmount(uint256) (#730-734) should emit an event for:
- swapTokensAtAmount = newAmount (#733)
Genie.setNumberOfBuysForJackpot(uint256) (#754-760) should emit an event for:
- numberOfBuysForJackpot = num (#759)
Genie.updateBuyFees(uint256,uint256,uint256) (#796-806) should emit an event for:
- buyOperationsFee = _operationsFee (#801)
- buyLiquidityFee = _liquidityFee (#802)
- buyJackpotFee = _jackpotFee (#803)
- buyTotalFees = buyOperationsFee + buyLiquidityFee + buyJackpotFee (#804)
Genie.updateSellFees(uint256,uint256,uint256) (#808-818) should emit an event for:
- sellOperationsFee = _operationsFee (#813)
- sellLiquidityFee = _liquidityFee (#814)
- sellJackpotFee = _jackpotFee (#815)
- sellTotalFees = sellOperationsFee + sellLiquidityFee + sellJackpotFee (#816)
Genie.updateJackpotTimeCooldown(uint256) (#1063-1069) should emit an event for:
- timeBetweenBuysForJackpot = timeInMinutes * 60 (#1068)
Genie.updatePercentForJackpot(uint256) (#1071-1074) should emit an event for:
- percentForJackpot = percent (#1073)
Genie.updateMinBuyToTriggerReward(uint256) (#1076-1078) should emit an event for:
- minBuyAmount = minBuy (#1077)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
State variables written after the call(s):
- botsCaught += 1 (#922)
Reentrancy in Genie.constructor() (#607-664):
External calls:
- lpPair = IDexFactory(dexRouter.factory()).createPair(address(this),dexRouter.WETH()) (#617-620)
State variables written after the call(s):
- _createInitialSupply(newOwner,totalSupply) (#661)
- _balances[account] += amount (#326)
- excludeFromFees(newOwner,true) (#654)
- _isExcludedFromFees[account] = excluded (#830)
- excludeFromFees(msg.sender,true) (#655)
- _isExcludedFromFees[account] = excluded (#830)
- excludeFromFees(operationsAddress,true) (#656)
- _isExcludedFromFees[account] = excluded (#830)
- excludeFromFees(address(this),true) (#657)
- _isExcludedFromFees[account] = excluded (#830)
- excludeFromFees(address(0xdead),true) (#658)
- _isExcludedFromFees[account] = excluded (#830)
- excludeFromFees(address(dexRouter),true) (#659)
- _isExcludedFromFees[account] = excluded (#830)
- _excludeFromMaxTransaction(address(lpPair),true) (#621)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#622)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(newOwner,true) (#647)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(msg.sender,true) (#648)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(operationsAddress,true) (#649)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(address(this),true) (#650)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(address(0xdead),true) (#651)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- _excludeFromMaxTransaction(address(dexRouter),true) (#652)
- _isExcludedMaxTransactionAmount[updAds] = isExcluded (#739)
- transferOwnership(newOwner) (#663)
- _owner = newOwner (#377)
- _createInitialSupply(newOwner,totalSupply) (#661)
- _totalSupply += amount (#325)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#622)
- automatedMarketMakerPairs[pair] = value (#789)
- buyJackpotFee = 0 (#635)
- buyLiquidityFee = 0 (#634)
- buyOperationsFee = 0 (#633)
- buyTotalFees = buyOperationsFee + buyLiquidityFee + buyJackpotFee (#636)
- maxBuyAmount = (totalSupply * 4) / 1000 (#628)
- maxSellAmount = (totalSupply * 4) / 1000 (#629)
- maxWalletAmount = (totalSupply * 55) / 10000 (#630)
- operationsAddress = address(0xD2174e5FcEe98c6Ad48f6Af941051C7Ea27F3566) (#624)
- originalSellJackpotFee = 700 (#640)
- originalSellLiquidityFee = 0 (#639)
- originalSellOperationsFee = 400 (#638)
- sellJackpotFee = 1000 (#644)
- sellLiquidityFee = 0 (#643)
- sellOperationsFee = 500 (#642)
- sellTotalFees = sellOperationsFee + sellLiquidityFee + sellJackpotFee (#645)
- swapTokensAtAmount = (totalSupply * 25) / 100000 (#631)
Reentrancy in Genie.forceSwapBack() (#1194-1203):
External calls:
- swapBack() (#1200)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
External calls sending eth:
- swapBack() (#1200)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
State variables written after the call(s):
- swapping = false (#1201)
Reentrancy in Genie.swapBack() (#1117-1165):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1139)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
- _allowances[owner][spender] = amount (#338)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
Event emitted after the call(s):
- CaughtBot(to) (#923)
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
Event emitted after the call(s):
- JackpotTriggered(winnings,winner) (#1034)
- payoutRewards(to) (#955)
Reentrancy in Genie._transfer(address,address,uint256) (#834-987):
External calls:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
- gasBurn() (#957)
- (success,None) = address(winner).call{value: winnings}() (#1017)
External calls sending eth:
- swapBack() (#901)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
- payoutRewards(to) (#955)
- (success,None) = address(winner).call{value: winnings}() (#1032)
- gasBurn() (#957)
- (success,None) = address(winner).call{value: winnings}() (#1017)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#316)
- super._transfer(from,address(this),fees) (#980)
- Transfer(sender,recipient,amount) (#316)
- super._transfer(from,to,amount) (#986)
Reentrancy in Genie.constructor() (#607-664):
External calls:
- lpPair = IDexFactory(dexRouter.factory()).createPair(address(this),dexRouter.WETH()) (#617-620)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(operationsAddress,true) (#656)
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(address(this),true) (#657)
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(address(0xdead),true) (#658)
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(address(dexRouter),true) (#659)
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(newOwner,true) (#654)
- ExcludeFromFees(account,excluded) (#831)
- excludeFromFees(msg.sender,true) (#655)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(address(dexRouter),true) (#652)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(address(0xdead),true) (#651)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(operationsAddress,true) (#649)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(msg.sender,true) (#648)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(newOwner,true) (#647)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(address(this),true) (#650)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#622)
- MaxTransactionExclusion(updAds,isExcluded) (#740)
- _excludeFromMaxTransaction(address(lpPair),true) (#621)
- OwnershipTransferred(_owner,newOwner) (#376)
- transferOwnership(newOwner) (#663)
- SetAutomatedMarketMakerPair(pair,value) (#793)
- _setAutomatedMarketMakerPair(address(lpPair),true) (#622)
- Transfer(address(0),account,amount) (#327)
- _createInitialSupply(newOwner,totalSupply) (#661)
Reentrancy in Genie.forceSwapBack() (#1194-1203):
External calls:
- swapBack() (#1200)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
External calls sending eth:
- swapBack() (#1200)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
Event emitted after the call(s):
- OwnerForcedSwapBack(block.timestamp) (#1202)
Reentrancy in Genie.payoutRewards(address) (#1020-1037):
External calls:
- (success,None) = address(winner).call{value: winnings}() (#1032)
Event emitted after the call(s):
- JackpotTriggered(winnings,winner) (#1034)
Reentrancy in Genie.swapBack() (#1117-1165):
External calls:
- swapTokensForEth(contractBalance - liquidityTokens) (#1139)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1093-1099)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1107-1114)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#339)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1156)
Reentrancy in Genie.transferForeignToken(address,address) (#1167-1177):
External calls:
- _sent = IERC20(_token).transfer(_to,_contractBalance) (#1175)
Event emitted after the call(s):
- TransferForeignToken(_token,_contractBalance) (#1176)
Apply the check-effects-interactions pattern.
Additional information: link
Genie._transfer(address,address,uint256) (#834-987) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp >= lastBuyTimestamp + timeBetweenBuysForJackpot && address(this).balance > 100000000000000000 && buyerList.length >= numberOfBuysForJackpot (#950-953)
Avoid relying on block.timestamp.
Additional information: link
EnumerableSet.values(EnumerableSet.AddressSet) (#125-139) uses assembly
- INLINE ASM (#134-136)
Do not use evm assembly.
Additional information: link
Context._msgData() (#10-13) is never used and should be removed
EnumerableSet._add(EnumerableSet.Set,bytes32) (#22-30) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (#67-73) is never used and should be removed
EnumerableSet._contains(EnumerableSet.Set,bytes32) (#55-61) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (#63-65) is never used and should be removed
EnumerableSet._remove(EnumerableSet.Set,bytes32) (#32-53) is never used and should be removed
EnumerableSet._values(EnumerableSet.Set) (#75-77) is never used and should be removed
EnumerableSet.add(EnumerableSet.AddressSet,address) (#85-90) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (#117-123) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#102-108) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (#113-115) is never used and should be removed
EnumerableSet.remove(EnumerableSet.AddressSet,address) (#92-97) is never used and should be removed
EnumerableSet.values(EnumerableSet.AddressSet) (#125-139) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.15 (#3) 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 Genie.gasBurn() (#1004-1018):
- (success,None) = address(winner).call{value: winnings}() (#1017)
Low level call in Genie.payoutRewards(address) (#1020-1037):
- (success,None) = address(winner).call{value: winnings}() (#1032)
Low level call in Genie.swapBack() (#1117-1165):
- (success,None) = address(operationsAddress).call{value: ethForOperations}() (#1160-1162)
Low level call in Genie.withdrawStuckETH() (#1180-1183):
- (success,None) = address(owner()).call{value: address(this).balance}() (#1182)
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() (#384) is not in mixedCase
Function IDexPair.DOMAIN_SEPARATOR() (#455) is not in mixedCase
Function IDexPair.PERMIT_TYPEHASH() (#457) is not in mixedCase
Function IDexPair.MINIMUM_LIQUIDITY() (#471) is not in mixedCase
Parameter Genie.addPresaleAddressForExclusions(address)._presaleAddress (#669) is not in mixedCase
Parameter Genie.updateBuyFees(uint256,uint256,uint256)._operationsFee (#797) is not in mixedCase
Parameter Genie.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#798) is not in mixedCase
Parameter Genie.updateBuyFees(uint256,uint256,uint256)._jackpotFee (#799) is not in mixedCase
Parameter Genie.updateSellFees(uint256,uint256,uint256)._operationsFee (#809) is not in mixedCase
Parameter Genie.updateSellFees(uint256,uint256,uint256)._liquidityFee (#810) is not in mixedCase
Parameter Genie.updateSellFees(uint256,uint256,uint256)._jackpotFee (#811) is not in mixedCase
Parameter Genie.transferForeignToken(address,address)._token (#1167) is not in mixedCase
Parameter Genie.transferForeignToken(address,address)._to (#1167) is not in mixedCase
Parameter Genie.setOperationsAddress(address)._operationsAddress (#1185) is not in mixedCase
Variable Genie.FEE_DENOMINATOR (#563) is not in mixedCase
Variable Genie._isExcludedFromFees (#568) is not in mixedCase
Variable Genie._isExcludedMaxTransactionAmount (#569) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Genie.constructor() (#607-664) uses literals with too many digits:
- swapTokensAtAmount = (totalSupply * 25) / 100000 (#631)
Genie.updateSwapTokensAtAmount(uint256) (#730-734) uses literals with too many digits:
- require(bool)(newAmount >= (totalSupply() * 1) / 100000) (#731)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Genie.FEE_DENOMINATOR (#563) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#193-195)
symbol() should be declared external:
- ERC20.symbol() (#197-199)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#219-227)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#229-237)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#239-247)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#249-266)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#268-279)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#281-296)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account has less than 100 subscribers
Twitter account has less than 100 followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts