Lucid Lands is the first decentralized NFT play-to-earn game on BSC network that integrates both 3D-animated gaming NFT and 2D unique computer-generated collective NFT marketplace.
Each unique NFT Heroes will hold its intrinsic value complimenting the rarity, which can be traded in the marketplace. Furthermore, these Collectibles are utilized in the game which will aggregate the floor price according to its attributes and activity.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LLGBase.executeSwap(uint256) (#626-660) sends eth to arbitrary user
Dangerous calls:
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
LLGBase.swapBNBForTokens(uint256,address) (#680-694) sends eth to arbitrary user
Dangerous calls:
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LLGBase.doTransfer(address,address,uint256) (#509-553):
External calls:
- executeSwapIfNeeded(sender,recipient) (#528)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (#528)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
State variables written after the call(s):
- updateBalances(sender,recipient,amount,feeAmount) (#545)
- _balances[sender] -= sentAmount (#565)
- _balances[recipient] += receivedAmount (#566)
- _balances[address(this)] += feeAmount (#569)
Reentrancy in LLG.processRewardClaimQueue(uint256) (#1191-1229):
External calls:
- doClaimReward(user) (#1213)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (#1154)
- (sent) = user.call{value: bnbAmount}() (#1159)
State variables written after the call(s):
- _rewardClaimQueueIndex ++ (#1225)
Apply the check-effects-interactions pattern.
Additional information: link
LLG._totalBNBLiquidityAddedFromFees (#954) shadows:
- LLGBase._totalBNBLiquidityAddedFromFees (#415)
Remove the state variable shadowing.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
LLG.claimBNB(address,uint256) (#1147-1169) uses a dangerous strict equality:
- bnbAmount == 0 (#1148)
LLG.claimLLG(address,uint256) (#1172-1185) uses a dangerous strict equality:
- bnbAmount == 0 (#1173)
LLG.doBuyAndBurn(uint256) (#1365-1379) uses a dangerous strict equality:
- bnbAmount == 0 (#1370)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
LLGBase.setFees(uint8,uint8,uint8,uint8) (#760-773) contains a tautology or contradiction:
- require(bool,string)(liquidityFee >= 0 && liquidityFee <= 5,Liquidity fee must be between 0% and 5%) (#761)
LLGBase.setFees(uint8,uint8,uint8,uint8) (#760-773) contains a tautology or contradiction:
- require(bool,string)(rewardFee >= 0 && rewardFee <= 10,Reward fee must be between 1% and 15%) (#762)
LLGBase.setFees(uint8,uint8,uint8,uint8) (#760-773) contains a tautology or contradiction:
- require(bool,string)(marketingFee >= 0 && marketingFee <= 5,Marketing fee must be between 0% and 5%) (#763)
LLGBase.setFees(uint8,uint8,uint8,uint8) (#760-773) contains a tautology or contradiction:
- require(bool,string)(devFee >= 0 && devFee <= 5,Dev fee must be between 1% and 5%) (#764)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
Function IPancakeRouter01.WETH() (#178) is not in mixedCase
Constant LLGBase._totalTokens (#404) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter LLG.setAntiBotEnabled(bool)._isEnabled (#1616) is not in mixedCase
Parameter LLG.updateAntiBotStatus(bool)._flag (#1621) is not in mixedCase
Parameter LLG.updateBlockNum(uint256)._blockNum (#1627) is not in mixedCase
Variable LLG._rewardClaimQueue (#974) is not in mixedCase
Variable LLG._rewardClaimQueueIndices (#975) is not in mixedCase
Variable LLG._addressesInRewardClaimQueue (#977) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#117)" inContext (#111-120)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#183) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#184)
Prevent variables from having similar names.
Additional information: link
Low level call in LLGBase.executeSwap(uint256) (#626-660):
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
Low level call in LLG.claimBNB(address,uint256) (#1147-1169):
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (#1154)
- (sent) = user.call{value: bnbAmount}() (#1159)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
LLG.processRewardClaimQueue(uint256) (#1191-1229) has costly operations inside a loop:
- _rewardClaimQueueIndex = 0 (#1208)
LLG.claimLLG(address,uint256) (#1172-1185) has costly operations inside a loop:
- _totalBNBAsLLGClaimed += bnbAmount (#1183)
LLG.claimBNB(address,uint256) (#1147-1169) has costly operations inside a loop:
- _totalBNBClaimed += bnbAmount (#1167)
LLG.processRewardClaimQueue(uint256) (#1191-1229) has costly operations inside a loop:
- _rewardClaimQueueIndex ++ (#1225)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#116-119) is never used and should be removed
Remove unused functions.
Additional information: link
LLGBase.swapBNBForTokens(uint256,address) (#680-694) has external calls inside a loop: path[0] = _pancakeswapV2Router.WETH() (#683)
LLGBase.swapBNBForTokens(uint256,address) (#680-694) has external calls inside a loop: _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
LLG.claimBNB(address,uint256) (#1147-1169) has external calls inside a loop: (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (#1154)
LLG.claimBNB(address,uint256) (#1147-1169) has external calls inside a loop: (sent) = user.call{value: bnbAmount}() (#1159)
Favor pull over push strategy for external calls.
Additional information: link
LLG.processRewardClaimQueue(uint256) (#1191-1229) uses timestamp for comparisons
Dangerous comparisons:
- isRewardReady(user) && isIncludedInRewards(user) (#1212)
LLG.isRewardReady(address) (#1245-1247) uses timestamp for comparisons
Dangerous comparisons:
- _nextAvailableClaimDate[user] <= block.timestamp (#1246)
LLG.shouldBurn() (#1351-1353) uses timestamp for comparisons
Dangerous comparisons:
- _gradualBurnMagnitude > 0 && block.timestamp - _lastBurnDate > _gradualBurnTimespan (#1352)
LLG.onBeforeCalculateFeeRate() (#1632-1637) uses timestamp for comparisons
Dangerous comparisons:
- antiEnabled && block.timestamp < antiBotTimestamp (#1633)
Avoid relying on block.timestamp.
Additional information: link
LLG.isContract(address) (#1382-1387) uses assembly
- INLINE ASM (#1385)
Do not use evm assembly.
Additional information: link
LLGBase.executeSwap(uint256) (#626-660) performs a multiplication on the result of a division:
-tokensToSwapForLiquidity = tokensReservedForLiquidity / 2 (#636)
-bnbToBeAddedToLiquidity = bnbSwapped * tokensToSwapForLiquidity / tokensToSwap (#643)
LLGBase.executeSwap(uint256) (#626-660) performs a multiplication on the result of a division:
-tokensReservedForMarketing = amount * _marketingFee / _poolFee (#631)
-bnbToBeSendToMarketing = bnbSwapped * tokensReservedForMarketing / tokensToSwap (#650)
LLGBase.executeSwap(uint256) (#626-660) performs a multiplication on the result of a division:
-tokensReservedForDev = amount * _devFee / _poolFee (#632)
-bnbToBeSendToDev = bnbSwapped * tokensReservedForDev / tokensToSwap (#655)
LLG.calculateRewardCycleExtension(uint256,uint256) (#1262-1289) performs a multiplication on the result of a division:
-rate = amount * 100 / balance (#1272)
-extension = basePeriod * rate / 100 (#1278)
LLG.calculateBNBReward(address) (#1312-1331) performs a multiplication on the result of a division:
-bnbPool = address(this).balance * (100 - _globalRewardDampeningPercentage) / 100 (#1316)
-reward = bnbPool * balance / holdersAmount (#1324)
Consider ordering multiplication before division.
Additional information: link
LLG.claimBNB(address,uint256).sent_scope_0 (#1159) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
LLGBase.doApprove(address,address,uint256).owner (#573) shadows:
- Ownable.owner() (#151-153) (function)
Rename the local variables that shadow another component.
Additional information: link
LLG.setRewardCyclePeriod(uint256) (#1420-1423) should emit an event for:
- _rewardCyclePeriod = period (#1422)
LLG.setRewardCycleExtensionThreshold(uint256) (#1426-1428) should emit an event for:
- _rewardCycleExtensionThreshold = threshold (#1427)
LLG.setMaxClaimAllowed(uint256) (#1441-1444) should emit an event for:
- _maxClaimAllowed = value (#1443)
LLG.setMinRewardBalance(uint256) (#1452-1454) should emit an event for:
- _minRewardBalance = balance (#1453)
LLG.setMaxGasForAutoClaim(uint256) (#1462-1464) should emit an event for:
- _maxGasForAutoClaim = gas (#1463)
LLG.setGlobalRewardDampeningPercentage(uint256) (#1494-1497) should emit an event for:
- _globalRewardDampeningPercentage = value (#1496)
LLG.setGradualBurnMagnitude(uint256) (#1526-1529) should emit an event for:
- _gradualBurnMagnitude = magnitude (#1528)
LLG.setGradualBurnTimespan(uint256) (#1537-1540) should emit an event for:
- _gradualBurnTimespan = timespan (#1539)
LLG.setMainBnbPoolSize(uint256) (#1559-1562) should emit an event for:
- _mainBnbPoolSize = size (#1561)
LLG.setSendWeiGasLimit(uint256) (#1606-1608) should emit an event for:
- _sendWeiGasLimit = amount (#1607)
LLG.updateBlockNum(uint256) (#1627-1629) should emit an event for:
- antiBlockNum = _blockNum (#1628)
Emit an event for critical parameter changes.
Additional information: link
LLGBase.setAutoLiquidityWallet(address).liquidityWallet (#855) lacks a zero-check on :
- _autoLiquidityWallet = liquidityWallet (#856)
LLGBase.setMarketingWallet(address).marketingWalletAddress (#865) lacks a zero-check on :
- _marketingWallet = marketingWalletAddress (#866)
LLGBase.setDevWallet(address).devWalletAddress (#875) lacks a zero-check on :
- _devAddress = devWalletAddress (#876)
Check that the address is not zero.
Additional information: link
Variable 'LLG.claimBNB(address,uint256).sent (#1154)' in LLG.claimBNB(address,uint256) (#1147-1169) potentially used before declaration: (sent) = user.call{value: bnbAmount}() (#1159)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in LLG.claimBNB(address,uint256) (#1147-1169):
External calls:
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (#1154)
- (sent) = user.call{value: bnbAmount}() (#1159)
State variables written after the call(s):
- _bnbRewardClaimed[user] += bnbAmount (#1166)
- _totalBNBClaimed += bnbAmount (#1167)
Reentrancy in LLG.claimLLG(address,uint256) (#1172-1185):
External calls:
- success = swapBNBForTokens(bnbAmount,user) (#1177)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
State variables written after the call(s):
- _bnbAsLLGClaimed[user] += bnbAmount (#1182)
- _totalBNBAsLLGClaimed += bnbAmount (#1183)
Reentrancy in LLGBase.constructor(address) (#442-466):
External calls:
- setPancakeSwapRouter(routerAddress) (#457)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#745)
State variables written after the call(s):
- setFees(3,0,3,4) (#462)
- _devFee = devFee (#769)
- _highBuyFee = 99 (#463)
- setFees(3,0,3,4) (#462)
- _liquidityFee = liquidityFee (#766)
- setFees(3,0,3,4) (#462)
- _marketingFee = marketingFee (#768)
- _maxHoldAmount = 1200000 * 10 ** DECIMALS (#459)
- setFees(3,0,3,4) (#462)
- _poolFee = _rewardFee + _liquidityFee + _marketingFee + _devFee (#772)
- setFees(3,0,3,4) (#462)
- _rewardFee = rewardFee (#767)
Reentrancy in LLG.constructor(address) (#992-1001):
External calls:
- LLGBase(routerAddress) (#992)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#745)
State variables written after the call(s):
- _addressesExcludedFromRewards[BURN_WALLET] = true (#994)
- _addressesExcludedFromRewards[owner()] = true (#995)
- _addressesExcludedFromRewards[address(this)] = true (#996)
- _addressesExcludedFromRewards[address(0)] = true (#997)
- setRewardCycleExtensionThreshold(15) (#1000)
- _rewardCycleExtensionThreshold = threshold (#1427)
Reentrancy in LLG.doBuyAndBurn(uint256) (#1365-1379):
External calls:
- swapBNBForTokens(bnbAmount,BURN_WALLET) (#1374)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
State variables written after the call(s):
- _lastBurnDate = block.timestamp (#1378)
Reentrancy in LLGBase.doTransfer(address,address,uint256) (#509-553):
External calls:
- executeSwapIfNeeded(sender,recipient) (#528)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (#528)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
State variables written after the call(s):
- _totalFeesPooled += feeAmount (#548)
Reentrancy in LLGBase.executeSwap(uint256) (#626-660):
External calls:
- bnbSwapped = swapTokensForBNB(tokensToSwap) (#640)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
External calls sending eth:
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
State variables written after the call(s):
- _totalBNBLiquidityAddedFromFees += bnbAddedToLiquidity (#647)
Reentrancy in LLGBase.transferFrom(address,address,uint256) (#496-500):
External calls:
- doTransfer(sender,recipient,amount) (#497)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- doTransfer(sender,recipient,amount) (#497)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
State variables written after the call(s):
- doApprove(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#498)
- _allowances[owner][spender] = amount (#577)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LLGBase.constructor(address) (#442-466):
External calls:
- setPancakeSwapRouter(routerAddress) (#457)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#745)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),totalSupply()) (#465)
Reentrancy in LLG.doBuyAndBurn(uint256) (#1365-1379):
External calls:
- swapBNBForTokens(bnbAmount,BURN_WALLET) (#1374)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
Event emitted after the call(s):
- Burned(bnbAmount) (#1375)
Reentrancy in LLG.doClaimReward(address) (#1113-1144):
External calls:
- ! claimLLG(user,claimBnbAsTokens) (#1124)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (#688-693)
- bnbClaimSuccess = claimBNB(user,claimBnb) (#1136)
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (#1154)
- (sent) = user.call{value: bnbAmount}() (#1159)
Event emitted after the call(s):
- RewardClaimed(user,claimBnb,claimBnbAsTokens,_nextAvailableClaimDate[user]) (#1140)
Reentrancy in LLGBase.doTransfer(address,address,uint256) (#509-553):
External calls:
- executeSwapIfNeeded(sender,recipient) (#528)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (#528)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
Event emitted after the call(s):
- Transfer(sender,recipient,transferAmount) (#550)
Reentrancy in LLGBase.executeSwap(uint256) (#626-660):
External calls:
- bnbSwapped = swapTokensForBNB(tokensToSwap) (#640)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
Event emitted after the call(s):
- Swapped(tokensToSwap,bnbSwapped,tokensToAddAsLiquidity,bnbToBeAddedToLiquidity) (#659)
Reentrancy in LLGBase.transferFrom(address,address,uint256) (#496-500):
External calls:
- doTransfer(sender,recipient,amount) (#497)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#673)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
External calls sending eth:
- doTransfer(sender,recipient,amount) (#497)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (#644)
- (sent) = _marketingWallet.call{value: bnbToBeSendToMarketing}() (#651)
- (sent,None) = _devAddress.call{value: bnbToBeSendToDev}() (#656)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#579)
- doApprove(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#498)
Apply the check-effects-interactions pattern.
Additional information: link
LLGBase.constructor(address) (#442-466) uses literals with too many digits:
- _maxHoldAmount = 1200000 * 10 ** DECIMALS (#459)
LLGBase.activate() (#470-479) uses literals with too many digits:
- setTransactionSellLimit(400000 * 10 ** DECIMALS) (#475)
LLGBase.activate() (#470-479) uses literals with too many digits:
- setTransactionBuyLimit(600000 * 10 ** DECIMALS) (#476)
LLG.slitherConstructorVariables() (#947-1639) uses literals with too many digits:
- _maxGasForAutoClaim = 600000 (#973)
LLG.slitherConstructorConstantVariables() (#947-1639) uses literals with too many digits:
- _totalTokens = 100000000 * 10 ** DECIMALS (#404)
LLG.slitherConstructorConstantVariables() (#947-1639) uses literals with too many digits:
- BURN_WALLET = 0x000000000000000000000000000000000000dEaD (#412)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LLG._totalBNBLiquidityAddedFromFees (#954) is never used in LLG (#947-1639)
Remove unused state variables.
Additional information: link
LLG._totalBNBLiquidityAddedFromFees (#954) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#170-173)
activate() should be declared external:
- LLGBase.activate() (#470-479)
transfer(address,uint256) should be declared external:
- LLGBase.transfer(address,uint256) (#490-493)
transferFrom(address,address,uint256) should be declared external:
- LLGBase.transferFrom(address,address,uint256) (#496-500)
approve(address,uint256) should be declared external:
- LLGBase.approve(address,uint256) (#503-506)
amountUntilSwap() should be declared external:
- LLGBase.amountUntilSwap() (#717-725)
increaseAllowance(address,uint256) should be declared external:
- LLGBase.increaseAllowance(address,uint256) (#728-731)
decreaseAllowance(address,uint256) should be declared external:
- LLGBase.decreaseAllowance(address,uint256) (#734-737)
transactionSellLimit() should be declared external:
- LLGBase.transactionSellLimit() (#780-782)
transactionBuyLimit() should be declared external:
- LLGBase.transactionBuyLimit() (#790-792)
setHoldLimit(uint256) should be declared external:
- LLGBase.setHoldLimit(uint256) (#795-797)
holdLimit() should be declared external:
- LLGBase.holdLimit() (#800-802)
setTokenSwapThreshold(uint256) should be declared external:
- LLGBase.setTokenSwapThreshold(uint256) (#804-807)
tokenSwapThreshold() should be declared external:
- LLGBase.tokenSwapThreshold() (#810-812)
name() should be declared external:
- LLGBase.name() (#815-817)
symbol() should be declared external:
- LLGBase.symbol() (#820-822)
allowance(address,address) should be declared external:
- LLGBase.allowance(address,address) (#835-837)
autoLiquidityWallet() should be declared external:
- LLGBase.autoLiquidityWallet() (#850-852)
marketingWallet() should be declared external:
- LLGBase.marketingWallet() (#860-862)
setMarketingWallet(address) should be declared external:
- LLGBase.setMarketingWallet(address) (#865-867)
devWallet() should be declared external:
- LLGBase.devWallet() (#870-872)
setDevWallet(address) should be declared external:
- LLGBase.setDevWallet(address) (#875-877)
totalFeesPooled() should be declared external:
- LLGBase.totalFeesPooled() (#880-882)
totalBNBLiquidityAddedFromFees() should be declared external:
- LLGBase.totalBNBLiquidityAddedFromFees() (#885-887)
isSwapEnabled() should be declared external:
- LLGBase.isSwapEnabled() (#890-892)
isFeeEnabled() should be declared external:
- LLGBase.isFeeEnabled() (#900-902)
isTokenHoldEnabled() should be declared external:
- LLGBase.isTokenHoldEnabled() (#909-911)
isExcludedFromFees(address) should be declared external:
- LLGBase.isExcludedFromFees(address) (#919-921)
setExcludedFromFees(address,bool) should be declared external:
- LLGBase.setExcludedFromFees(address,bool) (#924-926)
isExcludedFromHold(address) should be declared external:
- LLGBase.isExcludedFromHold(address) (#928-930)
setExcludedFromHold(address,bool) should be declared external:
- LLGBase.setExcludedFromHold(address,bool) (#933-935)
bnbRewardClaimed(address) should be declared external:
- LLG.bnbRewardClaimed(address) (#1395-1397)
bnbRewardClaimedAsLLG(address) should be declared external:
- LLG.bnbRewardClaimedAsLLG(address) (#1400-1402)
totalBNBClaimed() should be declared external:
- LLG.totalBNBClaimed() (#1405-1407)
totalBNBClaimedAsLLG() should be declared external:
- LLG.totalBNBClaimedAsLLG() (#1410-1412)
setRewardCyclePeriod(uint256) should be declared external:
- LLG.setRewardCyclePeriod(uint256) (#1420-1423)
nextAvailableClaimDate(address) should be declared external:
- LLG.nextAvailableClaimDate(address) (#1431-1433)
maxClaimAllowed() should be declared external:
- LLG.maxClaimAllowed() (#1436-1438)
setMaxClaimAllowed(uint256) should be declared external:
- LLG.setMaxClaimAllowed(uint256) (#1441-1444)
minRewardBalance() should be declared external:
- LLG.minRewardBalance() (#1447-1449)
maxGasForAutoClaim() should be declared external:
- LLG.maxGasForAutoClaim() (#1457-1459)
setMaxGasForAutoClaim(uint256) should be declared external:
- LLG.setMaxGasForAutoClaim(uint256) (#1462-1464)
isExcludedFromRewards(address) should be declared external:
- LLG.isExcludedFromRewards(address) (#1477-1479)
setExcludedFromRewards(address,bool) should be declared external:
- LLG.setExcludedFromRewards(address,bool) (#1483-1486)
globalRewardDampeningPercentage() should be declared external:
- LLG.globalRewardDampeningPercentage() (#1489-1491)
setGlobalRewardDampeningPercentage(uint256) should be declared external:
- LLG.setGlobalRewardDampeningPercentage(uint256) (#1494-1497)
approveClaim(address,bool) should be declared external:
- LLG.approveClaim(address,bool) (#1500-1503)
isRewardAsTokensEnabled() should be declared external:
- LLG.isRewardAsTokensEnabled() (#1511-1513)
gradualBurnMagnitude() should be declared external:
- LLG.gradualBurnMagnitude() (#1521-1523)
gradualBurnTimespan() should be declared external:
- LLG.gradualBurnTimespan() (#1532-1534)
setGradualBurnTimespan(uint256) should be declared external:
- LLG.setGradualBurnTimespan(uint256) (#1537-1540)
claimRewardAsTokensPercentage(address) should be declared external:
- LLG.claimRewardAsTokensPercentage(address) (#1543-1545)
setClaimRewardAsTokensPercentage(uint256) should be declared external:
- LLG.setClaimRewardAsTokensPercentage(uint256) (#1548-1551)
mainBnbPoolSize() should be declared external:
- LLG.mainBnbPoolSize() (#1554-1556)
setMainBnbPoolSize(uint256) should be declared external:
- LLG.setMainBnbPoolSize(uint256) (#1559-1562)
isInRewardClaimQueue(address) should be declared external:
- LLG.isInRewardClaimQueue(address) (#1565-1567)
reimburseAfterLLGClaimFailure() should be declared external:
- LLG.reimburseAfterLLGClaimFailure() (#1570-1572)
lastBurnDate() should be declared external:
- LLG.lastBurnDate() (#1580-1582)
rewardClaimQueueLength() should be declared external:
- LLG.rewardClaimQueueLength() (#1585-1587)
rewardClaimQueueIndex() should be declared external:
- LLG.rewardClaimQueueIndex() (#1590-1592)
isWhitelistedExternalProcessor(address) should be declared external:
- LLG.isWhitelistedExternalProcessor(address) (#1595-1597)
setWhitelistedExternalProcessor(address,bool) should be declared external:
- LLG.setWhitelistedExternalProcessor(address,bool) (#1600-1603)
setSendWeiGasLimit(uint256) should be declared external:
- LLG.setSendWeiGasLimit(uint256) (#1606-1608)
setExcludeNonHumansFromRewards(bool) should be declared external:
- LLG.setExcludeNonHumansFromRewards(bool) (#1611-1613)
setAntiBotEnabled(bool) should be declared external:
- LLG.setAntiBotEnabled(bool) (#1616-1618)
updateBlockNum(uint256) should be declared external:
- LLG.updateBlockNum(uint256) (#1627-1629)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find token contract audit
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
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Unable to find Youtube account