Revival is a community based DeFi project in which holders are given the power to self govern major decisions regarding our continued development. Revivals rewards system generates BNB deposits to holders automatically. Hold REVIVAL, get BNB. Join us!
Our application development plans include an easily navigated crowdfunding app that will allow users to tell their story and create a wallet used to receive donations, reflections and general savings. More information can be found below.
Reentrancy in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350):
External calls:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (REVIVAL.sol#332)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (REVIVAL.sol#335)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (REVIVAL.sol#318)
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
REVIVAL.addLiquidity(uint256,uint256) (REVIVAL.sol#385-400) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
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.
Contract ownership is not renounced (belongs to a wallet)
REVIVAL.setDevWallet(address).newWallet (REVIVAL.sol#281) lacks a zero-check on :
- devWallet = newWallet (REVIVAL.sol#282)
Check that the address is not zero.
Additional information: link
REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - liquidityFee) (REVIVAL.sol#363)
-bnbToAddLiquidityWith = unitBalance * liquidityFee (REVIVAL.sol#364)
REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - liquidityFee) (REVIVAL.sol#363)
-devAmt = unitBalance * 2 * devFee (REVIVAL.sol#371)
REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - liquidityFee) (REVIVAL.sol#363)
-dividends = unitBalance * 2 * BNBRewardsFee (REVIVAL.sol#374)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in REVIVAL.updateDividendTracker(address) (REVIVAL.sol#132-147):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (REVIVAL.sol#139)
- newDividendTracker.excludeFromDividends(address(this)) (REVIVAL.sol#140)
- newDividendTracker.excludeFromDividends(owner()) (REVIVAL.sol#141)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (REVIVAL.sol#142)
State variables written after the call(s):
- dividendTracker = newDividendTracker (REVIVAL.sol#146)
Apply the check-effects-interactions pattern.
Additional information: link
REVIVAL._transfer(address,address,uint256).iterations (REVIVAL.sol#343) is a local variable never initialized
REVIVAL._transfer(address,address,uint256).claims (REVIVAL.sol#343) is a local variable never initialized
REVIVAL._transfer(address,address,uint256).lastProcessedIndex (REVIVAL.sol#343) 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
REVIVAL.claim() (REVIVAL.sol#254-256) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (REVIVAL.sol#255)
REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350) ignores return value by dividendTracker.process(gas) (REVIVAL.sol#343-348)
REVIVAL.addLiquidity(uint256,uint256) (REVIVAL.sol#385-400) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#46) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
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
REVIVAL.setDevFee(uint256) (REVIVAL.sol#266-269) should emit an event for:
- devFee = newFee (REVIVAL.sol#267)
- totalFees = BNBRewardsFee.add(devFee).add(liquidityFee) (REVIVAL.sol#268)
REVIVAL.setBNBRewardsFee(uint256) (REVIVAL.sol#271-274) should emit an event for:
- BNBRewardsFee = newFee (REVIVAL.sol#272)
- totalFees = BNBRewardsFee.add(devFee).add(liquidityFee) (REVIVAL.sol#273)
REVIVAL.setLiquidityFee(uint256) (REVIVAL.sol#276-279) should emit an event for:
- liquidityFee = newFee (REVIVAL.sol#277)
- totalFees = BNBRewardsFee.add(devFee).add(liquidityFee) (REVIVAL.sol#278)
REVIVAL.setSwapTokensAtAmount(uint256) (REVIVAL.sol#289-291) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (REVIVAL.sol#290)
Emit an event for critical parameter changes.
Additional information: link
Variable 'REVIVAL._transfer(address,address,uint256).lastProcessedIndex (REVIVAL.sol#343)' in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (REVIVAL.sol#344)
Variable 'REVIVAL._transfer(address,address,uint256).claims (REVIVAL.sol#343)' in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (REVIVAL.sol#344)
Variable 'REVIVAL._transfer(address,address,uint256).iterations (REVIVAL.sol#343)' in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (REVIVAL.sol#344)
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 REVIVAL.constructor() (REVIVAL.sol#95-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (REVIVAL.sol#101-102)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (REVIVAL.sol#105)
- uniswapV2Router = _uniswapV2Router (REVIVAL.sol#104)
Reentrancy in REVIVAL.constructor() (REVIVAL.sol#95-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (REVIVAL.sol#101-102)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (REVIVAL.sol#107)
- dividendTracker.excludeFromDividends(pair) (REVIVAL.sol#186)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (REVIVAL.sol#110)
- dividendTracker.excludeFromDividends(address(this)) (REVIVAL.sol#111)
- dividendTracker.excludeFromDividends(owner()) (REVIVAL.sol#112)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (REVIVAL.sol#113)
State variables written after the call(s):
- _mint(owner(),5e14 * (10 ** 9)) (REVIVAL.sol#124)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (REVIVAL.sol#116)
- _isExcludedFromFees[account] = excluded (REVIVAL.sol#157)
- excludeFromFees(address(this),true) (REVIVAL.sol#117)
- _isExcludedFromFees[account] = excluded (REVIVAL.sol#157)
- excludeFromFees(devWallet,true) (REVIVAL.sol#118)
- _isExcludedFromFees[account] = excluded (REVIVAL.sol#157)
- _mint(owner(),5e14 * (10 ** 9)) (REVIVAL.sol#124)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in REVIVALDividendTracker.processAccount(address,bool) (REVIVAL.sol#623-633):
External calls:
- amount = _withdrawDividendOfUser(account) (REVIVAL.sol#624)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (REVIVAL.sol#627)
Reentrancy in REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379):
External calls:
- swapTokensForEth(toSwap) (REVIVAL.sol#360)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in REVIVAL._setAutomatedMarketMakerPair(address,bool) (REVIVAL.sol#181-190):
External calls:
- dividendTracker.excludeFromDividends(pair) (REVIVAL.sol#186)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (REVIVAL.sol#189)
Reentrancy in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350):
External calls:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (REVIVAL.sol#332)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (REVIVAL.sol#335)
Reentrancy in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350):
External calls:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
- dividendTracker.setBalance(address(from),balanceOf(from)) (REVIVAL.sol#337)
- dividendTracker.setBalance(address(to),balanceOf(to)) (REVIVAL.sol#338)
- dividendTracker.process(gas) (REVIVAL.sol#343-348)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (REVIVAL.sol#344)
Reentrancy in REVIVAL.constructor() (REVIVAL.sol#95-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (REVIVAL.sol#101-102)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (REVIVAL.sol#107)
- dividendTracker.excludeFromDividends(pair) (REVIVAL.sol#186)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (REVIVAL.sol#189)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (REVIVAL.sol#107)
Reentrancy in REVIVAL.constructor() (REVIVAL.sol#95-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (REVIVAL.sol#101-102)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (REVIVAL.sol#107)
- dividendTracker.excludeFromDividends(pair) (REVIVAL.sol#186)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (REVIVAL.sol#110)
- dividendTracker.excludeFromDividends(address(this)) (REVIVAL.sol#111)
- dividendTracker.excludeFromDividends(owner()) (REVIVAL.sol#112)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (REVIVAL.sol#113)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (REVIVAL.sol#159)
- excludeFromFees(devWallet,true) (REVIVAL.sol#118)
- ExcludeFromFees(account,excluded) (REVIVAL.sol#159)
- excludeFromFees(address(this),true) (REVIVAL.sol#117)
- ExcludeFromFees(account,excluded) (REVIVAL.sol#159)
- excludeFromFees(owner(),true) (REVIVAL.sol#116)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),5e14 * (10 ** 9)) (REVIVAL.sol#124)
Reentrancy in REVIVALDividendTracker.processAccount(address,bool) (REVIVAL.sol#623-633):
External calls:
- amount = _withdrawDividendOfUser(account) (REVIVAL.sol#624)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Event emitted after the call(s):
- Claim(account,amount,automatic) (REVIVAL.sol#628)
Reentrancy in REVIVAL.processDividendTracker(uint256) (REVIVAL.sol#249-252):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (REVIVAL.sol#250)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (REVIVAL.sol#251)
Reentrancy in REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379):
External calls:
- swapTokensForEth(toSwap) (REVIVAL.sol#360)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
Reentrancy in REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379):
External calls:
- swapTokensForEth(toSwap) (REVIVAL.sol#360)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (REVIVAL.sol#412-418)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (REVIVAL.sol#377)
Reentrancy in REVIVAL.updateDividendTracker(address) (REVIVAL.sol#132-147):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (REVIVAL.sol#139)
- newDividendTracker.excludeFromDividends(address(this)) (REVIVAL.sol#140)
- newDividendTracker.excludeFromDividends(owner()) (REVIVAL.sol#141)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (REVIVAL.sol#142)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (REVIVAL.sol#144)
Apply the check-effects-interactions pattern.
Additional information: link
REVIVALDividendTracker.getAccount(address) (REVIVAL.sol#487-530) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (REVIVAL.sol#527-529)
REVIVALDividendTracker.canAutoClaim(uint256) (REVIVAL.sol#551-557) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (REVIVAL.sol#552)
- block.timestamp.sub(lastClaimTime) >= claimWait (REVIVAL.sol#556)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#145-151) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
REVIVAL.totalFees (REVIVAL.sol#35) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(devFee).add(liquidityFee)
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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Low level call in REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379):
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#111) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#118) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#125) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#135) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#26) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Parameter REVIVAL.setTradingEnabled(bool)._enabled (REVIVAL.sol#380) is not in mixedCase
Variable REVIVAL.BNBRewardsFee (REVIVAL.sol#32) is not in mixedCase
Parameter REVIVALDividendTracker.getAccount(address)._account (REVIVAL.sol#487) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in REVIVAL._transfer(address,address,uint256) (REVIVAL.sol#293-350):
External calls:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount) (REVIVAL.sol#315)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (REVIVAL.sol#332)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (REVIVAL.sol#335)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (REVIVAL.sol#318)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (REVIVAL.sol#344)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (REVIVAL.sol#332)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (REVIVAL.sol#335)
Reentrancy in REVIVAL.swapAndLiquify(uint256) (REVIVAL.sol#352-379):
External calls:
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (REVIVAL.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (REVIVAL.sol#391-398)
- address(devWallet).transfer(devAmt) (REVIVAL.sol#372)
- (success) = address(dividendTracker).call{value: dividends}() (REVIVAL.sol#376)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (REVIVAL.sol#377)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#90) is too similar to REVIVALDividendTracker.getAccount(address).withdrawableDividends (REVIVAL.sol#492)
Prevent variables from having similar names.
Additional information: link
REVIVAL.updateGasForProcessing(uint256) (REVIVAL.sol#192-197) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,REVIVAL: gasForProcessing must be between 200,000 and 500,000) (REVIVAL.sol#193)
REVIVAL.slitherConstructorVariables() (REVIVAL.sol#20-425) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 9) (REVIVAL.sol#30)
REVIVAL.slitherConstructorVariables() (REVIVAL.sol#20-425) uses literals with too many digits:
- gasForProcessing = 300000 (REVIVAL.sol#44)
REVIVALDividendTracker.constructor() (REVIVAL.sol#447-450) uses literals with too many digits:
- minimumTokenBalanceForDividends = 10000000000 * (10 ** 9) (REVIVAL.sol#449)
REVIVALDividendTracker.getAccountAtIndex(uint256) (REVIVAL.sol#532-549) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (REVIVAL.sol#543)
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-93)
Remove unused state variables.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Favor pull over push strategy for external calls.
Additional information: link
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#83-85)
- REVIVALDividendTracker.withdrawDividend() (REVIVAL.sol#456-458)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#111-113)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#125-127)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
updateDividendTracker(address) should be declared external:
- REVIVAL.updateDividendTracker(address) (REVIVAL.sol#132-147)
updateUniswapV2Router(address) should be declared external:
- REVIVAL.updateUniswapV2Router(address) (REVIVAL.sol#149-153)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- REVIVAL.excludeMultipleAccountsFromFees(address[],bool) (REVIVAL.sol#162-168)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- REVIVAL.setAutomatedMarketMakerPair(address,bool) (REVIVAL.sol#171-175)
updateGasForProcessing(uint256) should be declared external:
- REVIVAL.updateGasForProcessing(uint256) (REVIVAL.sol#192-197)
isExcludedFromFees(address) should be declared external:
- REVIVAL.isExcludedFromFees(address) (REVIVAL.sol#211-213)
withdrawableDividendOf(address) should be declared external:
- REVIVAL.withdrawableDividendOf(address) (REVIVAL.sol#215-217)
dividendTokenBalanceOf(address) should be declared external:
- REVIVAL.dividendTokenBalanceOf(address) (REVIVAL.sol#219-221)
getAccountAtIndex(uint256) should be declared external:
- REVIVALDividendTracker.getAccountAtIndex(uint256) (REVIVAL.sol#532-549)
process(uint256) should be declared external:
- REVIVALDividendTracker.process(uint256) (REVIVAL.sol#576-621)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap volume 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Average 30d PancakeSwap liquidity is low.
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has a considerable age, but we're still unable to find its website
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account seems to be suspended
Additional information: link
Unable to find Youtube account