The Rocks Token Logo

THEROCKS [The Rocks] Token

About THEROCKS

Listings

Token 2 years
white paper

THE ROCKS is the first GAMEFI project to allow the users to create their own NFT characters and features play-to-earn games portal with a variety of addictive mini games that keep players coming back.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

THEROCKS.swapAndLiquify(uint256) (#1061-1087) sends eth to arbitrary user
Dangerous calls:
- devWallet.transfer(amountDevBNB) (#1082)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in THEROCKS._transfer(address,address,uint256) (#1015-1059):
External calls:
- swapAndLiquify(contractTokenBalance) (#1046)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1046)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- devWallet.transfer(amountDevBNB) (#1082)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1058)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#977)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1154)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1165)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#891)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1156)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1166)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#893)
- _tokenTransfer(from,to,amount,takeFee) (#1058)
- _rTotal = _rTotal.sub(rFee) (#932)
- _tokenTransfer(from,to,amount,takeFee) (#1058)
- _swapFee = _previousLiquidityFee (#1000)
- _swapFee = 0 (#995)
- _tokenTransfer(from,to,amount,takeFee) (#1058)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#979)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1164)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#890)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1155)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#892)
Apply the check-effects-interactions pattern.

Additional information: link

THEROCKS.withdraw(address,uint256) (#1176-1178) ignores return value by IERC20(_token).transfer(_msgSender(),_amount) (#1177)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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


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.

THEROCKS.addLiquidity(uint256,uint256) (#1107-1120) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
Ensure that all the return values of the function calls are used.

Additional information: link

THEROCKS._approve(address,address,uint256).owner (#1007) shadows:
- Ownable.owner() (#412-414) (function)
Rename the local variables that shadow another component.

Additional information: link

THEROCKS.setMaxTxPercent(uint256) (#917-921) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(100) (#918-920)
Emit an event for critical parameter changes.

Additional information: link

THEROCKS.setDevWallet(address)._devWallet (#1172) lacks a zero-check on :
- devWallet = _devWallet (#1173)
Check that the address is not zero.

Additional information: link

Reentrancy in THEROCKS.transferFrom(address,address,uint256) (#815-819):
External calls:
- _transfer(sender,recipient,amount) (#816)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- _transfer(sender,recipient,amount) (#816)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- devWallet.transfer(amountDevBNB) (#1082)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#817)
- _allowances[owner][spender] = amount (#1011)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in THEROCKS.transferFrom(address,address,uint256) (#815-819):
External calls:
- _transfer(sender,recipient,amount) (#816)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- _transfer(sender,recipient,amount) (#816)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- devWallet.transfer(amountDevBNB) (#1082)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1012)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#817)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#459-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#461)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) uses assembly
- INLINE ASM (#370-373)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#225-228) is never used and should be removed
Remove unused functions.

Additional information: link

THEROCKS.numTokensSellToAddToLiquidity (#721) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(1000)
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

Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#357-378):
- (success,returndata) = target.call{value: weiValue}(data) (#361)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable THEROCKS._maxTxAmount (#720) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#237)" inContext (#231-240)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in THEROCKS.transferFrom(address,address,uint256) (#815-819):
External calls:
- _transfer(sender,recipient,amount) (#816)
- devWallet.transfer(amountDevBNB) (#1082)
External calls sending eth:
- _transfer(sender,recipient,amount) (#816)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1112-1119)
- devWallet.transfer(amountDevBNB) (#1082)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#817)
- _allowances[owner][spender] = amount (#1011)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1012)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#817)
Apply the check-effects-interactions pattern.

Additional information: link

Variable THEROCKS._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to THEROCKS._transferBothExcluded(address,address,uint256).tTransferAmount (#889)
Prevent variables from having similar names.

Additional information: link

THEROCKS.slitherConstructorVariables() (#680-1184) uses literals with too many digits:
- _tTotal = 21000000 * 10 ** 9 (#694)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

THEROCKS._tTotal (#694) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

isExcludedFromFee(address) should be declared external:
- THEROCKS.isExcludedFromFee(address) (#1003-1005)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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.


Twitter account link seems to be invalid


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


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 CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for THEROCKS