E100M.swapAndLiquify(uint256) (#2015-2057) sends eth to arbitrary user
Dangerous calls:
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
E100M.addLiquidity(uint256,uint256) (#2059-2072) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in E100M._transfer(address,address,uint256) (#1938-2013):
External calls:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1994)
- _balances[sender] = senderBalance - amount (#1069)
- _balances[recipient] += amount (#1071)
- super._transfer(from,to,amount) (#1998)
- _balances[sender] = senderBalance - amount (#1069)
- _balances[recipient] += amount (#1071)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1392-1408):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1397)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1400)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
State variables written after the call(s):
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- _allowances[owner][spender] = amount (#1148)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
State variables written after the call(s):
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
- _allowances[owner][spender] = amount (#1148)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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)
E100M._transfer(address,address,uint256).iterations (#2006) is a local variable never initialized
E100M._transfer(address,address,uint256).claims (#2006) is a local variable never initialized
E100M._transfer(address,address,uint256).lastProcessedIndex (#2006) is a local variable never initialized
E100M._transfer(address,address,uint256).fees (#1982) 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
E100M.claim() (#1912-1914) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1913)
E100M._transfer(address,address,uint256) (#1938-2013) ignores return value by dividendTracker.process(gas) (#2006-2011)
E100M.addLiquidity(uint256,uint256) (#2059-2072) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1349) shadows:
- ERC20._name (#877) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1349) shadows:
- ERC20._symbol (#878) (state variable)
Rename the local variables that shadow another component.
Additional information: link
E100M.setMaxWalletToken(uint256) (#2108-2111) should emit an event for:
- maxWalletToken = _maxToken (#2109)
E100M.updateTotalBuyTax(uint256) (#2113-2116) should emit an event for:
- totalBuyTax = _buyTax (#2114)
E100M.updateTotalSellTax(uint256) (#2118-2121) should emit an event for:
- totalSellTax = _sellTax (#2119)
E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256) (#2123-2130) should emit an event for:
- rewardFeePercent = _rewardPercent (#2125)
- liquidityFeePercent = _liquidityPercent (#2126)
- marketingFeePercent = _marketingPercent (#2127)
- devFeePercent = _devPercent (#2128)
- teamFeePercent = _teamPercent (#2129)
E100M.setSwapTokensAtAmount(uint256) (#2132-2134) should emit an event for:
- swapTokensAtAmount = newAmount (#2133)
E100M.setMaxBuytxAmount(uint256) (#2136-2139) should emit an event for:
- maxBuyTransactionAmount = _maxBuyTxAmount (#2137)
E100M.setMaxSelltxAmount(uint256) (#2141-2144) should emit an event for:
- maxSellTransactionAmount = _maxSellTxAmount (#2142)
Emit an event for critical parameter changes.
Additional information: link
E100M.setMarketingWallet(address)._wallet (#2096) lacks a zero-check on :
- marketingWalletAddress = _wallet (#2097)
E100M.setDevWallet(address)._wallet (#2100) lacks a zero-check on :
- devWalletAddress = _wallet (#2101)
E100M.setTeamWallet(address)._wallet (#2104) lacks a zero-check on :
- teamWalletAddress = _wallet (#2105)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1392-1408) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1397)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'E100M._transfer(address,address,uint256).claims (#2006)' in E100M._transfer(address,address,uint256) (#1938-2013) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007)
Variable 'E100M._transfer(address,address,uint256).iterations (#2006)' in E100M._transfer(address,address,uint256) (#1938-2013) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007)
Variable 'E100M._transfer(address,address,uint256).lastProcessedIndex (#2006)' in E100M._transfer(address,address,uint256) (#1938-2013) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007)
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 E100M.constructor() (#1781-1814):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1787-1788)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1791)
- uniswapV2Router = _uniswapV2Router (#1790)
Reentrancy in E100M.constructor() (#1781-1814):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1787-1788)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1793)
- dividendTracker.excludeFromDividends(pair) (#1844)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1796)
- dividendTracker.excludeFromDividends(address(this)) (#1797)
- dividendTracker.excludeFromDividends(owner()) (#1798)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1799)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1800)
State variables written after the call(s):
- _mint(owner(),100000000 * (10 ** 9)) (#1813)
- _balances[account] += amount (#1093)
- excludeFromFees(owner(),true) (#1803)
- _isExcludedFromFees[account] = excluded (#1828)
- excludeFromFees(marketingWalletAddress,true) (#1804)
- _isExcludedFromFees[account] = excluded (#1828)
- excludeFromFees(devWalletAddress,true) (#1805)
- _isExcludedFromFees[account] = excluded (#1828)
- excludeFromFees(teamWalletAddress,true) (#1806)
- _isExcludedFromFees[account] = excluded (#1828)
- excludeFromFees(address(this),true) (#1807)
- _isExcludedFromFees[account] = excluded (#1828)
- _mint(owner(),100000000 * (10 ** 9)) (#1813)
- _totalSupply += amount (#1092)
Reentrancy in DividendTracker.processAccount(address,bool) (#1692-1702):
External calls:
- amount = _withdrawDividendOfUser(account) (#1693)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1397)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1696)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in E100M._setAutomatedMarketMakerPair(address,bool) (#1839-1848):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1844)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1847)
Reentrancy in E100M._transfer(address,address,uint256) (#1938-2013):
External calls:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1073)
- super._transfer(from,to,amount) (#1998)
- Transfer(sender,recipient,amount) (#1073)
- super._transfer(from,address(this),fees) (#1994)
Reentrancy in E100M._transfer(address,address,uint256) (#1938-2013):
External calls:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2000)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2001)
- dividendTracker.process(gas) (#2006-2011)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007)
Reentrancy in E100M.constructor() (#1781-1814):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1787-1788)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1793)
- dividendTracker.excludeFromDividends(pair) (#1844)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1847)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1793)
Reentrancy in E100M.constructor() (#1781-1814):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1787-1788)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1793)
- dividendTracker.excludeFromDividends(pair) (#1844)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1796)
- dividendTracker.excludeFromDividends(address(this)) (#1797)
- dividendTracker.excludeFromDividends(owner()) (#1798)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1799)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1800)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1830)
- excludeFromFees(devWalletAddress,true) (#1805)
- ExcludeFromFees(account,excluded) (#1830)
- excludeFromFees(marketingWalletAddress,true) (#1804)
- ExcludeFromFees(account,excluded) (#1830)
- excludeFromFees(owner(),true) (#1803)
- ExcludeFromFees(account,excluded) (#1830)
- excludeFromFees(teamWalletAddress,true) (#1806)
- ExcludeFromFees(account,excluded) (#1830)
- excludeFromFees(address(this),true) (#1807)
- Transfer(address(0),account,amount) (#1094)
- _mint(owner(),100000000 * (10 ** 9)) (#1813)
Reentrancy in DividendTracker.processAccount(address,bool) (#1692-1702):
External calls:
- amount = _withdrawDividendOfUser(account) (#1693)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1397)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1697)
Reentrancy in E100M.processDividendTracker(uint256) (#1907-1910):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1908)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1909)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1149)
- addLiquidity(otherHalf,newBalance) (#2037)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1149)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1149)
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- swapTokensForEth(half,address(this)) (#2031)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- swapTokensForEth(tokensForWallets,address(this)) (#2040)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2086-2092)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
Event emitted after the call(s):
- SendDividends(tokensForHolders,dividends) (#2053)
- SwapAndLiquify(otherHalf,newBalance) (#2056)
Apply the check-effects-interactions pattern.
Additional information: link
DividendTracker.getAccount(address) (#1556-1599) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1596-1598)
DividendTracker.canAutoClaim(uint256) (#1620-1626) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1621)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1625)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#11-13) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1448-1454) is never used and should be removed
SafeCast.toInt128(int256) (#654-657) is never used and should be removed
SafeCast.toInt16(int256) (#708-711) is never used and should be removed
SafeCast.toInt32(int256) (#690-693) is never used and should be removed
SafeCast.toInt64(int256) (#672-675) is never used and should be removed
SafeCast.toInt8(int256) (#726-729) is never used and should be removed
SafeCast.toUint128(uint256) (#549-552) is never used and should be removed
SafeCast.toUint16(uint256) (#609-612) is never used and should be removed
SafeCast.toUint224(uint256) (#534-537) is never used and should be removed
SafeCast.toUint32(uint256) (#594-597) is never used and should be removed
SafeCast.toUint64(uint256) (#579-582) is never used and should be removed
SafeCast.toUint8(uint256) (#624-627) is never used and should be removed
SafeCast.toUint96(uint256) (#564-567) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#470-479) is never used and should be removed
SafeMath.mod(uint256,uint256) (#430-432) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#496-505) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#447-456) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#301-307) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#343-348) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#355-360) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#326-336) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#314-319) is never used and should be removed
SignedSafeMath.div(int256,int256) (#252-254) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#238-240) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.13 (#4) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#1392-1408):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1397)
Low level call in E100M.swapAndLiquify(uint256) (#2015-2057):
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#72) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1414) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1421) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1428) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1438) is not in mixedCase
Constant DividendPayingToken.magnitude (#1329) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter DividendTracker.getAccount(address)._account (#1556) is not in mixedCase
Function E100M.IncludeInDividends(address) (#1929-1931) is not in mixedCase
Parameter E100M.setSwapAndLiquifyEnabled(bool)._enabled (#1933) is not in mixedCase
Parameter E100M.swapTokensForEth(uint256,address)._to (#2074) is not in mixedCase
Parameter E100M.setMarketingWallet(address)._wallet (#2096) is not in mixedCase
Parameter E100M.setDevWallet(address)._wallet (#2100) is not in mixedCase
Parameter E100M.setTeamWallet(address)._wallet (#2104) is not in mixedCase
Parameter E100M.setMaxWalletToken(uint256)._maxToken (#2108) is not in mixedCase
Parameter E100M.updateTotalBuyTax(uint256)._buyTax (#2113) is not in mixedCase
Parameter E100M.updateTotalSellTax(uint256)._sellTax (#2118) is not in mixedCase
Parameter E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256)._rewardPercent (#2123) is not in mixedCase
Parameter E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256)._liquidityPercent (#2123) is not in mixedCase
Parameter E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256)._marketingPercent (#2123) is not in mixedCase
Parameter E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256)._devPercent (#2123) is not in mixedCase
Parameter E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256)._teamPercent (#2123) is not in mixedCase
Parameter E100M.setMaxBuytxAmount(uint256)._maxBuyTxAmount (#2136) is not in mixedCase
Parameter E100M.setMaxSelltxAmount(uint256)._maxSellTxAmount (#2141) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in E100M._transfer(address,address,uint256) (#1938-2013):
External calls:
- swapAndLiquify(contractTokenBalance) (#1976)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1976)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1994)
- _balances[sender] = senderBalance - amount (#1069)
- _balances[recipient] += amount (#1071)
- super._transfer(from,to,amount) (#1998)
- _balances[sender] = senderBalance - amount (#1069)
- _balances[recipient] += amount (#1071)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007)
- Transfer(sender,recipient,amount) (#1073)
- super._transfer(from,address(this),fees) (#1994)
- Transfer(sender,recipient,amount) (#1073)
- super._transfer(from,to,amount) (#1998)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
State variables written after the call(s):
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
- _allowances[owner][spender] = amount (#1148)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1149)
- swapTokensForEth(tokensForHolders,address(this)) (#2047)
Reentrancy in E100M.swapAndLiquify(uint256) (#2015-2057):
External calls:
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2037)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2064-2071)
- devWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2042)
- teamWalletAddress.transfer(address(this).balance.mul(devFeePercent).div(walletsTotalFeePercent)) (#2043)
- marketingWalletAddress.transfer(address(this).balance) (#2044)
- (success) = address(dividendTracker).call{value: dividends}() (#2050)
Event emitted after the call(s):
- SendDividends(tokensForHolders,dividends) (#2053)
- SwapAndLiquify(otherHalf,newBalance) (#2056)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#77) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#78)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1393) is too similar to DividendTracker.getAccount(address).withdrawableDividends (#1561)
Prevent variables from having similar names.
Additional information: link
DividendTracker.getAccountAtIndex(uint256) (#1601-1618) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1612)
E100M.constructor() (#1781-1814) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1800)
E100M.constructor() (#1781-1814) uses literals with too many digits:
- _mint(owner(),100000000 * (10 ** 9)) (#1813)
E100M.updateGasForProcessing(uint256) (#1850-1855) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (#1851)
E100M.slitherConstructorVariables() (#1705-2148) uses literals with too many digits:
- maxBuyTransactionAmount = 1000000 * (10 ** 9) (#1717)
E100M.slitherConstructorVariables() (#1705-2148) uses literals with too many digits:
- maxSellTransactionAmount = 1000000 * (10 ** 9) (#1718)
E100M.slitherConstructorVariables() (#1705-2148) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 9) (#1719)
E100M.slitherConstructorVariables() (#1705-2148) uses literals with too many digits:
- maxWalletToken = 3000000 * (10 ** 9) (#1720)
E100M.slitherConstructorVariables() (#1705-2148) uses literals with too many digits:
- gasForProcessing = 300000 (#1737)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#50-52)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#58-61)
name() should be declared external:
- ERC20.name() (#897-899)
symbol() should be declared external:
- ERC20.symbol() (#905-907)
decimals() should be declared external:
- ERC20.decimals() (#922-924)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#948-951)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#967-970)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#985-999)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1013-1016)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1032-1040)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1202-1204)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1206-1211)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1213-1215)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1219-1221)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1386-1388)
- DividendTracker.withdrawDividend() (#1519-1521)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1414-1416)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1428-1430)
getAccountAtIndex(uint256) should be declared external:
- DividendTracker.getAccountAtIndex(uint256) (#1601-1618)
process(uint256) should be declared external:
- DividendTracker.process(uint256) (#1645-1690)
updateUniswapV2Router(address) should be declared external:
- E100M.updateUniswapV2Router(address) (#1820-1824)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- E100M.setAutomatedMarketMakerPair(address,bool) (#1833-1837)
updateGasForProcessing(uint256) should be declared external:
- E100M.updateGasForProcessing(uint256) (#1850-1855)
isExcludedFromFees(address) should be declared external:
- E100M.isExcludedFromFees(address) (#1869-1871)
withdrawableDividendOf(address) should be declared external:
- E100M.withdrawableDividendOf(address) (#1873-1875)
dividendTokenBalanceOf(address) should be declared external:
- E100M.dividendTokenBalanceOf(address) (#1877-1879)
setSwapAndLiquifyEnabled(bool) should be declared external:
- E100M.setSwapAndLiquifyEnabled(bool) (#1933-1936)
updateTotalBuyTax(uint256) should be declared external:
- E100M.updateTotalBuyTax(uint256) (#2113-2116)
updateTotalSellTax(uint256) should be declared external:
- E100M.updateTotalSellTax(uint256) (#2118-2121)
updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256) should be declared external:
- E100M.updateTaxDistributionPercentage(uint256,uint256,uint256,uint256,uint256) (#2123-2130)
setSwapTokensAtAmount(uint256) should be declared external:
- E100M.setSwapTokensAtAmount(uint256) (#2132-2134)
setMaxBuytxAmount(uint256) should be declared external:
- E100M.setMaxBuytxAmount(uint256) (#2136-2139)
setMaxSelltxAmount(uint256) should be declared external:
- E100M.setMaxSelltxAmount(uint256) (#2141-2144)
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