Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BINANCEYOUNGCAT.swapBack() (#324-365) sends eth to arbitrary user
Dangerous calls:
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BINANCEYOUNGCAT._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#278)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#281)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#311)
Apply the check-effects-interactions pattern.
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.
BINANCEYOUNGCAT.slitherConstructorVariables() (#180-449) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#216)
Consider ordering multiplication before division.
Additional information: link
BINANCEYOUNGCAT.swapBack() (#324-365) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
Ensure that all the return values of the function calls are used.
Additional information: link
BINANCEYOUNGCAT.setTxLimit(uint256) (#388-391) should emit an event for:
- _maxTxAmount = amount (#390)
BINANCEYOUNGCAT.setFees(uint256,uint256,uint256,uint256) (#406-412) should emit an event for:
- liquidityFee = _liquidityFee (#407)
- marketingtwowallet = _marketingtwowallet (#408)
- marketingwalletFee = _marketingwalletFee (#409)
- totalFee = _liquidityFee.add(_marketingtwowallet).add(_marketingwalletFee) (#410)
- feeDenominator = _feeDenominator (#411)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#119) lacks a zero-check on :
- owner = adr (#120)
BINANCEYOUNGCAT.setFeeReceiver(address,address)._marketingwalletFeeReceiver (#414) lacks a zero-check on :
- marketingwalletFeeReceiver = _marketingwalletFeeReceiver (#415)
BINANCEYOUNGCAT.setFeeReceiver(address,address)._marketingtwowalletReceiver (#414) lacks a zero-check on :
- marketingtwowalletReceiver = _marketingtwowalletReceiver (#416)
Check that the address is not zero.
Additional information: link
Reentrancy in BINANCEYOUNGCAT._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
State variables written after the call(s):
- launch() (#276)
- launchedAt = block.number (#385)
Reentrancy in BINANCEYOUNGCAT.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#223)
- _balances[_owner] = _totalSupply (#229)
- isFeeExempt[_owner] = true (#226)
- isTxLimitExempt[_owner] = true (#227)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BINANCEYOUNGCAT._transferFrom(address,address,uint256) (#265-285):
External calls:
- swapBack() (#274)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- swapBack() (#274)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#312)
- amountReceived = takeFee(sender,recipient,amount) (#280)
- Transfer(sender,recipient,amountReceived) (#283)
Reentrancy in BINANCEYOUNGCAT.constructor() (#220-231):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#230)
Reentrancy in BINANCEYOUNGCAT.swapBack() (#324-365):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#335-341)
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
External calls sending eth:
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingwalletFeeReceiver,block.timestamp) (#355-362)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#363)
Apply the check-effects-interactions pattern.
Additional information: link
BINANCEYOUNGCAT.buyTokens(uint256,address) (#367-378) is never used and should be removed
Remove unused functions.
Additional information: link
BINANCEYOUNGCAT._maxTxAmount (#192) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
BINANCEYOUNGCAT._maxWalletSize (#193) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 4) / 100
BINANCEYOUNGCAT.swapThreshold (#216) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 3
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 BINANCEYOUNGCAT.swapBack() (#324-365):
- (marketingwalletSuccess) = address(marketingwalletFeeReceiver).call{gas: 30000,value: amountBNBmarketingwallet}() (#349)
- (AutoBurnSuccess) = address(marketingtwowalletReceiver).call{gas: 30000,value: amountBNBAutoBurn}() (#351)
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() (#134) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#406) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFees(uint256,uint256,uint256,uint256)._marketingtwowallet (#406) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFees(uint256,uint256,uint256,uint256)._marketingwalletFee (#406) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#406) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFeeReceiver(address,address)._marketingwalletFeeReceiver (#414) is not in mixedCase
Parameter BINANCEYOUNGCAT.setFeeReceiver(address,address)._marketingtwowalletReceiver (#414) is not in mixedCase
Parameter BINANCEYOUNGCAT.setSwapBackSettings(bool,uint256)._enabled (#419) is not in mixedCase
Parameter BINANCEYOUNGCAT.setSwapBackSettings(bool,uint256)._amount (#419) is not in mixedCase
Parameter BINANCEYOUNGCAT.transferForeignToken(address)._token (#429) is not in mixedCase
Variable BINANCEYOUNGCAT.WBNB (#183) is not in mixedCase
Variable BINANCEYOUNGCAT.DEAD (#184) is not in mixedCase
Variable BINANCEYOUNGCAT.ZERO (#185) is not in mixedCase
Constant BINANCEYOUNGCAT._name (#187) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BINANCEYOUNGCAT._symbol (#188) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BINANCEYOUNGCAT._decimals (#189) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BINANCEYOUNGCAT._totalSupply (#191) is not in mixedCase
Variable BINANCEYOUNGCAT._maxTxAmount (#192) is not in mixedCase
Variable BINANCEYOUNGCAT._maxWalletSize (#193) is not in mixedCase
Variable BINANCEYOUNGCAT._balances (#195) is not in mixedCase
Variable BINANCEYOUNGCAT._allowances (#196) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#139) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#140)
Prevent variables from having similar names.
Additional information: link
BINANCEYOUNGCAT.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#184)
BINANCEYOUNGCAT.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#185)
BINANCEYOUNGCAT.slitherConstructorVariables() (#180-449) uses literals with too many digits:
- _totalSupply = 100000 * (10 ** _decimals) (#191)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BINANCEYOUNGCAT.DEAD (#184) should be constant
BINANCEYOUNGCAT.WBNB (#183) should be constant
BINANCEYOUNGCAT.ZERO (#185) should be constant
BINANCEYOUNGCAT._totalSupply (#191) 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) (#91-93)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#98-100)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#119-123)
transferForeignToken(address) should be declared external:
- BINANCEYOUNGCAT.transferForeignToken(address) (#429-433)
isOverLiquified(uint256,uint256) should be declared external:
- BINANCEYOUNGCAT.isOverLiquified(uint256,uint256) (#443-445)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts