GemPad Token Logo

GEMS [GemPad] Token

About GEMS

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years

Website

white paper

GemPad is a frontline protocol for users and project-owners designed to help to launch their projects and tokens in the easiest way possible. As an investor, you'll be able to browse the many presales. They have crafted an all-in-one platform, providing users with numerous features that can be used with no coding requirements. They offer a launchpad with Whitelists, Liquidity Locks, KYC, Audits along with other options as well as incubator benefits for select, especially promising projects. To easy distinguish between projects, they have come up with a system of tiers. The higher the tier, the safer and better a project is. Their tiers go from common to gold to platinum and lastly diamond.

Having a system of tiers allows GemPad to be a launchpad for all projects, from the smallest ones to big and already established ones. That is why they do not only offer presales, but special sales as well. They also offer the ability to raise funds in any crypto token.

Another feature on GemPad is the My Alarms function. You can set up the alarm to remind you 5, 15 or 30 minutes before the presale starts or before the launch takes place, making sure you do not miss another project again!

Social

Laser Scorebeta Last Audit: 16 January 2024

report
Token is either risky or in presale. For presale 30+ is a fine score.

GEMS.addLiquidity(uint256,uint256) (contracts/GEMS.sol#924-934) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
GEMS.takeFee() (contracts/GEMS.sol#865-908) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (contracts/GEMS.sol#905)
- _marketingFeeTokensToSwap = 0 (contracts/GEMS.sol#906)
- _rewardFeeTokens = 0 (contracts/GEMS.sol#907)
Reentrancy in GEMS._transfer(address,address,uint256) (contracts/GEMS.sol#714-845):
External calls:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
State variables written after the call(s):
- super._transfer(from,to,_transferAmount) (contracts/GEMS.sol#831)
- _balances[from] = fromBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#239)
- _balances[to] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#241)
- super._transfer(from,address(this),_feeTotal) (contracts/GEMS.sol#834-838)
- _balances[from] = fromBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#239)
- _balances[to] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#241)
- removeAllFee() (contracts/GEMS.sol#791)
- _liquidityFee = 0 (contracts/GEMS.sol#854)
- _liquidityFee = amount.mul(_protectBlockLiquidityFee).div(1000) (contracts/GEMS.sol#804)
- _liquidityFee = amount.mul(buyLiquidityFee).div(1000) (contracts/GEMS.sol#811)
- _liquidityFee = amount.mul(sellLiquidityFee).div(1000) (contracts/GEMS.sol#818)
- _liquidityFee = amount.mul(transferLiquidityFee).div(1000) (contracts/GEMS.sol#823)
- restoreAllFee() (contracts/GEMS.sol#844)
- _liquidityFee = _previousLiquidityFee (contracts/GEMS.sol#860)
- _liquidityTokensToSwap = _liquidityTokensToSwap.add(_liquidityFee) (contracts/GEMS.sol#839)
- removeAllFee() (contracts/GEMS.sol#791)
- _marketingFee = 0 (contracts/GEMS.sol#855)
- _marketingFee = amount.mul(_protectBlockMarketingFee).div(1000) (contracts/GEMS.sol#805)
- _marketingFee = amount.mul(buyMarketingFee).div(1000) (contracts/GEMS.sol#812)
- _marketingFee = amount.mul(sellMarketingFee).div(1000) (contracts/GEMS.sol#819)
- _marketingFee = amount.mul(transferMarketingFee).div(1000) (contracts/GEMS.sol#824)
- restoreAllFee() (contracts/GEMS.sol#844)
- _marketingFee = _previousMarketingFee (contracts/GEMS.sol#861)
- _marketingFeeTokensToSwap = _marketingFeeTokensToSwap.add(_marketingFee) (contracts/GEMS.sol#840)
- removeAllFee() (contracts/GEMS.sol#791)
- _previousLiquidityFee = _liquidityFee (contracts/GEMS.sol#851)
- removeAllFee() (contracts/GEMS.sol#791)
- _previousMarketingFee = _marketingFee (contracts/GEMS.sol#852)
- removeAllFee() (contracts/GEMS.sol#791)
- _previousRewardFee = _rewardFee (contracts/GEMS.sol#850)
- removeAllFee() (contracts/GEMS.sol#791)
- _rewardFee = 0 (contracts/GEMS.sol#853)
- _rewardFee = amount.mul(_protectBlockRewardFee).div(1000) (contracts/GEMS.sol#803)
- _rewardFee = amount.mul(buyRewardFee).div(1000) (contracts/GEMS.sol#810)
- _rewardFee = amount.mul(sellRewardFee).div(1000) (contracts/GEMS.sol#817)
- _rewardFee = amount.mul(transferRewardFee).div(1000) (contracts/GEMS.sol#822)
- restoreAllFee() (contracts/GEMS.sol#844)
- _rewardFee = _previousRewardFee (contracts/GEMS.sol#859)
- _rewardFeeTokens = _rewardFeeTokens.add(_rewardFee) (contracts/GEMS.sol#841)
Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
State variables written after the call(s):
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- _balances[from] = fromBalance - amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#239)
- _balances[to] += amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#241)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- _liquidityTokensToSwap = 0 (contracts/GEMS.sol#905)
- _liquidityTokensToSwap = _liquidityTokensToSwap.add(_liquidityFee) (contracts/GEMS.sol#839)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- _marketingFeeTokensToSwap = 0 (contracts/GEMS.sol#906)
- _marketingFeeTokensToSwap = _marketingFeeTokensToSwap.add(_marketingFee) (contracts/GEMS.sol#840)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- _rewardFeeTokens = 0 (contracts/GEMS.sol#907)
- _rewardFeeTokens = _rewardFeeTokens.add(_rewardFee) (contracts/GEMS.sol#841)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#4) allows old versions
solc-0.8.13 is not recommended for deployment
Pragma version^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) allows old versions
Pragma version0.8.13 (contracts/GEMS.sol#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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 GEMS.takeFee() (contracts/GEMS.sol#865-908):
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeRouter01.WETH() (contracts/GEMS.sol#15) is not in mixedCase
Parameter GEMS.updateTreasuryAddress(address,bool)._treasuryAddress (contracts/GEMS.sol#688) is not in mixedCase
Parameter GEMS.updateMinimumTokensBeforeFeeTaken(uint256)._minimumFeeTokensToTake (contracts/GEMS.sol#561) is not in mixedCase
Parameter GEMS.updateSellFee(uint16,uint16,uint16)._sellMarketingFee (contracts/GEMS.sol#644) is not in mixedCase
Parameter GEMS.updateTransferFee(uint16,uint16,uint16)._transferMarketingFee (contracts/GEMS.sol#659) is not in mixedCase
Parameter GEMS.updateSellFee(uint16,uint16,uint16)._sellLiquidityFee (contracts/GEMS.sol#643) is not in mixedCase
Parameter GEMS.updateBuyFee(uint16,uint16,uint16)._buyMarketingFee (contracts/GEMS.sol#629) is not in mixedCase
Constant GEMS.maxFeeLimit (contracts/GEMS.sol#367) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter GEMS.updateBuyFee(uint16,uint16,uint16)._buyRewardFee (contracts/GEMS.sol#627) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (contracts/GEMS.sol#284) is not in mixedCase
Parameter GEMS.updateTransferFee(uint16,uint16,uint16)._transferRewardFee (contracts/GEMS.sol#657) is not in mixedCase
Parameter GEMS.updateSellFee(uint16,uint16,uint16)._sellRewardFee (contracts/GEMS.sol#642) is not in mixedCase
Function IPancakeFactory.INIT_CODE_PAIR_HASH() (contracts/GEMS.sol#356) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (contracts/GEMS.sol#253) is not in mixedCase
Parameter GEMS.updateBuyFee(uint16,uint16,uint16)._buyLiquidityFee (contracts/GEMS.sol#628) is not in mixedCase
Function IPancakePair.DOMAIN_SEPARATOR() (contracts/GEMS.sol#251) is not in mixedCase
Parameter GEMS.updateLiquidityAddress(address)._liquidityAddress (contracts/GEMS.sol#706) is not in mixedCase
Parameter GEMS.updateMarketingFeeAddress(address)._marketingFeeAddress (contracts/GEMS.sol#696) is not in mixedCase
Parameter GEMS.updateMaxTransactionAmount(uint256)._maxTransactionAmount (contracts/GEMS.sol#546) is not in mixedCase
Constant GEMS.maxProtectBlockLimit (contracts/GEMS.sol#368) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter GEMS.updateMaxWallet(uint256)._maxWallet (contracts/GEMS.sol#555) is not in mixedCase
Parameter GEMS.updateTransferFee(uint16,uint16,uint16)._transferLiquidityFee (contracts/GEMS.sol#658) is not in mixedCase
Parameter GEMS.updateTreasuryAddress(address,bool)._isTreasuryContract (contracts/GEMS.sol#688) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/GEMS.sol#20) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/GEMS.sol#21)
Prevent variables from having similar names.

Additional information: link

GEMS.updateGasPriceLimit(uint256) (contracts/GEMS.sol#598-601) uses literals with too many digits:
- require(bool,string)(10000000 < _gasPriceLimit,gasPricelimit > 10000000) (contracts/GEMS.sol#600)
GEMS.constructor(address,address,address,address,uint256[5],uint16[12]) (contracts/GEMS.sol#471-534) uses literals with too many digits:
- require(bool,string)(10000000 < _gasPriceLimit,gasPricelimit > 10000000) (contracts/GEMS.sol#489)
GEMS.constructor(address,address,address,address,uint256[5],uint16[12]) (contracts/GEMS.sol#471-534) uses literals with too many digits:
- _mint(msg.sender,100000000 * 10 ** decimals()) (contracts/GEMS.sol#479)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

GEMS._transfer(address,address,uint256) (contracts/GEMS.sol#714-845) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,One purchase per block) (contracts/GEMS.sol#745-748)
Do not use tx.origin for authorization.

Additional information: link

GEMS.takeFee() (contracts/GEMS.sol#865-908) ignores return value by stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
GEMS.addLiquidity(uint256,uint256) (contracts/GEMS.sol#924-934) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
Ensure that all the return values of the function calls are used.

Additional information: link

GEMS.setProtectBlockFee(uint16,uint16,uint16) (contracts/GEMS.sol#671-686) should emit an event for:
- _protectBlockRewardFee = protectBlockRewardFee (contracts/GEMS.sol#676)
- _protectBlockLiquidityFee = protectBlockLiquidityFee (contracts/GEMS.sol#677)
- _protectBlockMarketingFee = protectBlockMarketingFee (contracts/GEMS.sol#678)
GEMS.updateGasPriceLimit(uint256) (contracts/GEMS.sol#598-601) should emit an event for:
- _gasPriceLimit = gas * 1000000000 (contracts/GEMS.sol#599)
GEMS.updateProtectBlockCount(uint256) (contracts/GEMS.sol#570-576) should emit an event for:
- _protectBlockCount = protectBlockCount (contracts/GEMS.sol#574)
Emit an event for critical parameter changes.

Additional information: link

GEMS.updateLiquidityAddress(address)._liquidityAddress (contracts/GEMS.sol#706) lacks a zero-check on :
- liquidityAddress = address(_liquidityAddress) (contracts/GEMS.sol#710)
GEMS.constructor(address,address,address,address,uint256[5],uint16[12])._marketingFeeAddress (contracts/GEMS.sol#475) lacks a zero-check on :
- marketingFeeAddress = address(_marketingFeeAddress) (contracts/GEMS.sol#483)
GEMS.updateTreasuryAddress(address,bool)._treasuryAddress (contracts/GEMS.sol#688) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (contracts/GEMS.sol#689)
GEMS.constructor(address,address,address,address,uint256[5],uint16[12])._liquidityAddress (contracts/GEMS.sol#474) lacks a zero-check on :
- liquidityAddress = address(_liquidityAddress) (contracts/GEMS.sol#482)
GEMS.constructor(address,address,address,address,uint256[5],uint16[12])._treasuryAddress (contracts/GEMS.sol#473) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (contracts/GEMS.sol#484)
GEMS.updateMarketingFeeAddress(address)._marketingFeeAddress (contracts/GEMS.sol#696) lacks a zero-check on :
- marketingFeeAddress = address(_marketingFeeAddress) (contracts/GEMS.sol#700)
Check that the address is not zero.

Additional information: link

Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
State variables written after the call(s):
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#318)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- buyOrSellSwitch = TRANSFER (contracts/GEMS.sol#793)
- buyOrSellSwitch = PROTECT (contracts/GEMS.sol#806)
- buyOrSellSwitch = BUY (contracts/GEMS.sol#813)
- buyOrSellSwitch = SELL (contracts/GEMS.sol#820)
Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#318)
- _approve(address(this),address(stake),_rewardFeeTokens) (contracts/GEMS.sol#891)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#318)
Reentrancy in GEMS._transfer(address,address,uint256) (contracts/GEMS.sol#714-845):
External calls:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
State variables written after the call(s):
- buyOrSellSwitch = TRANSFER (contracts/GEMS.sol#793)
- buyOrSellSwitch = PROTECT (contracts/GEMS.sol#806)
- buyOrSellSwitch = BUY (contracts/GEMS.sol#813)
- buyOrSellSwitch = SELL (contracts/GEMS.sol#820)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Event emitted after the call(s):
- MarketingFeeTaken(_marketingFeeTokensToSwap,bnbForMarketing) (contracts/GEMS.sol#902)
Reentrancy in GEMS._transfer(address,address,uint256) (contracts/GEMS.sol#714-845):
External calls:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- takeFee() (contracts/GEMS.sol#788)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Event emitted after the call(s):
- Transfer(from,to,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#243)
- super._transfer(from,address(this),_feeTotal) (contracts/GEMS.sol#834-838)
- Transfer(from,to,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#243)
- super._transfer(from,to,_transferAmount) (contracts/GEMS.sol#831)
Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#319)
- _approve(address(this),address(stake),_rewardFeeTokens) (contracts/GEMS.sol#891)
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#319)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- SwapAndLiquify(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#884-887)
Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#319)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- MarketingFeeTaken(_marketingFeeTokensToSwap,bnbForMarketing) (contracts/GEMS.sol#902)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- RewardTaken(_rewardFeeTokens) (contracts/GEMS.sol#897)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- SwapAndLiquify(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#884-887)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- Transfer(from,to,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#243)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
Reentrancy in GEMS.takeFee() (contracts/GEMS.sol#865-908):
External calls:
- swapTokensForBNB(tokensForLiquidity.add(_marketingFeeTokensToSwap)) (contracts/GEMS.sol#876)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/GEMS.sol#915-921)
- stake.depositReward(_rewardFeeTokens) (contracts/GEMS.sol#892)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
External calls sending eth:
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (contracts/GEMS.sol#883)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- _transfer(address(this),treasuryAddress,_rewardFeeTokens) (contracts/GEMS.sol#894)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (contracts/GEMS.sol#926-933)
- (success,None) = address(marketingFeeAddress).call{value: bnbForMarketing}() (contracts/GEMS.sol#899-901)
Event emitted after the call(s):
- RewardTaken(_rewardFeeTokens) (contracts/GEMS.sol#897)
Apply the check-effects-interactions pattern.

Additional information: link

Different versions of Solidity are used:
- Version used: ['0.8.13', '^0.8.0']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#4)
- 0.8.13 (contracts/GEMS.sol#2)
Use one Solidity version.

Additional information: link

SafeMath.tryDiv(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#64-69) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#76-81) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#168-177) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#22-28) is never used and should be removed
ERC20._burn(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#280-295) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#217-226) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#191-200) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#151-153) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#47-57) is never used and should be removed
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#35-40) is never used and should be removed
Remove unused functions.

Additional information: link

transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#158-167)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#201-210)
symbol() should be declared external:
- ERC20.symbol() (@openzeppelin/contracts/token/ERC20/ERC20.sol#70-72)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#113-117)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#181-185)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
name() should be declared external:
- ERC20.name() (@openzeppelin/contracts/token/ERC20/ERC20.sol#62-64)
totalSupply() should be declared external:
- ERC20.totalSupply() (@openzeppelin/contracts/token/ERC20/ERC20.sol#94-96)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (@openzeppelin/contracts/token/ERC20/ERC20.sol#136-140)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- GEMS.setAutomatedMarketMakerPair(address,bool) (contracts/GEMS.sol#578-588)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity 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.


Token is deployed only at one blockchain


Number of Binance Smart Chain (BSC) token holders is low.

Contract has 9% buy tax and 9% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


Unable to find token on CoinHunt

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Token has no active CoinGecko listing / rank

Price for GEMS