Glow is a token that reward its members with 10% busd reflections, $10,000 BUSD lottery, and we have a community supported charity system to help charities that the community voted on.
Glow.swapBack() (#611-656) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
Glow.swapBNBtoBUSD(address) (#658-669) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
Glow.buyTokens(uint256,address) (#715-726) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Glow.random() (#671-676) uses a weak PRNG: "r = uint256(uint256(keccak256(bytes)(abi.encodePacked(block.difficulty,block.timestamp,_nonce))) % _eligibleForLottery.length) (#672)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in Glow._transferFrom(address,address,uint256) (#535-559):
External calls:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#621-627)
- distributor.deposit{value: amountBNBReflection}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
External calls sending eth:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#545)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#549)
- amountReceived = takeFee(sender,recipient,amount) (#547)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#598)
- triggerAutoBuyback() (#541)
- inSwap = true (#472)
- inSwap = false (#472)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#357-368) ignores return value by BUSD.transfer(shareholder,amount) (#363)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
Glow.swapBack() (#611-656) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in Glow.constructor(address) (#474-500):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#478)
State variables written after the call(s):
- WBNB = router.WETH() (#480)
Reentrancy in DividendDistributor.distributeDividend(address) (#357-368):
External calls:
- BUSD.transfer(shareholder,amount) (#363)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#365)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#366)
Reentrancy in DividendDistributor.process(uint256) (#326-350):
External calls:
- distributeDividend(shareholders[currentIndex]) (#342)
- BUSD.transfer(shareholder,amount) (#363)
State variables written after the call(s):
- currentIndex ++ (#347)
Reentrancy in DividendDistributor.setShare(address,uint256) (#290-304):
External calls:
- distributeDividend(shareholder) (#292)
- BUSD.transfer(shareholder,amount) (#363)
State variables written after the call(s):
- shares[shareholder].amount = amount (#302)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#303)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#285-288) should emit an event for:
- minPeriod = _minPeriod (#286)
- minDistribution = _minDistribution (#287)
Glow.setAutoBuybackSettings(bool,uint256,uint256,uint256) (#728-735) should emit an event for:
- autoBuybackCap = _cap (#730)
- autoBuybackAmount = _amount (#732)
Glow.setBuybackMultiplierSettings(uint256,uint256,uint256) (#737-742) should emit an event for:
- buybackMultiplierNumerator = numerator (#739)
- buybackMultiplierDenominator = denominator (#740)
- buybackMultiplierLength = length (#741)
Glow.setTxLimit(uint256) (#754-757) should emit an event for:
- _maxTxAmount = amount (#756)
Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#777-787) should emit an event for:
- liquidityFee = _liquidityFee (#778)
- reflectionFee = _reflectionFee (#780)
- marketingFee = _marketingFee (#781)
- developmentFee = _developmentFee (#782)
- lotteryFee = _lotteryFee (#783)
- totalFee = _lotteryFee.add(_developmentFee).add(_liquidityFee).add(_buybackFee).add(_reflectionFee).add(_marketingFee) (#784)
- feeDenominator = _feeDenominator (#785)
Glow.setSwapBackSettings(bool,uint256) (#796-799) should emit an event for:
- swapThreshold = _amount (#798)
Glow.setTargetLiquidity(uint256,uint256) (#801-804) should emit an event for:
- targetLiquidity = _target (#802)
- targetLiquidityDenominator = _denominator (#803)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#167) lacks a zero-check on :
- owner = adr (#168)
Glow.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#789) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#790)
Glow.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#789) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#791)
Glow.setFeeReceivers(address,address,address,address)._developmentFeeReceiver (#789) lacks a zero-check on :
- developmentFeeReceiver = _developmentFeeReceiver (#792)
Glow.setFeeReceivers(address,address,address,address)._lotteryFeeReceiver (#789) lacks a zero-check on :
- lotteryFeeReceiver = _lotteryFeeReceiver (#793)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#357-368) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#363)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Glow._transferFrom(address,address,uint256) (#535-559):
External calls:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#621-627)
- distributor.deposit{value: amountBNBReflection}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
External calls sending eth:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
State variables written after the call(s):
- _eligibleForLottery.push(recipient) (#551)
Reentrancy in Glow.constructor(address) (#474-500):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#478)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#479)
- approve(_dexRouter,_totalSupply) (#496)
- _allowances[msg.sender][spender] = amount (#514)
- approve(address(pair),_totalSupply) (#497)
- _allowances[msg.sender][spender] = amount (#514)
- _balances[msg.sender] = _totalSupply (#498)
- autoLiquidityReceiver = msg.sender (#491)
- buyBacker[msg.sender] = true (#489)
- developmentFeeReceiver = msg.sender (#494)
- distributor = new DividendDistributor(_dexRouter) (#481)
- distributorAddress = address(distributor) (#482)
- isDividendExempt[pair] = true (#486)
- isDividendExempt[address(this)] = true (#487)
- isDividendExempt[DEAD] = true (#488)
- isFeeExempt[msg.sender] = true (#484)
- isTxLimitExempt[msg.sender] = true (#485)
- lotteryFeeReceiver = msg.sender (#493)
- marketingFeeReceiver = msg.sender (#492)
Reentrancy in DividendDistributor.deposit() (#306-324):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#313-318)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#323)
- totalDividends = totalDividends.add(amount) (#322)
Reentrancy in DividendDistributor.distributeDividend(address) (#357-368):
External calls:
- BUSD.transfer(shareholder,amount) (#363)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#364)
Reentrancy in DividendDistributor.setShare(address,uint256) (#290-304):
External calls:
- distributeDividend(shareholder) (#292)
- BUSD.transfer(shareholder,amount) (#363)
State variables written after the call(s):
- addShareholder(shareholder) (#296)
- shareholderIndexes[shareholder] = shareholders.length (#390)
- removeShareholder(shareholder) (#298)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#396)
- addShareholder(shareholder) (#296)
- shareholders.push(shareholder) (#391)
- removeShareholder(shareholder) (#298)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#395)
- shareholders.pop() (#397)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#301)
Reentrancy in Glow.triggerAutoBuyback() (#708-713):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#709)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#711)
- autoBuybackBlockLast = block.number (#710)
- autoBuybackEnabled = false (#712)
Reentrancy in Glow.triggerZeusBuyback(uint256,bool) (#696-702):
External calls:
- buyTokens(amount,DEAD) (#697)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#699)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Glow._transferFrom(address,address,uint256) (#535-559):
External calls:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#621-627)
- distributor.deposit{value: amountBNBReflection}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
- distributor.setShare(sender,_balances[sender]) (#552)
- distributor.setShare(recipient,_balances[recipient]) (#553)
- distributor.process(distributorGas) (#555)
External calls sending eth:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#557)
Reentrancy in Glow._transferFrom(address,address,uint256) (#535-559):
External calls:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#621-627)
- distributor.deposit{value: amountBNBReflection}() (#639)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
External calls sending eth:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#599)
- amountReceived = takeFee(sender,recipient,amount) (#547)
Reentrancy in Glow.constructor(address) (#474-500):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#478)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#515)
- approve(address(pair),_totalSupply) (#497)
- Approval(msg.sender,spender,amount) (#515)
- approve(_dexRouter,_totalSupply) (#496)
- Transfer(address(0),msg.sender,_totalSupply) (#499)
Reentrancy in Glow.swapBack() (#611-656):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#621-627)
- distributor.deposit{value: amountBNBReflection}() (#639)
- swapBNBtoBUSD(lotteryFeeReceiver) (#644)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- swapBNBtoBUSD(lotteryFeeReceiver) (#644)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#654)
Reentrancy in Glow.triggerZeusBuyback(uint256,bool) (#696-702):
External calls:
- buyTokens(amount,DEAD) (#697)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#700)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#352-355) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#353-354)
Glow.getMultipliedFee() (#584-593) uses timestamp for comparisons
Dangerous comparisons:
- launchedAtTimestamp + 86400 > block.timestamp (#585)
- buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#587)
Glow.shouldSwapBack() (#604-609) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (#605-608)
Glow.isOverLiquified(uint256,uint256) (#823-825) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#824)
Avoid relying on block.timestamp.
Additional information: link
Glow.onlyBuybacker() (#509) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (#509)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (#326-350) has costly operations inside a loop:
- currentIndex = 0 (#338)
DividendDistributor.distributeDividend(address) (#357-368) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#362)
DividendDistributor.process(uint256) (#326-350) has costly operations inside a loop:
- currentIndex ++ (#347)
Use a local variable to hold the loop computation result.
Additional information: link
Glow.launched() (#744-746) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#83-88) is never used and should be removed
SafeMath.mod(uint256,uint256) (#72-74) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#90-95) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#15-21) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#42-47) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#49-54) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#30-40) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#23-28) is never used and should be removed
Remove unused functions.
Additional information: link
Glow._maxTxAmount (#416) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(400)
Glow.swapThreshold (#470) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.8.10 (#6) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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
Function IDEXRouter.WETH() (#182) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#285) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#285) is not in mixedCase
Variable DividendDistributor._token (#238) is not in mixedCase
Variable DividendDistributor.BUSD (#246) is not in mixedCase
Variable DividendDistributor.WBNB (#247) is not in mixedCase
Parameter Glow.swapBNBtoBUSD(address)._lotteryAddress (#658) is not in mixedCase
Parameter Glow.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#728) is not in mixedCase
Parameter Glow.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#728) is not in mixedCase
Parameter Glow.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#728) is not in mixedCase
Parameter Glow.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#728) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._developmentFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._lotteryFee (#777) is not in mixedCase
Parameter Glow.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#777) is not in mixedCase
Parameter Glow.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#789) is not in mixedCase
Parameter Glow.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#789) is not in mixedCase
Parameter Glow.setFeeReceivers(address,address,address,address)._developmentFeeReceiver (#789) is not in mixedCase
Parameter Glow.setFeeReceivers(address,address,address,address)._lotteryFeeReceiver (#789) is not in mixedCase
Parameter Glow.setSwapBackSettings(bool,uint256)._enabled (#796) is not in mixedCase
Parameter Glow.setSwapBackSettings(bool,uint256)._amount (#796) is not in mixedCase
Parameter Glow.setTargetLiquidity(uint256,uint256)._target (#801) is not in mixedCase
Parameter Glow.setTargetLiquidity(uint256,uint256)._denominator (#801) is not in mixedCase
Parameter Glow.setDistributionCriteria(uint256,uint256)._minPeriod (#806) is not in mixedCase
Parameter Glow.setDistributionCriteria(uint256,uint256)._minDistribution (#806) is not in mixedCase
Variable Glow.BUSD (#405) is not in mixedCase
Variable Glow.WBNB (#406) is not in mixedCase
Variable Glow.DEAD (#407) is not in mixedCase
Variable Glow.ZERO (#408) is not in mixedCase
Variable Glow.DEAD_NON_CHECKSUM (#409) is not in mixedCase
Constant Glow._name (#411) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Glow._symbol (#412) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Glow._decimals (#413) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Glow._totalSupply (#415) is not in mixedCase
Variable Glow._maxTxAmount (#416) is not in mixedCase
Variable Glow._balances (#418) is not in mixedCase
Variable Glow._allowances (#419) is not in mixedCase
Variable Glow._eligibleForLottery (#420) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Glow._transferFrom(address,address,uint256) (#535-559):
External calls:
- swapBack() (#540)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
External calls sending eth:
- swapBack() (#540)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
- triggerAutoBuyback() (#541)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#720-725)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#545)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#549)
- amountReceived = takeFee(sender,recipient,amount) (#547)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#598)
- _eligibleForLottery.push(recipient) (#551)
- triggerAutoBuyback() (#541)
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#711)
- triggerAutoBuyback() (#541)
- autoBuybackBlockLast = block.number (#710)
- triggerAutoBuyback() (#541)
- autoBuybackEnabled = false (#712)
- triggerAutoBuyback() (#541)
- inSwap = true (#472)
- inSwap = false (#472)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#599)
- amountReceived = takeFee(sender,recipient,amount) (#547)
- Transfer(sender,recipient,amountReceived) (#557)
Reentrancy in Glow.swapBack() (#611-656):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#639)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#640)
- address(developmentFeeReceiver).transfer(amountBNBDevilopment) (#641)
- address(lotteryFeeReceiver).transfer(amountBNBLottery) (#642)
- swapBNBtoBUSD(lotteryFeeReceiver) (#644)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_lotteryAddress,block.timestamp) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#646-653)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#654)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#187) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#188)
Prevent variables from having similar names.
Additional information: link
Glow.slitherConstructorVariables() (#401-830) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#407)
Glow.slitherConstructorVariables() (#401-830) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#408)
Glow.slitherConstructorVariables() (#401-830) uses literals with too many digits:
- DEAD_NON_CHECKSUM = 0x000000000000000000000000000000000000dEaD (#409)
Glow.slitherConstructorVariables() (#401-830) uses literals with too many digits:
- distributorGas = 500000 (#467)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Glow.DEAD_NON_CHECKSUM (#409) is never used in Glow (#401-830)
Glow.lotteryCounter (#434) is never used in Glow (#401-830)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#247) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#260) should be constant
Glow.BUSD (#405) should be constant
Glow.DEAD (#407) should be constant
Glow.DEAD_NON_CHECKSUM (#409) should be constant
Glow.ZERO (#408) should be constant
Glow._totalSupply (#415) should be constant
Glow.lotteryCounter (#434) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#139-141)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#146-148)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#167-171)
sendLotteryReward() should be declared external:
- Glow.sendLotteryReward() (#678-684)
launch() should be declared external:
- Glow.launch() (#748-752)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
Token is deployed only at one blockchain
Average 30d PancakeSwap liquidity is low.
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find Telegram link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Token has no active CoinMarketCap listing / rank
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