Son of Elon (X Æ A-12)
Son of Elon is a meme token inspired and created for the Dogefather's son X Æ A-12. The Memecoin Moses, the man who with a single tweet moons tokens. This is a token with a chart that will always reach to mars and with a healthy buyback tax to assure that the marketcap is also supported. With a reward in DOGE you can accumulate your reward asset is supported by the dogefather himself!!
With a token with a rebase function it is imperative that investors pay attention to the marketcap at which they entered the token, not the per token price as the supply is elastic, and token price can flucuate. However using this rebase protocol it opens up many avenues for marketing and increased FOMO!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DividendDistributor.distributeDividend(address) (#391-408) ignores return value by RWRD.transfer(shareholder,amount) (#399)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Elon.swapBack() (#1042-1099) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Elon._transferFrom(address,address,uint256) (#846-929):
External calls:
- swapBack() (#904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1057-1063)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
External calls sending eth:
- swapBack() (#904)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
State variables written after the call(s):
- _rBalance[sender] = _rBalance[sender].sub(rAmount,Insufficient Balance) (#908)
- _rBalance[recipient] = _rBalance[recipient].add(amountReceived) (#914)
- amountReceived = takeFee(sender,rAmount,(recipient == pair)) (#910-913)
- _rBalance[address(this)] = _rBalance[address(this)].add(feeAmount) (#973)
Apply the check-effects-interactions pattern.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Elon.beforeRebase (#531) is written in both
beforeRebase = false (#682)
beforeRebase = false (#683)
Elon.swapBack().tmpSuccess (#1076) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
Elon.swapBack().tmpSuccess (#1076) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
tmpSuccess = false (#1086)
Fix or remove the writes.
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.
Reentrancy in Elon._transferFrom(address,address,uint256) (#846-929):
External calls:
- swapBack() (#904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1057-1063)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
- distributor.setShare(sender,balanceOf(sender)) (#918)
- distributor.setShare(recipient,balanceOf(recipient)) (#922)
- distributor.process(distributorGas) (#925)
External calls sending eth:
- swapBack() (#904)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived.div(rate)) (#927)
Reentrancy in Elon._transferFrom(address,address,uint256) (#846-929):
External calls:
- swapBack() (#904)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1057-1063)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
External calls sending eth:
- swapBack() (#904)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(rate)) (#974)
- amountReceived = takeFee(sender,rAmount,(recipient == pair)) (#910-913)
Reentrancy in Elon.constructor() (#737-768):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#739)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#767)
Reentrancy in Elon.rebase(uint256,int256) (#600-634):
External calls:
- pairContract.sync() (#629)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#631)
Reentrancy in Elon.swapBack() (#1042-1099):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1057-1063)
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#1075)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify.div(rate)) (#1097)
Apply the check-effects-interactions pattern.
Additional information: link
Elon.rebase_percentage(uint256) (#548-557) performs a multiplication on the result of a division:
-newSupply = rebase(0,int256(_totalSupply.div(1000).mul(_percentage_base1000)).mul(- 1)) (#553-556)
Elon.rebase_percentage1000(uint256,uint256) (#559-576) performs a multiplication on the result of a division:
-newSupply = rebase1000(0,int256(_totalSupply.div(1000).mul(_percentage_base1000)),coinAmount) (#570-573)
Elon.rebase_percentage1000(uint256,uint256) (#559-576) performs a multiplication on the result of a division:
-newSupply = rebase_new(0,int256(_totalSupply.div(1000).mul(_percentage_base1000))) (#566-568)
Elon.takeFee(address,uint256,bool) (#956-977) performs a multiplication on the result of a division:
-feeAmount = rAmount.div(feeDenominator * 100).mul(totalFee).mul(multiplier) (#966-967)
Elon.takeFee(address,uint256,bool) (#956-977) performs a multiplication on the result of a division:
-feeAmount = rAmount.div(100).mul(99) (#970)
Elon.swapBack() (#1042-1099) performs a multiplication on the result of a division:
-amountToLiquify = tokensToSell.div(totalFee).mul(dynamicLiquidityFee).div(2) (#1047-1048)
Elon.setSwapBackSettings(bool,uint256) (#1157-1163) performs a multiplication on the result of a division:
-swapThreshold = rSupply.div(10000).mul(_percentage_base10000) (#1162)
Elon.setMaxWalletPercent_base1000(uint256) (#1244-1249) performs a multiplication on the result of a division:
-_maxWalletToken = rSupply.div(1000).mul(maxWallPercent_base1000) (#1248)
Elon.setMaxTxPercent_base1000(uint256) (#1251-1256) performs a multiplication on the result of a division:
-_maxTxAmount = rSupply.div(1000).mul(maxTXPercentage_base1000) (#1255)
Elon.slitherConstructorVariables() (#458-1328) performs a multiplication on the result of a division:
-_maxTxAmount = rSupply.div(1000).mul(10) (#545)
Elon.slitherConstructorVariables() (#458-1328) performs a multiplication on the result of a division:
-_maxWalletToken = rSupply.div(1000).mul(50) (#546)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#391-408):
External calls:
- RWRD.transfer(shareholder,amount) (#399)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#401-403)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#404-406)
Reentrancy in DividendDistributor.process(uint256) (#357-383):
External calls:
- distributeDividend(shareholders[currentIndex]) (#375)
- RWRD.transfer(shareholder,amount) (#399)
State variables written after the call(s):
- currentIndex ++ (#380)
Reentrancy in DividendDistributor.setShare(address,uint256) (#313-333):
External calls:
- distributeDividend(shareholder) (#319)
- RWRD.transfer(shareholder,amount) (#399)
State variables written after the call(s):
- shares[shareholder].amount = amount (#329)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#330-332)
Apply the check-effects-interactions pattern.
Additional information: link
Elon.manage_blacklist(address[],bool).i (#1032) 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
Elon.rebase1000(uint256,int256,uint256) (#636-685) ignores return value by router.addLiquidityETH{value: msg.value}(address(this),coinAmount,0,0,address(this),block.timestamp + 300) (#674-681)
Elon.rebase_new(uint256,int256) (#687-734) ignores return value by router.addLiquidityETH{value: msg.value}(address(this),balanceOf(address(this)).div(100),0,0,address(this),block.timestamp + 300) (#723-729)
Elon.swapBack() (#1042-1099) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#1089-1096)
Ensure that all the return values of the function calls are used.
Additional information: link
Elon.setMaster(address) (#1182-1184) should emit an event for:
- master = _master (#1183)
Emit an event for critical parameter changes.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#304-311) should emit an event for:
- minPeriod = _minPeriod (#309)
- minDistribution = _minDistribution (#310)
Elon.set_sell_multiplier(uint256) (#1002-1004) should emit an event for:
- sellMultiplier = Multiplier (#1003)
Elon.set_swap_Multiplier(uint256) (#1006-1008) should emit an event for:
- swapMultiplier = Multiplier (#1007)
Elon.tradingStatus(bool,uint256) (#1012-1018) should emit an event for:
- deadBlocks = _deadBlocks (#1016)
Elon.launchStatus(uint256) (#1020-1022) should emit an event for:
- launchedAt = _launchblock (#1021)
Elon.setFees(uint256,uint256,uint256,uint256,uint256) (#1129-1145) should emit an event for:
- liquidityFee = _liquidityFee (#1136)
- reflectionFee = _reflectionFee (#1137)
- marketingFee = _marketingFee (#1138)
- devFee = _devFee (#1139)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#1140-1142)
- feeDenominator = _feeDenominator (#1143)
Elon.setSwapBackSettings(bool,uint256) (#1157-1163) should emit an event for:
- swapThreshold = rSupply.div(10000).mul(_percentage_base10000) (#1162)
Elon.setMaxWalletPercent_base1000(uint256) (#1244-1249) should emit an event for:
- _maxWalletToken = rSupply.div(1000).mul(maxWallPercent_base1000) (#1248)
Elon.setMaxTxPercent_base1000(uint256) (#1251-1256) should emit an event for:
- _maxTxAmount = rSupply.div(1000).mul(maxTXPercentage_base1000) (#1255)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#161) lacks a zero-check on :
- owner = adr (#162)
Elon.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1148) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1152)
Elon.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1149) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#1153)
Elon.setFeeReceivers(address,address,address)._devFeeReceiver (#1150) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#1154)
Elon.setMaster(address)._master (#1182) lacks a zero-check on :
- master = _master (#1183)
Elon.rescueBNB(address)._recipient (#1214) lacks a zero-check on :
- _recipient.transfer(address(this).balance) (#1215)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#391-408) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#399)
Elon.multiTransfer(address,address[],uint256[]) (#1260-1295) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],balanceOf(addresses[i_scope_0])) (#1285-1287)
Elon.multiTransfer_fixed(address,address[],uint256) (#1297-1324) has external calls inside a loop: distributor.setShare(addresses[i],balanceOf(addresses[i])) (#1314-1316)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Elon.constructor() (#737-768):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#739)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#740)
- _rBalance[msg.sender] = rSupply (#766)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#743)
- autoLiquidityReceiver = msg.sender (#762)
- devFeeReceiver = 0x7955949a8bc820E1D865D3505225779Ad4D21Ef5 (#764)
- distributor = new DividendDistributor(address(router)) (#746)
- isDividendExempt[pair] = true (#758)
- isDividendExempt[address(this)] = true (#759)
- isDividendExempt[DEAD] = true (#760)
- isFeeExempt[msg.sender] = true (#748)
- isTimelockExempt[msg.sender] = true (#754)
- isTimelockExempt[DEAD] = true (#755)
- isTimelockExempt[address(this)] = true (#756)
- isTxLimitExempt[msg.sender] = true (#749)
- isTxLimitExempt[pair] = true (#751)
- isTxLimitExempt[address(this)] = true (#752)
- marketingFeeReceiver = 0xD26eb18424Fa5b90DfcfAF416d558A14e8D0e350 (#763)
- pairContract = InterfaceLP(pair) (#742)
- rate = rSupply.div(_totalSupply) (#744)
Reentrancy in DividendDistributor.deposit() (#335-355):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#342-347)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#352-354)
- totalDividends = totalDividends.add(amount) (#351)
Reentrancy in DividendDistributor.distributeDividend(address) (#391-408):
External calls:
- RWRD.transfer(shareholder,amount) (#399)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#400)
Reentrancy in Elon.rebase1000(uint256,int256,uint256) (#636-685):
External calls:
- router.addLiquidityETH{value: msg.value}(address(this),coinAmount,0,0,address(this),block.timestamp + 300) (#674-681)
State variables written after the call(s):
- beforeRebase = false (#682)
- beforeRebase = false (#683)
Reentrancy in Elon.rebase_new(uint256,int256) (#687-734):
External calls:
- router.addLiquidityETH{value: msg.value}(address(this),balanceOf(address(this)).div(100),0,0,address(this),block.timestamp + 300) (#723-729)
State variables written after the call(s):
- beforeRebase = false (#732)
Reentrancy in DividendDistributor.setShare(address,uint256) (#313-333):
External calls:
- distributeDividend(shareholder) (#319)
- RWRD.transfer(shareholder,amount) (#399)
State variables written after the call(s):
- addShareholder(shareholder) (#323)
- shareholderIndexes[shareholder] = shareholders.length (#443)
- removeShareholder(shareholder) (#325)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#451-453)
- addShareholder(shareholder) (#323)
- shareholders.push(shareholder) (#444)
- removeShareholder(shareholder) (#325)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#448-450)
- shareholders.pop() (#454)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#328)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#385-389) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#386-388)
Elon._transferFrom(address,address,uint256) (#846-929) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,buy Cooldown exists) (#885-888)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#357-383) has costly operations inside a loop:
- currentIndex = 0 (#371)
DividendDistributor.distributeDividend(address) (#391-408) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#398)
DividendDistributor.process(uint256) (#357-383) has costly operations inside a loop:
- currentIndex ++ (#380)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMathInt.abs(int256) (#85-88) is never used and should be removed
SafeMathInt.add(int256,int256) (#79-83) is never used and should be removed
SafeMathInt.div(int256,int256) (#67-71) is never used and should be removed
SafeMathInt.sub(int256,int256) (#73-77) is never used and should be removed
Remove unused functions.
Additional information: link
Elon.totalFee (#483-484) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
Elon.swapThreshold (#535) is set pre-construction with a non-constant function or state variable:
- rSupply.div(swapMultiplier)
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 (#4) 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 Elon.swapBack() (#1042-1099):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1076-1079)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#1080-1083)
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() (#183) 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 (#256) is not in mixedCase
Variable DividendDistributor.RWRD (#264) is not in mixedCase
Variable DividendDistributor.WBNB (#265) is not in mixedCase
Function Elon.rebase_percentage(uint256) (#548-557) is not in mixedCase
Parameter Elon.rebase_percentage(uint256)._percentage_base1000 (#548) is not in mixedCase
Function Elon.rebase_percentage1000(uint256,uint256) (#559-576) is not in mixedCase
Parameter Elon.rebase_percentage1000(uint256,uint256)._percentage_base1000 (#559) is not in mixedCase
Parameter Elon.setRebaseStatus(bool)._rebaseStatus (#589) is not in mixedCase
Parameter Elon.setLPStatus(bool)._LPStatus (#594) is not in mixedCase
Function Elon.rebase_new(uint256,int256) (#687-734) is not in mixedCase
Parameter Elon.setBeforeRebase(bool)._beforeRebase (#842) is not in mixedCase
Function Elon.clearStuckBalance_sender(uint256) (#994-1000) is not in mixedCase
Function Elon.set_sell_multiplier(uint256) (#1002-1004) is not in mixedCase
Parameter Elon.set_sell_multiplier(uint256).Multiplier (#1002) is not in mixedCase
Function Elon.set_swap_Multiplier(uint256) (#1006-1008) is not in mixedCase
Parameter Elon.set_swap_Multiplier(uint256).Multiplier (#1006) is not in mixedCase
Parameter Elon.tradingStatus(bool,uint256)._status (#1012) is not in mixedCase
Parameter Elon.tradingStatus(bool,uint256)._deadBlocks (#1012) is not in mixedCase
Parameter Elon.launchStatus(uint256)._launchblock (#1020) is not in mixedCase
Function Elon.enable_blacklist(bool) (#1024-1026) is not in mixedCase
Parameter Elon.enable_blacklist(bool)._status (#1024) is not in mixedCase
Function Elon.manage_blacklist(address[],bool) (#1028-1035) is not in mixedCase
Parameter Elon.cooldownEnabled(bool,uint8)._status (#1037) is not in mixedCase
Parameter Elon.cooldownEnabled(bool,uint8)._interval (#1037) is not in mixedCase
Parameter Elon.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#1130) is not in mixedCase
Parameter Elon.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#1131) is not in mixedCase
Parameter Elon.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#1132) is not in mixedCase
Parameter Elon.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#1133) is not in mixedCase
Parameter Elon.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#1134) is not in mixedCase
Parameter Elon.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1148) is not in mixedCase
Parameter Elon.setFeeReceivers(address,address,address)._marketingFeeReceiver (#1149) is not in mixedCase
Parameter Elon.setFeeReceivers(address,address,address)._devFeeReceiver (#1150) is not in mixedCase
Parameter Elon.setSwapBackSettings(bool,uint256)._enabled (#1157) is not in mixedCase
Parameter Elon.setSwapBackSettings(bool,uint256)._percentage_base10000 (#1157) is not in mixedCase
Parameter Elon.setTargetLiquidity(uint256,uint256)._target (#1165) is not in mixedCase
Parameter Elon.setTargetLiquidity(uint256,uint256)._denominator (#1165) is not in mixedCase
Parameter Elon.setLP(address)._address (#1177) is not in mixedCase
Parameter Elon.setMaster(address)._master (#1182) is not in mixedCase
Parameter Elon.setDistributionCriteria(uint256,uint256)._minPeriod (#1194) is not in mixedCase
Parameter Elon.setDistributionCriteria(uint256,uint256)._minDistribution (#1194) is not in mixedCase
Parameter Elon.rescueBNB(address)._recipient (#1214) is not in mixedCase
Function Elon.setMaxWalletPercent_base1000(uint256) (#1244-1249) is not in mixedCase
Parameter Elon.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#1244) is not in mixedCase
Function Elon.setMaxTxPercent_base1000(uint256) (#1251-1256) is not in mixedCase
Parameter Elon.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#1251) is not in mixedCase
Function Elon.multiTransfer_fixed(address,address[],uint256) (#1297-1324) is not in mixedCase
Variable Elon.WBNB (#462) is not in mixedCase
Variable Elon.DEAD (#463) is not in mixedCase
Variable Elon.ZERO (#464) is not in mixedCase
Constant Elon._name (#466) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Elon._symbol (#467) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Elon._decimals (#468) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Elon._rBalance (#471) is not in mixedCase
Variable Elon._allowances (#472) is not in mixedCase
Variable Elon._isBot (#473) is not in mixedCase
Variable Elon.LPStatus (#509) is not in mixedCase
Variable Elon.rebase_count (#536) is not in mixedCase
Variable Elon._totalSupply (#538) is not in mixedCase
Constant Elon.rSupply (#541-542) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Elon._maxTxAmount (#545) is not in mixedCase
Variable Elon._maxWalletToken (#546) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#188) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#189)
Prevent variables from having similar names.
Additional information: link
Elon.setDistributorSettings(uint256) (#1201-1204) uses literals with too many digits:
- require(bool)(gas < 900000) (#1202)
Elon.slitherConstructorVariables() (#458-1328) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#463)
Elon.slitherConstructorVariables() (#458-1328) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#464)
Elon.slitherConstructorVariables() (#458-1328) uses literals with too many digits:
- distributorGas = 500000 (#511)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#57) is never used in SafeMathInt (#55-89)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#265) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#278) should be constant
Elon.DEAD (#463) should be constant
Elon.WBNB (#462) should be constant
Elon.ZERO (#464) 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) (#145-147)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#149-151)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#161-165)
rebase_percentage(uint256) should be declared external:
- Elon.rebase_percentage(uint256) (#548-557)
rebase_percentage1000(uint256,uint256) should be declared external:
- Elon.rebase_percentage1000(uint256,uint256) (#559-576)
setRebaseStatus(bool) should be declared external:
- Elon.setRebaseStatus(bool) (#589-592)
setLPStatus(bool) should be declared external:
- Elon.setLPStatus(bool) (#594-597)
setBeforeRebase(bool) should be declared external:
- Elon.setBeforeRebase(bool) (#842-844)
tradingStatus(bool,uint256) should be declared external:
- Elon.tradingStatus(bool,uint256) (#1012-1018)
launchStatus(uint256) should be declared external:
- Elon.launchStatus(uint256) (#1020-1022)
enable_blacklist(bool) should be declared external:
- Elon.enable_blacklist(bool) (#1024-1026)
manage_blacklist(address[],bool) should be declared external:
- Elon.manage_blacklist(address[],bool) (#1028-1035)
cooldownEnabled(bool,uint8) should be declared external:
- Elon.cooldownEnabled(bool,uint8) (#1037-1040)
rescueToken(address,uint256) should be declared external:
- Elon.rescueToken(address,uint256) (#1206-1212)
rescueBNB(address) should be declared external:
- Elon.rescueBNB(address) (#1214-1216)
isOverLiquified(uint256,uint256) should be declared external:
- Elon.isOverLiquified(uint256,uint256) (#1228-1234)
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.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
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
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
Young tokens have high risks of scam / 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
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account