A decentralized gaming platform governed by the community that attracts people worldwide to play games and earn, providing people with different types of games they want to play.
GFC.addLiquidity(uint256,uint256) (#951-965) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GFC._transfer(address,address,uint256) (#793-828):
External calls:
- swapAndLiquify(numTokensSell) (#815)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#925-931)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#821)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
External calls sending eth:
- swapAndLiquify(numTokensSell) (#815)
- recipient.transfer(amount) (#911)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#821)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
State variables written after the call(s):
- _tokenTransfer(from,to,value) (#825)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(rFee) (#870)
- _gonBalances[sender] = _gonBalances[sender].sub(gonValue) (#851)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonValue) (#852)
- _gonBalances[sender] = _gonBalances[sender].sub(gonDeduct) (#843)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonValue) (#844)
- buyBackTokens(buybackLimit.div(buybackDivisor)) (#821)
- inSwapAndLiquify = true (#626)
- inSwapAndLiquify = false (#628)
Apply the check-effects-interactions pattern.
Additional information: link
GFC.burnAutoLP() (#1072-1078) ignores return value by uniswapV2Pair.transfer(owner(),balance) (#1077)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Ownable._lockTime (#263) is never initialized. It is used in:
- Ownable.getUnlockTime() (#314-316)
- Ownable.unlock() (#327-332)
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
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Combination 2: Unchecked transfer + 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.
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.
GFC.addLiquidity(uint256,uint256) (#951-965) ignores return value by uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
Ensure that all the return values of the function calls are used.
Additional information: link
GFC._approve(address,address,uint256).owner (#986) shadows:
- Ownable.owner() (#284-286) (function)
Rename the local variables that shadow another component.
Additional information: link
GFC.setMaster(address) (#716-722) should emit an event for:
- master = _master (#721)
Emit an event for critical parameter changes.
Additional information: link
GFC.setV2Pair(address)._lp (#1107) lacks a zero-check on :
- uniswapV2PairAddress = _lp (#1108)
Check that the address is not zero.
Additional information: link
Reentrancy in GFC.transferFrom(address,address,uint256) (#776-784):
External calls:
- _transfer(sender,recipient,amount) (#781)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#925-931)
External calls sending eth:
- _transfer(sender,recipient,amount) (#781)
- recipient.transfer(amount) (#911)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#782)
- _allowedFragments[owner][spender] = value (#990)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GFC.transferFrom(address,address,uint256) (#776-784):
External calls:
- _transfer(sender,recipient,amount) (#781)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#925-931)
External calls sending eth:
- _transfer(sender,recipient,amount) (#781)
- recipient.transfer(amount) (#911)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
Event emitted after the call(s):
- Approval(owner,spender,value) (#991)
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#782)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#327-332) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#329)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.sub(int256,int256) (#463-471) is never used and should be removed
Remove unused functions.
Additional information: link
Parameter GFC.setV2Pair(address)._lp (#1107) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in GFC.transferFrom(address,address,uint256) (#776-784):
External calls:
- _transfer(sender,recipient,amount) (#781)
- recipient.transfer(amount) (#911)
External calls sending eth:
- _transfer(sender,recipient,amount) (#781)
- recipient.transfer(amount) (#911)
- uniswapV2Router.addLiquidityETH.value(ethAmount)(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#957-964)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens.value(amount)(0,path,deadAddress,block.timestamp.add(300)) (#942-947)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#782)
- _allowedFragments[owner][spender] = value (#990)
Event emitted after the call(s):
- Approval(owner,spender,value) (#991)
- _approve(sender,msg.sender,_allowedFragments[sender][msg.sender].sub(amount)) (#782)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#127) is too similar to IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#128)
Prevent variables from having similar names.
Additional information: link
GFC.slitherConstructorVariables() (#556-1113) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#614)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GFC.privateSaleDropCompleted (#623) is never used in GFC (#556-1113)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#263) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setV2Pair(address) should be declared external:
- GFC.setV2Pair(address) (#1107-1110)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / 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
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account