ESCToken is a community-driven, fair start DeFi project. Each transaction has four simple functions: FOMO, LP acquisition, static reward and destruction.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract ESCToken (contracts/ESCToken.sol#15-526) has payable functions:
- ESCToken.receive() (contracts/ESCToken.sol#237)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
ESCToken._approve(address,address,uint256).owner (contracts/ESCToken.sol#334) shadows:
- Ownable.owner() (contracts/Ownable.sol#47-49) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ESCToken._transfer(address,address,uint256) (contracts/ESCToken.sol#346-400):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/ESCToken.sol#378)
- usdt.approve(address(uniswapV2Router),usdtAmount) (contracts/ESCToken.sol#449)
- uniswapV2Router.addLiquidity(address(this),address(usdt),tokenAmount,usdtAmount,0,0,blackHole,block.timestamp) (contracts/ESCToken.sol#451-460)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(wrap),block.timestamp) (contracts/ESCToken.sol#435-441)
- wrap.withdraw() (contracts/ESCToken.sol#443)
- IFomo(fomoReceiver).transferNotify(to) (contracts/ESCToken.sol#391)
- IFomo(fomoReceiver).swap() (contracts/ESCToken.sol#394)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/ESCToken.sol#399)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/ESCToken.sol#292)
- _rOwned[devReceiver] = _rOwned[devReceiver].add(rDev) (contracts/ESCToken.sol#296)
- _rOwned[transferInfo.sender] = _rOwned[transferInfo.sender].sub(rAmount,sub1 rAmount) (contracts/ESCToken.sol#504)
- _rOwned[transferInfo.recipient] = _rOwned[transferInfo.recipient].add(rTransferAmount) (contracts/ESCToken.sol#505)
- _rOwned[fomoReceiver] = _rOwned[fomoReceiver].add(rFomo) (contracts/ESCToken.sol#300)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ESCToken.sol#399)
- _rTotal = _rTotal.sub(rFee,reflect fee) (contracts/ESCToken.sol#240)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ESCToken.sol#399)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/ESCToken.sol#294)
- _tOwned[devReceiver] = _tOwned[devReceiver].add(tDev) (contracts/ESCToken.sol#298)
- _tOwned[fomoReceiver] = _tOwned[fomoReceiver].add(tFomo) (contracts/ESCToken.sol#302)
- _tOwned[transferInfo.recipient] = _tOwned[transferInfo.recipient].add(tTransferAmount) (contracts/ESCToken.sol#508)
- _tOwned[transferInfo.sender] = _tOwned[transferInfo.sender].sub(transferInfo.tAmount,sub3 tAmount) (contracts/ESCToken.sol#510)
- _tOwned[transferInfo.sender] = _tOwned[transferInfo.sender].sub(transferInfo.tAmount,sub4 tAmount) (contracts/ESCToken.sol#512)
- _tOwned[transferInfo.recipient] = _tOwned[transferInfo.recipient].add(tTransferAmount) (contracts/ESCToken.sol#513)
Apply the check-effects-interactions pattern.
Additional information: link
ESCToken._tokenTransfer(address,address,uint256,bool).transferInfo (contracts/ESCToken.sol#470) 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
ESCToken.addLiquidityUsdt(uint256,uint256) (contracts/ESCToken.sol#446-461) ignores return value by uniswapV2Router.addLiquidity(address(this),address(usdt),tokenAmount,usdtAmount,0,0,blackHole,block.timestamp) (contracts/ESCToken.sol#451-460)
Ensure that all the return values of the function calls are used.
Additional information: link
ESCToken.setMaxTxPercent(uint256) (contracts/ESCToken.sol#225-229) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (contracts/ESCToken.sol#226-228)
Emit an event for critical parameter changes.
Additional information: link
ESCToken.setFomo(address)._fomo (contracts/ESCToken.sol#114) lacks a zero-check on :
- fomoReceiver = _fomo (contracts/ESCToken.sol#116)
Check that the address is not zero.
Additional information: link
Reentrancy in ESCToken.transferFrom(address,address,uint256) (contracts/ESCToken.sol#161-165):
External calls:
- _transfer(sender,recipient,amount) (contracts/ESCToken.sol#162)
- usdt.approve(address(uniswapV2Router),usdtAmount) (contracts/ESCToken.sol#449)
- uniswapV2Router.addLiquidity(address(this),address(usdt),tokenAmount,usdtAmount,0,0,blackHole,block.timestamp) (contracts/ESCToken.sol#451-460)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(wrap),block.timestamp) (contracts/ESCToken.sol#435-441)
- wrap.withdraw() (contracts/ESCToken.sol#443)
- IFomo(fomoReceiver).transferNotify(to) (contracts/ESCToken.sol#391)
- IFomo(fomoReceiver).swap() (contracts/ESCToken.sol#394)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/ESCToken.sol#163)
- _allowances[owner][spender] = amount (contracts/ESCToken.sol#338)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ESCToken.transferFrom(address,address,uint256) (contracts/ESCToken.sol#161-165):
External calls:
- _transfer(sender,recipient,amount) (contracts/ESCToken.sol#162)
- usdt.approve(address(uniswapV2Router),usdtAmount) (contracts/ESCToken.sol#449)
- uniswapV2Router.addLiquidity(address(this),address(usdt),tokenAmount,usdtAmount,0,0,blackHole,block.timestamp) (contracts/ESCToken.sol#451-460)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(wrap),block.timestamp) (contracts/ESCToken.sol#435-441)
- wrap.withdraw() (contracts/ESCToken.sol#443)
- IFomo(fomoReceiver).transferNotify(to) (contracts/ESCToken.sol#391)
- IFomo(fomoReceiver).swap() (contracts/ESCToken.sol#394)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ESCToken.sol#339)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/ESCToken.sol#163)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (contracts/Ownable.sol#94-99) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (contracts/Ownable.sol#96)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256,string) (library/safemath.sol#156-159) is never used and should be removed
Remove unused functions.
Additional information: link
ESCToken._rTotal (contracts/ESCToken.sol#30) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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
solc-0.7.3 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
Function IUniswapV2Router01.WETH() (interface/IUniswapV2Router01.sol#8) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/Ownable.sol#11)" inContext (contracts/Ownable.sol#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (interface/IUniswapV2Router01.sol#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (interface/IUniswapV2Router01.sol#14)
Prevent variables from having similar names.
Additional information: link
ESCToken.slitherConstructorConstantVariables() (contracts/ESCToken.sol#15-526) uses literals with too many digits:
- blackHole = 0x0000000000000000000000000000000000000001 (contracts/ESCToken.sol#46)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ESCToken.numTokensSellToAddToLiquidity (contracts/ESCToken.sol#45) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
unlock() should be declared external:
- Ownable.unlock() (contracts/Ownable.sol#94-99)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
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
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account