Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BabyMystery.swapBack() (#703-746) sends eth to arbitrary user
Dangerous calls:
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BabyMystery._transferFrom(address,address,uint256) (#551-596):
External calls:
- swapBack() (#575)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#714-720)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
External calls sending eth:
- swapBack() (#575)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#578)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#581)
- amountReceived = takeFee(sender,amount) (#580)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#677)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#324-335) ignores return value by BETH.transfer(shareholder,amount) (#330)
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.
Reentrancy in DividendDistributor.distributeDividend(address) (#324-335):
External calls:
- BETH.transfer(shareholder,amount) (#330)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#332)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#333)
Reentrancy in DividendDistributor.process(uint256) (#293-317):
External calls:
- distributeDividend(shareholders[currentIndex]) (#309)
- BETH.transfer(shareholder,amount) (#330)
State variables written after the call(s):
- currentIndex ++ (#314)
Reentrancy in DividendDistributor.setShare(address,uint256) (#257-271):
External calls:
- distributeDividend(shareholder) (#259)
- BETH.transfer(shareholder,amount) (#330)
State variables written after the call(s):
- shares[shareholder].amount = amount (#269)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#270)
Apply the check-effects-interactions pattern.
Additional information: link
BabyMystery.swapBack() (#703-746) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#252-255) should emit an event for:
- minPeriod = _minPeriod (#253)
- minDistribution = _minDistribution (#254)
BabyMystery.setMaxWalletPercent(uint256) (#537-540) should emit an event for:
- _maxWalletToken = _totalSupply.mul(maxWallPercent).div(10000) (#538)
BabyMystery.cooldownEnabled(bool,uint8) (#697-700) should emit an event for:
- cooldownTimerInterval = _interval (#699)
BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool) (#800-808) should emit an event for:
- autoBuybackCap = _cap (#802)
- autoBuybackAmount = _amount (#804)
BabyMystery.setBuybackMultiplierSettings(uint256,uint256,uint256) (#811-816) should emit an event for:
- buybackMultiplierNumerator = numerator (#813)
- buybackMultiplierDenominator = denominator (#814)
- buybackMultiplierLength = length (#815)
BabyMystery.setBuyTxLimitInPercent(uint256) (#829-831) should emit an event for:
- _maxBuyTxAmount = _totalSupply.mul(maxBuyTxPercent).div(10000) (#830)
BabyMystery.setSellTxLimitInPercent(uint256) (#834-836) should emit an event for:
- _maxSellTxAmount = _totalSupply.mul(maxSellTxPercent).div(10000) (#835)
BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256) (#865-872) should emit an event for:
- liquidityFeeBuy = _liquidityFeeBuy (#866)
- buybackFeeBuy = _buybackFeeBuy (#867)
- reflectionFeeBuy = _reflectionFeeBuy (#868)
- marketingFeeBuy = _marketingFeeBuy (#869)
- totalFeeBuy = _liquidityFeeBuy.add(_buybackFeeBuy).add(_reflectionFeeBuy).add(_marketingFeeBuy).add(devFeeBuy) (#870)
- feeDenominator = _feeDenominator (#871)
BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256) (#875-883) should emit an event for:
- liquidityFeeSell = _liquidityFeeSell (#876)
- buybackFeeSell = _buybackFeeSell (#877)
- reflectionFeeSell = _reflectionFeeSell (#878)
- marketingFeeSell = _marketingFeeSell (#879)
- totalFeeSell = _liquidityFeeSell.add(_buybackFeeSell).add(_reflectionFeeSell).add(_marketingFeeSell).add(devFeeSell) (#881)
- feeDenominator = _feeDenominator (#882)
BabyMystery.setSwapBackSettings(bool,uint256) (#892-895) should emit an event for:
- swapThreshold = _totalSupply * _amount / 10000 (#894)
BabyMystery.setTargetLiquidity(uint256,uint256) (#898-901) should emit an event for:
- targetLiquidity = _target (#899)
- targetLiquidityDenominator = _denominator (#900)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).account (#129) lacks a zero-check on :
- owner = account (#130)
BabyMystery.setTokenDistributor(address)._tokenDistributor (#543) lacks a zero-check on :
- TOKENDISTRIBUTOR = _tokenDistributor (#544)
BabyMystery.setFeeReceivers(address,address)._autoLiquidityReceiver (#886) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#887)
BabyMystery.setFeeReceivers(address,address)._marketingFeeReceiver (#886) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#888)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#324-335) has external calls inside a loop: BETH.transfer(shareholder,amount) (#330)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in BabyMystery.constructor() (#471-501):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#473)
State variables written after the call(s):
- TOKENDISTRIBUTOR = msg.sender (#479)
- _allowances[address(this)][address(router)] = type()(uint256).max (#474)
- _balances[_presaler] = _totalSupply (#499)
- autoLiquidityReceiver = msg.sender (#496)
- distributor = new DividendDistributor(address(router)) (#476)
- isDividendExempt[pair] = true (#491)
- isDividendExempt[address(this)] = true (#492)
- isDividendExempt[DEAD] = true (#493)
- isFeeExempt[_presaler] = true (#481)
- isTimelockExempt[msg.sender] = true (#485)
- isTimelockExempt[DEAD] = true (#486)
- isTimelockExempt[address(this)] = true (#487)
- isTimelockExempt[DEV] = true (#488)
- isTxLimitExempt[_presaler] = true (#482)
- marketingFeeReceiver = msg.sender (#497)
Reentrancy in DividendDistributor.deposit() (#273-291):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#280-285)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#290)
- totalDividends = totalDividends.add(amount) (#289)
Reentrancy in DividendDistributor.distributeDividend(address) (#324-335):
External calls:
- BETH.transfer(shareholder,amount) (#330)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#331)
Reentrancy in DividendDistributor.setShare(address,uint256) (#257-271):
External calls:
- distributeDividend(shareholder) (#259)
- BETH.transfer(shareholder,amount) (#330)
State variables written after the call(s):
- addShareholder(shareholder) (#263)
- shareholderIndexes[shareholder] = shareholders.length (#357)
- removeShareholder(shareholder) (#265)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#363)
- addShareholder(shareholder) (#263)
- shareholders.push(shareholder) (#358)
- removeShareholder(shareholder) (#265)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#362)
- shareholders.pop() (#364)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#268)
Reentrancy in BabyMystery.triggerAutoBuyback() (#774-783):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#775)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#791-796)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#781)
- autoBuybackBlockLast = block.number (#780)
- autoBuybackEnabled = false (#782)
- buybackMultiplierTriggeredAt = block.timestamp (#777)
Reentrancy in BabyMystery.triggerManualBuyback(uint256,bool) (#758-766):
External calls:
- buyTokens(amountToBuy,DEAD) (#761)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#791-796)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#763)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyMystery._transferFrom(address,address,uint256) (#551-596):
External calls:
- swapBack() (#575)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#714-720)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
- distributor.setShare(sender,_balances[sender]) (#585)
- distributor.setShare(recipient,_balances[recipient]) (#589)
- distributor.process(distributorGas) (#592)
External calls sending eth:
- swapBack() (#575)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#594)
Reentrancy in BabyMystery._transferFrom(address,address,uint256) (#551-596):
External calls:
- swapBack() (#575)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#714-720)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
External calls sending eth:
- swapBack() (#575)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#678)
- amountReceived = takeFee(sender,amount) (#580)
Reentrancy in BabyMystery.constructor() (#471-501):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#473)
Event emitted after the call(s):
- Transfer(address(0),_presaler,_totalSupply) (#500)
Reentrancy in BabyMystery.swapBack() (#703-746):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#714-720)
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#729)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#736-743)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#744)
Reentrancy in BabyMystery.triggerAutoBuyback() (#774-783):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#775)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#791-796)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#778)
Reentrancy in BabyMystery.triggerManualBuyback(uint256,bool) (#758-766):
External calls:
- buyTokens(amountToBuy,DEAD) (#761)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#791-796)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#764)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#319-322) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#320-321)
BabyMystery.checkBuyCooldown(address,address) (#637-644) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait between two buys) (#641)
BabyMystery.getTotalFee(bool) (#660-664) uses timestamp for comparisons
Dangerous comparisons:
- selling && buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#662)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#293-317) has costly operations inside a loop:
- currentIndex = 0 (#305)
DividendDistributor.distributeDividend(address) (#324-335) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#329)
DividendDistributor.process(uint256) (#293-317) has costly operations inside a loop:
- currentIndex ++ (#314)
Use a local variable to hold the loop computation result.
Additional information: link
BabyMystery.launch() (#824-826) is never used and should be removed
BabyMystery.launched() (#819-821) is never used and should be removed
BabyMystery.shouldAutoBuyback() (#749-755) is never used and should be removed
BabyMystery.triggerAutoBuyback() (#774-783) is never used and should be removed
Remove unused functions.
Additional information: link
BabyMystery._maxBuyTxAmount (#394) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 10000
BabyMystery._maxSellTxAmount (#395) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 10000
BabyMystery._maxWalletToken (#396) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 200) / 10000
BabyMystery.swapThreshold (#432) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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
Low level call in BabyMystery.swapBack() (#703-746):
- (successMarketing) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#730)
- (successDev) = address(DEV).call{gas: 30000,value: amountBNBDev}() (#731)
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() (#146) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#252) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#252) is not in mixedCase
Variable DividendDistributor._token (#204) is not in mixedCase
Variable DividendDistributor.BETH (#213) is not in mixedCase
Variable DividendDistributor.WBNB (#214) is not in mixedCase
Parameter BabyMystery.setTokenDistributor(address)._tokenDistributor (#543) is not in mixedCase
Parameter BabyMystery.tradingStatus(bool)._status (#692) is not in mixedCase
Parameter BabyMystery.cooldownEnabled(bool,uint8)._status (#697) is not in mixedCase
Parameter BabyMystery.cooldownEnabled(bool,uint8)._interval (#697) is not in mixedCase
Parameter BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._enabled (#800) is not in mixedCase
Parameter BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._cap (#800) is not in mixedCase
Parameter BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._amount (#800) is not in mixedCase
Parameter BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._period (#800) is not in mixedCase
Parameter BabyMystery.setAutoBuybackSettings(bool,uint256,uint256,uint256,bool)._autoBuybackMultiplier (#800) is not in mixedCase
Parameter BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256)._liquidityFeeBuy (#865) is not in mixedCase
Parameter BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256)._buybackFeeBuy (#865) is not in mixedCase
Parameter BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256)._reflectionFeeBuy (#865) is not in mixedCase
Parameter BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256)._marketingFeeBuy (#865) is not in mixedCase
Parameter BabyMystery.setBuyFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#865) is not in mixedCase
Parameter BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256)._liquidityFeeSell (#875) is not in mixedCase
Parameter BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256)._buybackFeeSell (#875) is not in mixedCase
Parameter BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256)._reflectionFeeSell (#875) is not in mixedCase
Parameter BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256)._marketingFeeSell (#875) is not in mixedCase
Parameter BabyMystery.setSellFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#875) is not in mixedCase
Parameter BabyMystery.setFeeReceivers(address,address)._autoLiquidityReceiver (#886) is not in mixedCase
Parameter BabyMystery.setFeeReceivers(address,address)._marketingFeeReceiver (#886) is not in mixedCase
Parameter BabyMystery.setSwapBackSettings(bool,uint256)._enabled (#892) is not in mixedCase
Parameter BabyMystery.setSwapBackSettings(bool,uint256)._amount (#892) is not in mixedCase
Parameter BabyMystery.setTargetLiquidity(uint256,uint256)._target (#898) is not in mixedCase
Parameter BabyMystery.setTargetLiquidity(uint256,uint256)._denominator (#898) is not in mixedCase
Parameter BabyMystery.setDistributionCriteria(uint256,uint256)._minPeriod (#910) is not in mixedCase
Parameter BabyMystery.setDistributionCriteria(uint256,uint256)._minDistribution (#910) is not in mixedCase
Variable BabyMystery.BETH (#373) is not in mixedCase
Variable BabyMystery.WBNB (#374) is not in mixedCase
Variable BabyMystery.DEAD (#375) is not in mixedCase
Variable BabyMystery.ZERO (#376) is not in mixedCase
Variable BabyMystery.DEV (#377) is not in mixedCase
Variable BabyMystery.TOKENDISTRIBUTOR (#379) is not in mixedCase
Constant BabyMystery._name (#386) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BabyMystery._symbol (#387) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BabyMystery._decimals (#388) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyMystery._totalSupply (#391) is not in mixedCase
Variable BabyMystery._maxBuyTxAmount (#394) is not in mixedCase
Variable BabyMystery._maxSellTxAmount (#395) is not in mixedCase
Variable BabyMystery._maxWalletToken (#396) is not in mixedCase
Variable BabyMystery._balances (#399) is not in mixedCase
Variable BabyMystery._allowances (#400) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#151) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#152)
Prevent variables from having similar names.
Additional information: link
BabyMystery.slitherConstructorVariables() (#369-948) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#375)
BabyMystery.slitherConstructorVariables() (#369-948) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#376)
BabyMystery.slitherConstructorVariables() (#369-948) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#391)
BabyMystery.slitherConstructorVariables() (#369-948) uses literals with too many digits:
- distributorGas = 500000 (#453)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyMystery.BETH (#373) is never used in BabyMystery (#369-948)
Remove unused state variables.
Additional information: link
BabyMystery.BETH (#373) should be constant
BabyMystery.DEAD (#375) should be constant
BabyMystery.DEV (#377) should be constant
BabyMystery.WBNB (#374) should be constant
BabyMystery.ZERO (#376) should be constant
BabyMystery._totalSupply (#391) should be constant
BabyMystery.devFeeBuy (#411) should be constant
BabyMystery.devFeeSell (#419) should be constant
DividendDistributor.WBNB (#214) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#227) 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) (#101-103)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#108-110)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#129-133)
getTotalFee(bool) should be declared external:
- BabyMystery.getTotalFee(bool) (#660-664)
tradingStatus(bool) should be declared external:
- BabyMystery.tradingStatus(bool) (#692-694)
cooldownEnabled(bool,uint8) should be declared external:
- BabyMystery.cooldownEnabled(bool,uint8) (#697-700)
getUnpaidEarnings(address) should be declared external:
- BabyMystery.getUnpaidEarnings(address) (#920-922)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Contract has 12% buy tax and 25% 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 volume is low.
Average 30d number of PancakeSwap swaps 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
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