Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract GemCaveToken (#757-1186) has payable functions:
- GemCaveToken.receive() (#1184)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
GemCaveToken._transfer(address,address,uint256) (#1024-1182) performs a multiplication on the result of a division:
-totalTxAmount = _supplyTotal.div(100).mul(maxTxPercent) (#1044)
GemCaveToken._transfer(address,address,uint256) (#1024-1182) performs a multiplication on the result of a division:
-burnAmount = amount.div(100).mul(burnTax) (#1131)
GemCaveToken._transfer(address,address,uint256) (#1024-1182) performs a multiplication on the result of a division:
-payoutMop = amount.div(clubEntryPrice) (#1083)
-clubPayoutCount[recipient] = clubPayoutCount[recipient].add(clubPayout.mul(payoutMop)) (#1084)
GemCaveToken._transfer(address,address,uint256) (#1024-1182) performs a multiplication on the result of a division:
-taxAmount = amount.div(100).mul(taxTax) (#1141)
GemCaveToken._transfer(address,address,uint256) (#1024-1182) performs a multiplication on the result of a division:
-clubRewardAmount = amount.div(100).mul(clubTax) (#1152)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in GemCaveToken._transfer(address,address,uint256) (#1024-1182):
External calls:
- swapTokensForEth(taxSwapAt,taxWallet) (#1104)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
State variables written after the call(s):
- _walletBalance[burnAddress] = _walletBalance[burnAddress].add(burnAmount) (#1133)
- _walletBalance[address(this)] = _walletBalance[address(this)].add(taxAmount) (#1143)
- _walletBalance[clubList[i_scope_1]] = _walletBalance[clubList[i_scope_1]].add(clubTaxPer) (#1166)
- _walletBalance[recipient] = _walletBalance[recipient].add(newAmount) (#1179)
- _walletBalance[sender] = _walletBalance[sender].sub(amount) (#1180)
- clubPayoutCount[sender] = 1 (#1110)
- clubPayoutCount[clubList[i_scope_1]] = clubPayoutCount[clubList[i_scope_1]].sub(1) (#1170)
- doTaxes = false (#1118)
- taxCount = 0 (#1105)
- taxCount = taxCount.add(taxAmount) (#1144)
Apply the check-effects-interactions pattern.
Additional information: link
GemCaveToken.allowance(address,address).owner (#860) shadows:
- Ownable.owner() (#518-520) (function)
GemCaveToken._approve(address,address,uint256).owner (#864) shadows:
- Ownable.owner() (#518-520) (function)
Rename the local variables that shadow another component.
Additional information: link
GemCaveToken.changeClubEntryPrice(uint256) (#887-889) should emit an event for:
- clubEntryPrice = newPrice (#888)
GemCaveToken.changeClubPayout(uint256) (#890-892) should emit an event for:
- clubPayout = newPayout (#891)
GemCaveToken.changeTaxOnSell(uint256) (#893-895) should emit an event for:
- taxTaxS = newTax (#894)
GemCaveToken.changeTaxOnBuy(uint256) (#896-898) should emit an event for:
- taxTaxB = newTax (#897)
GemCaveToken.changeTaxOnTransfer(uint256) (#899-901) should emit an event for:
- taxTaxT = newTax (#900)
GemCaveToken.changeBurnOnSell(uint256) (#902-904) should emit an event for:
- burnTaxS = newTax (#903)
GemCaveToken.changeBurnOnBuy(uint256) (#905-907) should emit an event for:
- burnTaxB = newTax (#906)
GemCaveToken.changeBurnOnTransfer(uint256) (#908-910) should emit an event for:
- burnTaxT = newTax (#909)
GemCaveToken.changeClubTaxOnSell(uint256) (#911-913) should emit an event for:
- clubTaxS = newClubTax (#912)
GemCaveToken.changeClubTaxOnBuy(uint256) (#914-916) should emit an event for:
- clubTaxS = newClubTax (#915)
GemCaveToken.changeClubTaxOnTransfer(uint256) (#917-919) should emit an event for:
- clubTaxS = newClubTax (#918)
GemCaveToken.changeTaxSwapAt(uint256) (#932-934) should emit an event for:
- taxSwapAt = newTaxSwapAt (#933)
GemCaveToken.changeMaxTxPercent(uint256) (#935-937) should emit an event for:
- maxTxPercent = newMaxTxPercent (#936)
Emit an event for critical parameter changes.
Additional information: link
GemCaveToken.changeRouterAddress(address).newRouterAddress (#881) lacks a zero-check on :
- _routerAddress = newRouterAddress (#882)
GemCaveToken.changeNFTAddress(address).newAddressOfNFT (#884) lacks a zero-check on :
- addressOfNFT = newAddressOfNFT (#885)
GemCaveToken.changeTaxWallet(address).newWallet (#939) lacks a zero-check on :
- taxWallet = newWallet (#940)
Check that the address is not zero.
Additional information: link
Reentrancy in GemCaveToken.constructor() (#815-829):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#820-821)
State variables written after the call(s):
- _isTaxExempt[_msgSender()] = true (#825)
- _isTaxExempt[burnAddress] = true (#826)
- _isTaxExempt[taxWallet] = true (#827)
- _isTaxExempt[_routerAddress] = true (#828)
- uniswapV2Router = _uniswapV2Router (#823)
Reentrancy in GemCaveToken.swapTokensForEth(uint256,address) (#1003-1022):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
State variables written after the call(s):
- inSwap = false (#1021)
Reentrancy in GemCaveToken.transferFrom(address,address,uint256) (#875-879):
External calls:
- _transfer(sender,recipient,amount) (#876)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount)) (#877)
- _allowances[owner][spender] = amount (#867)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GemCaveToken._transfer(address,address,uint256) (#1024-1182):
External calls:
- swapTokensForEth(taxSwapAt,taxWallet) (#1104)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
Event emitted after the call(s):
- Transfer(sender,burnAddress,burnAmount) (#1135)
- Transfer(sender,address(this),taxAmount) (#1146)
- Transfer(sender,clubList[i_scope_1],clubTaxPer) (#1167)
- Transfer(sender,recipient,newAmount) (#1181)
Reentrancy in GemCaveToken.swapTokensForEth(uint256,address) (#1003-1022):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#1019)
Reentrancy in GemCaveToken.transferFrom(address,address,uint256) (#875-879):
External calls:
- _transfer(sender,recipient,amount) (#876)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,sendTo,block.timestamp) (#1011-1017)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#868)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount)) (#877)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#203-223) uses assembly
- INLINE ASM (#215-218)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.1', '^0.8.4']
- ^0.8.1 (#6)
- ^0.8.0 (#231)
- ^0.8.0 (#461)
- ^0.8.0 (#488)
- ^0.8.0 (#566)
- ^0.8.0 (#651)
- ^0.8.4 (#694)
Use one Solidity version.
Additional information: link
Address.functionCall(address,bytes) (#87-89) is never used and should be removed
Address.functionCall(address,bytes,string) (#97-103) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#116-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#130-141) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#176-178) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#186-195) is never used and should be removed
Address.functionStaticCall(address,bytes) (#149-151) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#159-168) is never used and should be removed
Address.isContract(address) (#38-44) is never used and should be removed
Address.sendValue(address,uint256) (#62-67) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#203-223) is never used and should be removed
Context._msgData() (#478-480) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#418-427) is never used and should be removed
SafeMath.mod(uint256,uint256) (#378-380) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#444-453) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#395-404) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#249-255) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#291-296) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#303-308) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#274-284) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#262-267) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.1 (#6) allows old versions
Pragma version^0.8.0 (#231) allows old versions
Pragma version^0.8.0 (#461) allows old versions
Pragma version^0.8.0 (#488) allows old versions
Pragma version^0.8.0 (#566) allows old versions
Pragma version^0.8.0 (#651) allows old versions
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
Low level call in Address.sendValue(address,uint256) (#62-67):
- (success) = recipient.call{value: amount}() (#65)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#130-141):
- (success,returndata) = target.call{value: value}(data) (#139)
Low level call in Address.functionStaticCall(address,bytes,string) (#159-168):
- (success,returndata) = target.staticcall(data) (#166)
Low level call in Address.functionDelegateCall(address,bytes,string) (#186-195):
- (success,returndata) = target.delegatecall(data) (#193)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#714) is not in mixedCase
Constant GemCaveToken._supplyTotal (#771) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GemCaveToken._routerAddress (#776) is not in mixedCase
Constant GemCaveToken.burnAddress (#777) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#715) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#715)
Prevent variables from having similar names.
Additional information: link
GemCaveToken.slitherConstructorVariables() (#757-1186) uses literals with too many digits:
- addressOfNFT = 0x000000000000000000000000000000000000dEaD (#778)
GemCaveToken.slitherConstructorVariables() (#757-1186) uses literals with too many digits:
- clubEntryPrice = 100000000000000000000 (#785)
GemCaveToken.slitherConstructorVariables() (#757-1186) uses literals with too many digits:
- taxSwapAt = 250000000000000000000 (#805)
GemCaveToken.slitherConstructorConstantVariables() (#757-1186) uses literals with too many digits:
- _supplyTotal = 100000000000000000000000 (#771)
GemCaveToken.slitherConstructorConstantVariables() (#757-1186) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#777)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GemCaveToken._decimals (#770) should be constant
GemCaveToken._name (#768) should be constant
GemCaveToken._symbol (#769) should be constant
GemCaveToken.clubTaxB (#795) should be constant
GemCaveToken.clubTaxT (#796) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#537-539)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#545-548)
name() should be declared external:
- GemCaveToken.name() (#831-833)
symbol() should be declared external:
- GemCaveToken.symbol() (#835-837)
decimals() should be declared external:
- GemCaveToken.decimals() (#839-841)
clearClubList() should be declared external:
- GemCaveToken.clearClubList() (#847-849)
totalSupply() should be declared external:
- GemCaveToken.totalSupply() (#851-853)
transfer(address,uint256) should be declared external:
- GemCaveToken.transfer(address,uint256) (#855-858)
allowance(address,address) should be declared external:
- GemCaveToken.allowance(address,address) (#860-862)
approve(address,uint256) should be declared external:
- GemCaveToken.approve(address,uint256) (#870-873)
transferFrom(address,address,uint256) should be declared external:
- GemCaveToken.transferFrom(address,address,uint256) (#875-879)
changeRouterAddress(address) should be declared external:
- GemCaveToken.changeRouterAddress(address) (#881-883)
changeNFTAddress(address) should be declared external:
- GemCaveToken.changeNFTAddress(address) (#884-886)
changeClubEntryPrice(uint256) should be declared external:
- GemCaveToken.changeClubEntryPrice(uint256) (#887-889)
changeClubPayout(uint256) should be declared external:
- GemCaveToken.changeClubPayout(uint256) (#890-892)
changeTaxOnSell(uint256) should be declared external:
- GemCaveToken.changeTaxOnSell(uint256) (#893-895)
changeTaxOnBuy(uint256) should be declared external:
- GemCaveToken.changeTaxOnBuy(uint256) (#896-898)
changeTaxOnTransfer(uint256) should be declared external:
- GemCaveToken.changeTaxOnTransfer(uint256) (#899-901)
changeBurnOnSell(uint256) should be declared external:
- GemCaveToken.changeBurnOnSell(uint256) (#902-904)
changeBurnOnBuy(uint256) should be declared external:
- GemCaveToken.changeBurnOnBuy(uint256) (#905-907)
changeBurnOnTransfer(uint256) should be declared external:
- GemCaveToken.changeBurnOnTransfer(uint256) (#908-910)
changeClubTaxOnSell(uint256) should be declared external:
- GemCaveToken.changeClubTaxOnSell(uint256) (#911-913)
changeClubTaxOnBuy(uint256) should be declared external:
- GemCaveToken.changeClubTaxOnBuy(uint256) (#914-916)
changeClubTaxOnTransfer(uint256) should be declared external:
- GemCaveToken.changeClubTaxOnTransfer(uint256) (#917-919)
changeTaxesOnSell(bool) should be declared external:
- GemCaveToken.changeTaxesOnSell(bool) (#920-922)
changeTaxesOnBuy(bool) should be declared external:
- GemCaveToken.changeTaxesOnBuy(bool) (#923-925)
changeTaxesOnTran(bool) should be declared external:
- GemCaveToken.changeTaxesOnTran(bool) (#926-928)
changeSwapOnSell(bool) should be declared external:
- GemCaveToken.changeSwapOnSell(bool) (#929-931)
changeTaxSwapAt(uint256) should be declared external:
- GemCaveToken.changeTaxSwapAt(uint256) (#932-934)
changeMaxTxPercent(uint256) should be declared external:
- GemCaveToken.changeMaxTxPercent(uint256) (#935-937)
changeTaxWallet(address) should be declared external:
- GemCaveToken.changeTaxWallet(address) (#939-941)
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 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 4% buy tax and 6% 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