The project is the creation of a DEFI trading platform that will include multiple features such as "Take Profit", "Stop Loss", "Limit Order", "Sniping" and other trading options
Candle is the first Token with a smart fee distribution. In fact, buy and sell fees are totally drive by the contract and change depending on buy and sell volume.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Candle.swapBack() (#767-815) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Candle.randomSwapThreshold() (#763-765) uses a weak PRNG: "(swapThresholdMin + random() % (swapThresholdMax - swapThresholdMin)) (#764)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in Candle._transferFrom(address,address,uint256) (#619-691):
External calls:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
External calls sending eth:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
State variables written after the call(s):
- balances[sender] = balances[sender].sub(amount,Insufficient Balance) (#647)
- balances[recipient] = balances[recipient].add(amountReceived) (#676)
- amountReceived = takeSmartBuyFee(sender,amount) (#658)
- balances[address(this)] = balances[address(this)].add(feeAmount) (#725)
- amountReceived = takeFee(sender,amount) (#661)
- balances[address(this)] = balances[address(this)].add(feeAmount) (#716)
- amountReceived = takeSmartSellFee(sender,amount) (#666)
- balances[address(this)] = balances[address(this)].add(feeAmount) (#734)
- amountReceived = takeFee(sender,amount) (#669)
- balances[address(this)] = balances[address(this)].add(feeAmount) (#716)
- amountReceived = takeFee(sender,amount) (#673)
- balances[address(this)] = balances[address(this)].add(feeAmount) (#716)
- updateSmartFees() (#653)
- smartLiquidityFee = computeSmartLiquidityFee() (#923)
- updateSmartFees() (#653)
- smartMarketingFee = computeSmartMarketingFee() (#932)
- updateSmartFees() (#653)
- smartRewardsFee = computeSmartRewardsFee() (#941)
- updateSmartFees() (#653)
- smartTotalFee = computeSmartTotalFee() (#914)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#378-397) ignores return value by Dividend.transfer(shareholder,am) (#389)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
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.
Candle.updateBotFees(uint256) (#1147-1150) contains a tautology or contradiction:
- require(bool,string)(percent >= 0 && percent <= 100,must be between 0 and 100) (#1148)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Candle.swapBack().tmpSuccess (#806) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
tmpSuccess = false (#809)
Fix or remove the writes.
Additional information: link
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.
Reentrancy in DividendDistributor.distributeDividend(address) (#378-397):
External calls:
- Dividend.transfer(shareholder,am) (#389)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#391)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#392)
Reentrancy in DividendDistributor.process(uint256) (#345-371):
External calls:
- distributeDividend(shareholders[currentIndex]) (#360)
- Dividend.transfer(shareholder,am) (#389)
State variables written after the call(s):
- currentIndex ++ (#365)
Reentrancy in DividendDistributor.setShare(address,uint256) (#309-323):
External calls:
- distributeDividend(shareholder) (#311)
- Dividend.transfer(shareholder,am) (#389)
State variables written after the call(s):
- shares[shareholder].amount = amount (#321)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#322)
Apply the check-effects-interactions pattern.
Additional information: link
Candle.addLiquidity(uint256,uint256) (#817-830) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#304-307) should emit an event for:
- minPeriod = _minPeriod (#305)
- minDistribution = _minDistribution (#306)
Candle.setTxLimit(uint256) (#849-851) should emit an event for:
- maxTxAmount = amount (#850)
Candle.setTxLimitPercent(uint256) (#853-855) should emit an event for:
- maxTxAmount = (_totalSupply * maxTxPercent) / 100 (#854)
Candle.setFees(uint256,uint256,uint256,uint256) (#879-886) should emit an event for:
- liquidityFee = _liquidityFee (#880)
- rewardsFee = _rewardsFee (#881)
- marketingFee = _marketingFee (#882)
- totalFee = _liquidityFee.add(_rewardsFee).add(_marketingFee) (#883)
- feeDenominator = _feeDenominator (#884)
Candle.setSmartBuyFee(uint256,uint256) (#888-892) should emit an event for:
- smartBuyFee = _buyFee (#889)
- smartBuyFeeDenominator = _buyFeeDenominator (#890)
Candle.setSmartSellFee(uint256,uint256) (#894-898) should emit an event for:
- smartSellFee = _sellFee (#895)
- smartSellFeeDenominator = _sellFeeDenominator (#896)
Candle.setSmartNbTx(uint256) (#1015-1018) should emit an event for:
- smartNbTx = _nbTx (#1016)
Candle.setSmartCoefMarketingFee(int256[],int256) (#1038-1041) should emit an event for:
- smartCoefMarketingFeeDenominator = _smartCoefMarketingFeeDenominator (#1040)
Candle.setSmartCoefLiquidityFee(int256[],int256) (#1043-1046) should emit an event for:
- smartCoefLiquidityFeeDenominator = _smartCoefLiquidityFeeDenominator (#1045)
Candle.setSmartCoefRewardsFee(int256[],int256) (#1048-1051) should emit an event for:
- smartCoefRewardsFeeDenominator = _smartCoefRewardsFeeDenominator (#1050)
Candle.setSmartCoefBuyFee(int256[],int256) (#1053-1056) should emit an event for:
- smartCoefBuyFeeDenominator = _smartCoefBuyFeeDenominator (#1055)
Candle.setSmartCoefSellFee(int256[],int256) (#1058-1061) should emit an event for:
- smartCoefSellFeeDenominator = _smartCoefSellFeeDenominator (#1060)
Candle.setSwapBackCoefProbability(int256[],int256) (#1063-1066) should emit an event for:
- swapBackCoefProbabilityDenomiator = _swapBackCoefProbabilityDenomiator (#1065)
Candle.setSwapBackSettings(bool,uint256,uint256) (#1157-1162) should emit an event for:
- swapThresholdMin = _amountMin (#1160)
- swapThresholdMax = _amountMax (#1161)
Candle.setTargetLiquidity(uint256,uint256) (#1164-1167) should emit an event for:
- targetLiquidity = _target (#1165)
- targetLiquidityDenominator = _denominator (#1166)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#88) lacks a zero-check on :
- owner = adr (#89)
Candle.clearStuckBalance(address).addr (#700) lacks a zero-check on :
- (sent) = address(addr).call{value: (address(this).balance)}() (#701)
Candle.setFeeReceivers(address,address)._autoLiquidityReceiver (#1152) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1153)
Candle.setFeeReceivers(address,address)._marketingFeeReceiver (#1152) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#1154)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#378-397) has external calls inside a loop: Dividend.transfer(shareholder,am) (#389)
Favor pull over push strategy for external calls.
Additional information: link
Candle.DEAD (#433) should be constant
Candle.WBNB (#432) should be constant
Candle.ZERO (#434) should be constant
Candle._totalSupply (#442) should be constant
Candle.marketingWallet (#436) should be constant
Candle.pairToken0Name (#514) should be constant
Candle.pairToken1Name (#515) should be constant
DividendDistributor.WBNB (#261) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#275) should be constant
DividendDistributor.rol (#282) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Reentrancy in Candle._transferFrom(address,address,uint256) (#619-691):
External calls:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
External calls sending eth:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
State variables written after the call(s):
- updateSmartVolumeArray() (#651)
- lastBNBBalance = newBNBBalance (#963)
- updateSmartVolumeArray() (#651)
- newBNBBalance = getWBNBInLiquidity() (#945)
- updateSmartFees() (#653)
- smartBuyFee = computeSmartBuyFee() (#1103)
- updateSmartFees() (#653)
- smartBuyFeeDenominator = 10 ** 4 (#1104)
- updateSmartVolume() (#652)
- smartBuyVolume = smartBuyVolume.add(smartBuyVolumeArray[smartArrayLength - 1]).sub(smartBuyVolumeArray[smartArrayLength - smartNbTx - 1]) (#1005)
- smartBuyVolume = smartBuyVolume.add(smartBuyVolumeArray[smartArrayLength - 1]) (#1010)
- updateSmartVolumeArray() (#651)
- smartBuyVolumeArray[0] = newBNBBalance - smartSellVolumeArray[0] (#948)
- smartBuyVolumeArray.push(newBNBBalance.sub(lastBNBBalance)) (#954)
- smartBuyVolumeArray.push(0) (#959)
- updateSmartFees() (#653)
- smartSellFee = computeSmartSellFee() (#1093)
- updateSmartFees() (#653)
- smartSellFeeDenominator = 10 ** 4 (#1094)
- updateSmartVolume() (#652)
- smartSellVolume = smartSellVolume.add(smartSellVolumeArray[smartArrayLength - 1]).sub(smartSellVolumeArray[smartArrayLength - smartNbTx - 1]) (#1006)
- smartSellVolume = smartSellVolume.add(smartSellVolumeArray[smartArrayLength - 1]) (#1011)
- updateSmartVolumeArray() (#651)
- smartSellVolumeArray[0] = newBNBBalance / 2 (#947)
- smartSellVolumeArray.push(0) (#953)
- smartSellVolumeArray.push(lastBNBBalance.sub(newBNBBalance)) (#958)
- updateSmartVolume() (#652)
- smartTotalVolume = smartTotalVolume.add(smartTotalVolumeArray[smartArrayLength - 1]).sub(smartTotalVolumeArray[smartArrayLength - smartNbTx - 1]) (#1004)
- smartTotalVolume = smartTotalVolume.add(smartTotalVolumeArray[smartArrayLength - 1]) (#1009)
- updateSmartVolumeArray() (#651)
- smartTotalVolumeArray[0] = newBNBBalance (#949)
- smartTotalVolumeArray.push(newBNBBalance.sub(lastBNBBalance)) (#955)
- smartTotalVolumeArray.push(lastBNBBalance.sub(newBNBBalance)) (#960)
Reentrancy in Candle.constructor() (#545-568):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#547)
State variables written after the call(s):
- allowances[address(this)][address(router)] = uint256(- 1) (#548)
- autoLiquidityReceiver = address(this) (#563)
- balances[msg.sender] = _totalSupply (#566)
- distributor = new DividendDistributor(address(router)) (#550)
- isDividendExempt[pair] = true (#559)
- isDividendExempt[address(this)] = true (#560)
- isDividendExempt[DEAD] = true (#561)
- isFeeExempt[msg.sender] = true (#552)
- isTimelockExempt[msg.sender] = true (#555)
- isTimelockExempt[DEAD] = true (#556)
- isTimelockExempt[address(this)] = true (#557)
- isTxLimitExempt[msg.sender] = true (#553)
- marketingFeeReceiver = marketingWallet (#564)
Reentrancy in DividendDistributor.deposit() (#325-343):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#332-337)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#342)
- totalDividends = totalDividends.add(amount) (#341)
Reentrancy in DividendDistributor.distributeDividend(address) (#378-397):
External calls:
- Dividend.transfer(shareholder,am) (#389)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#390)
- totMk += re (#396)
Reentrancy in DividendDistributor.setShare(address,uint256) (#309-323):
External calls:
- distributeDividend(shareholder) (#311)
- Dividend.transfer(shareholder,am) (#389)
State variables written after the call(s):
- addShareholder(shareholder) (#315)
- shareholderIndexes[shareholder] = shareholders.length (#419)
- removeShareholder(shareholder) (#317)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#425)
- addShareholder(shareholder) (#315)
- shareholders.push(shareholder) (#420)
- removeShareholder(shareholder) (#317)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#424)
- shareholders.pop() (#426)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#320)
Reentrancy in Candle.swapBack() (#767-815):
External calls:
- swapTokensForEth(amountToSwap) (#788)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
External calls sending eth:
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
State variables written after the call(s):
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- allowances[msg.sender][spender] = amount (#581)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Candle._transferFrom(address,address,uint256) (#619-691):
External calls:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
- distributor.setShare(sender,balances[sender]) (#680)
- distributor.setShare(recipient,balances[recipient]) (#684)
- distributor.process(distributorGas) (#687)
External calls sending eth:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#689)
Reentrancy in Candle._transferFrom(address,address,uint256) (#619-691):
External calls:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
External calls sending eth:
- swapBack() (#643)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#726)
- amountReceived = takeSmartBuyFee(sender,amount) (#658)
- Transfer(sender,address(this),feeAmount) (#717)
- amountReceived = takeFee(sender,amount) (#673)
- Transfer(sender,address(this),feeAmount) (#717)
- amountReceived = takeFee(sender,amount) (#661)
- Transfer(sender,address(this),feeAmount) (#717)
- amountReceived = takeFee(sender,amount) (#669)
- Transfer(sender,address(this),feeAmount) (#735)
- amountReceived = takeSmartSellFee(sender,amount) (#666)
Reentrancy in Candle.constructor() (#545-568):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#547)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#567)
Reentrancy in Candle.swapBack() (#767-815):
External calls:
- swapTokensForEth(amountToSwap) (#788)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#841-846)
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
External calls sending eth:
- distributor.deposit{value: amountBNBRewards}() (#805)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#823-829)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#582)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#812)
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#813)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#373-376) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#374-375)
Candle._transferFrom(address,address,uint256) (#619-691) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#635)
Candle.swapBack() (#767-815) uses timestamp for comparisons
Dangerous comparisons:
- amountToLiquify > 0 (#811)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#345-371) has costly operations inside a loop:
- currentIndex = 0 (#356)
DividendDistributor.distributeDividend(address) (#378-397) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#388)
DividendDistributor.distributeDividend(address) (#378-397) has costly operations inside a loop:
- totMk += re (#396)
DividendDistributor.process(uint256) (#345-371) has costly operations inside a loop:
- currentIndex ++ (#365)
Use a local variable to hold the loop computation result.
Additional information: link
Candle.updateSwapBackProbability() (#1082-1085) is never used and should be removed
Remove unused functions.
Additional information: link
Candle.maxTxAmount (#443) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 200
Candle.maxWalletToken (#444) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
Candle.totalFee (#463) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(rewardsFee).add(marketingFee)
Candle.swapThresholdMin (#533) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
Candle.swapThresholdMax (#534) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 500
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.7.4 (#11) allows old versions
solc-0.7.4 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 Candle.clearStuckBalance(address) (#700-703):
- (sent) = address(addr).call{value: (address(this).balance)}() (#701)
Low level call in Candle.swapBack() (#767-815):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#806)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakePair.DOMAIN_SEPARATOR() (#112) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#113) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#130) is not in mixedCase
Function IDEXRouter.WETH() (#154) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#304) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#304) is not in mixedCase
Variable DividendDistributor._token (#251) is not in mixedCase
Variable DividendDistributor.Dividend (#259) is not in mixedCase
Variable DividendDistributor.WBNB (#261) is not in mixedCase
Parameter Candle.setMaxWalletPercent(uint256)._maxWalletPercent (#615) is not in mixedCase
Parameter Candle.openTrading(bool,uint256,uint256)._status (#747) is not in mixedCase
Parameter Candle.openTrading(bool,uint256,uint256)._botBlocks (#747) is not in mixedCase
Parameter Candle.openTrading(bool,uint256,uint256)._botFees (#747) is not in mixedCase
Parameter Candle.cooldownEnabled(bool,uint8)._status (#754) is not in mixedCase
Parameter Candle.cooldownEnabled(bool,uint8)._interval (#754) is not in mixedCase
Parameter Candle.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#879) is not in mixedCase
Parameter Candle.setFees(uint256,uint256,uint256,uint256)._rewardsFee (#879) is not in mixedCase
Parameter Candle.setFees(uint256,uint256,uint256,uint256)._marketingFee (#879) is not in mixedCase
Parameter Candle.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#879) is not in mixedCase
Parameter Candle.setSmartBuyFee(uint256,uint256)._buyFee (#888) is not in mixedCase
Parameter Candle.setSmartBuyFee(uint256,uint256)._buyFeeDenominator (#888) is not in mixedCase
Parameter Candle.setSmartSellFee(uint256,uint256)._sellFee (#894) is not in mixedCase
Parameter Candle.setSmartSellFee(uint256,uint256)._sellFeeDenominator (#894) is not in mixedCase
Parameter Candle.setSmartNbTx(uint256)._nbTx (#1015) is not in mixedCase
Parameter Candle.setSmartCoefMarketingFee(int256[],int256)._smartCoefMarketingFee (#1038) is not in mixedCase
Parameter Candle.setSmartCoefMarketingFee(int256[],int256)._smartCoefMarketingFeeDenominator (#1038) is not in mixedCase
Parameter Candle.setSmartCoefLiquidityFee(int256[],int256)._smartCoefLiquidityFee (#1043) is not in mixedCase
Parameter Candle.setSmartCoefLiquidityFee(int256[],int256)._smartCoefLiquidityFeeDenominator (#1043) is not in mixedCase
Parameter Candle.setSmartCoefRewardsFee(int256[],int256)._smartCoefRewardsFee (#1048) is not in mixedCase
Parameter Candle.setSmartCoefRewardsFee(int256[],int256)._smartCoefRewardsFeeDenominator (#1048) is not in mixedCase
Parameter Candle.setSmartCoefBuyFee(int256[],int256)._smartCoefBuyFee (#1053) is not in mixedCase
Parameter Candle.setSmartCoefBuyFee(int256[],int256)._smartCoefBuyFeeDenominator (#1053) is not in mixedCase
Parameter Candle.setSmartCoefSellFee(int256[],int256)._smartCoefSellFee (#1058) is not in mixedCase
Parameter Candle.setSmartCoefSellFee(int256[],int256)._smartCoefSellFeeDenominator (#1058) is not in mixedCase
Parameter Candle.setSwapBackCoefProbability(int256[],int256)._swapBackCoefProbability (#1063) is not in mixedCase
Parameter Candle.setSwapBackCoefProbability(int256[],int256)._swapBackCoefProbabilityDenomiator (#1063) is not in mixedCase
Parameter Candle.computePowerSerie(int256[],int256,int256)._coefs (#1068) is not in mixedCase
Parameter Candle.computePowerSerie(int256[],int256,int256)._coefDen (#1068) is not in mixedCase
Parameter Candle.computePowerSerie(int256[],int256,int256)._x (#1068) is not in mixedCase
Parameter Candle.setSmartFeeMode(bool)._enabled (#1107) is not in mixedCase
Parameter Candle.setSmartFeeEnabled(bool)._enabled (#1115) is not in mixedCase
Parameter Candle.setSmartSellFeeEnabled(bool)._enabled (#1120) is not in mixedCase
Parameter Candle.setSmartBuyFeeEnabled(bool)._enabled (#1125) is not in mixedCase
Parameter Candle.updateBotBlocks(uint256)._botBlocks (#1142) is not in mixedCase
Parameter Candle.setFeeReceivers(address,address)._autoLiquidityReceiver (#1152) is not in mixedCase
Parameter Candle.setFeeReceivers(address,address)._marketingFeeReceiver (#1152) is not in mixedCase
Parameter Candle.setSwapBackSettings(bool,uint256,uint256)._enabled (#1157) is not in mixedCase
Parameter Candle.setSwapBackSettings(bool,uint256,uint256)._amountMin (#1157) is not in mixedCase
Parameter Candle.setSwapBackSettings(bool,uint256,uint256)._amountMax (#1157) is not in mixedCase
Parameter Candle.setTargetLiquidity(uint256,uint256)._target (#1164) is not in mixedCase
Parameter Candle.setTargetLiquidity(uint256,uint256)._denominator (#1164) is not in mixedCase
Parameter Candle.setDistributionCriteria(uint256,uint256)._minPeriod (#1169) is not in mixedCase
Parameter Candle.setDistributionCriteria(uint256,uint256)._minDistribution (#1169) is not in mixedCase
Variable Candle.WBNB (#432) is not in mixedCase
Variable Candle.DEAD (#433) is not in mixedCase
Variable Candle.ZERO (#434) is not in mixedCase
Constant Candle._name (#438) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Candle._symbol (#439) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Candle._decimals (#440) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Candle._totalSupply (#442) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#159) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#160)
Variable Candle.pairToken0Name (#514) is too similar to Candle.pairToken1Name (#515)
Prevent variables from having similar names.
Additional information: link
Candle.slitherConstructorVariables() (#430-1193) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#433)
Candle.slitherConstructorVariables() (#430-1193) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#434)
Candle.slitherConstructorVariables() (#430-1193) uses literals with too many digits:
- smartCoefMarketingFee = (400000,int256(- 1000),int256(- 20)) (#481)
Candle.slitherConstructorVariables() (#430-1193) uses literals with too many digits:
- smartCoefLiquidityFee = (600000,int256(- 11000),60) (#484)
Candle.slitherConstructorVariables() (#430-1193) uses literals with too many digits:
- distributorGas = 500000 (#526)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.rol (#282) is never used in DividendDistributor (#248-428)
Remove unused state variables.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#60-62)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#67-69)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#88-92)
clearStuckBalance(address) should be declared external:
- Candle.clearStuckBalance(address) (#700-703)
cooldownEnabled(bool,uint8) should be declared external:
- Candle.cooldownEnabled(bool,uint8) (#754-757)
smartSellVolumePercent() should be declared external:
- Candle.smartSellVolumePercent() (#1029-1036)
isBot(address) should be declared external:
- Candle.isBot(address) (#1130-1132)
updateBotFees(uint256) should be declared external:
- Candle.updateBotFees(uint256) (#1147-1150)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 12% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders 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 token contract audit
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
Alexa traffic rank is very low
Additional information: link
Token has no active CoinGecko listing / rank
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
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts