Based on the integration of Web3.0, holographic Internet technology, blockchain and NFT, the values displayed by the concept of the metasurverse are consistent with the core values of the Internet. HE's team thinks the metasverse may be the ultimate form of the Internet. Therefore, we take the game as the starting point to create HE -- a multi-player cooperative meta-universe game based on NFT+ meta-universe, which makes the connection between reality and virtual more efficient and enriches the circulation of value.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HEToken.addLiquidity(uint256,uint256) (#743-755) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in HEToken._transfer(address,address,uint256) (#651-710):
External calls:
- swapTokensForEth(ma,marketAddress) (#683)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
External calls sending eth:
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,param) (#709)
- _rOwned[sender] = _rOwned[sender].sub(param.rAmount) (#833)
- _rOwned[sender] = _rOwned[sender].sub(param.rAmount) (#824)
- _rOwned[sender] = _rOwned[sender].sub(param.rAmount) (#814)
- _rOwned[recipient] = _rOwned[recipient].add(param.rTransferAmount) (#825)
- _rOwned[to] = _rOwned[to].add(rValue) (#585)
- _rOwned[sender] = _rOwned[sender].sub(param.rAmount) (#844)
- _rOwned[recipient] = _rOwned[recipient].add(param.rTransferAmount) (#845)
- _rOwned[recipient] = _rOwned[recipient].add(param.rTransferAmount) (#835)
- _rOwned[recipient] = _rOwned[recipient].add(param.rTransferAmount) (#816)
- _tokenTransfer(from,to,amount,param) (#709)
- _rTotal = _rTotal.sub(rFee) (#634)
- _tokenTransfer(from,to,amount,param) (#709)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#843)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#813)
- _tOwned[recipient] = _tOwned[recipient].add(param.tTransferAmount) (#834)
- _tOwned[recipient] = _tOwned[recipient].add(param.tTransferAmount) (#815)
- _tOwned[to] = _tOwned[to].add(tValue) (#587)
- inSwapAndLiquify = false (#693)
- _tokenTransfer(from,to,amount,param) (#709)
- liquifyAmount += param.tLiquidity (#777)
- _tokenTransfer(from,to,amount,param) (#709)
- marketAmount += param.tMarket (#782)
Apply the check-effects-interactions pattern.
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.
HEToken.constructor(address,address,address,address,address) (#367-404) performs a multiplication on the result of a division:
-lastSendTaxTime = block.timestamp / 86400 * 86400 (#399)
HEToken._getValues(uint256,bool,address,address) (#532-563) performs a multiplication on the result of a division:
-tFee = tAmount * _totalFee / 1000 (#549)
-rFee = tFee.mul(currentRate) (#550)
HEToken._getCurrentZeroTime() (#807-809) performs a multiplication on the result of a division:
-block.timestamp / 86400 * 86400 (#808)
Consider ordering multiplication before division.
Additional information: link
HEToken.addLiquidity(uint256,uint256) (#743-755) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
Ensure that all the return values of the function calls are used.
Additional information: link
HEToken.allowance(address,address).owner (#448) shadows:
- Ownable.owner() (#207-209) (function)
HEToken.getForefathers(address,uint256).owner (#592) shadows:
- Ownable.owner() (#207-209) (function)
HEToken._approve(address,address,uint256).owner (#642) shadows:
- Ownable.owner() (#207-209) (function)
Rename the local variables that shadow another component.
Additional information: link
HEToken.setMaxTx(uint256) (#410-412) should emit an event for:
- _maxTxAmount = maxTx (#411)
HEToken.setSendTaxProid(uint256) (#418-420) should emit an event for:
- sendTaxProid = proid (#419)
Emit an event for critical parameter changes.
Additional information: link
Ownable.transferOwnership(address).newOwner (#216) lacks a zero-check on :
- _owner = newOwner (#218)
HEToken.constructor(address,address,address,address,address)._holder (#370) lacks a zero-check on :
- holder = _holder (#374)
HEToken.constructor(address,address,address,address,address)._wbnb (#368) lacks a zero-check on :
- wbnb = _wbnb (#375)
HEToken.constructor(address,address,address,address,address)._marketAddress (#371) lacks a zero-check on :
- marketAddress = _marketAddress (#376)
HEToken.constructor(address,address,address,address,address)._uniswapV2Pair (#387-388) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#390)
HEToken.setMarketAddress(address).m (#406) lacks a zero-check on :
- marketAddress = m (#407)
Check that the address is not zero.
Additional information: link
Reentrancy in HEToken._transfer(address,address,uint256) (#651-710):
External calls:
- swapTokensForEth(ma,marketAddress) (#683)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
State variables written after the call(s):
- liquifyAmount = 0 (#689)
Reentrancy in HEToken._transfer(address,address,uint256) (#651-710):
External calls:
- swapTokensForEth(ma,marketAddress) (#683)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
External calls sending eth:
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
State variables written after the call(s):
- swapAndLiquify(la) (#690)
- _allowances[owner][spender] = amount (#646)
- _tokenTransfer(from,to,amount,param) (#709)
- _tFeeTotal = _tFeeTotal.add(tFee) (#635)
- _tokenTransfer(from,to,amount,param) (#709)
- lastSendTaxTime = time (#799)
- _tokenTransfer(from,to,amount,param) (#709)
- taxAmount += param.tTax (#790)
- taxAmount = 0 (#798)
Reentrancy in HEToken.constructor(address,address,address,address,address) (#367-404):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),wbnb) (#387-388)
State variables written after the call(s):
- _isExcludedFromFee[holder] = true (#394)
- _isExcludedFromFee[address(this)] = true (#395)
- _owner = msg.sender (#397)
- ammPairs[uniswapV2Pair] = true (#392)
- initPoolAddress[_initPoolAddress] = true (#402)
- lastSendTaxTime = block.timestamp / 86400 * 86400 (#399)
- sendTaxProid = 604800 (#400)
- uniswapV2Pair = _uniswapV2Pair (#390)
Reentrancy in HEToken.swapAndLiquify(uint256) (#712-724):
External calls:
- swapTokensForEth(half,address(this)) (#719)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
- addLiquidity(otherHalf,newBalance) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#723)
- _allowances[owner][spender] = amount (#646)
Reentrancy in HEToken.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
- _allowances[owner][spender] = amount (#646)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HEToken._transfer(address,address,uint256) (#651-710):
External calls:
- swapTokensForEth(ma,marketAddress) (#683)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
External calls sending eth:
- swapAndLiquify(la) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#647)
- swapAndLiquify(la) (#690)
- Transfer(sender,recipient,param.tTransferAmount) (#826)
- _tokenTransfer(from,to,amount,param) (#709)
- Transfer(sender,recipient,param.tTransferAmount) (#846)
- _tokenTransfer(from,to,amount,param) (#709)
- Transfer(sender,recipient,param.tTransferAmount) (#836)
- _tokenTransfer(from,to,amount,param) (#709)
- Transfer(sender,recipient,param.tTransferAmount) (#817)
- _tokenTransfer(from,to,amount,param) (#709)
- Transfer(from,to,tValue) (#589)
- _tokenTransfer(from,to,amount,param) (#709)
Reentrancy in HEToken.constructor(address,address,address,address,address) (#367-404):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),wbnb) (#387-388)
Event emitted after the call(s):
- Transfer(address(0),holder,_tTotal) (#403)
Reentrancy in HEToken.swapAndLiquify(uint256) (#712-724):
External calls:
- swapTokensForEth(half,address(this)) (#719)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
- addLiquidity(otherHalf,newBalance) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#647)
- addLiquidity(otherHalf,newBalance) (#723)
Reentrancy in HEToken.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,holder,block.timestamp) (#747-754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#647)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
Apply the check-effects-interactions pattern.
Additional information: link
HEToken._takeFee(HEToken.Param,address) (#771-804) uses timestamp for comparisons
Dangerous comparisons:
- time - lastSendTaxTime >= sendTaxProid && taxAmount > 0 (#794-795)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#143-148) uses assembly
- INLINE ASM (#146)
Address._functionCallWithValue(address,bytes,uint256,string) (#178-199) uses assembly
- INLINE ASM (#191-194)
HEToken._isContract(address) (#860-864) uses assembly
- INLINE ASM (#862)
Do not use evm assembly.
Additional information: link
HEToken.includeInReward(address) (#496-507) has costly operations inside a loop:
- _excluded.pop() (#503)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#178-199) is never used and should be removed
Address.functionCall(address,bytes) (#158-160) is never used and should be removed
Address.functionCall(address,bytes,string) (#163-165) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#168-170) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#173-176) is never used and should be removed
Address.isContract(address) (#143-148) is never used and should be removed
Address.sendValue(address,uint256) (#150-156) is never used and should be removed
Context._msgData() (#135-138) is never used and should be removed
SafeMath.mod(uint256,uint256) (#119-121) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#124-127) is never used and should be removed
TransferHelper.safeApprove(address,address,uint256) (#273-277) is never used and should be removed
TransferHelper.safeTransferFrom(address,address,address,uint256) (#285-289) is never used and should be removed
Remove unused functions.
Additional information: link
HEToken._rTotal (#313) 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
Low level call in Address.sendValue(address,uint256) (#150-156):
- (success) = recipient.call{value: amount}() (#154)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#178-199):
- (success,returndata) = target.call{value: weiValue}(data) (#182)
Low level call in TransferHelper.safeApprove(address,address,uint256) (#273-277):
- (success,data) = token.call(abi.encodeWithSelector(0x095ea7b3,to,value)) (#275)
Low level call in TransferHelper.safeTransfer(address,address,uint256) (#279-283):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#281)
Low level call in TransferHelper.safeTransferFrom(address,address,address,uint256) (#285-289):
- (success,data) = token.call(abi.encodeWithSelector(0x23b872dd,from,to,value)) (#287)
Low level call in TransferHelper.safeTransferETH(address,uint256) (#291-294):
- (success) = to.call{value: value}(new bytes(0)) (#292)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._owner (#203) is not in mixedCase
Function IUniswapV2Router02.WETH() (#231) is not in mixedCase
Variable HEToken._liquidityFee (#319) is not in mixedCase
Variable HEToken._taxFee (#320) is not in mixedCase
Variable HEToken._marketFee (#321) is not in mixedCase
Variable HEToken._shareFee (#324) is not in mixedCase
Variable HEToken._totalFee (#327) is not in mixedCase
Variable HEToken._transferMarketFee (#329) is not in mixedCase
Variable HEToken._transferLiquidityFee (#330) is not in mixedCase
Variable HEToken._maxTxAmount (#337) is not in mixedCase
Constant HEToken.rootAddress (#345) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HEToken._recommerMapping (#347) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#136)" inContext (#130-139)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#258) is too similar to IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#259)
Prevent variables from having similar names.
Additional information: link
HEToken.slitherConstructorVariables() (#297-866) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 9 (#312)
HEToken.slitherConstructorConstantVariables() (#297-866) uses literals with too many digits:
- rootAddress = address(0x000000000000000000000000000000000000dEaD) (#345)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HEToken._decimals (#310) should be constant
HEToken._liquidityFee (#319) should be constant
HEToken._marketFee (#321) should be constant
HEToken._name (#316) should be constant
HEToken._shareFee (#324) should be constant
HEToken._symbol (#317) should be constant
HEToken._tTotal (#312) should be constant
HEToken._taxFee (#320) should be constant
HEToken._totalFee (#327) should be constant
HEToken._transferLiquidityFee (#330) should be constant
HEToken._transferMarketFee (#329) should be constant
HEToken.shareCondition (#353) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#207-209)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#216-219)
name() should be declared external:
- HEToken.name() (#422-424)
symbol() should be declared external:
- HEToken.symbol() (#426-428)
decimals() should be declared external:
- HEToken.decimals() (#430-432)
totalSupply() should be declared external:
- HEToken.totalSupply() (#434-436)
transfer(address,uint256) should be declared external:
- HEToken.transfer(address,uint256) (#443-446)
allowance(address,address) should be declared external:
- HEToken.allowance(address,address) (#448-450)
approve(address,uint256) should be declared external:
- HEToken.approve(address,uint256) (#452-455)
transferFrom(address,address,uint256) should be declared external:
- HEToken.transferFrom(address,address,uint256) (#457-461)
increaseAllowance(address,uint256) should be declared external:
- HEToken.increaseAllowance(address,uint256) (#463-466)
decreaseAllowance(address,uint256) should be declared external:
- HEToken.decreaseAllowance(address,uint256) (#468-471)
isExcludedFromReward(address) should be declared external:
- HEToken.isExcludedFromReward(address) (#473-475)
totalFees() should be declared external:
- HEToken.totalFees() (#477-479)
excludeFromReward(address) should be declared external:
- HEToken.excludeFromReward(address) (#487-494)
excludeFromFee(address) should be declared external:
- HEToken.excludeFromFee(address) (#509-511)
includeInFee(address) should be declared external:
- HEToken.includeInFee(address) (#513-515)
isExcludedFromFee(address) should be declared external:
- HEToken.isExcludedFromFee(address) (#638-640)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 12% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter 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
Alexa traffic rank is very low
Additional information: link
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 scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account