Evocardano is about developing a DEX - (Decentralized Exchange) similar to Pancakeswap for a Cardano network. Where it will allow users to trade Defi projects on the Cardano network quickly, cheaply and securely.
EVOCARDANO.addLiquidity(uint256,uint256) (Evocardano.sol#443-458) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (Evocardano.sol#463)
- dividendTracker.distributeADADividends(dividends) (Evocardano.sol#466)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (Evocardano.sol#350)
- _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) (Evocardano.sol#353)
- _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 (Evocardano.sol#332)
Apply the check-effects-interactions pattern.
Additional information: link
EVOCARDANO.swapAndSendToFee(uint256) (Evocardano.sol#370-377) ignores return value by IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) 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
EVOCARDANO.totalFees (Evocardano.sol#46) is set pre-construction with a non-constant function or state variable:
- ADARewardsFee.add(liquidityFee).add(marketingFee)
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 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (Evocardano.sol#14) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
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
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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(ADA).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in EVOCARDANO.updateDividendTracker(address) (Evocardano.sol#133-148):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Evocardano.sol#140)
- newDividendTracker.excludeFromDividends(address(this)) (Evocardano.sol#141)
- newDividendTracker.excludeFromDividends(owner()) (Evocardano.sol#142)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Evocardano.sol#143)
State variables written after the call(s):
- dividendTracker = newDividendTracker (Evocardano.sol#147)
Apply the check-effects-interactions pattern.
Additional information: link
EVOCARDANO._transfer(address,address,uint256).claims (Evocardano.sol#361) is a local variable never initialized
EVOCARDANO._transfer(address,address,uint256).lastProcessedIndex (Evocardano.sol#361) is a local variable never initialized
EVOCARDANO._transfer(address,address,uint256).iterations (Evocardano.sol#361) 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
EVOCARDANO.claim() (Evocardano.sol#284-286) ignores return value by dividendTracker.processAccount(msg.sender,false) (Evocardano.sol#285)
EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368) ignores return value by dividendTracker.process(gas) (Evocardano.sol#361-366)
EVOCARDANO.addLiquidity(uint256,uint256) (Evocardano.sol#443-458) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
EVOCARDANO.setADARewardsFee(uint256) (Evocardano.sol#178-181) should emit an event for:
- ADARewardsFee = value (Evocardano.sol#179)
- totalFees = ADARewardsFee.add(liquidityFee).add(marketingFee) (Evocardano.sol#180)
EVOCARDANO.setLiquiditFee(uint256) (Evocardano.sol#183-186) should emit an event for:
- liquidityFee = value (Evocardano.sol#184)
- totalFees = ADARewardsFee.add(liquidityFee).add(marketingFee) (Evocardano.sol#185)
EVOCARDANO.setMarketingFee(uint256) (Evocardano.sol#188-192) should emit an event for:
- marketingFee = value (Evocardano.sol#189)
- totalFees = ADARewardsFee.add(liquidityFee).add(marketingFee) (Evocardano.sol#190)
Emit an event for critical parameter changes.
Additional information: link
EVOCARDANO.updateUniswapV2Router(address)._uniswapV2Pair (Evocardano.sol#154-155) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (Evocardano.sol#156)
EVOCARDANO.setMarketingWallet(address).wallet (Evocardano.sol#174) lacks a zero-check on :
- _marketingWalletAddress = wallet (Evocardano.sol#175)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(ADA).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'EVOCARDANO._transfer(address,address,uint256).claims (Evocardano.sol#361)' in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Evocardano.sol#362)
Variable 'EVOCARDANO._transfer(address,address,uint256).iterations (Evocardano.sol#361)' in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Evocardano.sol#362)
Variable 'EVOCARDANO._transfer(address,address,uint256).lastProcessedIndex (Evocardano.sol#361)' in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Evocardano.sol#362)
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 EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (Evocardano.sol#463)
- dividendTracker.distributeADADividends(dividends) (Evocardano.sol#466)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in EVOCARDANO.constructor() (Evocardano.sol#95-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Evocardano.sol#102-103)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (Evocardano.sol#106)
- uniswapV2Router = _uniswapV2Router (Evocardano.sol#105)
Reentrancy in EVOCARDANO.constructor() (Evocardano.sol#95-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Evocardano.sol#102-103)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Evocardano.sol#108)
- dividendTracker.excludeFromDividends(pair) (Evocardano.sol#211)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (Evocardano.sol#111)
- dividendTracker.excludeFromDividends(address(this)) (Evocardano.sol#112)
- dividendTracker.excludeFromDividends(owner()) (Evocardano.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (Evocardano.sol#114)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (Evocardano.sol#115)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (Evocardano.sol#126)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (Evocardano.sol#118)
- _isExcludedFromFees[account] = excluded (Evocardano.sol#161)
- excludeFromFees(_marketingWalletAddress,true) (Evocardano.sol#119)
- _isExcludedFromFees[account] = excluded (Evocardano.sol#161)
- excludeFromFees(address(this),true) (Evocardano.sol#120)
- _isExcludedFromFees[account] = excluded (Evocardano.sol#161)
- _mint(owner(),1000000000 * (10 ** 18)) (Evocardano.sol#126)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in EVOCARDANODividendTracker.processAccount(address,bool) (Evocardano.sol#668-678):
External calls:
- amount = _withdrawDividendOfUser(account) (Evocardano.sol#669)
- success = IERC20(ADA).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (Evocardano.sol#672)
Reentrancy in EVOCARDANO.swapAndLiquify(uint256) (Evocardano.sol#379-400):
External calls:
- swapTokensForEth(half) (Evocardano.sol#391)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in EVOCARDANO.updateUniswapV2Router(address) (Evocardano.sol#150-157):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (Evocardano.sol#154-155)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (Evocardano.sol#156)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EVOCARDANO._setAutomatedMarketMakerPair(address,bool) (Evocardano.sol#206-215):
External calls:
- dividendTracker.excludeFromDividends(pair) (Evocardano.sol#211)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (Evocardano.sol#214)
Reentrancy in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- SwapAndLiquify(half,newBalance,otherHalf) (Evocardano.sol#399)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
Reentrancy in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (Evocardano.sol#463)
- dividendTracker.distributeADADividends(dividends) (Evocardano.sol#466)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- SendDividends(tokens,dividends) (Evocardano.sol#467)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (Evocardano.sol#350)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (Evocardano.sol#353)
Reentrancy in EVOCARDANO._transfer(address,address,uint256) (Evocardano.sol#297-368):
External calls:
- swapAndSendToFee(marketingTokens) (Evocardano.sol#324)
- IERC20(ADA).transfer(_marketingWalletAddress,newBalance) (Evocardano.sol#376)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- swapAndSendDividends(sellTokens) (Evocardano.sol#330)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (Evocardano.sol#463)
- dividendTracker.distributeADADividends(dividends) (Evocardano.sol#466)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- dividendTracker.setBalance(address(from),balanceOf(from)) (Evocardano.sol#355)
- dividendTracker.setBalance(address(to),balanceOf(to)) (Evocardano.sol#356)
- dividendTracker.process(gas) (Evocardano.sol#361-366)
External calls sending eth:
- swapAndLiquify(swapTokens) (Evocardano.sol#327)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Evocardano.sol#362)
Reentrancy in EVOCARDANO.constructor() (Evocardano.sol#95-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Evocardano.sol#102-103)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Evocardano.sol#108)
- dividendTracker.excludeFromDividends(pair) (Evocardano.sol#211)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (Evocardano.sol#214)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Evocardano.sol#108)
Reentrancy in EVOCARDANO.constructor() (Evocardano.sol#95-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Evocardano.sol#102-103)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Evocardano.sol#108)
- dividendTracker.excludeFromDividends(pair) (Evocardano.sol#211)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (Evocardano.sol#111)
- dividendTracker.excludeFromDividends(address(this)) (Evocardano.sol#112)
- dividendTracker.excludeFromDividends(owner()) (Evocardano.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (Evocardano.sol#114)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (Evocardano.sol#115)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (Evocardano.sol#163)
- excludeFromFees(address(this),true) (Evocardano.sol#120)
- ExcludeFromFees(account,excluded) (Evocardano.sol#163)
- excludeFromFees(_marketingWalletAddress,true) (Evocardano.sol#119)
- ExcludeFromFees(account,excluded) (Evocardano.sol#163)
- excludeFromFees(owner(),true) (Evocardano.sol#118)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000000 * (10 ** 18)) (Evocardano.sol#126)
Reentrancy in EVOCARDANODividendTracker.processAccount(address,bool) (Evocardano.sol#668-678):
External calls:
- amount = _withdrawDividendOfUser(account) (Evocardano.sol#669)
- success = IERC20(ADA).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (Evocardano.sol#673)
Reentrancy in EVOCARDANO.processDividendTracker(uint256) (Evocardano.sol#279-282):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (Evocardano.sol#280)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (Evocardano.sol#281)
Reentrancy in EVOCARDANO.swapAndLiquify(uint256) (Evocardano.sol#379-400):
External calls:
- swapTokensForEth(half) (Evocardano.sol#391)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#414-420)
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Evocardano.sol#449-456)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (Evocardano.sol#397)
- SwapAndLiquify(half,newBalance,otherHalf) (Evocardano.sol#399)
Reentrancy in EVOCARDANO.swapAndSendDividends(uint256) (Evocardano.sol#460-469):
External calls:
- swapTokensForAda(tokens) (Evocardano.sol#461)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Evocardano.sol#434-440)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (Evocardano.sol#463)
- dividendTracker.distributeADADividends(dividends) (Evocardano.sol#466)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (Evocardano.sol#467)
Reentrancy in EVOCARDANO.updateDividendTracker(address) (Evocardano.sol#133-148):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Evocardano.sol#140)
- newDividendTracker.excludeFromDividends(address(this)) (Evocardano.sol#141)
- newDividendTracker.excludeFromDividends(owner()) (Evocardano.sol#142)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Evocardano.sol#143)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (Evocardano.sol#145)
Apply the check-effects-interactions pattern.
Additional information: link
EVOCARDANODividendTracker.getAccount(address) (Evocardano.sol#532-575) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (Evocardano.sol#572-574)
EVOCARDANODividendTracker.canAutoClaim(uint256) (Evocardano.sol#596-602) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (Evocardano.sol#597)
- block.timestamp.sub(lastClaimTime) >= claimWait (Evocardano.sol#601)
Avoid relying on block.timestamp.
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.ADA (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Variable EVOCARDANO.ADA (Evocardano.sol#37) is not in mixedCase
Variable EVOCARDANO._isBlacklisted (Evocardano.sol#41) is not in mixedCase
Variable EVOCARDANO.ADARewardsFee (Evocardano.sol#43) is not in mixedCase
Variable EVOCARDANO._marketingWalletAddress (Evocardano.sol#48) is not in mixedCase
Parameter EVOCARDANODividendTracker.getAccount(address)._account (Evocardano.sol#532) is not in mixedCase
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
Follow the Solidity naming convention.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to EVOCARDANODividendTracker.getAccount(address).withdrawableDividends (Evocardano.sol#537)
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)
Prevent variables from having similar names.
Additional information: link
EVOCARDANO.constructor() (Evocardano.sol#95-127) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (Evocardano.sol#126)
EVOCARDANO.updateGasForProcessing(uint256) (Evocardano.sol#218-223) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,EVOCARDANO: gasForProcessing must be between 200,000 and 500,000) (Evocardano.sol#219)
EVOCARDANO.slitherConstructorVariables() (Evocardano.sol#25-470) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (Evocardano.sol#35)
EVOCARDANO.slitherConstructorVariables() (Evocardano.sol#25-470) uses literals with too many digits:
- gasForProcessing = 300000 (Evocardano.sol#52)
EVOCARDANODividendTracker.getAccountAtIndex(uint256) (Evocardano.sol#577-594) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (Evocardano.sol#588)
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
EVOCARDANO.deadWallet (Evocardano.sol#35) should be constant
EVOCARDANO.swapTokensAtAmount (Evocardano.sol#39) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeADADividends(uint256) should be declared external:
- DividendPayingToken.distributeADADividends(uint256) (DividendPayingToken.sol#55-66)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
- EVOCARDANODividendTracker.withdrawDividend() (Evocardano.sol#501-503)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
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)
updateDividendTracker(address) should be declared external:
- EVOCARDANO.updateDividendTracker(address) (Evocardano.sol#133-148)
updateUniswapV2Router(address) should be declared external:
- EVOCARDANO.updateUniswapV2Router(address) (Evocardano.sol#150-157)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- EVOCARDANO.excludeMultipleAccountsFromFees(address[],bool) (Evocardano.sol#166-172)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- EVOCARDANO.setAutomatedMarketMakerPair(address,bool) (Evocardano.sol#195-199)
updateGasForProcessing(uint256) should be declared external:
- EVOCARDANO.updateGasForProcessing(uint256) (Evocardano.sol#218-223)
isExcludedFromFees(address) should be declared external:
- EVOCARDANO.isExcludedFromFees(address) (Evocardano.sol#237-239)
withdrawableDividendOf(address) should be declared external:
- EVOCARDANO.withdrawableDividendOf(address) (Evocardano.sol#241-243)
dividendTokenBalanceOf(address) should be declared external:
- EVOCARDANO.dividendTokenBalanceOf(address) (Evocardano.sol#245-247)
getAccountAtIndex(uint256) should be declared external:
- EVOCARDANODividendTracker.getAccountAtIndex(uint256) (Evocardano.sol#577-594)
process(uint256) should be declared external:
- EVOCARDANODividendTracker.process(uint256) (Evocardano.sol#621-666)
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)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Unable to find audit link on the website
Alexa traffic rank is very low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Telegram account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account