Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ElonQuest.swapBack() (#595-659) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ElonQuest._transferFrom(address,address,uint256) (#522-549):
External calls:
- swapBack() (#530)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#606-612)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
External calls sending eth:
- swapBack() (#530)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#535)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#538)
- amountReceived = takeFee(sender,recipient,amount) (#537)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#578)
- triggerAutoBuyback() (#531)
- inSwap = true (#466)
- inSwap = false (#466)
- launch() (#533)
- launchedAt = block.number (#717)
- amountReceived = takeFee(sender,recipient,amount) (#537)
- liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#582)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#346-359) ignores return value by Doge.transfer(shareholder,amount) (#352)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
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.
ElonQuest.takeFee(address,address,uint256) (#575-586) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee(receiver == pair)).div(feeDenominator) (#576)
-liquidityFeeAccumulator = liquidityFeeAccumulator.add(feeAmount.mul(liquidityFee).div(totalFee.add(liquidityFee))) (#582)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#346-359):
External calls:
- Doge.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#354)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#355)
Reentrancy in DividendDistributor.process(uint256) (#311-339):
External calls:
- distributeDividend(shareholders[currentIndex]) (#328)
- Doge.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- currentIndex ++ (#334)
Reentrancy in DividendDistributor.setShare(address,uint256) (#273-287):
External calls:
- distributeDividend(shareholder) (#274)
- Doge.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shares[shareholder].amount = amount (#283)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#284)
Apply the check-effects-interactions pattern.
Additional information: link
ElonQuest.swapBack() (#595-659) ignores return value by router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Ensure that all the return values of the function calls are used.
Additional information: link
Auth.transferOwnership(address).adr (#137) lacks a zero-check on :
- owner = adr (#138)
ElonQuest.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#784) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#785)
ElonQuest.setFeeReceivers(address,address,address)._marketingFeeReceiver (#784) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#786)
ElonQuest.setFeeReceivers(address,address,address)._devFeeReceiver (#784) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#787)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#346-359) has external calls inside a loop: Doge.transfer(shareholder,amount) (#352)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in ElonQuest._transferFrom(address,address,uint256) (#522-549):
External calls:
- swapBack() (#530)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#606-612)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
External calls sending eth:
- swapBack() (#530)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
State variables written after the call(s):
- launch() (#533)
- autoClaimEnabled = true (#718)
Reentrancy in ElonQuest.constructor() (#468-488):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#470)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#471)
- _balances[msg.sender] = _totalSupply (#486)
- autoLiquidityReceiver = msg.sender (#482)
- devFeeReceiver = msg.sender (#484)
- distributor = new DividendDistributor(address(router)) (#473)
- isDividendExempt[pair] = true (#478)
- isDividendExempt[address(this)] = true (#479)
- isDividendExempt[DEAD] = true (#480)
- isFeeExempt[msg.sender] = true (#475)
- isTxLimitExempt[msg.sender] = true (#476)
- marketingFeeReceiver = msg.sender (#483)
Reentrancy in DividendDistributor.deposit() (#289-309):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#296-301)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#306)
- totalDividends = totalDividends.add(amount) (#305)
Reentrancy in DividendDistributor.distributeDividend(address) (#346-359):
External calls:
- Doge.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#353)
Reentrancy in DividendDistributor.setShare(address,uint256) (#273-287):
External calls:
- distributeDividend(shareholder) (#274)
- Doge.transfer(shareholder,amount) (#352)
State variables written after the call(s):
- addShareholder(shareholder) (#277)
- shareholderIndexes[shareholder] = shareholders.length (#385)
- removeShareholder(shareholder) (#279)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#391)
- addShareholder(shareholder) (#277)
- shareholders.push(shareholder) (#386)
- removeShareholder(shareholder) (#279)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#390)
- shareholders.pop() (#392)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#282)
Reentrancy in ElonQuest.swapBack() (#595-659):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
State variables written after the call(s):
- marketingFees = marketingFees.add(amountBNBMarketing) (#652)
Reentrancy in ElonQuest.swapBack() (#595-659):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
State variables written after the call(s):
- devFees = devFees.add(amountBNBDev) (#655)
Reentrancy in ElonQuest.triggerAutoBuyback() (#682-687):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#683)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#685)
- autoBuybackBlockLast = block.number (#684)
- autoBuybackEnabled = false (#686)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ElonQuest._buyback(uint256) (#677-680):
External calls:
- buyTokens(amount,DEAD) (#678)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
Event emitted after the call(s):
- Buyback(amount) (#679)
Reentrancy in ElonQuest._transferFrom(address,address,uint256) (#522-549):
External calls:
- swapBack() (#530)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#606-612)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
External calls sending eth:
- swapBack() (#530)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
Event emitted after the call(s):
- Launch() (#719)
- launch() (#533)
- Transfer(sender,address(this),feeAmount) (#579)
- amountReceived = takeFee(sender,recipient,amount) (#537)
Reentrancy in ElonQuest._transferFrom(address,address,uint256) (#522-549):
External calls:
- swapBack() (#530)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#606-612)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
- distributor.setShare(sender,_balances[sender]) (#540)
- distributor.setShare(recipient,_balances[recipient]) (#541)
- distributor.process(distributorGas) (#544)
External calls sending eth:
- swapBack() (#530)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
- triggerAutoBuyback() (#531)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#694-699)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#547)
Reentrancy in ElonQuest.constructor() (#468-488):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#470)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#487)
Reentrancy in DividendDistributor.deposit() (#289-309):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#296-301)
Event emitted after the call(s):
- Deposit(msg.value,amount) (#308)
Reentrancy in DividendDistributor.distributeDividend(address) (#346-359):
External calls:
- Doge.transfer(shareholder,amount) (#352)
Event emitted after the call(s):
- Distribution(shareholder,amount) (#357)
Reentrancy in ElonQuest.setIsDividendExempt(address,bool) (#727-736):
External calls:
- distributor.setShare(holder,0) (#731)
- distributor.setShare(holder,_balances[holder]) (#733)
Event emitted after the call(s):
- DividendExemptUpdated(holder,exempt) (#735)
Reentrancy in DividendDistributor.setShare(address,uint256) (#273-287):
External calls:
- distributeDividend(shareholder) (#274)
- Doge.transfer(shareholder,amount) (#352)
Event emitted after the call(s):
- ShareUpdated(shareholder,amount) (#286)
Reentrancy in ElonQuest.swapBack() (#595-659):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#606-612)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Event emitted after the call(s):
- AutoLiquify(amountBNB,amountToLiquify) (#625)
Reentrancy in ElonQuest.swapBack() (#595-659):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#635-641)
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#649)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
Event emitted after the call(s):
- SwapBack(amountToSwap,amountBNB_scope_2) (#657)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#341-344) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#342-343)
ElonQuest.setWalletBanStatus(address,bool) (#743-751) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(1626631691 + 315360000 > block.timestamp,User was put in a cage.) (#745)
Avoid relying on block.timestamp.
Additional information: link
ElonQuest._transferFrom(address,address,uint256) (#522-549) compares to a boolean constant:
-require(bool,string)(bannedUsers[sender] == false,Sender is banned) (#523)
ElonQuest._transferFrom(address,address,uint256) (#522-549) compares to a boolean constant:
-require(bool,string)(bannedUsers[recipient] == false,Recipient is banned) (#524)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (#311-339) has costly operations inside a loop:
- currentIndex = 0 (#324)
DividendDistributor.distributeDividend(address) (#346-359) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#351)
DividendDistributor.process(uint256) (#311-339) has costly operations inside a loop:
- currentIndex ++ (#334)
Use a local variable to hold the loop computation result.
Additional information: link
ElonQuest._maxTxAmount (#414) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 200
ElonQuest._maxWallet (#415) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
ElonQuest.swapThreshold (#463) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 4000
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 (#15) allows old versions
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 ElonQuest.swapBack() (#595-659):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#651)
- (success,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#654)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#154) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#266) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#266) is not in mixedCase
Variable DividendDistributor._token (#210) is not in mixedCase
Variable DividendDistributor.Doge (#218) is not in mixedCase
Variable DividendDistributor.WBNB (#219) is not in mixedCase
Parameter ElonQuest.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#702) is not in mixedCase
Parameter ElonQuest.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#702) is not in mixedCase
Parameter ElonQuest.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#702) is not in mixedCase
Parameter ElonQuest.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#702) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._enabled (#759) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#760) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (#761) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._reflectionFee (#762) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#763) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#764) is not in mixedCase
Parameter ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#765) is not in mixedCase
Parameter ElonQuest.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#784) is not in mixedCase
Parameter ElonQuest.setFeeReceivers(address,address,address)._marketingFeeReceiver (#784) is not in mixedCase
Parameter ElonQuest.setFeeReceivers(address,address,address)._devFeeReceiver (#784) is not in mixedCase
Parameter ElonQuest.setSwapBackSettings(bool,uint256)._enabled (#791) is not in mixedCase
Parameter ElonQuest.setSwapBackSettings(bool,uint256)._amount (#791) is not in mixedCase
Parameter ElonQuest.setAutoLiquifyEnabled(bool)._enabled (#797) is not in mixedCase
Parameter ElonQuest.setDistributionCriteria(uint256,uint256)._minPeriod (#802) is not in mixedCase
Parameter ElonQuest.setDistributionCriteria(uint256,uint256)._minDistribution (#802) is not in mixedCase
Parameter ElonQuest.setDistributorSettings(uint256,bool)._autoClaim (#806) is not in mixedCase
Variable ElonQuest.Doge (#405) is not in mixedCase
Variable ElonQuest.WBNB (#406) is not in mixedCase
Variable ElonQuest.DEAD (#407) is not in mixedCase
Constant ElonQuest._name (#409) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ElonQuest._symbol (#410) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ElonQuest._decimals (#411) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ElonQuest._totalSupply (#413) is not in mixedCase
Variable ElonQuest._maxTxAmount (#414) is not in mixedCase
Variable ElonQuest._maxWallet (#415) is not in mixedCase
Variable ElonQuest._balances (#418) is not in mixedCase
Variable ElonQuest._allowances (#419) 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 ElonQuest.setFees(bool,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#763) is too similar to ElonQuest.marketingFees (#443)
Prevent variables from having similar names.
Additional information: link
ElonQuest.setDistributorSettings(uint256,bool) (#806-811) uses literals with too many digits:
- require(bool)(gas <= 1000000) (#807)
ElonQuest.slitherConstructorVariables() (#402-871) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#407)
ElonQuest.slitherConstructorVariables() (#402-871) uses literals with too many digits:
- _totalSupply = 1000000000000000 * (10 ** _decimals) (#413)
ElonQuest.slitherConstructorVariables() (#402-871) uses literals with too many digits:
- distributorGas = 500000 (#460)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ElonQuest.Doge (#405) is never used in ElonQuest (#402-871)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#219) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#232) should be constant
ElonQuest.DEAD (#407) should be constant
ElonQuest.Doge (#405) should be constant
ElonQuest.WBNB (#406) should be constant
ElonQuest._totalSupply (#413) 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) (#107-110)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#115-118)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#137-141)
balanceOf(address) should be declared external:
- ElonQuest.balanceOf(address) (#497)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts