Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in RocketLaunch._transfer(address,address,uint256) (#631-681):
External calls:
- collectFees() (#661)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#675)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#772)
- _balances[recipient] = _balances[recipient].add(amount) (#773)
- transferToken(from,deadAddress,toBurnAmount) (#676)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#772)
- _balances[recipient] = _balances[recipient].add(amount) (#773)
Reentrancy in RocketLaunch._transfer(address,address,uint256) (#631-681):
External calls:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
State variables written after the call(s):
- transferToken(from,to,amount) (#680)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#772)
- _balances[recipient] = _balances[recipient].add(amount) (#773)
Apply the check-effects-interactions pattern.
Additional information: link
RocketLaunch.swapAndSendToFee(uint256) (#711-717) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
RocketLaunch.addLiquidity(uint256,uint256) (#754-766) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Ensure that all the return values of the function calls are used.
Additional information: link
RocketLaunch.allowance(address,address).owner (#502) shadows:
- Ownable.owner() (#168-170) (function)
RocketLaunch._approve(address,address,uint256).owner (#527) shadows:
- Ownable.owner() (#168-170) (function)
Rename the local variables that shadow another component.
Additional information: link
RocketLaunch.setLiquifyThreshhold(uint256) (#564-566) should emit an event for:
- _liquifyThreshhold = newLiquifyThreshhold (#565)
RocketLaunch.setMaxBal(uint256) (#572-576) should emit an event for:
- _maxBalance = newMaxBalance (#575)
Emit an event for critical parameter changes.
Additional information: link
RocketLaunch.setMarketingAddr(address).newMarketingAddress (#535) lacks a zero-check on :
- marketingAddress = newMarketingAddress (#536)
RocketLaunch.setMarketingWalletToken(address)._marketingWalletToken (#568) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#569)
Check that the address is not zero.
Additional information: link
Reentrancy in RocketLaunch.collectFees() (#683-693):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- swapAndSendToFee(marketingTokensToSell) (#692)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
State variables written after the call(s):
- swapAndSendToFee(marketingTokensToSell) (#692)
- _allowances[owner][spender] = amount (#531)
Reentrancy in RocketLaunch.constructor() (#448-473):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#450-451)
State variables written after the call(s):
- _balances[_msgSender()] = _totalSupply (#471)
- _burnFee = 0 (#464)
- _isExcludedFromFees[owner()] = true (#455)
- _isExcludedFromFees[address(this)] = true (#456)
- _isExcludedFromMaxBalance[owner()] = true (#458)
- _isExcludedFromMaxBalance[address(this)] = true (#459)
- _isExcludedFromMaxBalance[uniswapV2Pair] = true (#460)
- _liquidityFee = 4 (#462)
- _liquifyThreshhold = 300 * 10 ** 9 * 10 ** _decimals (#468)
- _marketingFee = 5 (#463)
- _maxBalance = 6 * 10 ** 9 * 10 ** _decimals (#469)
- _totalFees = _liquidityFee.add(_marketingFee).add(_burnFee) (#465)
- _totalFeesToContract = _liquidityFee.add(_marketingFee) (#466)
- uniswapV2Router = _uniswapV2Router (#453)
Reentrancy in RocketLaunch.swapAndLiquify(uint256) (#695-709):
External calls:
- swapTokensForEth(half) (#703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- addLiquidity(otherHalf,newBalance) (#708)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#708)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#708)
- _allowances[owner][spender] = amount (#531)
Reentrancy in RocketLaunch.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
- _allowances[owner][spender] = amount (#531)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RocketLaunch._transfer(address,address,uint256) (#631-681):
External calls:
- collectFees() (#661)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Event emitted after the call(s):
- TokenBurn(from,toBurnAmount) (#677)
- Transfer(sender,recipient,amount) (#774)
- transferToken(from,deadAddress,toBurnAmount) (#676)
- Transfer(sender,recipient,amount) (#774)
- transferToken(from,address(this),feesToContract) (#675)
Reentrancy in RocketLaunch._transfer(address,address,uint256) (#631-681):
External calls:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- collectFees() (#661)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#774)
- transferToken(from,to,amount) (#680)
Reentrancy in RocketLaunch.collectFees() (#683-693):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- swapAndSendToFee(marketingTokensToSell) (#692)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#532)
- swapAndSendToFee(marketingTokensToSell) (#692)
Reentrancy in RocketLaunch.constructor() (#448-473):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#450-451)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#472)
Reentrancy in RocketLaunch.swapAndLiquify(uint256) (#695-709):
External calls:
- swapTokensForEth(half) (#703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- addLiquidity(otherHalf,newBalance) (#708)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#708)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#532)
- addLiquidity(otherHalf,newBalance) (#708)
Reentrancy in RocketLaunch.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#716)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#727-733)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#745-751)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#758-765)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#532)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#98-107) uses assembly
- INLINE ASM (#105)
Address._functionCallWithValue(address,bytes,uint256,string) (#135-152) uses assembly
- INLINE ASM (#144-147)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#135-152) is never used and should be removed
Address.functionCall(address,bytes) (#118-120) is never used and should be removed
Address.functionCall(address,bytes,string) (#122-124) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#126-128) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#130-133) is never used and should be removed
Address.isContract(address) (#98-107) is never used and should be removed
Address.sendValue(address,uint256) (#109-115) is never used and should be removed
Context._msgData() (#21-24) is never used and should be removed
SafeMath.mod(uint256,uint256) (#86-88) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#90-93) is never used and should be removed
Remove unused functions.
Additional information: link
RocketLaunch._totalSupply (#416) is set pre-construction with a non-constant function or state variable:
- 300 * 10 ** 9 * 10 ** _decimals
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.sendValue(address,uint256) (#109-115):
- (success) = recipient.call{value: amount}() (#113)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#135-152):
- (success,returndata) = target.call{value: weiValue}(data) (#138)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#225) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#226) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#242) is not in mixedCase
Function IUniswapV2Router01.WETH() (#263) is not in mixedCase
Parameter RocketLaunch.setMarketingWalletToken(address)._marketingWalletToken (#568) is not in mixedCase
Constant RocketLaunch.deadAddress (#420) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RocketLaunch._maxFees (#427) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#22)" inContext (#16-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#268) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#269)
Prevent variables from having similar names.
Additional information: link
RocketLaunch.slitherConstructorConstantVariables() (#404-777) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#420)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#157) is never used in RocketLaunch (#404-777)
Ownable._lockTime (#158) is never used in RocketLaunch (#404-777)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#158) should be constant
Ownable._previousOwner (#157) should be constant
RocketLaunch._decimals (#415) should be constant
RocketLaunch._name (#413) should be constant
RocketLaunch._symbol (#414) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#177-180)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#182-186)
name() should be declared external:
- RocketLaunch.name() (#477-479)
symbol() should be declared external:
- RocketLaunch.symbol() (#481-483)
decimals() should be declared external:
- RocketLaunch.decimals() (#485-487)
totalSupply() should be declared external:
- RocketLaunch.totalSupply() (#489-491)
transfer(address,uint256) should be declared external:
- RocketLaunch.transfer(address,uint256) (#497-500)
allowance(address,address) should be declared external:
- RocketLaunch.allowance(address,address) (#502-504)
approve(address,uint256) should be declared external:
- RocketLaunch.approve(address,uint256) (#506-509)
transferFrom(address,address,uint256) should be declared external:
- RocketLaunch.transferFrom(address,address,uint256) (#511-515)
increaseAllowance(address,uint256) should be declared external:
- RocketLaunch.increaseAllowance(address,uint256) (#517-520)
decreaseAllowance(address,uint256) should be declared external:
- RocketLaunch.decreaseAllowance(address,uint256) (#522-525)
isExcludedFromFees(address) should be declared external:
- RocketLaunch.isExcludedFromFees(address) (#578-580)
exceptFromFee(address) should be declared external:
- RocketLaunch.exceptFromFee(address) (#582-584)
unexceptInFees(address) should be declared external:
- RocketLaunch.unexceptInFees(address) (#586-588)
isExcludedFromMaxBalance(address) should be declared external:
- RocketLaunch.isExcludedFromMaxBalance(address) (#590-592)
excludeFromMaxBalance(address) should be declared external:
- RocketLaunch.excludeFromMaxBalance(address) (#594-596)
includeInMaxBalance(address) should be declared external:
- RocketLaunch.includeInMaxBalance(address) (#598-600)
totalFees() should be declared external:
- RocketLaunch.totalFees() (#602-604)
liquidityFee() should be declared external:
- RocketLaunch.liquidityFee() (#606-608)
marketingFee() should be declared external:
- RocketLaunch.marketingFee() (#610-612)
burnFee() should be declared external:
- RocketLaunch.burnFee() (#614-616)
maxFees() should be declared external:
- RocketLaunch.maxFees() (#618-620)
liquifyThreshhold() should be declared external:
- RocketLaunch.liquifyThreshhold() (#622-624)
maxBalance() should be declared external:
- RocketLaunch.maxBalance() (#626-628)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 9% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts