COWBOY SNAKE is a game inspired by Snake game, that each player will control their own snake to eat food that appears around and fight with snakes controlled by other players around the world. Players only need to control their snake with the pointer and a click each time they want to speed up. Simple operation that anyone can play.
In addition to highly entertaining and training acumen for players, COWBOY SNAKE is also a game for you to collect for Snake Rinium (RIM), a type of Snake Gem encrypted as a Token on the Binance Smart Chain (BSC) platform. This is considered a reward for your contributions to the ecosystem. This model is called “Play To Earn”.
ERC20.transferToken(address,uint256,address) (ERC20.sol#515-524) ignores return value by IERC20(coinAddress).transfer(to,value) (ERC20.sol#523)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
ERC20.modifyBlackList(address[],address[]).index (ERC20.sol#491) is a local variable never initialized
ERC20.modifyWhiteListBot(address[],address[]).index_scope_0 (ERC20.sol#533) is a local variable never initialized
ERC20.modifyWhiteListPool(address[],address[]).index (ERC20.sol#554) is a local variable never initialized
ERC20.modifyBlackList(address[],address[]).index_scope_0 (ERC20.sol#494) is a local variable never initialized
ERC20.modifyWhiteListSender(address[],address[]).index_scope_0 (ERC20.sol#462) is a local variable never initialized
ERC20.modifyWhiteListPool(address[],address[]).index_scope_0 (ERC20.sol#557) is a local variable never initialized
ERC20.modifyWhiteListSender(address[],address[]).index (ERC20.sol#459) is a local variable never initialized
ERC20.modifyWhiteListReceiver(address[],address[]).index (ERC20.sol#475) is a local variable never initialized
ERC20.modifyWhiteListReceiver(address[],address[]).index_scope_0 (ERC20.sol#478) is a local variable never initialized
ERC20.modifyWhiteListBot(address[],address[]).index (ERC20.sol#530) 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
ERC20.allowance(address,address).owner (ERC20.sol#173) shadows:
- Ownable.owner() (Ownable.sol#36-38) (function)
ERC20._approve(address,address,uint256).owner (ERC20.sol#388) shadows:
- Ownable.owner() (Ownable.sol#36-38) (function)
Rename the local variables that shadow another component.
Additional information: link
ERC20.setNumTokensSellToAddToLiquidityt(uint256) (ERC20.sol#450-453) should emit an event for:
- _numTokensSellToAddToLiquidity = numTokensSellToAddToLiquidity (ERC20.sol#451)
Emit an event for critical parameter changes.
Additional information: link
ERC20.transferToken(address,uint256,address).to (ERC20.sol#518) lacks a zero-check on :
- to.transfer(value) (ERC20.sol#521)
ERC20.changeFeeWallet(address).feeWallet (ERC20.sol#542) lacks a zero-check on :
- _feeWallet = feeWallet (ERC20.sol#543)
Check that the address is not zero.
Additional information: link
Reentrancy in COWSToken.constructor() (COWSToken.sol#15-23):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (COWSToken.sol#20-21)
State variables written after the call(s):
- uniswapV2Router = _uniswapV2Router (COWSToken.sol#22)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (Ownable.sol#84-89) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (Ownable.sol#86)
Avoid relying on block.timestamp.
Additional information: link
COWSToken._transfer(address,address,uint256) (COWSToken.sol#29-44) compares to a boolean constant:
-amount > _numTokensSellToAddToLiquidity && limitSell == true && recipient == uniswapV2Pair (COWSToken.sol#40)
ERC20.transfer(address,uint256) (ERC20.sol#144-168) compares to a boolean constant:
-_msgSender() != owner() && whiteListSender[_msgSender()] == false && whiteListReceiver[recipient] == false (ERC20.sol#153-155)
ERC20.transfer(address,uint256) (ERC20.sol#144-168) compares to a boolean constant:
-_msgSender() == owner() || whiteListSender[_msgSender()] == true || whiteListReceiver[recipient] == true (ERC20.sol#161-163)
ERC20.transferFrom(address,address,uint256) (ERC20.sol#213-240) compares to a boolean constant:
-sender != owner() && whiteListSender[_msgSender()] == false && whiteListSender[sender] == false && whiteListReceiver[recipient] == false (ERC20.sol#221-224)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.7.5', '^0.7.5']
- 0.7.5 (COWSToken.sol#2)
- 0.7.5 (Context.sol#3)
- ^0.7.5 (ERC20.sol#3)
- 0.7.5 (IERC20.sol#3)
- 0.7.5 (Ownable.sol#2)
- 0.7.5 (SafeMath.sol#3)
- 0.7.5 (Uniswap.sol#2)
Use one Solidity version.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
ERC20._setupDecimals(uint8) (ERC20.sol#406-408) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#190-193) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#152-155) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#210-213) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#24-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#60-63) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#70-73) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#45-53) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
Variable COWSToken.PCSRouter (COWSToken.sol#13) is not in mixedCase
Parameter ERC20.enableMint(bool)._pmintable (ERC20.sol#445) is not in mixedCase
Parameter ERC20.setAntiBot(bool)._enable (ERC20.sol#503) is not in mixedCase
Parameter ERC20.setSwapWhiteList(bool)._enable (ERC20.sol#507) is not in mixedCase
Parameter ERC20.setLimitSell(bool)._enable (ERC20.sol#511) is not in mixedCase
Variable ERC20._numTokensSellToAddToLiquidity (ERC20.sol#58) is not in mixedCase
Variable ERC20._feeTransfer (ERC20.sol#59) is not in mixedCase
Variable ERC20._feeWallet (ERC20.sol#61) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (Uniswap.sol#67) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (Uniswap.sol#69) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (Uniswap.sol#99) is not in mixedCase
Function IUniswapV2Router01.WETH() (Uniswap.sol#143) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Uniswap.sol#148) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Uniswap.sol#149)
Prevent variables from having similar names.
Additional information: link
COWSToken.PCSRouter (COWSToken.sol#13) should be constant
COWSToken.maxSupply (COWSToken.sol#10) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
burn(uint256) should be declared external:
- COWSToken.burn(uint256) (COWSToken.sol#25-27)
name() should be declared external:
- ERC20.name() (ERC20.sol#87-89)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#95-97)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#112-114)
totalSupply() should be declared external:
- ERC20.totalSupply() (ERC20.sol#119-121)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (ERC20.sol#126-134)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#144-168)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#173-181)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#190-198)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#213-240)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#254-265)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#281-295)
mint(uint256) should be declared external:
- ERC20.mint(uint256) (ERC20.sol#439-443)
enableMint(bool) should be declared external:
- ERC20.enableMint(bool) (ERC20.sol#445-448)
setNumTokensSellToAddToLiquidityt(uint256) should be declared external:
- ERC20.setNumTokensSellToAddToLiquidityt(uint256) (ERC20.sol#450-453)
modifyWhiteListSender(address[],address[]) should be declared external:
- ERC20.modifyWhiteListSender(address[],address[]) (ERC20.sol#455-465)
isExcludedFromFee(address) should be declared external:
- ERC20.isExcludedFromFee(address) (ERC20.sol#467-469)
modifyWhiteListReceiver(address[],address[]) should be declared external:
- ERC20.modifyWhiteListReceiver(address[],address[]) (ERC20.sol#471-481)
isExcludedToFee(address) should be declared external:
- ERC20.isExcludedToFee(address) (ERC20.sol#483-485)
modifyBlackList(address[],address[]) should be declared external:
- ERC20.modifyBlackList(address[],address[]) (ERC20.sol#487-497)
isBlackList(address) should be declared external:
- ERC20.isBlackList(address) (ERC20.sol#499-501)
transferToken(address,uint256,address) should be declared external:
- ERC20.transferToken(address,uint256,address) (ERC20.sol#515-524)
modifyWhiteListBot(address[],address[]) should be declared external:
- ERC20.modifyWhiteListBot(address[],address[]) (ERC20.sol#526-536)
isExcludedFromBot(address) should be declared external:
- ERC20.isExcludedFromBot(address) (ERC20.sol#538-540)
changeFeeWallet(address) should be declared external:
- ERC20.changeFeeWallet(address) (ERC20.sol#542-544)
changeFee(uint256) should be declared external:
- ERC20.changeFee(uint256) (ERC20.sol#546-548)
modifyWhiteListPool(address[],address[]) should be declared external:
- ERC20.modifyWhiteListPool(address[],address[]) (ERC20.sol#550-560)
isExcludedFromPool(address) should be declared external:
- ERC20.isExcludedFromPool(address) (ERC20.sol#562-564)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#55-58)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#64-68)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (Ownable.sol#70-72)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (Ownable.sol#75-81)
unlock() should be declared external:
- Ownable.unlock() (Ownable.sol#84-89)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account