Empire Capital Token Token Logo

ECC [Empire Capital] Token

About ECC

Listings

Token 2 years

ECC is a DeFi 3.0 layer of controlled and managed diversified yield generating protocols, an aggregation of holdings where yield being returned to a singular asset via buybacks from revenue generating assets $ECC holds.

$ECC removes the need for active management by the user by creating an opportunity to diversify holdings in projects focused on obtaining maximized staking/farming yields.

Users gain the advantage of wider exposure to the yield farming sector while only needing to own one token.

Social

Laser Scorebeta Last Audit: 7 December 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

ECC.addLiquidity(uint256,uint256) (#1735-1748) sends eth to arbitrary user
Dangerous calls:
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
ECC.sendETHToCapitalFund(uint256) (#1750-1755) sends eth to arbitrary user
Dangerous calls:
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
ECC.sendETHToTeam(uint256) (#2047-2050) sends eth to arbitrary user
Dangerous calls:
- _treasuryWalletAddress.transfer(amount.div(100).mul(_treasuryDistribution)) (#2048)
- _marketingWalletAddress.transfer(amount.div(100).mul(_marketingDistribution)) (#2049)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ECC._transfer(address,address,uint256) (#1601-1691):
External calls:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1551)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1807)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1474)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1828)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1789)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1809)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1829)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1476)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#1483)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1553)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1473)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1827)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1808)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1475)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tTotal = _tTotal.sub(tBurn) (#1486)
Apply the check-effects-interactions pattern.

Additional information: link

