RocketShip, A utility meme token community with rewards.
Reentrancy in Rocket._transferFrom(address,address,uint256) (#495-547):
External calls:
- swapBack() (#525)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#633-639)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
External calls sending eth:
- swapBack() (#525)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#527)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#530)
- amountReceived = takeFee(sender,amount,(recipient == pair),recipient) (#529)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#575)
- _balances[burnFeeReceiver] = _balances[burnFeeReceiver].add(burnTokens) (#576)
Apply the check-effects-interactions pattern.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Rocket.swapBack() (#622-670) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
DividendDistributor.distributeDividend(address) (#289-300) ignores return value by RWRD.transfer(shareholder,amount) (#295)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Rocket.swapBack().tmpSuccess (#652) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
(tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
Rocket.swapBack().tmpSuccess (#652) is written in both
(tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
Rocket.swapBack().tmpSuccess (#652) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
tmpSuccess = false (#657)
Fix or remove the writes.
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.
Contract ownership is not renounced (belongs to a wallet)
Rocket.takeFee(address,uint256,bool,address) (#564-585) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#571)
-burnTokens = feeAmount.mul(burnFee).div(totalFee) (#572)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#289-300):
External calls:
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#297)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#298)
Reentrancy in DividendDistributor.process(uint256) (#258-282):
External calls:
- distributeDividend(shareholders[currentIndex]) (#274)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- currentIndex ++ (#279)
Reentrancy in DividendDistributor.setShare(address,uint256) (#222-236):
External calls:
- distributeDividend(shareholder) (#224)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shares[shareholder].amount = amount (#234)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#235)
Apply the check-effects-interactions pattern.
Additional information: link
Rocket.manage_blacklist(address[],bool).i (#691) is a local variable never initialized
Rocket.manage_whitelist(address[],bool).i (#697) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Rocket.swapBack() (#622-670) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256,bool) (#216-220) should emit an event for:
- minPeriod = _minPeriod (#217)
- minDistribution = _minDistribution (#218)
Rocket.setMaxTxPercent_base1000(uint256) (#487-489) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#488)
Rocket.setMaxTxAmount(uint256) (#491-493) should emit an event for:
- _maxTxAmount = amount (#492)
Rocket.Sell_Multiplier(uint256) (#606-609) should emit an event for:
- sellMultiplier = _sell (#607)
Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#714-724) should emit an event for:
- liquidityFee = _liquidityFee (#715)
- rewardFee = _rewardFee (#716)
- marketingFee = _marketingFee (#717)
- buybackFee = _buybackFee (#718)
- devFee = _devFee (#719)
- burnFee = _burnFee (#720)
- totalFee = _liquidityFee + _rewardFee + _marketingFee + _buybackFee + _burnFee + _devFee (#721)
- feeDenominator = _feeDenominator (#722)
Rocket.setSwapBackSettings(bool,uint256) (#734-737) should emit an event for:
- swapThreshold = _amount (#736)
Rocket.setTargetLiquidity(uint256,uint256) (#739-742) should emit an event for:
- targetLiquidity = _target (#740)
- targetLiquidityDenominator = _denominator (#741)
Emit an event for critical parameter changes.
Additional information: link
DividendDistributor.constructor(address,address)._owner (#210) lacks a zero-check on :
- _tokenowner = _owner (#213)
Auth.transferOwnership(address).adr (#97) lacks a zero-check on :
- owner = adr (#98)
Rocket.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#726) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#727)
Rocket.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#726) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#728)
Rocket.setFeeReceivers(address,address,address,address,address)._buybackFeeReceiver (#726) lacks a zero-check on :
- buybackFeeReceiver = _buybackFeeReceiver (#729)
Rocket.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#726) lacks a zero-check on :
- burnFeeReceiver = _burnFeeReceiver (#730)
Rocket.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#726) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#731)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#289-300) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#295)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Rocket._transferFrom(address,address,uint256) (#495-547):
External calls:
- swapBack() (#525)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#633-639)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
- distributor.setShare(sender,_balances[sender]) (#533)
- distributor.setShare(recipient,_balances[recipient]) (#537)
- distributor.process(distributorGas) (#541)
External calls sending eth:
- swapBack() (#525)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#545)
Reentrancy in Rocket._transferFrom(address,address,uint256) (#495-547):
External calls:
- swapBack() (#525)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#633-639)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
External calls sending eth:
- swapBack() (#525)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
Event emitted after the call(s):
- Transfer(sender,address(this),contractTokens) (#577)
- amountReceived = takeFee(sender,amount,(recipient == pair),recipient) (#529)
- Transfer(sender,burnFeeReceiver,burnTokens) (#580)
- amountReceived = takeFee(sender,amount,(recipient == pair),recipient) (#529)
Reentrancy in Rocket.constructor() (#411-449):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#415)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#448)
Reentrancy in Rocket.swapBack() (#622-670):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#633-639)
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
External calls sending eth:
- distributor.deposit{value: amountBNBreward}() (#651)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#660-667)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#668)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#284-287) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#285-286)
Rocket._transferFrom(address,address,uint256) (#495-547) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#518)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#258-282) has costly operations inside a loop:
- currentIndex = 0 (#270)
DividendDistributor.distributeDividend(address) (#289-300) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#294)
DividendDistributor.process(uint256) (#258-282) has costly operations inside a loop:
- currentIndex ++ (#279)
Use a local variable to hold the loop computation result.
Additional information: link
Rocket._maxTxAmount (#353) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
Rocket._maxWalletToken (#354) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(2).div(100)
Rocket.totalFee (#376) is set pre-construction with a non-constant function or state variable:
- marketingFee + rewardFee + liquidityFee + buybackFee + burnFee + devFee
Rocket.swapThreshold (#407) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 25 / 10000
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
Pragma version^0.8.10 (#7) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 Rocket.swapBack() (#622-670):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#652)
- (tmpSuccess,None) = address(buybackFeeReceiver).call{gas: 30000,value: amountBNBbuyback}() (#653)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBdev}() (#654)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#112) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,bool)._minPeriod (#216) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,bool)._minDistribution (#216) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256,bool)._enabled (#216) is not in mixedCase
Variable DividendDistributor._token (#169) is not in mixedCase
Variable DividendDistributor._tokenowner (#170) is not in mixedCase
Variable DividendDistributor.RWRD (#178) is not in mixedCase
Function Rocket.setMaxWalletPercent_base1000(uint256) (#483-485) is not in mixedCase
Parameter Rocket.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#483) is not in mixedCase
Function Rocket.setMaxTxPercent_base1000(uint256) (#487-489) is not in mixedCase
Parameter Rocket.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#487) is not in mixedCase
Function Rocket.ManualSend(uint256) (#594-597) is not in mixedCase
Function Rocket.ClearForeignToken(address,uint256) (#599-604) is not in mixedCase
Function Rocket.Sell_Multiplier(uint256) (#606-609) is not in mixedCase
Parameter Rocket.Sell_Multiplier(uint256)._sell (#606) is not in mixedCase
Function Rocket.OpenTrading(uint256,uint256) (#611-616) is not in mixedCase
Parameter Rocket.OpenTrading(uint256,uint256)._swapAt (#611) is not in mixedCase
Parameter Rocket.OpenTrading(uint256,uint256)._swapDelay (#611) is not in mixedCase
Parameter Rocket.cooldownEnabled(bool,uint8)._status (#618) is not in mixedCase
Parameter Rocket.cooldownEnabled(bool,uint8)._interval (#618) is not in mixedCase
Function Rocket.enable_blacklist(bool) (#682-684) is not in mixedCase
Parameter Rocket.enable_blacklist(bool)._status (#682) is not in mixedCase
Function Rocket.enable_whitelist(bool) (#686-688) is not in mixedCase
Parameter Rocket.enable_whitelist(bool)._status (#686) is not in mixedCase
Function Rocket.manage_blacklist(address[],bool) (#690-694) is not in mixedCase
Function Rocket.manage_whitelist(address[],bool) (#696-700) is not in mixedCase
Function Rocket.SetFeeExempt(address,bool) (#702-704) is not in mixedCase
Function Rocket.SetTXLimitExempt(address,bool) (#706-708) is not in mixedCase
Function Rocket.no_cooldown(address,bool) (#710-712) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._rewardFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#714) is not in mixedCase
Parameter Rocket.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#714) is not in mixedCase
Parameter Rocket.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#726) is not in mixedCase
Parameter Rocket.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#726) is not in mixedCase
Parameter Rocket.setFeeReceivers(address,address,address,address,address)._buybackFeeReceiver (#726) is not in mixedCase
Parameter Rocket.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#726) is not in mixedCase
Parameter Rocket.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#726) is not in mixedCase
Parameter Rocket.setSwapBackSettings(bool,uint256)._enabled (#734) is not in mixedCase
Parameter Rocket.setSwapBackSettings(bool,uint256)._amount (#734) is not in mixedCase
Parameter Rocket.setTargetLiquidity(uint256,uint256)._target (#739) is not in mixedCase
Parameter Rocket.setTargetLiquidity(uint256,uint256)._denominator (#739) is not in mixedCase
Parameter Rocket.setDistributionCriteria(uint256,uint256,bool)._minPeriod (#744) is not in mixedCase
Parameter Rocket.setDistributionCriteria(uint256,uint256,bool)._minDistribution (#744) is not in mixedCase
Parameter Rocket.setDistributionCriteria(uint256,uint256,bool)._enabled (#744) is not in mixedCase
Variable Rocket.WBNB (#343) is not in mixedCase
Variable Rocket.DEAD (#344) is not in mixedCase
Variable Rocket.ZERO (#345) is not in mixedCase
Constant Rocket._name (#347) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Rocket._symbol (#348) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Rocket._decimals (#349) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Rocket._totalSupply (#351) is not in mixedCase
Variable Rocket._maxTxAmount (#353) is not in mixedCase
Variable Rocket._maxWalletToken (#354) is not in mixedCase
Variable Rocket._balances (#356) is not in mixedCase
Variable Rocket._allowances (#357) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#117) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#118)
Prevent variables from having similar names.
Additional information: link
Rocket.slitherConstructorVariables() (#340-768) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#344)
Rocket.slitherConstructorVariables() (#340-768) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#345)
Rocket.slitherConstructorVariables() (#340-768) uses literals with too many digits:
- distributorGas = 500000 (#400)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#191) should be constant
Rocket.DEAD (#344) should be constant
Rocket.ZERO (#345) should be constant
Rocket._totalSupply (#351) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#80-82)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#84-86)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#97-101)
OpenTrading(uint256,uint256) should be declared external:
- Rocket.OpenTrading(uint256,uint256) (#611-616)
cooldownEnabled(bool,uint8) should be declared external:
- Rocket.cooldownEnabled(bool,uint8) (#618-621)
enable_blacklist(bool) should be declared external:
- Rocket.enable_blacklist(bool) (#682-684)
enable_whitelist(bool) should be declared external:
- Rocket.enable_whitelist(bool) (#686-688)
manage_blacklist(address[],bool) should be declared external:
- Rocket.manage_blacklist(address[],bool) (#690-694)
manage_whitelist(address[],bool) should be declared external:
- Rocket.manage_whitelist(address[],bool) (#696-700)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in Rocket.constructor() (#411-449):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#415)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#416)
- _balances[msg.sender] = _totalSupply (#447)
- autoLiquidityReceiver = msg.sender (#441)
- burnFeeReceiver = DEAD (#445)
- buybackFeeReceiver = 0xAB6Cd860c54947C85eadC72405745d086484Ca81 (#443)
- devFeeReceiver = 0xaF153c388ACc8CbEEeEd39512569941437CF84C0 (#444)
- distributor = new DividendDistributor(address(router),msg.sender) (#418)
- isDividendExempt[pair] = true (#436)
- isDividendExempt[address(this)] = true (#437)
- isDividendExempt[DEAD] = true (#438)
- isDividendExempt[marketingFeeReceiver] = true (#439)
- isFeeExempt[msg.sender] = true (#420)
- isFeeExempt[marketingFeeReceiver] = true (#421)
- isFeeExempt[devFeeReceiver] = true (#422)
- isFeeExempt[buybackFeeReceiver] = true (#423)
- isTimelockExempt[msg.sender] = true (#432)
- isTimelockExempt[DEAD] = true (#433)
- isTimelockExempt[address(this)] = true (#434)
- isTxLimitExempt[msg.sender] = true (#425)
- isTxLimitExempt[marketingFeeReceiver] = true (#426)
- isTxLimitExempt[devFeeReceiver] = true (#427)
- isTxLimitExempt[buybackFeeReceiver] = true (#428)
- isTxLimitExempt[pair] = true (#429)
- isTxLimitExempt[address(this)] = true (#430)
- marketingFeeReceiver = 0xAB6Cd860c54947C85eadC72405745d086484Ca81 (#442)
Reentrancy in DividendDistributor.deposit() (#238-256):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#245-250)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#255)
- totalDividends = totalDividends.add(amount) (#254)
Reentrancy in DividendDistributor.distributeDividend(address) (#289-300):
External calls:
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#296)
Reentrancy in DividendDistributor.setShare(address,uint256) (#222-236):
External calls:
- distributeDividend(shareholder) (#224)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- addShareholder(shareholder) (#228)
- shareholderIndexes[shareholder] = shareholders.length (#329)
- removeShareholder(shareholder) (#230)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#335)
- addShareholder(shareholder) (#228)
- shareholders.push(shareholder) (#330)
- removeShareholder(shareholder) (#230)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#334)
- shareholders.pop() (#336)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#233)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ticker ($SHIP) 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.
Contract has 2% buy tax and 13% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper 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 find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account has less than 100 followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts