TOKEN Token Logo

TOKEN [] Token

About TOKEN

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 14 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Token.swapBack() (#342-404) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Token._transferFrom(address,address,uint256) (#246-285):
External calls:
- swapBack() (#266)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#354-360)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
External calls sending eth:
- swapBack() (#266)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
State variables written after the call(s):
- _balances[sender] = _balances[sender] - amount (#271)
- _balances[recipient] = _balances[recipient] + amountReceived (#274)
- amountReceived = takeFee(sender,recipient,amount) (#273)
- _balances[address(this)] = _balances[address(this)] + feeAmount (#324)
- triggerAutoBuyback() (#267)
- inSwap = true (#178)
- inSwap = false (#178)
- launch() (#269)
- launchedAt = block.number (#462)
- amountReceived = takeFee(sender,recipient,amount) (#273)
- liquidityFeeAccumulator = liquidityFeeAccumulator + (feeAmount * (BuyFees.liquidityFee + SellFees.liquidityFee) / ((BuyFees.totalFee + SellFees.totalFee) + (BuyFees.liquidityFee + SellFees.liquidityFee))) (#328)
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.

Context._msgData() (#10-13) is never used and should be removed
Context._msgSender() (#6-8) is never used and should be removed
Token.approveMax(address,address,uint256) (#229-232) is never used and should be removed
Remove unused functions.

Additional information: link

Token.takeFee(address,address,uint256) (#311-332) performs a multiplication on the result of a division:
-feeAmount = amount * totalFee / feeDenominator (#322)
-liquidityFeeAccumulator = liquidityFeeAccumulator + (feeAmount * (BuyFees.liquidityFee + SellFees.liquidityFee) / ((BuyFees.totalFee + SellFees.totalFee) + (BuyFees.liquidityFee + SellFees.liquidityFee))) (#328)
Consider ordering multiplication before division.

Additional information: link

Token.swapBack() (#342-404) ignores return value by router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
Ensure that all the return values of the function calls are used.

Additional information: link

Token.setSellMultiplier(uint256) (#294-297) should emit an event for:
- sellMultiplier = SM (#296)
Emit an event for critical parameter changes.

Additional information: link

Token.constructor(address).m (#186) lacks a zero-check on :
- autoLiquidityReceiver = m (#198)
- marketingFeeReceiver = m (#199)
Token.setFeeReceivers(address,address)._autoLiquidityReceiver (#532) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#533)
Token.setFeeReceivers(address,address)._marketingFeeReceiver (#532) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#534)
Token.transferOwnership(address).adr (#626) lacks a zero-check on :
- owner = adr (#627)
Check that the address is not zero.

Additional information: link

Reentrancy in Token._transferFrom(address,address,uint256) (#246-285):
External calls:
- swapBack() (#266)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#354-360)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
External calls sending eth:
- swapBack() (#266)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
State variables written after the call(s):
- launch() (#269)
- autoClaimEnabled = true (#463)
Reentrancy in Token.constructor(address) (#186-204):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#190)
State variables written after the call(s):
- setBuyFees(3,1,9,1) (#200)
- BuyFees = IFees(_liquidityFee,_buybackFee,_reflectionFee,_marketingFee,_liquidityFee + _buybackFee + _reflectionFee + _marketingFee) (#507-513)
- setSellFees(3,1,9,1) (#201)
- SellFees = IFees(_liquidityFee,_buybackFee,_reflectionFee,_marketingFee,_liquidityFee + _buybackFee + _reflectionFee + _marketingFee) (#523-529)
- _allowances[address(this)][address(router)] = type()(uint256).max (#191)
- _balances[msg.sender] = _totalSupply (#202)
- autoLiquidityReceiver = m (#198)
- isFeeExempt[address(this)] = true (#193)
- isFeeExempt[msg.sender] = true (#194)
- isTxLimitExempt[msg.sender] = true (#195)
- isTxLimitExempt[address(this)] = true (#196)
- marketingFeeReceiver = m (#199)
Reentrancy in Token.swapBack() (#342-404):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
State variables written after the call(s):
- marketingFees = marketingFees + amountBNBMarketing (#399)
Reentrancy in Token.triggerAutoBuyback() (#427-432):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#428)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator + autoBuybackAmount (#430)
- autoBuybackBlockLast = block.number (#429)
- autoBuybackEnabled = false (#431)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Token._buyback(uint256) (#422-425):
External calls:
- buyTokens(amount,DEAD) (#423)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
Event emitted after the call(s):
- Buyback(amount) (#424)
Reentrancy in Token._transferFrom(address,address,uint256) (#246-285):
External calls:
- swapBack() (#266)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#354-360)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
External calls sending eth:
- swapBack() (#266)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
Event emitted after the call(s):
- Launch() (#464)
- launch() (#269)
- Transfer(sender,address(this),feeAmount) (#325)
- amountReceived = takeFee(sender,recipient,amount) (#273)
Reentrancy in Token._transferFrom(address,address,uint256) (#246-285):
External calls:
- swapBack() (#266)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#354-360)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
- distributor.setShare(sender,_balances[sender]) (#276)
- distributor.setShare(recipient,_balances[recipient]) (#277)
- distributor.process(distributorGas) (#280)
External calls sending eth:
- swapBack() (#266)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
- triggerAutoBuyback() (#267)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#439-444)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#283)
Reentrancy in Token.constructor(address) (#186-204):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#190)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#203)
Reentrancy in Token.setIsDividendExempt(address,bool) (#474-483):
External calls:
- distributor.setShare(holder,0) (#478)
- distributor.setShare(holder,_balances[holder]) (#480)
Event emitted after the call(s):
- DividendExemptUpdated(holder,exempt) (#482)
Reentrancy in Token.swapBack() (#342-404):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToLiquify,0,path,address(this),block.timestamp) (#354-360)
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
External calls sending eth:
- router.addLiquidityETH{value: amountBNB}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#364-371)
Event emitted after the call(s):
- AutoLiquify(amountBNB,amountToLiquify) (#373)
Reentrancy in Token.swapBack() (#342-404):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path_scope_0,address(this),block.timestamp) (#383-389)
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
Event emitted after the call(s):
- SwapBack(amountToSwap,amountBNB_scope_2) (#402)
Apply the check-effects-interactions pattern.

Additional information: link

Token._transferFrom(address,address,uint256) (#246-285) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(buycooldown[recipient] < block.timestamp) (#255)
- require(bool)(sellcooldown[sender] < block.timestamp) (#262)
Token.shouldSwapBack() (#334-340) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && block.timestamp >= lastSwap + swapInterval && _balances[address(this)] >= swapThreshold (#335-339)
Token.setWalletBanStatus(address,bool) (#490-498) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp + 315360000 > block.timestamp,User was put in a cage.) (#492)
Avoid relying on block.timestamp.

Additional information: link

Token._transferFrom(address,address,uint256) (#246-285) compares to a boolean constant:
-require(bool,string)(bannedUsers[sender] == false,Sender is banned) (#247)
Token._transferFrom(address,address,uint256) (#246-285) compares to a boolean constant:
-require(bool,string)(bannedUsers[recipient] == false,Recipient is banned) (#248)
Remove the equality to the boolean constant.

Additional information: link

Token._maxTxAmount (#116) is set pre-construction with a non-constant function or state variable:
- _totalSupply * (maxTxPercent) / (maxTxDivisor)
Token.MaxFees (#150-155) is set pre-construction with a non-constant function or state variable:
- IFees(15,5,5,5,MaxFees.reflectionFee + MaxFees.buybackFee + MaxFees.liquidityFee + MaxFees.marketingFee)
Token.swapThreshold (#175) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 4000
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.0 (#3) 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 Token.swapBack() (#342-404):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#398)
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() (#39) is not in mixedCase
Event TokenareFeesEnabled(bool) (#645) is not in CapWords
Parameter Token.setSellMultiplier(uint256).SM (#294) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#447) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#447) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#447) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#447) is not in mixedCase
Parameter Token.setBuyFees(uint256,uint256,uint256,uint256)._liquidityFee (#505) is not in mixedCase
Parameter Token.setBuyFees(uint256,uint256,uint256,uint256)._buybackFee (#505) is not in mixedCase
Parameter Token.setBuyFees(uint256,uint256,uint256,uint256)._reflectionFee (#505) is not in mixedCase
Parameter Token.setBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#505) is not in mixedCase
Function Token.FeesEnabled(bool) (#516-519) is not in mixedCase
Parameter Token.FeesEnabled(bool)._enabled (#516) is not in mixedCase
Parameter Token.setSellFees(uint256,uint256,uint256,uint256)._liquidityFee (#521) is not in mixedCase
Parameter Token.setSellFees(uint256,uint256,uint256,uint256)._buybackFee (#521) is not in mixedCase
Parameter Token.setSellFees(uint256,uint256,uint256,uint256)._reflectionFee (#521) is not in mixedCase
Parameter Token.setSellFees(uint256,uint256,uint256,uint256)._marketingFee (#521) is not in mixedCase
Parameter Token.setFeeReceivers(address,address)._autoLiquidityReceiver (#532) is not in mixedCase
Parameter Token.setFeeReceivers(address,address)._marketingFeeReceiver (#532) is not in mixedCase
Parameter Token.setSwapBackSettings(bool,uint256)._enabled (#545) is not in mixedCase
Parameter Token.setSwapBackSettings(bool,uint256)._amount (#545) is not in mixedCase
Parameter Token.setAutoLiquifyEnabled(bool)._enabled (#551) is not in mixedCase
Parameter Token.setDistributionCriteria(uint256,uint256,uint256)._minPeriod (#556) is not in mixedCase
Parameter Token.setDistributionCriteria(uint256,uint256,uint256)._minDistribution (#556) is not in mixedCase
Parameter Token.setDistributionCriteria(uint256,uint256,uint256)._minHoldReq (#556) is not in mixedCase
Parameter Token.setDistributorSettings(uint256,bool)._autoClaim (#560) is not in mixedCase
Variable Token.BUSD (#99) is not in mixedCase
Variable Token.WBNB (#100) is not in mixedCase
Variable Token.DEAD (#101) is not in mixedCase
Constant Token._name (#108) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Token._symbol (#109) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Token._decimals (#110) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Token._initialSupply (#112) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Token._totalSupply (#113) is not in mixedCase
Variable Token._maxTxAmount (#116) is not in mixedCase
Variable Token._balances (#118) is not in mixedCase
Variable Token._allowances (#119) is not in mixedCase
Variable Token.BuyFees (#148) is not in mixedCase
Variable Token.SellFees (#149) is not in mixedCase
Variable Token.MaxFees (#150-155) is not in mixedCase
Constant Token.maxSellMultiplier (#159) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
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 (#44) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#45)
Variable Token.setSellFees(uint256,uint256,uint256,uint256)._marketingFee (#521) is too similar to Token.marketingFees (#160)
Variable Token.setBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#505) is too similar to Token.marketingFees (#160)
Prevent variables from having similar names.

Additional information: link

Token.setDistributorSettings(uint256,bool) (#560-565) uses literals with too many digits:
- require(bool)(gas <= 1000000) (#561)
Token.slitherConstructorVariables() (#96-650) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#101)
Token.slitherConstructorVariables() (#96-650) uses literals with too many digits:
- distributorGas = 500000 (#174)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Token.BUSD (#99) is never used in Token (#96-650)
Remove unused state variables.

Additional information: link

Token.BUSD (#99) should be constant
Token.DEAD (#101) should be constant
Token.WBNB (#100) should be constant
Token._totalSupply (#113) should be constant
Token.feeDenominator (#157) should be constant
Token.maxTxDivisor (#115) should be constant
Token.maxTxPercent (#114) should be constant
Token.swapInterval (#177) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

start(address) should be declared external:
- Token.start(address) (#206-211)
balanceOf(address) should be declared external:
- Token.balanceOf(address) (#220)
approve(address,uint256) should be declared external:
- Token.approve(address,uint256) (#223-227)
claimDividendFor() should be declared external:
- Token.claimDividendFor() (#604-606)
authorize(address) should be declared external:
- Token.authorize(address) (#608-611)
unauthorize(address) should be declared external:
- Token.unauthorize(address) (#613-616)
transferOwnership(address) should be declared external:
- Token.transferOwnership(address) (#626-630)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 14% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts

Search:


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

Anti-Scam Checks

Price for TOKEN