Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in RLGL._transfer(address,address,uint256) (#674-712):
External calls:
- swapAndLiquify(contractTokenBalance) (#702)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#736-742)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#702)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#612)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rCharity) (#620)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#790)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#780)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#802)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#781)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#518)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#803)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#792)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#520)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rTotal = _rTotal.sub(rFee) (#565)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#614)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tCharity) (#622)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#801)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#517)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#791)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#519)
Apply the check-effects-interactions pattern.
Additional information: link
Contract name (RLGL (Squid Game)) 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.
RLGL.addLiquidity(uint256,uint256) (#745-756) ignores return value by pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Ensure that all the return values of the function calls are used.
Additional information: link
RLGL._approve(address,address,uint256).owner (#666) shadows:
- Ownable.owner() (#96-98) (function)
Rename the local variables that shadow another component.
Additional information: link
RLGL.setMaxTxPercent(uint256) (#547-551) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#548-550)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in RLGL.transferFrom(address,address,uint256) (#431-435):
External calls:
- _transfer(sender,recipient,amount) (#432)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#736-742)
External calls sending eth:
- _transfer(sender,recipient,amount) (#432)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#433)
- _allowances[owner][spender] = amount (#670)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RLGL.transferFrom(address,address,uint256) (#431-435):
External calls:
- _transfer(sender,recipient,amount) (#432)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#736-742)
External calls sending eth:
- _transfer(sender,recipient,amount) (#432)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#748-755)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#671)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#433)
Apply the check-effects-interactions pattern.
Additional information: link
RLGL._transfer(address,address,uint256) (#674-712) compares to a boolean constant:
-require(bool,string)(sell == true,@[email protected]) (#686)
Remove the equality to the boolean constant.
Additional information: link
RLGL._previousLiquidityFee (#353) 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.7 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
Variable RLGL._maxTxAmount (#361) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable RLGL._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#588) is too similar to RLGL._getTValues(uint256).tTransferAmount (#579)
Prevent variables from having similar names.
Additional information: link
RLGL.slitherConstructorVariables() (#322-811) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 18 (#362)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
RLGL.numTokensSellToAddToLiquidity (#362) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- RLGL.isExcludedFromFee(address) (#661-664)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts