Rari Games serves a P2E Racing Game on BSC. With NFTs based on the game and features like staking and farming pools or reflections in bnb, $Rari is trying to cover the upcoming metaverse sector with its community!
RARI._addLiquidity(uint256,uint256) (#1265-1275) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RARI._transfer(address,address,uint256) (#1046-1131):
External calls:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
External calls sending eth:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
State variables written after the call(s):
- super._transfer(from,address(this),fee) (#1105)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#529)
- _balances[recipient] = _balances[recipient].add(amount) (#530)
- super._burn(address(this),burnAmount) (#1108)
- _balances[account] = _balances[account].sub(amount,ERC20: burn amount exceeds balance) (#545)
- super._transfer(from,to,amount) (#1119)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#529)
- _balances[recipient] = _balances[recipient].add(amount) (#530)
- _buyTimesInLaunch[to] = currentTimestamp (#1115)
- _swapping = false (#1093)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#631-644):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#636)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#638)
Apply the check-effects-interactions pattern.
Additional information: link
RARI._name (#695) shadows:
- ERC20._name (#459)
RARI._symbol (#696) shadows:
- ERC20._symbol (#460)
Remove the state variable shadowing.
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.
Reentrancy in RARI.updateDividendTracker(address) (#855-866):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#859)
- newDividendTracker.excludeFromDividends(address(this)) (#860)
- newDividendTracker.excludeFromDividends(owner()) (#861)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#862)
- newDividendTracker.excludeFromDividends(address(uniswapV2Pair)) (#863)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#865)
Apply the check-effects-interactions pattern.
Additional information: link
RARI._transfer(address,address,uint256).claims (#1126) is a local variable never initialized
RARI._transfer(address,address,uint256).lastProcessedIndex (#1126) is a local variable never initialized
RARI._transfer(address,address,uint256).iterations (#1126) 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
RARI.claim() (#990-992) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#991)
RARI._transfer(address,address,uint256) (#1046-1131) ignores return value by dividendTracker.process(gas) (#1126-1129)
RARI._addLiquidity(uint256,uint256) (#1265-1275) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#601) shadows:
- ERC20._name (#459) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#601) shadows:
- ERC20._symbol (#460) (state variable)
DividendPayingToken.dividendOf(address)._owner (#645) shadows:
- Ownable._owner (#421) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#648) shadows:
- Ownable._owner (#421) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#651) shadows:
- Ownable._owner (#421) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#654) shadows:
- Ownable._owner (#421) (state variable)
Rename the local variables that shadow another component.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#631-644) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#636)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'RARI._transfer(address,address,uint256).lastProcessedIndex (#1126)' in RARI._transfer(address,address,uint256) (#1046-1131) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1127)
Variable 'RARI._transfer(address,address,uint256).claims (#1126)' in RARI._transfer(address,address,uint256) (#1046-1131) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1127)
Variable 'RARI._transfer(address,address,uint256).iterations (#1126)' in RARI._transfer(address,address,uint256) (#1046-1131) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1127)
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 RARI._swapAndLiquify() (#1228-1251):
External calls:
- _swapTokensForBNB(amountToSwap) (#1235)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
External calls sending eth:
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- _allowances[owner][spender] = amount (#557)
Reentrancy in RARI._transfer(address,address,uint256) (#1046-1131):
External calls:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
External calls sending eth:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
State variables written after the call(s):
- super._burn(address(this),burnAmount) (#1108)
- _totalSupply = _totalSupply.sub(amount) (#546)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
State variables written after the call(s):
- liquidityWallet = owner() (#795)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#798)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#800)
- uniswapV2Router = _uniswapV2Router (#799)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#798)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#801)
- dividendTracker.excludeFromDividends(pair) (#871)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#803)
- _isExcludedFromFee[address(this)] = true (#804)
- _isExcludedFromFee[address(dividendTracker)] = true (#805)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#798)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#801)
- dividendTracker.excludeFromDividends(pair) (#871)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#807)
- dividendTracker.excludeFromDividends(address(this)) (#808)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#809)
- dividendTracker.excludeFromDividends(owner()) (#810)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#811)
State variables written after the call(s):
- _mint(owner(),initialSupply) (#824)
- _balances[account] = _balances[account].add(amount) (#538)
- _isAllowedToTradeWhenDisabled[owner()] = true (#813)
- _isExcludedFromMaxTransactionLimit[address(dividendTracker)] = true (#815)
- _isExcludedFromMaxTransactionLimit[address(this)] = true (#816)
- _isExcludedFromMaxWalletLimit[_uniswapV2Pair] = true (#818)
- _isExcludedFromMaxWalletLimit[address(dividendTracker)] = true (#819)
- _isExcludedFromMaxWalletLimit[address(uniswapV2Router)] = true (#820)
- _isExcludedFromMaxWalletLimit[address(this)] = true (#821)
- _isExcludedFromMaxWalletLimit[owner()] = true (#822)
- _mint(owner(),initialSupply) (#824)
- _totalSupply = _totalSupply.add(amount) (#537)
Reentrancy in RariDividendTracker.processAccount(address,bool) (#1438-1446):
External calls:
- amount = _withdrawDividendOfUser(account) (#1439)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#636)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1441)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RARI._setAutomatedMarketMakerPair(address,bool) (#867-874):
External calls:
- dividendTracker.excludeFromDividends(pair) (#871)
Event emitted after the call(s):
- AutomatedMarketMakerPairChange(pair,value) (#873)
Reentrancy in RARI._swapAndLiquify() (#1228-1251):
External calls:
- _swapTokensForBNB(amountToSwap) (#1235)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
External calls sending eth:
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#558)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- SwapAndLiquify(amountToSwap,amountBNBLiquidity,amountToLiquify) (#1244)
Reentrancy in RARI._swapAndLiquify() (#1228-1251):
External calls:
- _swapTokensForBNB(amountToSwap) (#1235)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
External calls sending eth:
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
Event emitted after the call(s):
- DividendsSent(amountBNBHolders) (#1249)
Reentrancy in RARI._transfer(address,address,uint256) (#1046-1131):
External calls:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
External calls sending eth:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
Event emitted after the call(s):
- TokenBurn(_burnFee,burnAmount) (#1109)
- Transfer(account,address(0),amount) (#547)
- super._burn(address(this),burnAmount) (#1108)
- Transfer(sender,recipient,amount) (#531)
- super._transfer(from,to,amount) (#1119)
- Transfer(sender,recipient,amount) (#531)
- super._transfer(from,address(this),fee) (#1105)
Reentrancy in RARI._transfer(address,address,uint256) (#1046-1131):
External calls:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1257-1263)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1121)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1122)
- dividendTracker.process(gas) (#1126-1129)
External calls sending eth:
- _swapAndLiquify() (#1092)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1267-1274)
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1127)
Reentrancy in RARI.claimBNBOverflow(uint256) (#993-999):
External calls:
- (success) = address(owner()).call{value: amount}() (#995)
Event emitted after the call(s):
- ClaimBNBOverflow(amount) (#997)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#798)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#801)
- dividendTracker.excludeFromDividends(pair) (#871)
Event emitted after the call(s):
- AutomatedMarketMakerPairChange(pair,value) (#873)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#801)
Reentrancy in RARI.constructor() (#791-825):
External calls:
- dividendTracker.setUniswapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#793)
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#798)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#801)
- dividendTracker.excludeFromDividends(pair) (#871)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#807)
- dividendTracker.excludeFromDividends(address(this)) (#808)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#809)
- dividendTracker.excludeFromDividends(owner()) (#810)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#811)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#539)
- _mint(owner(),initialSupply) (#824)
Reentrancy in RariDividendTracker.processAccount(address,bool) (#1438-1446):
External calls:
- amount = _withdrawDividendOfUser(account) (#1439)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#636)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1442)
Reentrancy in RARI.updateDividendTracker(address) (#855-866):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#859)
- newDividendTracker.excludeFromDividends(address(this)) (#860)
- newDividendTracker.excludeFromDividends(owner()) (#861)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#862)
- newDividendTracker.excludeFromDividends(address(uniswapV2Pair)) (#863)
Event emitted after the call(s):
- DividendTrackerChange(newAddress,address(dividendTracker)) (#864)
Apply the check-effects-interactions pattern.
Additional information: link
RARI.blockAccount(address) (#901-909) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(currentTimestamp.sub(_launchStartTimestamp) < _blockedTimeLimit,Rari: Time to block accounts has expired) (#905)
RARI.isInLaunch() (#1002-1010) uses timestamp for comparisons
Dangerous comparisons:
- _isLaunched && (currentTimestamp.sub(_launchStartTimestamp) < totalLaunchTime || block.number.sub(_launchBlockNumber) < _launch1.blocksInPeriod) (#1005)
- ! isTradingEnabled && _tradingPausedTimestamp > _launchStartTimestamp (#1003)
RARI._transfer(address,address,uint256) (#1046-1131) uses timestamp for comparisons
Dangerous comparisons:
- _isInLaunch && currentTimestamp.sub(_launchStartTimestamp) <= 300 && isBuyFromLp (#1069)
- require(bool,string)(currentTimestamp.sub(_buyTimesInLaunch[to]) > 60,Rari: Cannot buy more than once per min in first 5min of launch) (#1070)
- _isInLaunch && currentTimestamp.sub(_launchStartTimestamp) <= 300 (#1113)
- to != owner() && isBuyFromLp && currentTimestamp.sub(_buyTimesInLaunch[to]) > 60 (#1114)
- ! isTradingEnabled && _tradingPausedTimestamp > _launchStartTimestamp (#1063)
RARI._adjustTaxes(bool,bool) (#1132-1191) uses timestamp for comparisons
Dangerous comparisons:
- _isLaunched && timeSinceLaunch <= _launch2.timeInPeriod && blocksSinceLaunch > _launch1.blocksInPeriod (#1151)
- _isLaunched && timeSinceLaunch > _launch2.timeInPeriod && timeSinceLaunch <= timeInLaunch && blocksSinceLaunch > _launch1.blocksInPeriod (#1156)
- _isLaunched && timeSinceLaunch <= _launch2.timeInPeriod && blocksSinceLaunch > _launch1.blocksInPeriod (#1172)
- _isLaunched && timeSinceLaunch > _launch2.timeInPeriod && timeSinceLaunch <= timeInLaunch && blocksSinceLaunch > _launch1.blocksInPeriod (#1177)
- ! isTradingEnabled && _tradingPausedTimestamp > _launchStartTimestamp (#1134)
RariDividendTracker.getAccount(address) (#1332-1360) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1359)
RariDividendTracker.canAutoClaim(uint256) (#1377-1382) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1378)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1381)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#10-13) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#658-663) is never used and should be removed
SafeMath.mod(uint256,uint256) (#305-307) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#309-312) is never used and should be removed
SafeMathInt.abs(int256) (#344-347) is never used and should be removed
SafeMathInt.div(int256,int256) (#327-333) is never used and should be removed
SafeMathInt.mul(int256,int256) (#319-326) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 DividendPayingToken._withdrawDividendOfUser(address) (#631-644):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#636)
Low level call in RARI.claimBNBOverflow(uint256) (#993-999):
- (success) = address(owner()).call{value: amount}() (#995)
Low level call in RARI._swapAndLiquify() (#1228-1251):
- (dividendSuccess) = address(dividendTracker).call{value: amountBNBHolders}() (#1247)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#34) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#182) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#183) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#200) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#645) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#648) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#651) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#654) is not in mixedCase
Constant DividendPayingToken.magnitude (#582) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter RARI.setBaseFeesOnBuy(uint256,uint256,uint256)._liquidityFeeOnBuy (#935) is not in mixedCase
Parameter RARI.setBaseFeesOnBuy(uint256,uint256,uint256)._burnFeeOnBuy (#935) is not in mixedCase
Parameter RARI.setBaseFeesOnBuy(uint256,uint256,uint256)._holdersFeeOnBuy (#935) is not in mixedCase
Parameter RARI.setBaseFeesOnSell(uint256,uint256,uint256)._liquidityFeeOnSell (#939) is not in mixedCase
Parameter RARI.setBaseFeesOnSell(uint256,uint256,uint256)._burnFeeOnSell (#939) is not in mixedCase
Parameter RARI.setBaseFeesOnSell(uint256,uint256,uint256)._holdersFeeOnSell (#939) is not in mixedCase
Parameter RARI.setLaunch2FeesOnBuy(uint256,uint256,uint256)._liquidityFeeOnBuy (#944) is not in mixedCase
Parameter RARI.setLaunch2FeesOnBuy(uint256,uint256,uint256)._burnFeeOnBuy (#944) is not in mixedCase
Parameter RARI.setLaunch2FeesOnBuy(uint256,uint256,uint256)._holdersFeeOnBuy (#944) is not in mixedCase
Parameter RARI.setLaunch2FeesOnSell(uint256,uint256,uint256)._liquidityFeeOnSell (#948) is not in mixedCase
Parameter RARI.setLaunch2FeesOnSell(uint256,uint256,uint256)._burnFeeOnSell (#948) is not in mixedCase
Parameter RARI.setLaunch2FeesOnSell(uint256,uint256,uint256)._holdersFeeOnSell (#948) is not in mixedCase
Parameter RARI.setLaunch3FeesOnBuy(uint256,uint256,uint256)._liquidityFeeOnBuy (#953) is not in mixedCase
Parameter RARI.setLaunch3FeesOnBuy(uint256,uint256,uint256)._burnFeeOnBuy (#953) is not in mixedCase
Parameter RARI.setLaunch3FeesOnBuy(uint256,uint256,uint256)._holdersFeeOnBuy (#953) is not in mixedCase
Parameter RARI.setLaunch3FeesOnSell(uint256,uint256,uint256)._liquidityFeeOnSell (#957) is not in mixedCase
Parameter RARI.setLaunch3FeesOnSell(uint256,uint256,uint256)._burnFeeOnSell (#957) is not in mixedCase
Parameter RARI.setLaunch3FeesOnSell(uint256,uint256,uint256)._holdersFeeOnSell (#957) is not in mixedCase
Constant RARI._name (#695) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARI._symbol (#696) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARI._decimals (#697) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARI.initialSupply (#705) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RARI._blockedTimeLimit (#744) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter RariDividendTracker.getAccount(address)._account (#1332) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
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 (#39) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#40)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#632) is too similar to RariDividendTracker.getAccount(address).withdrawableDividends (#1337)
Prevent variables from having similar names.
Additional information: link
RARI.constructor() (#791-825) uses literals with too many digits:
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#809)
RARI.slitherConstructorVariables() (#689-1276) uses literals with too many digits:
- maxTxAmount = 2500000 * (10 ** 18) (#710)
RARI.slitherConstructorVariables() (#689-1276) uses literals with too many digits:
- gasForProcessing = 300000 (#716)
RARI.slitherConstructorConstantVariables() (#689-1276) uses literals with too many digits:
- initialSupply = 488000000 * (10 ** 18) (#705)
RariDividendTracker.constructor() (#1296-1299) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000000 * (10 ** 18) (#1298)
RariDividendTracker.getAccountAtIndex(uint256) (#1361-1376) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1372)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#317) is never used in SafeMathInt (#315-352)
Remove unused state variables.
Additional information: link
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#370-372)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#374-379)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#381-383)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#385-387)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#440-443)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#445-449)
name() should be declared external:
- ERC20.name() (#467-469)
symbol() should be declared external:
- ERC20.symbol() (#471-473)
decimals() should be declared external:
- ERC20.decimals() (#475-477)
- RARI.decimals() (#830-832)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#487-490)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#492-494)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#496-499)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#501-509)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#511-514)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#516-519)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#628-630)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#645-647)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#651-653)
launch() should be declared external:
- RARI.launch() (#836-841)
cancelLaunch() should be declared external:
- RARI.cancelLaunch() (#842-847)
activateTrading() should be declared external:
- RARI.activateTrading() (#848-850)
deactivateTrading() should be declared external:
- RARI.deactivateTrading() (#851-854)
updateDividendTracker(address) should be declared external:
- RARI.updateDividendTracker(address) (#855-866)
allowTradingWhenDisabled(address,bool) should be declared external:
- RARI.allowTradingWhenDisabled(address,bool) (#875-878)
setFeeOnWalletTransfers(bool) should be declared external:
- RARI.setFeeOnWalletTransfers(bool) (#879-882)
excludeFromFees(address,bool) should be declared external:
- RARI.excludeFromFees(address,bool) (#883-887)
excludeFromDividends(address) should be declared external:
- RARI.excludeFromDividends(address) (#888-890)
excludeFromMaxTransactionLimit(address,bool) should be declared external:
- RARI.excludeFromMaxTransactionLimit(address,bool) (#891-895)
excludeFromMaxWalletLimit(address,bool) should be declared external:
- RARI.excludeFromMaxWalletLimit(address,bool) (#896-900)
blockAccount(address) should be declared external:
- RARI.blockAccount(address) (#901-909)
unblockAccount(address) should be declared external:
- RARI.unblockAccount(address) (#910-914)
setWallets(address) should be declared external:
- RARI.setWallets(address) (#915-921)
setAllFeesToZero() should be declared external:
- RARI.setAllFeesToZero() (#922-927)
resetAllFees() should be declared external:
- RARI.resetAllFees() (#928-933)
setBaseFeesOnBuy(uint256,uint256,uint256) should be declared external:
- RARI.setBaseFeesOnBuy(uint256,uint256,uint256) (#935-938)
setBaseFeesOnSell(uint256,uint256,uint256) should be declared external:
- RARI.setBaseFeesOnSell(uint256,uint256,uint256) (#939-942)
setLaunch2FeesOnBuy(uint256,uint256,uint256) should be declared external:
- RARI.setLaunch2FeesOnBuy(uint256,uint256,uint256) (#944-947)
setLaunch2FeesOnSell(uint256,uint256,uint256) should be declared external:
- RARI.setLaunch2FeesOnSell(uint256,uint256,uint256) (#948-951)
setLaunch3FeesOnBuy(uint256,uint256,uint256) should be declared external:
- RARI.setLaunch3FeesOnBuy(uint256,uint256,uint256) (#953-956)
setLaunch3FeesOnSell(uint256,uint256,uint256) should be declared external:
- RARI.setLaunch3FeesOnSell(uint256,uint256,uint256) (#957-960)
setUniswapRouter(address) should be declared external:
- RARI.setUniswapRouter(address) (#961-966)
setGasForProcessing(uint256) should be declared external:
- RARI.setGasForProcessing(uint256) (#967-971)
setMaxTransactionAmount(uint256) should be declared external:
- RARI.setMaxTransactionAmount(uint256) (#972-976)
setMaxWalletAmount(uint256) should be declared external:
- RARI.setMaxWalletAmount(uint256) (#977-981)
setMinimumTokensBeforeSwap(uint256) should be declared external:
- RARI.setMinimumTokensBeforeSwap(uint256) (#982-986)
setMinimumTokenBalanceForDividends(uint256) should be declared external:
- RARI.setMinimumTokenBalanceForDividends(uint256) (#987-989)
withdrawableDividendOf(address) should be declared external:
- RARI.withdrawableDividendOf(address) (#1014-1016)
dividendTokenBalanceOf(address) should be declared external:
- RARI.dividendTokenBalanceOf(address) (#1017-1019)
getAccountAtIndex(uint256) should be declared external:
- RariDividendTracker.getAccountAtIndex(uint256) (#1361-1376)
process(uint256) should be declared external:
- RariDividendTracker.process(uint256) (#1403-1436)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Contract has 12% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
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 whitepaper link on the website
Unable to find code repository for the project
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 CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account