Reentrancy in ChessNetwork._transfer(address,address,uint256) (#558-594):
External calls:
- swapAndSendToFee(sellTokens) (#580)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#580)
- address(_marketingWallet).transfer(ethToSend) (#601)
State variables written after the call(s):
- _tOwned[from] -= amount (#584)
- transferAmount = _getValues(amount,from) (#589)
- _tOwned[address(this)] += marketingFee + liquidityFee (#540)
- _tOwned[to] += transferAmount (#592)
- swapping = false (#581)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ChessNetwork.allowance(address,address).owner (#499) shadows:
- Ownable.owner() (#178-180) (function)
ChessNetwork._approve(address,address,uint256).owner (#550) shadows:
- Ownable.owner() (#178-180) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ChessNetwork.constructor() (#456-472):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#467)
- _isExcludedFromFee[address(this)] = true (#468)
- _isExcludedFromFee[_marketingWallet] = true (#469)
- uniswapV2Pair = _uniswapV2Pair (#464)
- uniswapV2Router = _uniswapV2Router (#463)
Reentrancy in ChessNetwork.swapAndLiquify() (#604-616):
External calls:
- newBalance = swapTokensForEth(half) (#609)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- addLiquidity(otherHalf,newBalance) (#613)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#643-650)
- (success) = recipient.call{value: amount}() (#116)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#653)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#613)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#643-650)
- (success) = recipient.call{value: amount}() (#116)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#613)
- _allowances[owner][spender] = amount (#554)
Reentrancy in ChessNetwork.transferFrom(address,address,uint256) (#508-512):
External calls:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
External calls sending eth:
- _transfer(sender,recipient,amount) (#509)
- address(_marketingWallet).transfer(ethToSend) (#601)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#510)
- _allowances[owner][spender] = amount (#554)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ChessNetwork._transfer(address,address,uint256) (#558-594):
External calls:
- swapAndSendToFee(sellTokens) (#580)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#580)
- address(_marketingWallet).transfer(ethToSend) (#601)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#541)
- transferAmount = _getValues(amount,from) (#589)
- Transfer(from,to,transferAmount) (#593)
Reentrancy in ChessNetwork.constructor() (#456-472):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#461)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#471)
Reentrancy in ChessNetwork.swapAndLiquify() (#604-616):
External calls:
- newBalance = swapTokensForEth(half) (#609)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
- addLiquidity(otherHalf,newBalance) (#613)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#643-650)
- (success) = recipient.call{value: amount}() (#116)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#653)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#613)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#643-650)
- (success) = recipient.call{value: amount}() (#116)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#555)
- addLiquidity(otherHalf,newBalance) (#613)
- SwapAndLiquify(half,newBalance,otherHalf) (#614)
Reentrancy in ChessNetwork.transferFrom(address,address,uint256) (#508-512):
External calls:
- _transfer(sender,recipient,amount) (#509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#628-634)
External calls sending eth:
- _transfer(sender,recipient,amount) (#509)
- address(_marketingWallet).transfer(ethToSend) (#601)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#555)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#510)
Apply the check-effects-interactions pattern.
Additional information: link
ChessNetwork._transfer(address,address,uint256) (#558-594) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#572)
ChessNetwork.addLiquidity(uint256,uint256) (#638-654) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#652)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#101-110) uses assembly
- INLINE ASM (#108)
Address._functionCallWithValue(address,bytes,uint256,string) (#137-158) uses assembly
- INLINE ASM (#150-153)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#137-158) is never used and should be removed
Address.functionCall(address,bytes) (#120-122) is never used and should be removed
Address.functionCall(address,bytes,string) (#124-126) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#128-130) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#132-135) is never used and should be removed
Address.isContract(address) (#101-110) is never used and should be removed
Address.sendValue(address,uint256) (#112-118) is never used and should be removed
ChessNetwork.addLiquidity(uint256,uint256) (#638-654) is never used and should be removed
ChessNetwork.swapAndLiquify() (#604-616) is never used and should be removed
Context._msgData() (#89-92) is never used and should be removed
SafeMath.add(uint256,uint256) (#30-35) is never used and should be removed
SafeMath.div(uint256,uint256) (#62-64) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#66-72) is never used and should be removed
SafeMath.mod(uint256,uint256) (#74-76) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#78-81) is never used and should be removed
SafeMath.mul(uint256,uint256) (#48-60) is never used and should be removed
SafeMath.sub(uint256,uint256) (#37-39) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#41-46) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#112-118):
- (success) = recipient.call{value: amount}() (#116)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#137-158):
- (success,returndata) = target.call{value: weiValue}(data) (#141)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#249) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#250) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#267) is not in mixedCase
Function IUniswapV2Router01.WETH() (#289) is not in mixedCase
Variable ChessNetwork._maxTxAmount (#439) is not in mixedCase
Constant ChessNetwork._name (#441) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChessNetwork._symbol (#442) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChessNetwork._decimals (#443) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ChessNetwork._marketingFee (#445) is not in mixedCase
Variable ChessNetwork._liquidityFee (#446) is not in mixedCase
Variable ChessNetwork._marketingWallet (#447) is not in mixedCase
Variable ChessNetwork._buyCooldown (#449) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#90)" inContext (#84-93)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in ChessNetwork._transfer(address,address,uint256) (#558-594):
External calls:
- swapAndSendToFee(sellTokens) (#580)
- address(_marketingWallet).transfer(ethToSend) (#601)
State variables written after the call(s):
- _tOwned[from] -= amount (#584)
- transferAmount = _getValues(amount,from) (#589)
- _tOwned[address(this)] += marketingFee + liquidityFee (#540)
- _tOwned[to] += transferAmount (#592)
- swapping = false (#581)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#541)
- transferAmount = _getValues(amount,from) (#589)
- Transfer(from,to,transferAmount) (#593)
Reentrancy in ChessNetwork.transferFrom(address,address,uint256) (#508-512):
External calls:
- _transfer(sender,recipient,amount) (#509)
- address(_marketingWallet).transfer(ethToSend) (#601)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#510)
- _allowances[owner][spender] = amount (#554)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#555)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#510)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#294) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#295)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#112-118) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#114)
ChessNetwork.slitherConstructorVariables() (#426-656) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 9 (#438)
ChessNetwork.slitherConstructorVariables() (#426-656) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 9 (#439)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ChessNetwork._buyCooldown (#449) should be constant
ChessNetwork._liquidityFee (#446) should be constant
ChessNetwork._marketingFee (#445) should be constant
ChessNetwork._marketingWallet (#447) should be constant
ChessNetwork._maxTxAmount (#439) should be constant
ChessNetwork._tTotal (#438) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#197-200)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#206-210)
name() should be declared external:
- ChessNetwork.name() (#474-476)
symbol() should be declared external:
- ChessNetwork.symbol() (#478-480)
decimals() should be declared external:
- ChessNetwork.decimals() (#482-484)
totalSupply() should be declared external:
- ChessNetwork.totalSupply() (#486-488)
transfer(address,uint256) should be declared external:
- ChessNetwork.transfer(address,uint256) (#494-497)
allowance(address,address) should be declared external:
- ChessNetwork.allowance(address,address) (#499-501)
approve(address,uint256) should be declared external:
- ChessNetwork.approve(address,uint256) (#503-506)
transferFrom(address,address,uint256) should be declared external:
- ChessNetwork.transferFrom(address,address,uint256) (#508-512)
increaseAllowance(address,uint256) should be declared external:
- ChessNetwork.increaseAllowance(address,uint256) (#514-517)
decreaseAllowance(address,uint256) should be declared external:
- ChessNetwork.decreaseAllowance(address,uint256) (#519-522)
excludeFromFee(address) should be declared external:
- ChessNetwork.excludeFromFee(address) (#524-526)
includeInFee(address) should be declared external:
- ChessNetwork.includeInFee(address) (#528-530)
isExcludedFromFee(address) should be declared external:
- ChessNetwork.isExcludedFromFee(address) (#546-548)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume 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 6% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.
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