Telegram Cat Token Logo

TGCat [Telegram Cat] Token

About TGCat

Listings

Not Found
Token 4 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 11 August 2022

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

Reentrancy in TelegramCat._transfer(address,address,uint256) (#342-411):
External calls:
- swapBack() (#398)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
External calls sending eth:
- swapBack() (#398)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
State variables written after the call(s):
- balances[to] += transferAmount (#409)
- swapping = false (#399)
Apply the check-effects-interactions pattern.

Additional information: link


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

Function IUniswapV2Router02.WETH() (#148) is not in mixedCase
Constant TelegramCat._name (#190) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TelegramCat._symbol (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TelegramCat._decimals (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TelegramCat._maxWalletAmount (#195) is not in mixedCase
Variable TelegramCat._maxTxAmount (#196) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#103)" inContext (#97-106)
Remove redundant statements if they congest code but offer no value.

Additional information: link

TelegramCat.swapBack() (#414-434) performs a multiplication on the result of a division:
-liquidityTokens = contractBalance * (buyFee.liquidity + sellFee.liquidity) / (buyFee.marketing + buyFee.liquidity + buyFee.bb + sellFee.marketing + sellFee.liquidity + sellFee.bb) (#416)
-ethForLiquidity = ethBalance.mul(liquidityTokens).div(totalTokensToSwap) (#428)
TelegramCat.swapBack() (#414-434) performs a multiplication on the result of a division:
-bbTokens = contractBalance * (buyFee.bb + sellFee.bb) / (buyFee.marketing + buyFee.liquidity + buyFee.bb + sellFee.marketing + sellFee.liquidity + sellFee.bb) (#418)
-ethForbb = ethBalance.mul(bbTokens).div(totalTokensToSwap) (#429)
Consider ordering multiplication before division.

Additional information: link

TelegramCat._transfer(address,address,uint256).takeFee (#354) 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

TelegramCat.addLiquidity(uint256,uint256) (#452-463) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
Ensure that all the return values of the function calls are used.

Additional information: link

TelegramCat.allowance(address,address).owner (#283) shadows:
- Ownable.owner() (#119-121) (function)
TelegramCat._approve(address,address,uint256).owner (#334) shadows:
- Ownable.owner() (#119-121) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in TelegramCat.constructor() (#234-256):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#246)
State variables written after the call(s):
- _isExcludedFromFee[msg.sender] = true (#252)
- _isExcludedFromFee[address(this)] = true (#253)
- liquidityReceiver = msg.sender (#251)
- uniswapV2Pair = _uniswapV2Pair (#249)
- uniswapV2Router = _uniswapV2Router (#248)
Reentrancy in TelegramCat.swapBack() (#414-434):
External calls:
- swapTokensForEth(amountToSwapForETH) (#425)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
- _allowances[owner][spender] = amount (#338)
Reentrancy in TelegramCat.transferFrom(address,address,uint256) (#292-296):
External calls:
- _transfer(sender,recipient,amount) (#293)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
External calls sending eth:
- _transfer(sender,recipient,amount) (#293)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#294)
- _allowances[owner][spender] = amount (#338)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TelegramCat._transfer(address,address,uint256) (#342-411):
External calls:
- swapBack() (#398)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
External calls sending eth:
- swapBack() (#398)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#410)
Reentrancy in TelegramCat.constructor() (#234-256):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#246)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#255)
Reentrancy in TelegramCat.swapBack() (#414-434):
External calls:
- swapTokensForEth(amountToSwapForETH) (#425)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#339)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#431)
Reentrancy in TelegramCat.transferFrom(address,address,uint256) (#292-296):
External calls:
- _transfer(sender,recipient,amount) (#293)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#443-449)
External calls sending eth:
- _transfer(sender,recipient,amount) (#293)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#339)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#294)
Apply the check-effects-interactions pattern.

Additional information: link

TelegramCat._transfer(address,address,uint256) (#342-411) uses timestamp for comparisons
Dangerous comparisons:
- launched && block.timestamp > launchEpoch + 10 && ! phaseOne (#365)
- launched && block.timestamp > launchEpoch + 60 && ! phaseTwo (#372)
- launched && block.timestamp > launchEpoch + 600 && ! phaseThree (#378)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#102-105) is never used and should be removed
SafeMath.add(uint256,uint256) (#46-51) is never used and should be removed
SafeMath.mod(uint256,uint256) (#87-89) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#91-94) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.16 (#31) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.16 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

Reentrancy in TelegramCat._transfer(address,address,uint256) (#342-411):
External calls:
- swapBack() (#398)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
External calls sending eth:
- swapBack() (#398)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
State variables written after the call(s):
- balances[to] += transferAmount (#409)
- swapping = false (#399)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#410)
Reentrancy in TelegramCat.transferFrom(address,address,uint256) (#292-296):
External calls:
- _transfer(sender,recipient,amount) (#293)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
External calls sending eth:
- _transfer(sender,recipient,amount) (#293)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#455-462)
- address(bbWallet).transfer(ethForbb) (#432)
- address(marketingWallet).transfer(address(this).balance) (#433)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#294)
- _allowances[owner][spender] = amount (#338)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#339)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#294)
Apply the check-effects-interactions pattern.

Additional information: link

TelegramCat.liquidityFee (#222) is never used in TelegramCat (#180-465)
TelegramCat.marketingFee (#223) is never used in TelegramCat (#180-465)
TelegramCat.bbFee (#224) is never used in TelegramCat (#180-465)
Remove unused state variables.

Additional information: link

TelegramCat._tTotal (#193) should be constant
TelegramCat.bbFee (#224) should be constant
TelegramCat.bbWallet (#204) should be constant
TelegramCat.liquidityFee (#222) should be constant
TelegramCat.marketingFee (#223) should be constant
TelegramCat.marketingWallet (#203) should be constant
TelegramCat.swapTokenAtAmount (#197) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#128-131)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#133-137)
name() should be declared external:
- TelegramCat.name() (#258-260)
symbol() should be declared external:
- TelegramCat.symbol() (#262-264)
decimals() should be declared external:
- TelegramCat.decimals() (#266-268)
totalSupply() should be declared external:
- TelegramCat.totalSupply() (#270-272)
transfer(address,uint256) should be declared external:
- TelegramCat.transfer(address,uint256) (#278-281)
allowance(address,address) should be declared external:
- TelegramCat.allowance(address,address) (#283-285)
approve(address,uint256) should be declared external:
- TelegramCat.approve(address,uint256) (#287-290)
transferFrom(address,address,uint256) should be declared external:
- TelegramCat.transferFrom(address,address,uint256) (#292-296)
increaseAllowance(address,uint256) should be declared external:
- TelegramCat.increaseAllowance(address,uint256) (#298-301)
decreaseAllowance(address,uint256) should be declared external:
- TelegramCat.decreaseAllowance(address,uint256) (#303-306)
isExcludedFromFee(address) should be declared external:
- TelegramCat.isExcludedFromFee(address) (#330-332)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity 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

Contract has 8% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.


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 TGCat