Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
EileenGuWin.addLiquidity(uint256,uint256) (EileenGuWin.sol#496-511) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- success = IERC20(WBTC).transfer(address(dividendTracker),dividends) (EileenGuWin.sol#516)
- dividendTracker.distributeWBTCDividends(dividends) (EileenGuWin.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (EileenGuWin.sol#397)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#261)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#262)
- super._transfer(from,deadWallet,burnShare) (EileenGuWin.sol#401)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#261)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#262)
- super._transfer(from,to,amount) (EileenGuWin.sol#406)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#261)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#262)
- swapping = false (EileenGuWin.sol#379)
Apply the check-effects-interactions pattern.
Additional information: link
EileenGuWin.swapAndSendToFee(uint256) (EileenGuWin.sol#423-430) ignores return value by IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#115-131):
External calls:
- success = IERC20(WBTC).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#120)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#123)
Reentrancy in EileenGuWin.updateDividendTracker(address) (EileenGuWin.sol#165-180):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (EileenGuWin.sol#172)
- newDividendTracker.excludeFromDividends(address(this)) (EileenGuWin.sol#173)
- newDividendTracker.excludeFromDividends(owner()) (EileenGuWin.sol#174)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (EileenGuWin.sol#175)
State variables written after the call(s):
- dividendTracker = newDividendTracker (EileenGuWin.sol#179)
Apply the check-effects-interactions pattern.
Additional information: link
EileenGuWin._transfer(address,address,uint256).iterations (EileenGuWin.sol#414) is a local variable never initialized
EileenGuWin._transfer(address,address,uint256).claims (EileenGuWin.sol#414) is a local variable never initialized
EileenGuWin._transfer(address,address,uint256).lastProcessedIndex (EileenGuWin.sol#414) 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
EileenGuWin.claim() (EileenGuWin.sol#328-330) ignores return value by dividendTracker.processAccount(msg.sender,false) (EileenGuWin.sol#329)
EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421) ignores return value by dividendTracker.process(gas) (EileenGuWin.sol#414-419)
EileenGuWin.addLiquidity(uint256,uint256) (EileenGuWin.sol#496-511) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#89) shadows:
- ERC20._name (ERC20.sol#83) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#89) shadows:
- ERC20._symbol (ERC20.sol#84) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#137) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#144) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#151) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#161) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
EileenGuWin.setWBTCRewardsFee(uint256) (EileenGuWin.sol#210-213) should emit an event for:
- WBTCRewardsFee = value (EileenGuWin.sol#211)
- totalFees = WBTCRewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (EileenGuWin.sol#212)
EileenGuWin.setLiquiditFee(uint256) (EileenGuWin.sol#215-218) should emit an event for:
- liquidityFee = value (EileenGuWin.sol#216)
- totalFees = WBTCRewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (EileenGuWin.sol#217)
EileenGuWin.setMarketingFee(uint256) (EileenGuWin.sol#220-223) should emit an event for:
- marketingFee = value (EileenGuWin.sol#221)
- totalFees = WBTCRewardsFee.add(liquidityFee).add(marketingFee).add(burnFee) (EileenGuWin.sol#222)
EileenGuWin.setBurnFee(uint256) (EileenGuWin.sol#225-228) should emit an event for:
- burnFee = value (EileenGuWin.sol#227)
EileenGuWin.setSwapTokensAmount(uint256) (EileenGuWin.sol#230-232) should emit an event for:
- swapTokensAtAmount = value * (10 ** 18) (EileenGuWin.sol#231)
EileenGuWin.setMaxTxAmount(uint256) (EileenGuWin.sol#234-236) should emit an event for:
- _maxTxAmount = value * (10 ** 18) (EileenGuWin.sol#235)
Emit an event for critical parameter changes.
Additional information: link
EileenGuWin.updateUniswapV2Router(address)._uniswapV2Pair (EileenGuWin.sol#186-187) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (EileenGuWin.sol#188)
EileenGuWin.setMarketingWallet(address).wallet (EileenGuWin.sol#206) lacks a zero-check on :
- _marketingWalletAddress = wallet (EileenGuWin.sol#207)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#115-131) has external calls inside a loop: success = IERC20(WBTC).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#120)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'EileenGuWin._transfer(address,address,uint256).claims (EileenGuWin.sol#414)' in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (EileenGuWin.sol#415)
Variable 'EileenGuWin._transfer(address,address,uint256).iterations (EileenGuWin.sol#414)' in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (EileenGuWin.sol#415)
Variable 'EileenGuWin._transfer(address,address,uint256).lastProcessedIndex (EileenGuWin.sol#414)' in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (EileenGuWin.sol#415)
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 EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- _allowances[owner][spender] = amount (ERC20.sol#327)
Reentrancy in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- success = IERC20(WBTC).transfer(address(dividendTracker),dividends) (EileenGuWin.sol#516)
- dividendTracker.distributeWBTCDividends(dividends) (EileenGuWin.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- _allowances[owner][spender] = amount (ERC20.sol#327)
Reentrancy in EileenGuWin.constructor() (EileenGuWin.sol#127-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (EileenGuWin.sol#134-135)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (EileenGuWin.sol#138)
- uniswapV2Router = _uniswapV2Router (EileenGuWin.sol#137)
Reentrancy in EileenGuWin.constructor() (EileenGuWin.sol#127-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (EileenGuWin.sol#134-135)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (EileenGuWin.sol#140)
- dividendTracker.excludeFromDividends(pair) (EileenGuWin.sol#255)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (EileenGuWin.sol#143)
- dividendTracker.excludeFromDividends(address(this)) (EileenGuWin.sol#144)
- dividendTracker.excludeFromDividends(owner()) (EileenGuWin.sol#145)
- dividendTracker.excludeFromDividends(deadWallet) (EileenGuWin.sol#146)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (EileenGuWin.sol#147)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (EileenGuWin.sol#158)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#281)
- excludeFromFees(owner(),true) (EileenGuWin.sol#150)
- _isExcludedFromFees[account] = excluded (EileenGuWin.sol#193)
- excludeFromFees(_marketingWalletAddress,true) (EileenGuWin.sol#151)
- _isExcludedFromFees[account] = excluded (EileenGuWin.sol#193)
- excludeFromFees(address(this),true) (EileenGuWin.sol#152)
- _isExcludedFromFees[account] = excluded (EileenGuWin.sol#193)
- _mint(owner(),1000000000 * (10 ** 18)) (EileenGuWin.sol#158)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#280)
Reentrancy in EileenGuWinDividendTracker.processAccount(address,bool) (EileenGuWinDividendTracker.sol#245-255):
External calls:
- amount = _withdrawDividendOfUser(account) (EileenGuWinDividendTracker.sol#246)
- success = IERC20(WBTC).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#120)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (EileenGuWinDividendTracker.sol#249)
Reentrancy in EileenGuWin.swapAndLiquify(uint256) (EileenGuWin.sol#432-453):
External calls:
- swapTokensForEth(half) (EileenGuWin.sol#444)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- _allowances[owner][spender] = amount (ERC20.sol#327)
Reentrancy in EileenGuWin.updateUniswapV2Router(address) (EileenGuWin.sol#182-189):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (EileenGuWin.sol#186-187)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (EileenGuWin.sol#188)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EileenGuWin._setAutomatedMarketMakerPair(address,bool) (EileenGuWin.sol#250-259):
External calls:
- dividendTracker.excludeFromDividends(pair) (EileenGuWin.sol#255)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (EileenGuWin.sol#258)
Reentrancy in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#328)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- SwapAndLiquify(half,newBalance,otherHalf) (EileenGuWin.sol#452)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
Reentrancy in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- success = IERC20(WBTC).transfer(address(dividendTracker),dividends) (EileenGuWin.sol#516)
- dividendTracker.distributeWBTCDividends(dividends) (EileenGuWin.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#328)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- SendDividends(tokens,dividends) (EileenGuWin.sol#520)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- Transfer(sender,recipient,amount) (ERC20.sol#263)
- super._transfer(from,address(this),fees) (EileenGuWin.sol#397)
- Transfer(sender,recipient,amount) (ERC20.sol#263)
- super._transfer(from,deadWallet,burnShare) (EileenGuWin.sol#401)
- Transfer(sender,recipient,amount) (ERC20.sol#263)
- super._transfer(from,to,amount) (EileenGuWin.sol#406)
Reentrancy in EileenGuWin._transfer(address,address,uint256) (EileenGuWin.sol#341-421):
External calls:
- swapAndSendToFee(marketingTokens) (EileenGuWin.sol#371)
- IERC20(WBTC).transfer(_marketingWalletAddress,newBalance) (EileenGuWin.sol#429)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- swapAndSendDividends(sellTokens) (EileenGuWin.sol#377)
- success = IERC20(WBTC).transfer(address(dividendTracker),dividends) (EileenGuWin.sol#516)
- dividendTracker.distributeWBTCDividends(dividends) (EileenGuWin.sol#519)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- dividendTracker.setBalance(address(from),balanceOf(from)) (EileenGuWin.sol#408)
- dividendTracker.setBalance(address(to),balanceOf(to)) (EileenGuWin.sol#409)
- dividendTracker.process(gas) (EileenGuWin.sol#414-419)
External calls sending eth:
- swapAndLiquify(swapTokens) (EileenGuWin.sol#374)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (EileenGuWin.sol#415)
Reentrancy in EileenGuWin.constructor() (EileenGuWin.sol#127-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (EileenGuWin.sol#134-135)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (EileenGuWin.sol#140)
- dividendTracker.excludeFromDividends(pair) (EileenGuWin.sol#255)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (EileenGuWin.sol#258)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (EileenGuWin.sol#140)
Reentrancy in EileenGuWin.constructor() (EileenGuWin.sol#127-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (EileenGuWin.sol#134-135)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (EileenGuWin.sol#140)
- dividendTracker.excludeFromDividends(pair) (EileenGuWin.sol#255)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (EileenGuWin.sol#143)
- dividendTracker.excludeFromDividends(address(this)) (EileenGuWin.sol#144)
- dividendTracker.excludeFromDividends(owner()) (EileenGuWin.sol#145)
- dividendTracker.excludeFromDividends(deadWallet) (EileenGuWin.sol#146)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (EileenGuWin.sol#147)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (EileenGuWin.sol#195)
- excludeFromFees(address(this),true) (EileenGuWin.sol#152)
- ExcludeFromFees(account,excluded) (EileenGuWin.sol#195)
- excludeFromFees(_marketingWalletAddress,true) (EileenGuWin.sol#151)
- ExcludeFromFees(account,excluded) (EileenGuWin.sol#195)
- excludeFromFees(owner(),true) (EileenGuWin.sol#150)
- Transfer(address(0),account,amount) (ERC20.sol#282)
- _mint(owner(),1000000000 * (10 ** 18)) (EileenGuWin.sol#158)
Reentrancy in EileenGuWinDividendTracker.processAccount(address,bool) (EileenGuWinDividendTracker.sol#245-255):
External calls:
- amount = _withdrawDividendOfUser(account) (EileenGuWinDividendTracker.sol#246)
- success = IERC20(WBTC).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#120)
Event emitted after the call(s):
- Claim(account,amount,automatic) (EileenGuWinDividendTracker.sol#250)
Reentrancy in EileenGuWin.processDividendTracker(uint256) (EileenGuWin.sol#323-326):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (EileenGuWin.sol#324)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (EileenGuWin.sol#325)
Reentrancy in EileenGuWin.swapAndLiquify(uint256) (EileenGuWin.sol#432-453):
External calls:
- swapTokensForEth(half) (EileenGuWin.sol#444)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#467-473)
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (EileenGuWin.sol#502-509)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#328)
- addLiquidity(otherHalf,newBalance) (EileenGuWin.sol#450)
- SwapAndLiquify(half,newBalance,otherHalf) (EileenGuWin.sol#452)
Reentrancy in EileenGuWin.swapAndSendDividends(uint256) (EileenGuWin.sol#513-522):
External calls:
- swapTokensForWBTC(tokens) (EileenGuWin.sol#514)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (EileenGuWin.sol#487-493)
- success = IERC20(WBTC).transfer(address(dividendTracker),dividends) (EileenGuWin.sol#516)
- dividendTracker.distributeWBTCDividends(dividends) (EileenGuWin.sol#519)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (EileenGuWin.sol#520)
Reentrancy in EileenGuWin.updateDividendTracker(address) (EileenGuWin.sol#165-180):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (EileenGuWin.sol#172)
- newDividendTracker.excludeFromDividends(address(this)) (EileenGuWin.sol#173)
- newDividendTracker.excludeFromDividends(owner()) (EileenGuWin.sol#174)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (EileenGuWin.sol#175)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (EileenGuWin.sol#177)
Apply the check-effects-interactions pattern.
Additional information: link
EileenGuWinDividendTracker.getAccount(address) (EileenGuWinDividendTracker.sol#109-152) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (EileenGuWinDividendTracker.sol#149-151)
EileenGuWinDividendTracker.canAutoClaim(uint256) (EileenGuWinDividendTracker.sol#173-179) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (EileenGuWinDividendTracker.sol#174)
- block.timestamp.sub(lastClaimTime) >= claimWait (EileenGuWinDividendTracker.sol#178)
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#171-177) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#166-168) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#182-185) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#120-123) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#91-97) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#79-86) is never used and should be removed
Remove unused functions.
Additional information: link
EileenGuWin.totalFees (EileenGuWin.sol#77) is set pre-construction with a non-constant function or state variable:
- WBTCRewardsFee.add(liquidityFee).add(marketingFee).add(burnFee)
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#42) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#43) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#43) allows old versions
Pragma version^0.6.2 (EileenGuWin.sol#43) allows old versions
Pragma version^0.6.2 (EileenGuWinDividendTracker.sol#43) allows old versions
Pragma version^0.6.2 (IERC20.sol#43) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#43) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#41) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#43) 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#43) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#66) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#42) 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
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#137) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#144) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#151) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#161) is not in mixedCase
Variable DividendPayingToken.WBTC (DividendPayingToken.sol#63) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#69) is not in UPPER_CASE_WITH_UNDERSCORES
Variable EileenGuWin.WBTC (EileenGuWin.sol#66) is not in mixedCase
Variable EileenGuWin._maxTxAmount (EileenGuWin.sol#69) is not in mixedCase
Variable EileenGuWin._iskillboted (EileenGuWin.sol#71) is not in mixedCase
Variable EileenGuWin.WBTCRewardsFee (EileenGuWin.sol#73) is not in mixedCase
Variable EileenGuWin._marketingWalletAddress (EileenGuWin.sol#80) is not in mixedCase
Parameter EileenGuWinDividendTracker.getAccount(address)._account (EileenGuWinDividendTracker.sol#109) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#60) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#61) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#78) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#116) is too similar to EileenGuWinDividendTracker.getAccount(address).withdrawableDividends (EileenGuWinDividendTracker.sol#114)
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
EileenGuWin.constructor() (EileenGuWin.sol#127-159) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (EileenGuWin.sol#158)
EileenGuWin.updateGasForProcessing(uint256) (EileenGuWin.sol#262-267) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,EileenGuWin: gasForProcessing must be between 200,000 and 500,000) (EileenGuWin.sol#263)
EileenGuWin.slitherConstructorVariables() (EileenGuWin.sol#54-523) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (EileenGuWin.sol#64)
EileenGuWin.slitherConstructorVariables() (EileenGuWin.sol#54-523) uses literals with too many digits:
- _maxTxAmount = 1000000000 * (10 ** 18) (EileenGuWin.sol#69)
EileenGuWin.slitherConstructorVariables() (EileenGuWin.sol#54-523) uses literals with too many digits:
- gasForProcessing = 400000 (EileenGuWin.sol#84)
EileenGuWinDividendTracker.getAccountAtIndex(uint256) (EileenGuWinDividendTracker.sol#154-171) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (EileenGuWinDividendTracker.sol#165)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#74) is never used in SafeMathInt (SafeMathInt.sol#72-130)
Remove unused state variables.
Additional information: link
DividendPayingToken.WBTC (DividendPayingToken.sol#63) should be constant
EileenGuWin.WBTC (EileenGuWin.sol#66) should be constant
EileenGuWin.deadWallet (EileenGuWin.sol#64) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeWBTCDividends(uint256) should be declared external:
- DividendPayingToken.distributeWBTCDividends(uint256) (DividendPayingToken.sol#94-105)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#109-111)
- EileenGuWinDividendTracker.withdrawDividend() (EileenGuWinDividendTracker.sol#78-80)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#137-139)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#151-153)
name() should be declared external:
- ERC20.name() (ERC20.sol#103-105)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#111-113)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#128-130)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#154-157)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#162-164)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#173-176)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#191-199)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#213-216)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#232-235)
updateDividendTracker(address) should be declared external:
- EileenGuWin.updateDividendTracker(address) (EileenGuWin.sol#165-180)
updateUniswapV2Router(address) should be declared external:
- EileenGuWin.updateUniswapV2Router(address) (EileenGuWin.sol#182-189)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- EileenGuWin.excludeMultipleAccountsFromFees(address[],bool) (EileenGuWin.sol#198-204)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- EileenGuWin.setAutomatedMarketMakerPair(address,bool) (EileenGuWin.sol#239-243)
updateGasForProcessing(uint256) should be declared external:
- EileenGuWin.updateGasForProcessing(uint256) (EileenGuWin.sol#262-267)
isExcludedFromFees(address) should be declared external:
- EileenGuWin.isExcludedFromFees(address) (EileenGuWin.sol#281-283)
withdrawableDividendOf(address) should be declared external:
- EileenGuWin.withdrawableDividendOf(address) (EileenGuWin.sol#285-287)
dividendTokenBalanceOf(address) should be declared external:
- EileenGuWin.dividendTokenBalanceOf(address) (EileenGuWin.sol#289-291)
getAccountAtIndex(uint256) should be declared external:
- EileenGuWinDividendTracker.getAccountAtIndex(uint256) (EileenGuWinDividendTracker.sol#154-171)
process(uint256) should be declared external:
- EileenGuWinDividendTracker.process(uint256) (EileenGuWinDividendTracker.sol#198-243)
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 website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts