Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BABYASIX.clearBalance() (#417-420) sends eth to arbitrary user
Dangerous calls:
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#418)
BABYASIX.swapBack() (#429-476) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BABYASIX._transferFrom(address,address,uint256) (#363-380):
External calls:
- swapBack() (#371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
External calls sending eth:
- swapBack() (#371)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#373)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#376)
- amountReceived = takeFee(sender,recipient,amount) (#375)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#400)
Reentrancy in BABYASIX.swapBack() (#429-476):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
State variables written after the call(s):
- swapThreshold = swapThreshold (#475)
- swapThreshold = largeSwapThreshold (#475)
- swapThreshold = smallSwapThreshold (#475)
Apply the check-effects-interactions pattern.
Additional information: link
Token is flagged by TokenSniffer due to presence of exploit in contract code
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.
Contract ownership is not renounced (belongs to a wallet)
BABYASIX.swapBack().success_scope_0 (#458) 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
BABYASIX.swapBack() (#429-476) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
Ensure that all the return values of the function calls are used.
Additional information: link
BABYASIX.setTargetLiquidity(uint256,uint256) (#406-409) should emit an event for:
- targetLiquidity = _target (#407)
- targetLiquidityDenominator = _denominator (#408)
BABYASIX.setSwapBackSettings(bool,uint256,uint256,bool) (#486-492) should emit an event for:
- smallSwapThreshold = _amountS (#489)
- largeSwapThreshold = _amountL (#490)
- swapThreshold = smallSwapThreshold (#491)
Emit an event for critical parameter changes.
Additional information: link
BABYASIX.constructor().deployer (#305) lacks a zero-check on :
- autoLiquidityReceiver = deployer (#315)
- giveawayFeeReceiver = deployer (#316)
- marketingFeeReceiver = deployer (#317)
BABYASIX.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#512) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#513)
BABYASIX.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#512) lacks a zero-check on :
- giveawayFeeReceiver = _giveawayFeeReceiver (#514)
BABYASIX.setFeeReceivers(address,address,address)._marketingFeeReceiver (#512) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#515)
Check that the address is not zero.
Additional information: link
BABYASIX.swapBack() (#429-476) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
BABYASIX.swapBack() (#429-476) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
BABYASIX.swapBack() (#429-476) has external calls inside a loop: router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
BABYASIX.swapBack() (#429-476) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
BABYASIX.swapBack() (#429-476) has external calls inside a loop: (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'BABYASIX.swapBack().success (#455)' in BABYASIX.swapBack() (#429-476) potentially used before declaration: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in BABYASIX.constructor() (#303-321):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#307)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#308)
- _allowances[address(this)][deployer] = type()(uint256).max (#309)
- _balances[deployer] = _totalSupply (#319)
- autoLiquidityReceiver = deployer (#315)
- giveawayFeeReceiver = deployer (#316)
- isFeeExempt[deployer] = true (#314)
- isTxLimitExempt[address(this)] = true (#311)
- isTxLimitExempt[address(router)] = true (#312)
- isTxLimitExempt[deployer] = true (#313)
- marketingFeeReceiver = deployer (#317)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BABYASIX._transferFrom(address,address,uint256) (#363-380):
External calls:
- swapBack() (#371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
External calls sending eth:
- swapBack() (#371)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#401)
- amountReceived = takeFee(sender,recipient,amount) (#375)
- Transfer(sender,recipient,amountReceived) (#378)
Reentrancy in BABYASIX.constructor() (#303-321):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#307)
Event emitted after the call(s):
- Transfer(address(0),deployer,_totalSupply) (#320)
Reentrancy in BABYASIX.swapBack() (#429-476):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#440-446)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#464-471)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#472)
Apply the check-effects-interactions pattern.
Additional information: link
BABYASIX.swapping() (#301) has costly operations inside a loop:
- inSwap = true (#301)
BABYASIX.swapping() (#301) has costly operations inside a loop:
- inSwap = false (#301)
BABYASIX.swapBack() (#429-476) has costly operations inside a loop:
- swapThreshold = swapThreshold (#475)
BABYASIX.swapBack() (#429-476) has costly operations inside a loop:
- swapThreshold = largeSwapThreshold (#475)
BABYASIX.swapBack() (#429-476) has costly operations inside a loop:
- swapThreshold = smallSwapThreshold (#475)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#138-141) is never used and should be removed
Remove unused functions.
Additional information: link
BABYASIX._transferLimit (#266) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 1000
BABYASIX._maxWalletSize (#267) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
BABYASIX.smallSwapThreshold (#296) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(413945130).div(100000000000)
BABYASIX.largeSwapThreshold (#297) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(469493726).div(100000000000)
BABYASIX.swapThreshold (#299) is set pre-construction with a non-constant function or state variable:
- smallSwapThreshold
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.8.11 (#21) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in BABYASIX.clearBalance() (#417-420):
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#418)
Low level call in BABYASIX.swapBack() (#429-476):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#455)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#458)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#459)
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() (#155) is not in mixedCase
Parameter BABYASIX.setTargetLiquidity(uint256,uint256)._target (#406) is not in mixedCase
Parameter BABYASIX.setTargetLiquidity(uint256,uint256)._denominator (#406) is not in mixedCase
Parameter BABYASIX.setSwapBackSettings(bool,uint256,uint256,bool)._enabled (#486) is not in mixedCase
Parameter BABYASIX.setSwapBackSettings(bool,uint256,uint256,bool)._amountS (#486) is not in mixedCase
Parameter BABYASIX.setSwapBackSettings(bool,uint256,uint256,bool)._amountL (#486) is not in mixedCase
Parameter BABYASIX.setSwapBackSettings(bool,uint256,uint256,bool)._alternate (#486) is not in mixedCase
Parameter BABYASIX.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#512) is not in mixedCase
Parameter BABYASIX.setFeeReceivers(address,address,address)._marketingFeeReceiver (#512) is not in mixedCase
Parameter BABYASIX.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#512) is not in mixedCase
Constant BABYASIX.mainnetRouter (#256) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BABYASIX._name (#261) is not in mixedCase
Variable BABYASIX._symbol (#262) is not in mixedCase
Constant BABYASIX._decimals (#263) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BABYASIX._totalSupply (#265) is not in mixedCase
Variable BABYASIX._transferLimit (#266) is not in mixedCase
Variable BABYASIX._maxWalletSize (#267) is not in mixedCase
Variable BABYASIX._balances (#269) is not in mixedCase
Variable BABYASIX._allowances (#270) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#139)" inContext (#133-142)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#160) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#161)
Prevent variables from having similar names.
Additional information: link
BABYASIX.slitherConstructorVariables() (#253-524) uses literals with too many digits:
- _totalSupply = 10000000000000 * (10 ** _decimals) (#265)
BABYASIX.slitherConstructorVariables() (#253-524) uses literals with too many digits:
- smallSwapThreshold = _totalSupply.mul(413945130).div(100000000000) (#296)
BABYASIX.slitherConstructorVariables() (#253-524) uses literals with too many digits:
- largeSwapThreshold = _totalSupply.mul(469493726).div(100000000000) (#297)
BABYASIX.slitherConstructorConstantVariables() (#253-524) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#258)
BABYASIX.slitherConstructorConstantVariables() (#253-524) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#259)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BABYASIX._name (#261) should be constant
BABYASIX._symbol (#262) should be constant
BABYASIX._totalSupply (#265) should be constant
BABYASIX.charityFee (#279) should be constant
BABYASIX.devFee (#280) should be constant
BABYASIX.feeDenominator (#282) should be constant
BABYASIX.giveawayFee (#277) should be constant
BABYASIX.liquidityFee (#278) should be constant
BABYASIX.marketingFee (#276) should be constant
BABYASIX.timeLaunched (#271) should be constant
BABYASIX.totalFee (#281) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#237-240)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#246-250)
transferLiquidity(address,uint256) should be declared external:
- BABYASIX.transferLiquidity(address,uint256) (#358-361)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
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 website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts