TigerTonk Token Logo

TONK [TigerTonk] Token

About TONK

Listings

Not Found
Token 7 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 4 January 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

TigerTonk.swapBack() (#332-376) sends eth to arbitrary user
Dangerous calls:
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in TigerTonk._transferFrom(address,address,uint256) (#273-293):
External calls:
- swapBack() (#282)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#343-349)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#282)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#286)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#289)
- amountReceived = takeFee(sender,recipient,amount) (#288)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#319)
Apply the check-effects-interactions pattern.

Additional information: link

TigerTonk.swapBack().Success1 (#358) is written in both
(Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
(Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
TigerTonk.swapBack().Success1 (#358) is written in both
(Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
(Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
Fix or remove the writes.

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.

TigerTonk.slitherConstructorVariables() (#185-465) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#222)
Consider ordering multiplication before division.

Additional information: link

TigerTonk.swapBack() (#332-376) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
Ensure that all the return values of the function calls are used.

Additional information: link

TigerTonk.setTxLimit(uint256) (#399-402) should emit an event for:
- _maxTxAmount = amount (#401)
TigerTonk.setFees(uint256,uint256,uint256,uint256) (#417-423) should emit an event for:
- liquidityFee = _liquidityFee (#418)
- teamFee = _teamFee (#419)
- marketingFee = _marketingFee (#420)
- totalFee = _liquidityFee.add(_teamFee).add(_marketingFee) (#421)
- feeDenominator = _feeDenominator (#422)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#124) lacks a zero-check on :
- owner = adr (#125)
TigerTonk.setFeeReceiver(address,address)._marketingFeeReceiver (#425) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#426)
TigerTonk.setFeeReceiver(address,address)._teamFeeReceiver (#425) lacks a zero-check on :
- teamFeeReceiver = _teamFeeReceiver (#427)
Check that the address is not zero.

Additional information: link

Reentrancy in TigerTonk._transferFrom(address,address,uint256) (#273-293):
External calls:
- swapBack() (#282)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#343-349)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#282)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
State variables written after the call(s):
- launch() (#284)
- launchedAt = block.number (#396)
Reentrancy in TigerTonk.constructor() (#226-239):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#229)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#230)
- _balances[_owner] = _totalSupply (#237)
- isFeeExempt[_owner] = true (#233)
- isTxLimitExempt[_owner] = true (#234)
- isTxLimitExempt[pair] = true (#235)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TigerTonk._transferFrom(address,address,uint256) (#273-293):
External calls:
- swapBack() (#282)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#343-349)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- swapBack() (#282)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#320)
- amountReceived = takeFee(sender,recipient,amount) (#288)
- Transfer(sender,recipient,amountReceived) (#291)
Reentrancy in TigerTonk.constructor() (#226-239):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#229)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#238)
Reentrancy in TigerTonk.swapBack() (#332-376):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#343-349)
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
External calls sending eth:
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#366-373)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#374)
Apply the check-effects-interactions pattern.

Additional information: link

TigerTonk.buyTokens(uint256,address) (#378-389) is never used and should be removed
Remove unused functions.

Additional information: link

TigerTonk._maxTxAmount (#197) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 100
TigerTonk._maxWalletSize (#198) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 100
TigerTonk.swapThreshold (#222) 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 TigerTonk.swapBack() (#332-376):
- (Success1) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#358)
- (Success1,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#360)
- (Success1,None) = address(routerGas).call{gas: 30000,value: amountBNBRoutergas}() (#362)
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() (#139) is not in mixedCase
Parameter TigerTonk.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#417) is not in mixedCase
Parameter TigerTonk.setFees(uint256,uint256,uint256,uint256)._teamFee (#417) is not in mixedCase
Parameter TigerTonk.setFees(uint256,uint256,uint256,uint256)._marketingFee (#417) is not in mixedCase
Parameter TigerTonk.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#417) is not in mixedCase
Parameter TigerTonk.setFeeReceiver(address,address)._marketingFeeReceiver (#425) is not in mixedCase
Parameter TigerTonk.setFeeReceiver(address,address)._teamFeeReceiver (#425) is not in mixedCase
Parameter TigerTonk.setSwapBackSettings(bool,uint256)._enabled (#430) is not in mixedCase
Parameter TigerTonk.setSwapBackSettings(bool,uint256)._amount (#430) is not in mixedCase
Parameter TigerTonk.transferForeignToken(address)._token (#440) is not in mixedCase
Variable TigerTonk.WBNB (#188) is not in mixedCase
Variable TigerTonk.DEAD (#189) is not in mixedCase
Variable TigerTonk.ZERO (#190) is not in mixedCase
Constant TigerTonk._name (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TigerTonk._symbol (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TigerTonk._decimals (#194) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TigerTonk._totalSupply (#196) is not in mixedCase
Variable TigerTonk._maxTxAmount (#197) is not in mixedCase
Variable TigerTonk._maxWalletSize (#198) is not in mixedCase
Variable TigerTonk._balances (#200) is not in mixedCase
Variable TigerTonk._allowances (#201) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#144) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#145)
Prevent variables from having similar names.

Additional information: link

TigerTonk.slitherConstructorVariables() (#185-465) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#189)
TigerTonk.slitherConstructorVariables() (#185-465) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#190)
TigerTonk.slitherConstructorVariables() (#185-465) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#196)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

TigerTonk.DEAD (#189) should be constant
TigerTonk.WBNB (#188) should be constant
TigerTonk.ZERO (#190) should be constant
TigerTonk._totalSupply (#196) 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) (#96-98)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#103-105)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#124-128)
transferForeignToken(address) should be declared external:
- TigerTonk.transferForeignToken(address) (#440-444)
isOverLiquified(uint256,uint256) should be declared external:
- TigerTonk.isOverLiquified(uint256,uint256) (#459-461)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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

Price for TONK