Rocket Raccoon Token Logo

ROC [Rocket Raccoon] Token (3)

About ROC

Listings

Token 20 months
CoinGecko 19 months
CoinMarketCap 20 months
white paper

Peer-to-peer, community-driven, innovative, incentivized, and decentralized blockchain-based GameFi ecosystem.

RocChain is a newly-launched blockchain platform that lets users bridge over Rocket Raccoon (Roc) and use it for DeFi, NFTs, and more. With Rocchain, Rocket Raccoon holders can do more than simply hodl and wait for Rocket Raccoon to moon!

Social

Laser Scorebeta Last Audit: 23 November 2022

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

RocToken._owner (#419) shadows:
- Ownable._owner (#63)
Remove the state variable shadowing.

Additional information: link

Reentrancy in RocToken._transfer(address,address,uint256) (#515-570):
External calls:
- swapAndLiquify(contractTokenBalance) (#537)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#537)
- address(marketingaddress).transfer(address(this).balance) (#577)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#557)
- _balances[recipient] = _balances[recipient].add(TotalSent) (#558)
- _balances[address(this)] = _balances[address(this)].add(taxAmount) (#559)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#565)
- _balances[recipient] = _balances[recipient].add(amount) (#566)
Apply the check-effects-interactions pattern.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

Address.isContract(address) (#137-143) uses assembly
- INLINE ASM (#141)
Do not use evm assembly.

Additional information: link

Pragma version^0.8.15 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.15 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

RocToken.changeNumTokensSellToFee(uint256) (#498-502) should emit an event for:
- numTokensSellToFee = _numTokensSellToFee (#501)
RocToken.setSellMarketingFeePercent(uint256) (#480-484) should emit an event for:
- sellMarketingFee = updatedSellMarketingFee (#482)
RocToken.setBuyMarketingFeePercent(uint256) (#474-478) should emit an event for:
- buyMarketingFee = updatedBuyMarketingFee (#476)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in RocToken._transfer(address,address,uint256) (#515-570):
External calls:
- swapAndLiquify(contractTokenBalance) (#537)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#537)
- address(marketingaddress).transfer(address(this).balance) (#577)
State variables written after the call(s):
- marketingFee = buyMarketingFee (#553)
- marketingFee = sellMarketingFee (#554)
Reentrancy in RocToken.transferFrom(address,address,uint256) (#460-464):
External calls:
- _transfer(sender,recipient,amount) (#461)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- _transfer(sender,recipient,amount) (#461)
- address(marketingaddress).transfer(address(this).balance) (#577)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#462)
- _allowances[towner][spender] = amount (#604)
Apply the check-effects-interactions pattern.

Additional information: link

Parameter RocToken.setSwapAndLiquifyEnabled(bool)._enabled (#493) is not in mixedCase
Variable RocToken._allowances (#389) is not in mixedCase
Variable RocToken._balances (#388) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#210) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#227) is not in mixedCase
Variable RocToken._totalSupply (#392) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#209) is not in mixedCase
Parameter RocToken.changeNumTokensSellToFee(uint256)._numTokensSellToFee (#498) is not in mixedCase
Function IUniswapV2Router01.WETH() (#247) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in RocToken.transferFrom(address,address,uint256) (#460-464):
External calls:
- _transfer(sender,recipient,amount) (#461)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- _transfer(sender,recipient,amount) (#461)
- address(marketingaddress).transfer(address(this).balance) (#577)
Event emitted after the call(s):
- Approval(towner,spender,amount) (#605)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#462)
Reentrancy in RocToken.swapAndLiquify(uint256) (#572-580):
External calls:
- swapTokensForEth(contractTokenBalance) (#575)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- address(marketingaddress).transfer(address(this).balance) (#577)
Event emitted after the call(s):
- SwapAndLiquify(contractTokenBalance,address(this).balance) (#579)
Reentrancy in RocToken._transfer(address,address,uint256) (#515-570):
External calls:
- swapAndLiquify(contractTokenBalance) (#537)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#537)
- address(marketingaddress).transfer(address(this).balance) (#577)
Event emitted after the call(s):
- Transfer(sender,recipient,TotalSent) (#560)
- Transfer(sender,address(this),taxAmount) (#561)
- Transfer(sender,recipient,amount) (#567)
Apply the check-effects-interactions pattern.

Additional information: link

SafeBEP20.safeTransferFrom(IBEP20,address,address,uint256) (#154-156) is never used and should be removed
SafeBEP20.callOptionalReturn(IBEP20,bytes) (#164-175) is never used and should be removed
SafeBEP20.safeTransfer(IBEP20,address,uint256) (#150-152) is never used and should be removed
SafeBEP20.safeApprove(IBEP20,address,uint256) (#158-163) is never used and should be removed
Address.isContract(address) (#137-143) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in SafeBEP20.callOptionalReturn(IBEP20,bytes) (#164-175):
- (success,returndata) = address(token).call(data) (#168)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Reentrancy in RocToken.swapAndLiquify(uint256) (#572-580):
External calls:
- address(marketingaddress).transfer(address(this).balance) (#577)
Event emitted after the call(s):
- SwapAndLiquify(contractTokenBalance,address(this).balance) (#579)
Reentrancy in RocToken._transfer(address,address,uint256) (#515-570):
External calls:
- swapAndLiquify(contractTokenBalance) (#537)
- address(marketingaddress).transfer(address(this).balance) (#577)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#557)
- _balances[recipient] = _balances[recipient].add(TotalSent) (#558)
- _balances[address(this)] = _balances[address(this)].add(taxAmount) (#559)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#565)
- _balances[recipient] = _balances[recipient].add(amount) (#566)
- marketingFee = buyMarketingFee (#553)
- marketingFee = sellMarketingFee (#554)
Event emitted after the call(s):
- Transfer(sender,recipient,TotalSent) (#560)
- Transfer(sender,address(this),taxAmount) (#561)
- Transfer(sender,recipient,amount) (#567)
Reentrancy in RocToken.transferFrom(address,address,uint256) (#460-464):
External calls:
- _transfer(sender,recipient,amount) (#461)
- address(marketingaddress).transfer(address(this).balance) (#577)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#462)
- _allowances[towner][spender] = amount (#604)
Event emitted after the call(s):
- Approval(towner,spender,amount) (#605)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#462)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#252) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#253)
Prevent variables from having similar names.

Additional information: link

RocToken.changeNumTokensSellToFee(uint256) (#498-502) uses literals with too many digits:
- require(bool,string)(_numTokensSellToFee >= 10000 * 10 ** 18 && _numTokensSellToFee <= 10000000 * 10 ** 18,Threshold must be set within 10,000 to 10,000,000 tokens) (#500)
RocToken.slitherConstructorVariables() (#380-609) uses literals with too many digits:
- numTokensSellToFee = 100000 * 10 ** 18 (#404)
RocToken.constructor() (#421-441) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** 18) (#423)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

transferFrom(address,address,uint256) should be declared external:
- RocToken.transferFrom(address,address,uint256) (#460-464)
allowance(address,address) should be declared external:
- RocToken.allowance(address,address) (#453-455)
excludeFromFee(address) should be declared external:
- RocToken.excludeFromFee(address) (#504-506)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#98-101)
includeInFee(address) should be declared external:
- RocToken.includeInFee(address) (#508-510)
increaseAllowance(address,uint256) should be declared external:
- RocToken.increaseAllowance(address,uint256) (#465-468)
setSwapAndLiquifyEnabled(bool) should be declared external:
- RocToken.setSwapAndLiquifyEnabled(bool) (#493-496)
transfer(address,uint256) should be declared external:
- RocToken.transfer(address,uint256) (#449-452)
approve(address,uint256) should be declared external:
- RocToken.approve(address,uint256) (#456-459)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#107-111)
totalSupply() should be declared external:
- RocToken.totalSupply() (#443-445)
symbol() should be declared external:
- BEP20Detailed.symbol() (#128-130)
decimals() should be declared external:
- BEP20Detailed.decimals() (#131-133)
decreaseAllowance(address,uint256) should be declared external:
- RocToken.decreaseAllowance(address,uint256) (#469-472)
name() should be declared external:
- BEP20Detailed.name() (#125-127)
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


Unable to find Discord account


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

Additional information: link


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to verify token contract address on the website


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for ROC

News for ROC