ECC.empireSweepCall(uint256,bytes) (#2090-2092) ignores return value by IERC20(uniswapV2Router.WETH()).transfer(owner(),amount) (#2091)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

ECC.setFees(uint256,uint256,uint256) (#1928-1944) contains a tautology or contradiction:
- require(bool,string)(burnFee >= 0 && burnFee <= 1500 && taxFee >= 0 && taxFee <= 1500 && liquidityFee >= 0 && liquidityFee <= 1500,Must be a number between 0 and 1500) (#1929)
ECC.setBuyFees(uint256,uint256,uint256) (#1946-1959) contains a tautology or contradiction:
- require(bool,string)(buyBurnFee >= 0 && buyBurnFee <= 1500 && buyTaxFee >= 0 && buyTaxFee <= 1500 && buyLiquidityFee >= 0 && buyLiquidityFee <= 1500,Must be a number between 0 and 1500) (#1947)
ECC.setSellFees(uint256,uint256,uint256) (#1961-1974) contains a tautology or contradiction:
- require(bool,string)(sellBurnFee >= 0 && sellBurnFee <= 1500 && sellTaxFee >= 0 && sellTaxFee <= 1500 && sellLiquidityFee >= 0 && sellLiquidityFee <= 1500,Must be a number between 0 and 1500) (#1962)
Fix the incorrect comparison by changing the value type or the comparison.

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.

ECC.sendETHToCapitalFund(uint256) (#1750-1755) performs a multiplication on the result of a division:
-_treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
ECC.sendETHToCapitalFund(uint256) (#1750-1755) performs a multiplication on the result of a division:
-_marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
ECC.sendETHToTeam(uint256) (#2047-2050) performs a multiplication on the result of a division:
-_treasuryWalletAddress.transfer(amount.div(100).mul(_treasuryDistribution)) (#2048)
ECC.sendETHToTeam(uint256) (#2047-2050) performs a multiplication on the result of a division:
-_marketingWalletAddress.transfer(amount.div(100).mul(_marketingDistribution)) (#2049)
Consider ordering multiplication before division.

Additional information: link

ECC.addLiquidity(uint256,uint256) (#1735-1748) ignores return value by uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
ECC.unsweep(uint256) (#2095-2099) ignores return value by IERC20(uniswapV2Router.WETH()).approve(sweepablePair,amount) (#2096)
Ensure that all the return values of the function calls are used.

Additional information: link

ECC.allowance(address,address).owner (#1373) shadows:
- Ownable.owner() (#465-467) (function)
ECC._approve(address,address,uint256).owner (#1591) shadows:
- Ownable.owner() (#465-467) (function)
Rename the local variables that shadow another component.

Additional information: link

ECC.createSweepablePair(IEmpireFactory,bool) (#2071-2081) should emit an event for:
- uniswapV2Pair = sweepablePair (#2079)
Emit an event for critical parameter changes.

Additional information: link

ECC.setMarketingWallet(address).marketingWallet (#2013) lacks a zero-check on :
- _marketingWalletAddress = marketingWallet (#2014)
ECC.setTreasuryWallet(address).treasuryWallet (#2018) lacks a zero-check on :
- _treasuryWalletAddress = treasuryWallet (#2019)
ECC.transferETH(address,uint256).recipient (#2039) lacks a zero-check on :
- (success) = recipient.call{value: amount}() (#2043)
Check that the address is not zero.

Additional information: link

Reentrancy in ECC._transfer(address,address,uint256) (#1601-1691):
External calls:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- _burnFee = _buy_burnFee (#1667)
- _burnFee = _sell_burnFee (#1676)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _burnFee = _previousBurnFee (#1582)
- _burnFee = 0 (#1576)
- restoreAllFee() (#1690)
- _burnFee = _previousBurnFee (#1582)
- _liquidityFee = _buy_liquidityFee (#1665)
- _liquidityFee = _sell_liquidityFee (#1674)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _liquidityFee = _previousLiquidityFee (#1583)
- _liquidityFee = 0 (#1577)
- restoreAllFee() (#1690)
- _liquidityFee = _previousLiquidityFee (#1583)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousBurnFee = _burnFee (#1572)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousLiquidityFee = _liquidityFee (#1573)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousTaxFee = _taxFee (#1571)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tBurnTotal = _tBurnTotal.add(tBurn) (#1484)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1485)
- _taxFee = _buy_taxFee (#1666)
- _taxFee = _sell_taxFee (#1675)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _taxFee = _previousTaxFee (#1581)
- _taxFee = 0 (#1575)
- restoreAllFee() (#1690)
- _taxFee = _previousTaxFee (#1581)
Reentrancy in ECC.constructor(uint256) (#1312-1341):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapRouter.factory()).createPair(address(this),_uniswapRouter.WETH()) (#1324-1325)
State variables written after the call(s):
- _excluded.push(uniswapV2Pair) (#1338)
- _isExcluded[uniswapV2Pair] = true (#1337)
- _isExcludedFromFee[owner()] = true (#1334)
- _isExcludedFromFee[address(this)] = true (#1335)
- addLiquidityHolder(msg.sender) (#1332)
- _liquidityHolders[liquidityHolder] = true (#1872)
- snipeBlockAmt = _snipeBlockAmt (#1330)
- uniswapV2LiquidityRouter = _uniswapRouter (#1328)
- uniswapV2Router = _uniswapRouter (#1327)
Reentrancy in ECC.createSweepablePair(IEmpireFactory,bool) (#2071-2081):
External calls:
- sweepablePair = _factory.createPair(uniswapV2Router.WETH(),address(this),pairType,0) (#2076)
State variables written after the call(s):
- uniswapV2Pair = sweepablePair (#2079)
Reentrancy in ECC.swapAndLiquify(uint256) (#1693-1715):
External calls:
- swapTokensForEth(halfOfLiquify) (#1705)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
External calls sending eth:
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
State variables written after the call(s):
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- _allowances[owner][spender] = amount (#1597)
Reentrancy in ECC.swapAndLiquify(uint256) (#1693-1715):
External calls:
- swapTokensForEth(halfOfLiquify) (#1705)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- sendETHToCapitalFund(portionForFees) (#1712)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- sendETHToCapitalFund(portionForFees) (#1712)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- sendETHToCapitalFund(portionForFees) (#1712)
- _allowances[owner][spender] = amount (#1597)
Reentrancy in ECC.transferFrom(address,address,uint256) (#1384-1395):
External calls:
- _transfer(sender,recipient,amount) (#1385)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1385)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1386-1393)
- _allowances[owner][spender] = amount (#1597)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ECC._transfer(address,address,uint256) (#1601-1691):
External calls:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1792)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1832)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1812)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1479)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
Reentrancy in ECC.constructor(uint256) (#1312-1341):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapRouter.factory()).createPair(address(this),_uniswapRouter.WETH()) (#1324-1325)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1340)
Reentrancy in ECC.swapAndLiquify(uint256) (#1693-1715):
External calls:
- swapTokensForEth(halfOfLiquify) (#1705)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
External calls sending eth:
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1598)
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
Reentrancy in ECC.swapAndLiquify(uint256) (#1693-1715):
External calls:
- swapTokensForEth(halfOfLiquify) (#1705)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- sendETHToCapitalFund(portionForFees) (#1712)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- sendETHToCapitalFund(portionForFees) (#1712)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1598)
- sendETHToCapitalFund(portionForFees) (#1712)
- SwapAndLiquify(halfOfLiquify,newBalance,otherHalfOfLiquify) (#1714)
Reentrancy in ECC.sweep(uint256,bytes) (#2084-2087):
External calls:
- IEmpirePair(sweepablePair).sweep(amount,data) (#2085)
Event emitted after the call(s):
- Sweep(amount) (#2086)
Reentrancy in ECC.transferFrom(address,address,uint256) (#1384-1395):
External calls:
- _transfer(sender,recipient,amount) (#1385)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1726-1732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1385)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1598)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1386-1393)
Reentrancy in ECC.unsweep(uint256) (#2095-2099):
External calls:
- IERC20(uniswapV2Router.WETH()).approve(sweepablePair,amount) (#2096)
- IEmpirePair(sweepablePair).unsweep(amount) (#2097)
Event emitted after the call(s):
- Unsweep(amount) (#2098)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.lock(uint256) (#507-517) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(time <= (block.timestamp + 31536000),Only lockable for up to 1 year) (#508-511)
Ownable.unlock() (#520-528) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked) (#525)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#286-298) uses assembly
- INLINE ASM (#294-296)
Address._functionCallWithValue(address,bytes,uint256,string) (#413-440) uses assembly
- INLINE ASM (#432-435)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#413-440) is never used and should be removed
Address.functionCall(address,bytes) (#348-353) is never used and should be removed
Address.functionCall(address,bytes,string) (#361-367) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#380-392) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#400-411) is never used and should be removed
Address.isContract(address) (#286-298) is never used and should be removed
Address.sendValue(address,uint256) (#316-328) is never used and should be removed
Context._msgData() (#262-265) is never used and should be removed
SafeMath.mod(uint256,uint256) (#231-233) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#247-254) is never used and should be removed
Remove unused functions.

Additional information: link

ECC._rTotal (#1223) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
ECC._totalFees (#1242) is set pre-construction with a non-constant function or state variable:
- _taxFee.add(_burnFee).add(_liquidityFee)
ECC._totalBuyFees (#1243) is set pre-construction with a non-constant function or state variable:
- _buy_taxFee.add(_buy_burnFee).add(_buy_liquidityFee)
ECC._totalSellFees (#1244) is set pre-construction with a non-constant function or state variable:
- _sell_taxFee.add(_sell_burnFee).add(_sell_liquidityFee)
ECC._previousTaxFee (#1245) is set pre-construction with a non-constant function or state variable:
- _taxFee
ECC._previousBurnFee (#1246) is set pre-construction with a non-constant function or state variable:
- _burnFee
ECC._previousLiquidityFee (#1247) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#316-328):
- (success) = recipient.call{value: amount}() (#323)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#413-440):
- (success,returndata) = target.call{value: weiValue}(data) (#422-423)
Low level call in ECC.transferETH(address,uint256) (#2039-2045):
- (success) = recipient.call{value: amount}() (#2043)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#594) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#596) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#627) is not in mixedCase
Function IUniswapV2Router01.WETH() (#673) is not in mixedCase
Function IEmpireRouter.WETH() (#1001) is not in mixedCase
Parameter ECC.calculateTaxFee(uint256)._amount (#1556) is not in mixedCase
Parameter ECC.calculateBurnFee(uint256)._amount (#1560) is not in mixedCase
Parameter ECC.calculateLiquidityFee(uint256)._amount (#1564) is not in mixedCase
Parameter ECC.setNumTokensSellToAddToLiquidity(uint256)._numTokensSellToAddToLiquidity (#1883) is not in mixedCase
Parameter ECC.setSwapAndLiquifyEnabled(bool)._enabled (#1895) is not in mixedCase
Parameter ECC.setRouter(address)._routerAddress (#1900) is not in mixedCase
Parameter ECC.setLiquidityAddress(address)._liquidityAddress (#1913) is not in mixedCase
Parameter ECC.transferAnyTokens(address,address,uint256)._tokenAddr (#2034) is not in mixedCase
Parameter ECC.transferAnyTokens(address,address,uint256)._to (#2034) is not in mixedCase
Parameter ECC.transferAnyTokens(address,address,uint256)._amount (#2034) is not in mixedCase
Parameter ECC.createSweepablePair(IEmpireFactory,bool)._factory (#2071) is not in mixedCase
Variable ECC._liquidityFee (#1228) is not in mixedCase
Variable ECC._taxFee (#1229) is not in mixedCase
Variable ECC._burnFee (#1230) is not in mixedCase
Variable ECC._sell_liquidityFee (#1233) is not in mixedCase
Variable ECC._sell_taxFee (#1234) is not in mixedCase
Variable ECC._sell_burnFee (#1235) is not in mixedCase
Variable ECC._buy_liquidityFee (#1238) is not in mixedCase
Variable ECC._buy_taxFee (#1239) is not in mixedCase
Variable ECC._buy_burnFee (#1240) is not in mixedCase
Variable ECC._totalFees (#1242) is not in mixedCase
Variable ECC._totalBuyFees (#1243) is not in mixedCase
Variable ECC._totalSellFees (#1244) is not in mixedCase
Variable ECC._feeDecimal (#1249) is not in mixedCase
Variable ECC._maxTxAmount (#1250) is not in mixedCase
Variable ECC._portionSwap (#1252) is not in mixedCase
Variable ECC._treasuryDistribution (#1253) is not in mixedCase
Variable ECC._marketingDistribution (#1254) is not in mixedCase
Variable ECC._marketingWalletAddress (#1260) is not in mixedCase
Variable ECC._treasuryWalletAddress (#1261) is not in mixedCase
Variable ECC._stopFee (#1268) is not in mixedCase
Variable ECC._hasLiqBeenAdded (#1269) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#263)" inContext (#257-266)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in ECC._transfer(address,address,uint256) (#1601-1691):
External calls:
- swapAndLiquify(contractTokenBalance) (#1658)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1658)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- _burnFee = _buy_burnFee (#1667)
- _burnFee = _sell_burnFee (#1676)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _burnFee = _previousBurnFee (#1582)
- _burnFee = 0 (#1576)
- restoreAllFee() (#1690)
- _burnFee = _previousBurnFee (#1582)
- _liquidityFee = _buy_liquidityFee (#1665)
- _liquidityFee = _sell_liquidityFee (#1674)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _liquidityFee = _previousLiquidityFee (#1583)
- _liquidityFee = 0 (#1577)
- restoreAllFee() (#1690)
- _liquidityFee = _previousLiquidityFee (#1583)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousBurnFee = _burnFee (#1572)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousLiquidityFee = _liquidityFee (#1573)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _previousTaxFee = _taxFee (#1571)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1551)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1807)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1474)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1828)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1789)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1809)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1829)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1476)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#1483)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tBurnTotal = _tBurnTotal.add(tBurn) (#1484)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1485)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1553)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1473)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1827)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1808)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1475)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _tTotal = _tTotal.sub(tBurn) (#1486)
- _taxFee = _buy_taxFee (#1666)
- _taxFee = _sell_taxFee (#1675)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- _taxFee = _previousTaxFee (#1581)
- _taxFee = 0 (#1575)
- restoreAllFee() (#1690)
- _taxFee = _previousTaxFee (#1581)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1792)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1832)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1812)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
- Transfer(sender,recipient,tTransferAmount) (#1479)
- _tokenTransfer(from,to,amount,takeFee) (#1688)
Reentrancy in ECC.swapAndLiquify(uint256) (#1693-1715):
External calls:
- sendETHToCapitalFund(portionForFees) (#1712)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
External calls sending eth:
- addLiquidity(otherHalfOfLiquify,newBalance) (#1711)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- sendETHToCapitalFund(portionForFees) (#1712)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
Event emitted after the call(s):
- SwapAndLiquify(halfOfLiquify,newBalance,otherHalfOfLiquify) (#1714)
Reentrancy in ECC.transferFrom(address,address,uint256) (#1384-1395):
External calls:
- _transfer(sender,recipient,amount) (#1385)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1385)
- uniswapV2LiquidityRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1740-1747)
- _treasuryWalletAddress.transfer(ethRaised.div(100).mul(_treasuryDistribution)) (#1753)
- _marketingWalletAddress.transfer(ethRaised.div(100).mul(_marketingDistribution)) (#1754)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1386-1393)
- _allowances[owner][spender] = amount (#1597)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1598)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1386-1393)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#678) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#679)
Variable IEmpireRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1006) is too similar to IEmpireRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1007)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._getValues(uint256).tTransferAmount (#1491)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._getValues(uint256).rTransferAmount (#1496) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._transferBothExcluded(address,address,uint256).tTransferAmount (#1467)
Variable ECC._transferStandard(address,address,uint256).rTransferAmount (#1780) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._transferFromExcluded(address,address,uint256).tTransferAmount (#1821)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC._transferToExcluded(address,address,uint256).rTransferAmount (#1799) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._getTValues(uint256).tTransferAmount (#1513)
Variable ECC._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1524) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC._transferFromExcluded(address,address,uint256).rTransferAmount (#1819) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC._transferBothExcluded(address,address,uint256).rTransferAmount (#1465) is too similar to ECC._transferToExcluded(address,address,uint256).tTransferAmount (#1801)
Variable ECC.reflectionFromToken(uint256,bool).rTransferAmount (#1447) is too similar to ECC._transferStandard(address,address,uint256).tTransferAmount (#1782)
Prevent variables from having similar names.

Additional information: link

ECC.getCirculatingSupply() (#1430-1439) uses literals with too many digits:
- burnAddressTokens = balanceOf(0x000000000000000000000000000000000000dEaD).add(balanceOf(0x0000000000000000000000000000000000000000)) (#1431)
ECC.removeAddressFromSupply(address) (#2102-2110) uses literals with too many digits:
- require(bool,string)(removedAddress != 0x000000000000000000000000000000000000dEaD || removedAddress != 0x0000000000000000000000000000000000000000,Cannot add burn address (already accounted for)) (#2105)
ECC.addAddressToSupply(address) (#2113-2120) uses literals with too many digits:
- require(bool,string)(addedAddress != 0x000000000000000000000000000000000000dEaD || addedAddress != 0x0000000000000000000000000000000000000000,Cannot add burn address (already accounted for)) (#2116)
ECC.slitherConstructorVariables() (#1202-2123) uses literals with too many digits:
- _tTotal = 100000000 * 10 ** 9 (#1222)
ECC.slitherConstructorVariables() (#1202-2123) uses literals with too many digits:
- _maxTxAmount = 500000 * 10 ** 9 (#1250)
ECC.slitherConstructorVariables() (#1202-2123) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 100000 * 10 ** 9 (#1251)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ECC._decimals (#1219) should be constant
ECC._feeDecimal (#1249) should be constant
ECC._name (#1217) should be constant
ECC._symbol (#1218) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#484-487)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#493-500)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#502-504)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#507-517)
unlock() should be declared external:
- Ownable.unlock() (#520-528)
name() should be declared external:
- ECC.name() (#1347-1349)
symbol() should be declared external:
- ECC.symbol() (#1351-1353)
decimals() should be declared external:
- ECC.decimals() (#1355-1357)
transfer(address,uint256) should be declared external:
- ECC.transfer(address,uint256) (#1368-1371)
allowance(address,address) should be declared external:
- ECC.allowance(address,address) (#1373-1376)
approve(address,uint256) should be declared external:
- ECC.approve(address,uint256) (#1378-1382)
transferFrom(address,address,uint256) should be declared external:
- ECC.transferFrom(address,address,uint256) (#1384-1395)
increaseAllowance(address,uint256) should be declared external:
- ECC.increaseAllowance(address,uint256) (#1397-1404)
decreaseAllowance(address,uint256) should be declared external:
- ECC.decreaseAllowance(address,uint256) (#1406-1416)
isExcludedFromReward(address) should be declared external:
- ECC.isExcludedFromReward(address) (#1418-1420)
totalFees() should be declared external:
- ECC.totalFees() (#1422-1424)
totalBurn() should be declared external:
- ECC.totalBurn() (#1426-1428)
getCirculatingSupply() should be declared external:
- ECC.getCirculatingSupply() (#1430-1439)
reflectionFromToken(uint256,bool) should be declared external:
- ECC.reflectionFromToken(uint256,bool) (#1441-1450)
isExcludedFromFee(address) should be declared external:
- ECC.isExcludedFromFee(address) (#1586-1588)
isSniperCheck(address) should be declared external:
- ECC.isSniperCheck(address) (#1845-1847)
isLiquidityHolderCheck(address) should be declared external:
- ECC.isLiquidityHolderCheck(address) (#1849-1851)
excludeFromReward(address) should be declared external:
- ECC.excludeFromReward(address) (#1976-1983)
excludeFromFee(address) should be declared external:
- ECC.excludeFromFee(address) (#1998-2001)
includeInFee(address) should be declared external:
- ECC.includeInFee(address) (#2003-2006)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find audit link on the website


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


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank

Price for ECC