✅COLD WALLET + BUSD Rewards
✅ PRESALE ON PINKSALE
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SonOfHades.swapBack() (#641-683) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
SonOfHades.buyTokens(uint256,address) (#712-723) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SonOfHades._transferFrom(address,address,uint256) (#562-585):
External calls:
- swapBack() (#567)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#651-657)
- distributor.deposit{value: amountBNBReflection}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
External calls sending eth:
- swapBack() (#567)
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#572)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#576)
- amountReceived = takeFee(sender,recipient,amount) (#574)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#628)
- triggerAutoBuyback() (#568)
- inSwap = true (#493)
- inSwap = false (#493)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#379-390) ignores return value by BUSD.transfer(shareholder,amount) (#385)
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.
SonOfHades.onlyBuybacker() (#533) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (#533)
Remove the equality to the boolean constant.
Additional information: link
Pragma version^0.8.0 (#45) allows old versions
solc-0.8.0 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
SonOfHades.BUSD (#427) is never used in SonOfHades (#423-823)
SonOfHades.DEAD_NON_CHECKSUM (#431) is never used in SonOfHades (#423-823)
Remove unused state variables.
Additional information: link
DividendDistributor.distributeDividend(address) (#379-390) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#385)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in SonOfHades.constructor(address,address) (#495-524):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#500)
State variables written after the call(s):
- WBNB = router.WETH() (#502)
Reentrancy in DividendDistributor.distributeDividend(address) (#379-390):
External calls:
- BUSD.transfer(shareholder,amount) (#385)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#387)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#388)
Reentrancy in DividendDistributor.process(uint256) (#348-372):
External calls:
- distributeDividend(shareholders[currentIndex]) (#364)
- BUSD.transfer(shareholder,amount) (#385)
State variables written after the call(s):
- currentIndex ++ (#369)
Reentrancy in DividendDistributor.setShare(address,uint256) (#312-326):
External calls:
- distributeDividend(shareholder) (#314)
- BUSD.transfer(shareholder,amount) (#385)
State variables written after the call(s):
- shares[shareholder].amount = amount (#324)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#325)
Apply the check-effects-interactions pattern.
Additional information: link
SonOfHades.swapBack() (#641-683) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#307-310) should emit an event for:
- minPeriod = _minPeriod (#308)
- minDistribution = _minDistribution (#309)
SonOfHades.setAutoBuybackSettings(bool,uint256,uint256,uint256) (#725-732) should emit an event for:
- autoBuybackCap = _cap (#727)
- autoBuybackAmount = _amount (#729)
SonOfHades.setBuybackMultiplierSettings(uint256,uint256,uint256) (#734-739) should emit an event for:
- buybackMultiplierNumerator = numerator (#736)
- buybackMultiplierDenominator = denominator (#737)
- buybackMultiplierLength = length (#738)
SonOfHades.setTxLimit(uint256) (#751-754) should emit an event for:
- _maxTxAmount = amount (#753)
SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256) (#774-782) should emit an event for:
- liquidityFee = _liquidityFee (#775)
- reflectionFee = _reflectionFee (#777)
- marketingFee = _marketingFee (#778)
- totalFee = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_marketingFee) (#779)
- feeDenominator = _feeDenominator (#780)
SonOfHades.setSwapBackSettings(bool,uint256) (#789-792) should emit an event for:
- swapThreshold = _amount (#791)
SonOfHades.setTargetLiquidity(uint256,uint256) (#794-797) should emit an event for:
- targetLiquidity = _target (#795)
- targetLiquidityDenominator = _denominator (#796)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#178) lacks a zero-check on :
- owner = adr (#179)
SonOfHades.setFeeReceivers(address,address)._autoLiquidityReceiver (#784) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#785)
SonOfHades.setFeeReceivers(address,address)._marketingFeeReceiver (#784) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#786)
Check that the address is not zero.
Additional information: link
Reentrancy in SonOfHades.constructor(address,address) (#495-524):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#500)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#501)
- approve(_dexRouter,_totalSupply) (#516)
- _allowances[msg.sender][spender] = amount (#538)
- approve(address(pair),_totalSupply) (#517)
- _allowances[msg.sender][spender] = amount (#538)
- _balances[msg.sender] = _totalSupply (#518)
- antiBotEnabled = true (#520)
- autoLiquidityReceiver = msg.sender (#513)
- buyBacker[msg.sender] = true (#511)
- distributor = new DividendDistributor(_dexRouter) (#503)
- distributorAddress = address(distributor) (#504)
- isDividendExempt[pair] = true (#508)
- isDividendExempt[address(this)] = true (#509)
- isDividendExempt[DEAD] = true (#510)
- isFeeExempt[msg.sender] = true (#506)
- isTxLimitExempt[msg.sender] = true (#507)
- marketingFeeReceiver = msg.sender (#514)
- pinkAntiBot = IPinkAntiBot(pinkAntiBot_) (#521)
Reentrancy in DividendDistributor.deposit() (#328-346):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#335-340)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#345)
- totalDividends = totalDividends.add(amount) (#344)
Reentrancy in DividendDistributor.distributeDividend(address) (#379-390):
External calls:
- BUSD.transfer(shareholder,amount) (#385)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#386)
Reentrancy in DividendDistributor.setShare(address,uint256) (#312-326):
External calls:
- distributeDividend(shareholder) (#314)
- BUSD.transfer(shareholder,amount) (#385)
State variables written after the call(s):
- addShareholder(shareholder) (#318)
- shareholderIndexes[shareholder] = shareholders.length (#412)
- removeShareholder(shareholder) (#320)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#418)
- addShareholder(shareholder) (#318)
- shareholders.push(shareholder) (#413)
- removeShareholder(shareholder) (#320)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#417)
- shareholders.pop() (#419)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#323)
Reentrancy in SonOfHades.transferFrom(address,address,uint256) (#551-560):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#553)
State variables written after the call(s):
- _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount,Insufficient Allowance) (#556)
Reentrancy in SonOfHades.triggerAutoBuyback() (#705-710):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#706)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#708)
- autoBuybackBlockLast = block.number (#707)
- autoBuybackEnabled = false (#709)
Reentrancy in SonOfHades.triggerZeusBuyback(uint256,bool) (#693-699):
External calls:
- buyTokens(amount,DEAD) (#694)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#696)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SonOfHades._transferFrom(address,address,uint256) (#562-585):
External calls:
- swapBack() (#567)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#651-657)
- distributor.deposit{value: amountBNBReflection}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
- distributor.setShare(sender,_balances[sender]) (#578)
- distributor.setShare(recipient,_balances[recipient]) (#579)
- distributor.process(distributorGas) (#581)
External calls sending eth:
- swapBack() (#567)
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#583)
Reentrancy in SonOfHades._transferFrom(address,address,uint256) (#562-585):
External calls:
- swapBack() (#567)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#651-657)
- distributor.deposit{value: amountBNBReflection}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
External calls sending eth:
- swapBack() (#567)
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#629)
- amountReceived = takeFee(sender,recipient,amount) (#574)
Reentrancy in SonOfHades.constructor(address,address) (#495-524):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#500)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#539)
- approve(address(pair),_totalSupply) (#517)
- Approval(msg.sender,spender,amount) (#539)
- approve(_dexRouter,_totalSupply) (#516)
Reentrancy in SonOfHades.constructor(address,address) (#495-524):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#500)
- pinkAntiBot.setTokenOwner(msg.sender) (#522)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#523)
Reentrancy in SonOfHades.swapBack() (#641-683):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#651-657)
- distributor.deposit{value: amountBNBReflection}() (#667)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#681)
Reentrancy in SonOfHades.transferFrom(address,address,uint256) (#551-560):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#553)
- _transferFrom(sender,recipient,amount) (#559)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#651-657)
- distributor.deposit{value: amountBNBReflection}() (#667)
- distributor.setShare(sender,_balances[sender]) (#578)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- distributor.setShare(recipient,_balances[recipient]) (#579)
- distributor.process(distributorGas) (#581)
External calls sending eth:
- _transferFrom(sender,recipient,amount) (#559)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#681)
- _transferFrom(sender,recipient,amount) (#559)
- Transfer(sender,address(this),feeAmount) (#629)
- _transferFrom(sender,recipient,amount) (#559)
- Transfer(sender,recipient,amountReceived) (#583)
- _transferFrom(sender,recipient,amount) (#559)
Reentrancy in SonOfHades.triggerZeusBuyback(uint256,bool) (#693-699):
External calls:
- buyTokens(amount,DEAD) (#694)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#697)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#374-377) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#375-376)
SonOfHades.getMultipliedFee() (#614-623) uses timestamp for comparisons
Dangerous comparisons:
- launchedAtTimestamp + 86400 > block.timestamp (#615)
- buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#617)
SonOfHades.shouldSwapBack() (#634-639) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (#635-638)
SonOfHades.isOverLiquified(uint256,uint256) (#816-818) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#817)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#348-372) has costly operations inside a loop:
- currentIndex = 0 (#360)
DividendDistributor.distributeDividend(address) (#379-390) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#384)
DividendDistributor.process(uint256) (#348-372) has costly operations inside a loop:
- currentIndex ++ (#369)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.div(uint256,uint256,string) (#115-120) is never used and should be removed
SafeMath.mod(uint256,uint256) (#104-106) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#122-127) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#50-56) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#74-79) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#81-86) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#65-72) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#58-63) is never used and should be removed
SonOfHades.launched() (#741-743) is never used and should be removed
Remove unused functions.
Additional information: link
SonOfHades._maxTxAmount (#438) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(400)
SonOfHades.swapThreshold (#487) 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
Function IDEXRouter.WETH() (#193) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#307) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#307) is not in mixedCase
Variable DividendDistributor._token (#260) is not in mixedCase
Variable DividendDistributor.BUSD (#268) is not in mixedCase
Variable DividendDistributor.WBNB (#269) is not in mixedCase
Parameter SonOfHades.setEnableAntiBot(bool)._enable (#594) is not in mixedCase
Parameter SonOfHades.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#725) is not in mixedCase
Parameter SonOfHades.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#725) is not in mixedCase
Parameter SonOfHades.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#725) is not in mixedCase
Parameter SonOfHades.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#725) is not in mixedCase
Parameter SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#774) is not in mixedCase
Parameter SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256)._buybackFee (#774) is not in mixedCase
Parameter SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#774) is not in mixedCase
Parameter SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#774) is not in mixedCase
Parameter SonOfHades.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#774) is not in mixedCase
Parameter SonOfHades.setFeeReceivers(address,address)._autoLiquidityReceiver (#784) is not in mixedCase
Parameter SonOfHades.setFeeReceivers(address,address)._marketingFeeReceiver (#784) is not in mixedCase
Parameter SonOfHades.setSwapBackSettings(bool,uint256)._enabled (#789) is not in mixedCase
Parameter SonOfHades.setSwapBackSettings(bool,uint256)._amount (#789) is not in mixedCase
Parameter SonOfHades.setTargetLiquidity(uint256,uint256)._target (#794) is not in mixedCase
Parameter SonOfHades.setTargetLiquidity(uint256,uint256)._denominator (#794) is not in mixedCase
Parameter SonOfHades.setDistributionCriteria(uint256,uint256)._minPeriod (#799) is not in mixedCase
Parameter SonOfHades.setDistributionCriteria(uint256,uint256)._minDistribution (#799) is not in mixedCase
Variable SonOfHades.BUSD (#427) is not in mixedCase
Variable SonOfHades.WBNB (#428) is not in mixedCase
Variable SonOfHades.DEAD (#429) is not in mixedCase
Variable SonOfHades.ZERO (#430) is not in mixedCase
Variable SonOfHades.DEAD_NON_CHECKSUM (#431) is not in mixedCase
Constant SonOfHades._name (#433) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SonOfHades._symbol (#434) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SonOfHades._decimals (#435) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SonOfHades._totalSupply (#437) is not in mixedCase
Variable SonOfHades._maxTxAmount (#438) is not in mixedCase
Variable SonOfHades._balances (#440) is not in mixedCase
Variable SonOfHades._allowances (#441) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in SonOfHades._transferFrom(address,address,uint256) (#562-585):
External calls:
- swapBack() (#567)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
External calls sending eth:
- swapBack() (#567)
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
- triggerAutoBuyback() (#568)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#717-722)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#572)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#576)
- amountReceived = takeFee(sender,recipient,amount) (#574)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#628)
- triggerAutoBuyback() (#568)
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#708)
- triggerAutoBuyback() (#568)
- autoBuybackBlockLast = block.number (#707)
- triggerAutoBuyback() (#568)
- autoBuybackEnabled = false (#709)
- triggerAutoBuyback() (#568)
- inSwap = true (#493)
- inSwap = false (#493)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#629)
- amountReceived = takeFee(sender,recipient,amount) (#574)
- Transfer(sender,recipient,amountReceived) (#583)
Reentrancy in SonOfHades.swapBack() (#641-683):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#667)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#668)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#673-680)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#681)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#198) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#199)
Prevent variables from having similar names.
Additional information: link
SonOfHades.slitherConstructorVariables() (#423-823) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#429)
SonOfHades.slitherConstructorVariables() (#423-823) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#430)
SonOfHades.slitherConstructorVariables() (#423-823) uses literals with too many digits:
- DEAD_NON_CHECKSUM = 0x000000000000000000000000000000000000dEaD (#431)
SonOfHades.slitherConstructorVariables() (#423-823) uses literals with too many digits:
- distributorGas = 500000 (#482)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.WBNB (#269) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#282) should be constant
SonOfHades.BUSD (#427) should be constant
SonOfHades.DEAD (#429) should be constant
SonOfHades.DEAD_NON_CHECKSUM (#431) should be constant
SonOfHades.ZERO (#430) should be constant
SonOfHades._totalSupply (#437) 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) (#162-164)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#166-168)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#178-182)
launch() should be declared external:
- SonOfHades.launch() (#745-749)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account