Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in GREENCATCOIN._transfer(address,address,uint256) (#589-627):
External calls:
- swapAndLiquify(contractTokenBalance) (#611)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#611)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#614)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#622)
- finalAmount = takeFee(sender,recipient,amount) (#616-617)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#707)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ticker ($GCC) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
GREENCATCOIN.addLiquidity(uint256,uint256) (#680-693) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
Ensure that all the return values of the function calls are used.
Additional information: link
GREENCATCOIN.allowance(address,address).owner (#498) shadows:
- Ownable.owner() (#156-158) (function)
GREENCATCOIN._approve(address,address,uint256).owner (#521) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.
Additional information: link
GREENCATCOIN.setBuyTaxes(uint256,uint256,uint256) (#533-539) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#538)
GREENCATCOIN.setSellTaxes(uint256,uint256,uint256) (#541-547) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#546)
GREENCATCOIN.setMaxTxAmount(uint256) (#549-551) should emit an event for:
- _maxTxAmount = maxTxAmount (#550)
GREENCATCOIN.setWalletLimit(uint256) (#557-559) should emit an event for:
- _walletMax = newLimit (#558)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in GREENCATCOIN.constructor() (#442-476):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#446-447)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#450)
- _balances[_msgSender()] = _totalSupply (#474)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#459)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#457)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#458)
- isExcludedFromFee[owner()] = true (#452)
- isExcludedFromFee[marketingWalletAddress] = true (#453)
- isExcludedFromFee[teamWalletAddress] = true (#454)
- isExcludedFromFee[address(this)] = true (#455)
- isMarketPair[address(uniswapPair)] = true (#472)
- isTxLimitExempt[owner()] = true (#467)
- isTxLimitExempt[address(this)] = true (#468)
- isTxLimitExempt[marketingWalletAddress] = true (#469)
- isTxLimitExempt[teamWalletAddress] = true (#470)
- isWalletLimitExempt[owner()] = true (#461)
- isWalletLimitExempt[address(uniswapPair)] = true (#462)
- isWalletLimitExempt[address(this)] = true (#463)
- isWalletLimitExempt[marketingWalletAddress] = true (#464)
- isWalletLimitExempt[teamWalletAddress] = true (#465)
- uniswapV2Router = _uniswapV2Router (#449)
Reentrancy in GREENCATCOIN.swapAndLiquify(uint256) (#636-658):
External calls:
- swapTokensForEth(tokensForSwap) (#641)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#651)
- recipient.transfer(amount) (#571)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#654)
- recipient.transfer(amount) (#571)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- _allowances[owner][spender] = amount (#525)
Reentrancy in GREENCATCOIN.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
- _allowances[owner][spender] = amount (#525)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GREENCATCOIN._transfer(address,address,uint256) (#589-627):
External calls:
- swapAndLiquify(contractTokenBalance) (#611)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#611)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#708)
- finalAmount = takeFee(sender,recipient,amount) (#616-617)
- Transfer(sender,recipient,finalAmount) (#624)
Reentrancy in GREENCATCOIN.constructor() (#442-476):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#446-447)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#475)
Reentrancy in GREENCATCOIN.swapAndLiquify(uint256) (#636-658):
External calls:
- swapTokensForEth(tokensForSwap) (#641)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#651)
- recipient.transfer(amount) (#571)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#654)
- recipient.transfer(amount) (#571)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#526)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
Reentrancy in GREENCATCOIN.swapTokensForEth(uint256) (#660-678):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#677)
Reentrancy in GREENCATCOIN.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#669-675)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#526)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#93-102) uses assembly
- INLINE ASM (#100)
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) (#93-102) is never used and should be removed
Address.sendValue(address,uint256) (#104-110) is never used and should be removed
Context._msgData() (#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (#81-83) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#85-88) is never used and should be removed
Remove unused functions.
Additional information: link
GREENCATCOIN._totalSupply (#406) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** _decimals
GREENCATCOIN._maxTxAmount (#407) is set pre-construction with a non-constant function or state variable:
- 20000000 * 10 ** _decimals
GREENCATCOIN._walletMax (#408) is set pre-construction with a non-constant function or state variable:
- 20000000 * 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) (#104-110):
- (success) = recipient.call{value: amount}() (#108)
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() (#200) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#201) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#217) is not in mixedCase
Function IUniswapV2Router01.WETH() (#236) is not in mixedCase
Parameter GREENCATCOIN.setSwapAndLiquifyEnabled(bool)._enabled (#561) is not in mixedCase
Variable GREENCATCOIN._balances (#382) is not in mixedCase
Variable GREENCATCOIN._buyLiquidityFee (#390) is not in mixedCase
Variable GREENCATCOIN._buyMarketingFee (#391) is not in mixedCase
Variable GREENCATCOIN._buyTeamFee (#392) is not in mixedCase
Variable GREENCATCOIN._sellLiquidityFee (#394) is not in mixedCase
Variable GREENCATCOIN._sellMarketingFee (#395) is not in mixedCase
Variable GREENCATCOIN._sellTeamFee (#396) is not in mixedCase
Variable GREENCATCOIN._liquidityShare (#398) is not in mixedCase
Variable GREENCATCOIN._marketingShare (#399) is not in mixedCase
Variable GREENCATCOIN._teamShare (#400) is not in mixedCase
Variable GREENCATCOIN._totalTaxIfBuying (#402) is not in mixedCase
Variable GREENCATCOIN._totalTaxIfSelling (#403) is not in mixedCase
Variable GREENCATCOIN._totalDistributionShares (#404) is not in mixedCase
Variable GREENCATCOIN._maxTxAmount (#407) is not in mixedCase
Variable GREENCATCOIN._walletMax (#408) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#14-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in GREENCATCOIN._transfer(address,address,uint256) (#589-627):
External calls:
- swapAndLiquify(contractTokenBalance) (#611)
- recipient.transfer(amount) (#571)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#611)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#614)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#622)
- finalAmount = takeFee(sender,recipient,amount) (#616-617)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#707)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#708)
- finalAmount = takeFee(sender,recipient,amount) (#616-617)
- Transfer(sender,recipient,finalAmount) (#624)
Reentrancy in GREENCATCOIN.swapAndLiquify(uint256) (#636-658):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#651)
- recipient.transfer(amount) (#571)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#654)
- recipient.transfer(amount) (#571)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#651)
- recipient.transfer(amount) (#571)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#654)
- recipient.transfer(amount) (#571)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
- _allowances[owner][spender] = amount (#525)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#526)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#657)
Reentrancy in GREENCATCOIN.transferFrom(address,address,uint256) (#583-587):
External calls:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#571)
External calls sending eth:
- _transfer(sender,recipient,amount) (#584)
- recipient.transfer(amount) (#571)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#685-692)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
- _allowances[owner][spender] = amount (#525)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#526)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#585)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#241) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#242)
Prevent variables from having similar names.
Additional information: link
GREENCATCOIN.slitherConstructorVariables() (#369-715) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#380)
GREENCATCOIN.slitherConstructorVariables() (#369-715) uses literals with too many digits:
- _totalSupply = 1000000000 * 10 ** _decimals (#406)
GREENCATCOIN.slitherConstructorVariables() (#369-715) uses literals with too many digits:
- _maxTxAmount = 20000000 * 10 ** _decimals (#407)
GREENCATCOIN.slitherConstructorVariables() (#369-715) uses literals with too many digits:
- _walletMax = 20000000 * 10 ** _decimals (#408)
GREENCATCOIN.slitherConstructorVariables() (#369-715) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000000 * 10 ** 2 (#409)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GREENCATCOIN._decimals (#376) should be constant
GREENCATCOIN._liquidityShare (#398) should be constant
GREENCATCOIN._marketingShare (#399) should be constant
GREENCATCOIN._name (#374) should be constant
GREENCATCOIN._symbol (#375) should be constant
GREENCATCOIN._teamShare (#400) should be constant
GREENCATCOIN.checkWalletLimit (#417) should be constant
GREENCATCOIN.marketingWalletAddress (#378) should be constant
GREENCATCOIN.minimumTokensBeforeSwap (#409) should be constant
GREENCATCOIN.swapAndLiquifyByLimitOnly (#416) should be constant
GREENCATCOIN.teamWalletAddress (#379) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#163-166)
name() should be declared external:
- GREENCATCOIN.name() (#478-480)
symbol() should be declared external:
- GREENCATCOIN.symbol() (#482-484)
decimals() should be declared external:
- GREENCATCOIN.decimals() (#486-488)
totalSupply() should be declared external:
- GREENCATCOIN.totalSupply() (#490-492)
allowance(address,address) should be declared external:
- GREENCATCOIN.allowance(address,address) (#498-500)
increaseAllowance(address,uint256) should be declared external:
- GREENCATCOIN.increaseAllowance(address,uint256) (#502-505)
decreaseAllowance(address,uint256) should be declared external:
- GREENCATCOIN.decreaseAllowance(address,uint256) (#507-510)
minimumTokensBeforeSwapAmount() should be declared external:
- GREENCATCOIN.minimumTokensBeforeSwapAmount() (#512-514)
approve(address,uint256) should be declared external:
- GREENCATCOIN.approve(address,uint256) (#516-519)
setSwapAndLiquifyEnabled(bool) should be declared external:
- GREENCATCOIN.setSwapAndLiquifyEnabled(bool) (#561-564)
getCirculatingSupply() should be declared external:
- GREENCATCOIN.getCirculatingSupply() (#566-568)
transfer(address,uint256) should be declared external:
- GREENCATCOIN.transfer(address,uint256) (#578-581)
transferFrom(address,address,uint256) should be declared external:
- GREENCATCOIN.transferFrom(address,address,uint256) (#583-587)
Use the external attribute for functions never called from the contract.
Additional information: link
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