We use the power of the blockchain to support charities that protect nature and animals.
EarthChain.addLiquidity(uint256,uint256) (#1107-1120) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EarthChain._transfer(address,address,uint256) (#1022-1064):
External calls:
- swapAndLiquify(contractTokenBalance) (#1046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
State variables written after the call(s):
- _tokenTransfer(from,CHARITY_WALLET,charityAmount,false) (#1058)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1154)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1165)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#898)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1166)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1156)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#900)
- _tokenTransfer(from,to,amount,takeFee) (#1063)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#978)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1154)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1165)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#898)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1166)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1156)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#900)
- _tokenTransfer(from,CHARITY_WALLET,charityAmount,false) (#1058)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,to,amount,takeFee) (#1063)
- _rTotal = _rTotal.sub(rFee) (#933)
- _tokenTransfer(from,CHARITY_WALLET,charityAmount,false) (#1058)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#897)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1164)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1155)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#899)
- _tokenTransfer(from,to,amount,takeFee) (#1063)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#980)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#897)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1164)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1155)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#899)
Apply the check-effects-interactions pattern.
Additional information: link
EarthChain.withdrawAnyToken(address,address,uint256) (#1184-1189) ignores return value by IERC20(_ERC20address).transfer(_recipient,_amount) (#1187)
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.
EarthChain.addLiquidity(uint256,uint256) (#1107-1120) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
Ensure that all the return values of the function calls are used.
Additional information: link
EarthChain._approve(address,address,uint256).owner (#1014) shadows:
- Ownable.owner() (#442-444) (function)
Rename the local variables that shadow another component.
Additional information: link
EarthChain.setCharityFee(uint256) (#1176-1178) should emit an event for:
- charityFee = amount (#1177)
Emit an event for critical parameter changes.
Additional information: link
EarthChain.transferXS(address).recipient (#1191) lacks a zero-check on :
- recipient.transfer(address(this).balance) (#1192)
Check that the address is not zero.
Additional information: link
Reentrancy in EarthChain.transferFrom(address,address,uint256) (#823-827):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#825)
- _allowances[owner][spender] = amount (#1018)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EarthChain.transferFrom(address,address,uint256) (#823-827):
External calls:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1098-1104)
External calls sending eth:
- _transfer(sender,recipient,amount) (#824)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1112-1119)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1019)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#825)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#489-494) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#491)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#387-408) uses assembly
- INLINE ASM (#400-403)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#255-258) is never used and should be removed
Remove unused functions.
Additional information: link
EarthChain._previousLiquidityFee (#738) 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._functionCallWithValue(address,bytes,uint256,string) (#387-408):
- (success,returndata) = target.call{value: weiValue}(data) (#391)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable EarthChain.CHARITY_WALLET (#742) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#267)" inContext (#261-270)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable EarthChain._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#954) is too similar to EarthChain._transferToExcluded(address,address,uint256).tTransferAmount (#1153)
Prevent variables from having similar names.
Additional information: link
EarthChain._tTotal (#725) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferXS(address) should be declared external:
- EarthChain.transferXS(address) (#1191-1193)
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
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
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 scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account