Play crypto arcade games directly on Telegram and earn long term passive income through G² token reflections!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
G2.addLiquidity(uint256,uint256) (#771-784) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#776-783)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
G2.movepointer() (#997-1003) uses a weak PRNG: "listnumber = random() % (players.length) (#998)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in G2._transfer(address,address,uint256) (#673-722):
External calls:
- swapTokens(contractTokenBalance) (#692)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
- buyBackTokens(balance.div(100)) (#700)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
- g2_ticket.transfer(to,1 * 10 ** 9) (#716)
External calls sending eth:
- swapTokens(contractTokenBalance) (#692)
- recipient.transfer(amount) (#1155)
- buyBackTokens(balance.div(100)) (#700)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#720)
- _liquidityFee = _previousLiquidityFee (#948)
- _liquidityFee = 0 (#940)
- lottery() (#721)
- _liquidityFee = _previousLiquidityFee (#948)
- _liquidityFee = 0 (#940)
- _tokenTransfer(from,to,amount,takeFee) (#720)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#909)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#818)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#809)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#810)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#829)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#839)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#820)
- _rOwned[address(deadAddress)] = _rOwned[address(deadAddress)].add(rburn) (#915)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#830)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#841)
- lottery() (#721)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#909)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#818)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#809)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#810)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#829)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#839)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#820)
- _rOwned[address(deadAddress)] = _rOwned[address(deadAddress)].add(rburn) (#915)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#830)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#720)
- _rTotal = _rTotal.sub(rFee) (#848)
- lottery() (#721)
- _rTotal = _rTotal.sub(rFee) (#848)
- _tokenTransfer(from,to,amount,takeFee) (#720)
- _tOwned[address(this)] = _tOwned[address(this)].add(tliqfee) (#911)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#838)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#828)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#819)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#840)
- _tOwned[address(deadAddress)] = _tOwned[address(deadAddress)].add(tburn) (#917)
- lottery() (#721)
- _tOwned[address(this)] = _tOwned[address(this)].add(tliqfee) (#911)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#838)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#828)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#819)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#840)
- _tOwned[address(deadAddress)] = _tOwned[address(deadAddress)].add(tburn) (#917)
Apply the check-effects-interactions pattern.
Additional information: link
G2.gift_ticket(address) (#1024-1030) ignores return value by g2_ticket.transfer(_address_to_gift,1 * 10 ** 9) (#1028)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
G2.deadAddress (#438) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Contract name (G2 Crypto Gaming & Lottery) 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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
G2._takeLiquidity(uint256,uint256) (#904-918) performs a multiplication on the result of a division:
-tliqfee = _amount.mul(_liquidityFee).div(10 ** 2) (#907)
-rLiquidity = tliqfee.mul(currentRate) (#908)
Consider ordering multiplication before division.
Additional information: link
G2.addLiquidity(uint256,uint256) (#771-784) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#776-783)
Ensure that all the return values of the function calls are used.
Additional information: link
G2._approve(address,address,uint256).owner (#665) shadows:
- Ownable.owner() (#189-191) (function)
Rename the local variables that shadow another component.
Additional information: link
G2.setBuybackUpperLimit(uint256) (#1116-1118) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#1117)
Emit an event for critical parameter changes.
Additional information: link
G2.setMarketingAddress(address,address,IUniswapV2Router02)._PCS (#1120) lacks a zero-check on :
- PCS = _PCS (#1122)
Check that the address is not zero.
Additional information: link
Reentrancy in G2.transferFrom(address,address,uint256) (#591-595):
External calls:
- _transfer(sender,recipient,amount) (#592)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
- g2_ticket.transfer(to,1 * 10 ** 9) (#716)
External calls sending eth:
- _transfer(sender,recipient,amount) (#592)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#593)
- _allowances[owner][spender] = amount (#669)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in G2.transferFrom(address,address,uint256) (#591-595):
External calls:
- _transfer(sender,recipient,amount) (#592)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
- g2_ticket.transfer(to,1 * 10 ** 9) (#716)
External calls sending eth:
- _transfer(sender,recipient,amount) (#592)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#670)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#593)
Apply the check-effects-interactions pattern.
Additional information: link
G2.movepointer() (#997-1003) uses timestamp for comparisons
Dangerous comparisons:
- listnumber > players.length (#1000)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#156-173) uses assembly
- INLINE ASM (#165-168)
Do not use evm assembly.
Additional information: link
G2.calculateLiquidityFee(uint256) (#924-931) compares to a boolean constant:
-speedbrake_bool == true (#928)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#111-114) is never used and should be removed
Remove unused functions.
Additional information: link
G2._previousLiquidityFee (#466) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
solc-0.8.9 is not recommended for deployment
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._functionCallWithValue(address,bytes,uint256,string) (#156-173):
- (success,returndata) = target.call{value: weiValue}(data) (#159)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable G2.g2_ticket (#522) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#44)" inContext (#38-47)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in G2.transferFrom(address,address,uint256) (#591-595):
External calls:
- _transfer(sender,recipient,amount) (#592)
- recipient.transfer(amount) (#1155)
External calls sending eth:
- _transfer(sender,recipient,amount) (#592)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#762-767)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#593)
- _allowances[owner][spender] = amount (#669)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#670)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#593)
Apply the check-effects-interactions pattern.
Additional information: link
Variable G2.lottery().winner_scope_0 (#978) is too similar to G2.lottery().winner_scope_1 (#987)
Prevent variables from having similar names.
Additional information: link
G2.slitherConstructorVariables() (#433-1161) uses literals with too many digits:
- winlarge = 30000000 * 10 ** 9 (#519)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- G2.setBuyBackEnabled(bool) (#1131-1134)
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
Token has only one trading pair
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find Telegram link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account