Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Robo.swapAndSendToReward(uint256) (Robo.sol#592-597) sends eth to arbitrary user
Dangerous calls:
- rewardsPool.transfer(rewardBNB) (Robo.sol#596)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#97)
Apply the check-effects-interactions pattern.
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.
Robo.swapAndLiquify(uint256) (Robo.sol#510-546) performs a multiplication on the result of a division:
-unitBalance = deltaBalance.div(denominator.sub(liquidityFee)) (Robo.sol#526)
-dividends = unitBalance.mul(2).mul(BNBRewardsFee) (Robo.sol#537)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Robo.updateDividendTracker(address) (Robo.sol#170-185):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Robo.sol#177)
- newDividendTracker.excludeFromDividends(address(this)) (Robo.sol#178)
- newDividendTracker.excludeFromDividends(owner()) (Robo.sol#179)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Robo.sol#180)
State variables written after the call(s):
- dividendTracker = newDividendTracker (Robo.sol#184)
Apply the check-effects-interactions pattern.
Additional information: link
Robo._transfer(address,address,uint256).iterations (Robo.sol#474) 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
Robo.addLiquidity(uint256,uint256) (Robo.sol#567-582) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Robo.sol#573-580)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#46) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Robo.setBuybackUpperLimit(uint256) (Robo.sol#588-590) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (Robo.sol#589)
Emit an event for critical parameter changes.
Additional information: link
Robo.setRewardsPool(address).rewardsPoolAddress (Robo.sol#347) lacks a zero-check on :
- rewardsPool = rewardsPoolAddress (Robo.sol#348)
Check that the address is not zero.
Additional information: link
Variable 'Robo._transfer(address,address,uint256).lastProcessedIndex (Robo.sol#474)' in Robo._transfer(address,address,uint256) (Robo.sol#378-481) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Robo.sol#475)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in Robo.swapAndLiquify(uint256) (Robo.sol#510-546):
External calls:
- swapTokensForEth(toSwap) (Robo.sol#523)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Robo.sol#557-563)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Robo.sol#530)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Robo.sol#573-580)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Robo.sol#530)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Robo.sol#573-580)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Robo.sol#530)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Robo.updateDividendTracker(address) (Robo.sol#170-185):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Robo.sol#177)
- newDividendTracker.excludeFromDividends(address(this)) (Robo.sol#178)
- newDividendTracker.excludeFromDividends(owner()) (Robo.sol#179)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Robo.sol#180)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (Robo.sol#182)
Apply the check-effects-interactions pattern.
Additional information: link
Robo._transfer(address,address,uint256) (Robo.sol#378-481) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLaunch <= 3600 && from == uniswapV2Pair && ! _isExcludedFromFees[to] && ! _isExcludedPresaleContract[from] && ! _isExcludedPresaleContract[to] (Robo.sol#406)
- timeSinceLaunch <= 10 * 60 (Robo.sol#407)
- timeSinceLaunch > 10 * 60 && timeSinceLaunch <= 15 * 60 (Robo.sol#408)
- timeSinceLaunch > 15 * 60 && timeSinceLaunch <= 30 * 60 (Robo.sol#409)
- timeSinceLaunch > 30 * 60 && timeSinceLaunch <= 60 * 60 (Robo.sol#410)
- block.timestamp > lastTransferTokenRewardsTimestamp.add(lastTransferTokenRewardsInterval) && address(this).balance > buy2rewthreshold (Robo.sol#414)
- timePasses <= 3 * 3600 (Robo.sol#455)
Avoid relying on block.timestamp.
Additional information: link
Robo._transfer(address,address,uint256) (Robo.sol#378-481) compares to a boolean constant:
-require(bool,string)(tradingEnabled == true,Trading not enabled yet) (Robo.sol#386)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.2']
- ^0.6.2 (Context.sol#3)
- ^0.6.2 (DividendPayingToken.sol#3)
- ^0.6.2 (DividendPayingTokenInterface.sol#3)
- ^0.6.2 (DividendPayingTokenOptionalInterface.sol#3)
- ^0.6.2 (ERC20.sol#3)
- ^0.6.2 (IERC20.sol#3)
- ^0.6.2 (IERC20Metadata.sol#3)
- ^0.6.2 (IUniswapV2Factory.sol#3)
- ^0.6.2 (IUniswapV2Pair.sol#3)
- ^0.6.2 (IUniswapV2Router.sol#3)
- ^0.6.2 (IterableMapping.sol#2)
- ^0.6.2 (Ownable.sol#1)
- ^0.6.2 (ROBODividendTracker.sol#3)
- 0.6.12 (Robo.sol#17)
- ^0.6.2 (SafeMath.sol#3)
- ^0.6.2 (SafeMathInt.sol#28)
- ^0.6.2 (SafeMathUint.sol#3)
Use one Solidity version.
Additional information: link
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
Robo.totalFees (Robo.sol#56) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(liquidityFee).add(buyBackFee).add(rewardsPoolFee)
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.6.2 (SafeMathUint.sol#3) allows old versions
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 Robo.swapAndLiquify(uint256) (Robo.sol#510-546):
- (success) = address(dividendTracker).call{value: dividends}() (Robo.sol#538)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Robo.BNBRewardsFee (Robo.sol#51) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Robo.swapAndLiquify(uint256) (Robo.sol#510-546):
External calls:
- rewardsPool.transfer(rewardBNB) (Robo.sol#534)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (Robo.sol#530)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (Robo.sol#573-580)
- rewardsPool.transfer(rewardBNB) (Robo.sol#534)
- (success) = address(dividendTracker).call{value: dividends}() (Robo.sol#538)
Event emitted after the call(s):
- SendDividends(toSwap.sub(tokensToAddLiquidityWith),dividends) (Robo.sol#541)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#90) is too similar to ROBODividendTracker.getAccount(address).withdrawableDividends (ROBODividendTracker.sol#80)
Prevent variables from having similar names.
Additional information: link
Robo.slitherConstructorVariables() (Robo.sol#28-604) uses literals with too many digits:
- gasForProcessing = 300000 (Robo.sol#69)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
Robo.lastTransferTokenRewardsInterval (Robo.sol#62) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- Robo.setBuyBackEnabled(bool) (Robo.sol#584-586)
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.
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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts