Reentrancy in GRIMACETIGERCHINESE._transfer(address,address,uint256) (#621-671):
External calls:
- collectFees() (#651)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- collectFees() (#651)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#665)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#762)
- _balances[recipient] = _balances[recipient].add(amount) (#763)
- transferToken(from,deadAddress,toBurnAmount) (#666)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#762)
- _balances[recipient] = _balances[recipient].add(amount) (#763)
- transferToken(from,to,amount) (#670)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#762)
- _balances[recipient] = _balances[recipient].add(amount) (#763)
Apply the check-effects-interactions pattern.
Additional information: link
GRIMACETIGERCHINESE.swapAndSendToFee(uint256) (#701-707) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
GRIMACETIGERCHINESE.addLiquidity(uint256,uint256) (#744-756) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
Ensure that all the return values of the function calls are used.
Additional information: link
GRIMACETIGERCHINESE.allowance(address,address).owner (#492) shadows:
- Ownable.owner() (#162-164) (function)
GRIMACETIGERCHINESE._approve(address,address,uint256).owner (#517) shadows:
- Ownable.owner() (#162-164) (function)
Rename the local variables that shadow another component.
Additional information: link
GRIMACETIGERCHINESE.setLiquifyThreshhold(uint256) (#554-556) should emit an event for:
- _liquidityThreshhold = newLiquifyThreshhold (#555)
GRIMACETIGERCHINESE.setMaxBalance(uint256) (#562-566) should emit an event for:
- _maxBalanceWalletGRIMACETIGERCHINESE = newMaxBalance (#565)
Emit an event for critical parameter changes.
Additional information: link
GRIMACETIGERCHINESE.setMarketingAddress(address).newMarketingAddress (#525) lacks a zero-check on :
- marketingAddress = newMarketingAddress (#526)
GRIMACETIGERCHINESE.setMarketingWalletToken(address)._marketingWalletToken (#558) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#559)
Check that the address is not zero.
Additional information: link
Reentrancy in GRIMACETIGERCHINESE.collectFees() (#673-683):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#679)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- swapAndSendToFee(marketingTokensToSell) (#682)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#679)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
State variables written after the call(s):
- swapAndSendToFee(marketingTokensToSell) (#682)
- _allowances[owner][spender] = amount (#521)
Reentrancy in GRIMACETIGERCHINESE.constructor() (#438-463):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#440-441)
State variables written after the call(s):
- _balances[_msgSender()] = _totalSupply (#461)
- _burnFeesGRIMACETIGERCHINESE = 1 (#454)
- _isExcludedFromFeeGRIMACETIGERCHINESE[owner()] = true (#445)
- _isExcludedFromFeeGRIMACETIGERCHINESE[address(this)] = true (#446)
- _isExcludedFromMaxBalanceGRIMACETIGERCHINESE[owner()] = true (#448)
- _isExcludedFromMaxBalanceGRIMACETIGERCHINESE[address(this)] = true (#449)
- _isExcludedFromMaxBalanceGRIMACETIGERCHINESE[uniswapV2Pair] = true (#450)
- _liquidityFeesGRIMACETIGERCHINESE = 6 (#452)
- _liquidityThreshhold = 3 * 10 ** 9 * 10 ** _decimals (#458)
- _marketingFeeGRIMACETIGERCHINESE = 9 (#453)
- _maxBalanceWalletGRIMACETIGERCHINESE = 1000 * 10 ** 9 * 10 ** _decimals (#459)
- _totalFeesGRIMACETIGERCHINESE = _liquidityFeesGRIMACETIGERCHINESE.add(_marketingFeeGRIMACETIGERCHINESE).add(_burnFeesGRIMACETIGERCHINESE) (#455)
- _totalFeesGRIMACETIGERCHINESEContract = _liquidityFeesGRIMACETIGERCHINESE.add(_marketingFeeGRIMACETIGERCHINESE) (#456)
- uniswapV2Router = _uniswapV2Router (#443)
Reentrancy in GRIMACETIGERCHINESE.swapAndLiquify(uint256) (#685-699):
External calls:
- swapTokensForEth(half) (#693)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- addLiquidity(otherHalf,newBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#698)
- _allowances[owner][spender] = amount (#521)
Reentrancy in GRIMACETIGERCHINESE.transferFrom(address,address,uint256) (#501-505):
External calls:
- _transfer(sender,recipient,amount) (#502)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- _transfer(sender,recipient,amount) (#502)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#503)
- _allowances[owner][spender] = amount (#521)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GRIMACETIGERCHINESE._transfer(address,address,uint256) (#621-671):
External calls:
- collectFees() (#651)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- collectFees() (#651)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
Event emitted after the call(s):
- TokenBurn(from,toBurnAmount) (#667)
- Transfer(sender,recipient,amount) (#764)
- transferToken(from,deadAddress,toBurnAmount) (#666)
- Transfer(sender,recipient,amount) (#764)
- transferToken(from,to,amount) (#670)
- Transfer(sender,recipient,amount) (#764)
- transferToken(from,address(this),feesToContract) (#665)
Reentrancy in GRIMACETIGERCHINESE.collectFees() (#673-683):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#679)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- swapAndSendToFee(marketingTokensToSell) (#682)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#679)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#522)
- swapAndSendToFee(marketingTokensToSell) (#682)
Reentrancy in GRIMACETIGERCHINESE.constructor() (#438-463):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#440-441)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#462)
Reentrancy in GRIMACETIGERCHINESE.swapAndLiquify(uint256) (#685-699):
External calls:
- swapTokensForEth(half) (#693)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- addLiquidity(otherHalf,newBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#698)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#522)
- addLiquidity(otherHalf,newBalance) (#698)
Reentrancy in GRIMACETIGERCHINESE.transferFrom(address,address,uint256) (#501-505):
External calls:
- _transfer(sender,recipient,amount) (#502)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#706)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- _transfer(sender,recipient,amount) (#502)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#522)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#503)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#92-101) uses assembly
- INLINE ASM (#99)
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) uses assembly
- INLINE ASM (#138-141)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) is never used and should be removed
Address.functionCall(address,bytes) (#112-114) is never used and should be removed
Address.functionCall(address,bytes,string) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#124-127) is never used and should be removed
Address.isContract(address) (#92-101) is never used and should be removed
Address.sendValue(address,uint256) (#103-109) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#80-82) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#84-87) is never used and should be removed
Remove unused functions.
Additional information: link
GRIMACETIGERCHINESE._totalSupply (#406) is set pre-construction with a non-constant function or state variable:
- 1000 * 10 ** 9 * 10 ** _decimals
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 Address.sendValue(address,uint256) (#103-109):
- (success) = recipient.call{value: amount}() (#107)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#129-146):
- (success,returndata) = target.call{value: weiValue}(data) (#132)
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() (#219) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#220) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#236) is not in mixedCase
Function IUniswapV2Router01.WETH() (#257) is not in mixedCase
Parameter GRIMACETIGERCHINESE.setMarketingWalletToken(address)._marketingWalletToken (#558) is not in mixedCase
Constant GRIMACETIGERCHINESE.deadAddress (#410) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GRIMACETIGERCHINESE._maxFeesGRIMACETIGERCHINESE (#417) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#16)" inContext (#10-19)
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 (#262) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#263)
Prevent variables from having similar names.
Additional information: link
GRIMACETIGERCHINESE.slitherConstructorConstantVariables() (#394-767) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#410)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#151) is never used in GRIMACETIGERCHINESE (#394-767)
Ownable._lockTime (#152) is never used in GRIMACETIGERCHINESE (#394-767)
Remove unused state variables.
Additional information: link
GRIMACETIGERCHINESE._decimals (#405) should be constant
GRIMACETIGERCHINESE._name (#403) should be constant
GRIMACETIGERCHINESE._symbol (#404) should be constant
Ownable._lockTime (#152) should be constant
Ownable._previousOwner (#151) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#171-174)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#176-180)
name() should be declared external:
- GRIMACETIGERCHINESE.name() (#467-469)
symbol() should be declared external:
- GRIMACETIGERCHINESE.symbol() (#471-473)
decimals() should be declared external:
- GRIMACETIGERCHINESE.decimals() (#475-477)
totalSupply() should be declared external:
- GRIMACETIGERCHINESE.totalSupply() (#479-481)
transfer(address,uint256) should be declared external:
- GRIMACETIGERCHINESE.transfer(address,uint256) (#487-490)
allowance(address,address) should be declared external:
- GRIMACETIGERCHINESE.allowance(address,address) (#492-494)
approve(address,uint256) should be declared external:
- GRIMACETIGERCHINESE.approve(address,uint256) (#496-499)
transferFrom(address,address,uint256) should be declared external:
- GRIMACETIGERCHINESE.transferFrom(address,address,uint256) (#501-505)
increaseAllowance(address,uint256) should be declared external:
- GRIMACETIGERCHINESE.increaseAllowance(address,uint256) (#507-510)
decreaseAllowance(address,uint256) should be declared external:
- GRIMACETIGERCHINESE.decreaseAllowance(address,uint256) (#512-515)
isExcludedFromFees(address) should be declared external:
- GRIMACETIGERCHINESE.isExcludedFromFees(address) (#568-570)
excludeFromFees(address) should be declared external:
- GRIMACETIGERCHINESE.excludeFromFees(address) (#572-574)
includeInFees(address) should be declared external:
- GRIMACETIGERCHINESE.includeInFees(address) (#576-578)
isExcludedFromMaxBalance(address) should be declared external:
- GRIMACETIGERCHINESE.isExcludedFromMaxBalance(address) (#580-582)
excludeFromMaxBalance(address) should be declared external:
- GRIMACETIGERCHINESE.excludeFromMaxBalance(address) (#584-586)
includeInMaxBalance(address) should be declared external:
- GRIMACETIGERCHINESE.includeInMaxBalance(address) (#588-590)
totalFees() should be declared external:
- GRIMACETIGERCHINESE.totalFees() (#592-594)
liquidityFee() should be declared external:
- GRIMACETIGERCHINESE.liquidityFee() (#596-598)
marketingFee() should be declared external:
- GRIMACETIGERCHINESE.marketingFee() (#600-602)
burnFee() should be declared external:
- GRIMACETIGERCHINESE.burnFee() (#604-606)
maxFees() should be declared external:
- GRIMACETIGERCHINESE.maxFees() (#608-610)
liquifyThreshhold() should be declared external:
- GRIMACETIGERCHINESE.liquifyThreshhold() (#612-614)
maxBalance() should be declared external:
- GRIMACETIGERCHINESE.maxBalance() (#616-618)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker (GRIMACETIGERCHINESE) has length of 19 chars.
Not a direct threat, but may indicate unreliable intentions of developer.
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. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 16% buy tax and 16% 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 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 Twitter account
Telegram account has less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account