Hena Chain Token Logo

HENA [Hena Chain] Token

ALERT: dead

About HENA

Listings

Not Found
Token 18 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 4 June 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

Reentrancy in HenaChain._transfer(address,address,uint256) (#772-827):
External calls:
- swapAndLiquify(contractTokenBalance) (#811)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#811)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- _tOwned[sender] = _tOwned[sender] - tAmount (#918)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#919)
- _tOwned[sender] = _tOwned[sender] - tAmount (#927)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#928)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#929)
- _tOwned[sender] = _tOwned[sender] - tAmount (#937)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#938)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#939)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- _tTotal = _tTotal - tAmount (#922)
- _tTotal = _tTotal - tTransferAmount (#932)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#942)
- txCount ++ (#823)
Apply the check-effects-interactions pattern.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

HenaChain.Hena_AProject_Burn (#610) should be constant
HenaChain.Hena_AProject_Dev (#609) should be constant
HenaChain.Hena_AProject_LP (#611) should be constant
HenaChain.Hena_AProject__M (#608) should be constant
HenaChain.Hena_Dev (#591-592) should be constant
HenaChain.Hena__Marketing (#589-590) should be constant
HenaChain._Hena_Buy__Fee (#605) should be constant
HenaChain._Hena_Sell__Fee (#606) should be constant
HenaChain.swapAndLiquifyEnabled (#622) should be constant
HenaChain.swapTrigger (#603) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

HenaChain.swapAndLiquify(uint256) (#833-867) performs a multiplication on the result of a division:
-split_M = (Hena_AProject__M * 100) / (Hena_AProject_LP + Hena_AProject__M + Hena_AProject_Dev) (#848-849)
-BNB_M = (BNB_Total * split_M) / 100 (#850)
HenaChain.swapAndLiquify(uint256) (#833-867) performs a multiplication on the result of a division:
-split_D = (Hena_AProject_Dev * 100) / (Hena_AProject_LP + Hena_AProject__M + Hena_AProject_Dev) (#852-853)
-BNB_D = (BNB_Total * split_D) / 100 (#854)
Consider ordering multiplication before division.

Additional information: link

HenaChain._transfer(address,address,uint256).isBuy (#815) 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

HenaChain.addLiquidity(uint256,uint256) (#883-893) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
Ensure that all the return values of the function calls are used.

Additional information: link

Reentrancy in HenaChain.constructor() (#637-658):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#648-649)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#652)
- _isExcludedFromFee[address(this)] = true (#653)
- _isExcludedFromFee[Hena__Marketing] = true (#654)
- _isExcludedFromFee[Burn_Wallet] = true (#655)
- uniswapV2Router = _uniswapV2Router (#650)
Reentrancy in HenaChain.swapAndLiquify(uint256) (#833-867):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#845)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- _allowances[theOwner][theSpender] = amount (#768)
Reentrancy in HenaChain.transferFrom(address,address,uint256) (#707-722):
External calls:
- _transfer(sender,recipient,amount) (#712)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
External calls sending eth:
- _transfer(sender,recipient,amount) (#712)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#713-720)
- _allowances[theOwner][theSpender] = amount (#768)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in HenaChain._transfer(address,address,uint256) (#772-827):
External calls:
- swapAndLiquify(contractTokenBalance) (#811)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#811)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#920)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- Transfer(sender,recipient,tTransferAmount) (#930)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#940)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
Reentrancy in HenaChain.constructor() (#637-658):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#648-649)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#657)
Reentrancy in HenaChain.swapAndLiquify(uint256) (#833-867):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#845)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#769)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#856)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#857-861)
Reentrancy in HenaChain.transferFrom(address,address,uint256) (#707-722):
External calls:
- _transfer(sender,recipient,amount) (#712)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#874-880)
External calls sending eth:
- _transfer(sender,recipient,amount) (#712)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#769)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#713-720)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#87-93) uses assembly
- INLINE ASM (#89-91)
Address._verifyCallResult(bool,bytes,string) (#198-215) uses assembly
- INLINE ASM (#207-210)
Do not use evm assembly.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#198-215) is never used and should be removed
Address.functionCall(address,bytes) (#107-112) is never used and should be removed
Address.functionCall(address,bytes,string) (#114-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#122-134) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#136-151) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#176-186) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#188-196) is never used and should be removed
Address.functionStaticCall(address,bytes) (#153-164) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#166-174) is never used and should be removed
Address.isContract(address) (#87-93) is never used and should be removed
Address.sendValue(address,uint256) (#95-105) is never used and should be removed
Context._msgData() (#80-83) is never used and should be removed
HenaChain._getCurrentSupply() (#755-757) is never used and should be removed
SafeMath.div(uint256,uint256) (#48-50) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#63-72) is never used and should be removed
SafeMath.mul(uint256,uint256) (#44-46) is never used and should be removed
SafeMath.sub(uint256,uint256) (#40-42) is never used and should be removed
Remove unused functions.

Additional information: link

HenaChain._maxWalletToken (#613) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 100) / 100
HenaChain._previousMaxWalletToken (#614) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
HenaChain._maxTxAmount (#616) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 100) / 100
HenaChain._previousMaxTxAmount (#617) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
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

Pragma version0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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 Address.sendValue(address,uint256) (#95-105):
- (success) = recipient.call{value: amount}() (#100)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#136-151):
- (success,returndata) = target.call{value: value}(data) (#147-149)
Low level call in Address.functionStaticCall(address,bytes,string) (#166-174):
- (success,returndata) = target.staticcall(data) (#172)
Low level call in Address.functionDelegateCall(address,bytes,string) (#188-196):
- (success,returndata) = target.delegatecall(data) (#194)
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() (#281) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#283) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#313) is not in mixedCase
Function IUniswapV2Router01.WETH() (#357) is not in mixedCase
Parameter HenaChain.addLiquidity(uint256,uint256).BNBAmount (#883) is not in mixedCase
Function HenaChain.remove_Random_Tokens(address,uint256) (#895-908) is not in mixedCase
Parameter HenaChain.remove_Random_Tokens(address,uint256).random_Token_Address (#896) is not in mixedCase
Parameter HenaChain.remove_Random_Tokens(address,uint256).percent_of_Tokens (#897) is not in mixedCase
Variable HenaChain._isExcludedFromFee (#587) is not in mixedCase
Variable HenaChain.Hena__Marketing (#589-590) is not in mixedCase
Variable HenaChain.Hena_Dev (#591-592) is not in mixedCase
Constant HenaChain.Burn_Wallet (#593-594) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HenaChain._decimals (#597) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HenaChain._name (#599) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HenaChain._symbol (#600) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HenaChain._Hena_Buy__Fee (#605) is not in mixedCase
Variable HenaChain._Hena_Sell__Fee (#606) is not in mixedCase
Variable HenaChain.Hena_AProject__M (#608) is not in mixedCase
Variable HenaChain.Hena_AProject_Dev (#609) is not in mixedCase
Variable HenaChain.Hena_AProject_Burn (#610) is not in mixedCase
Variable HenaChain.Hena_AProject_LP (#611) is not in mixedCase
Variable HenaChain._maxWalletToken (#613) is not in mixedCase
Variable HenaChain._maxTxAmount (#616) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#81)" inContext (#75-84)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in HenaChain._transfer(address,address,uint256) (#772-827):
External calls:
- swapAndLiquify(contractTokenBalance) (#811)
- wallet.transfer(amount) (#830)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#811)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- _tOwned[sender] = _tOwned[sender] - tAmount (#918)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#919)
- _tOwned[sender] = _tOwned[sender] - tAmount (#927)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#928)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#929)
- _tOwned[sender] = _tOwned[sender] - tAmount (#937)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#938)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#939)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- _tTotal = _tTotal - tAmount (#922)
- _tTotal = _tTotal - tTransferAmount (#932)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#942)
- txCount ++ (#823)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#920)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- Transfer(sender,recipient,tTransferAmount) (#930)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#940)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#826)
Reentrancy in HenaChain.transferFrom(address,address,uint256) (#707-722):
External calls:
- _transfer(sender,recipient,amount) (#712)
- wallet.transfer(amount) (#830)
External calls sending eth:
- _transfer(sender,recipient,amount) (#712)
- wallet.transfer(amount) (#830)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Burn_Wallet,block.timestamp) (#885-892)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#713-720)
- _allowances[theOwner][theSpender] = amount (#768)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#769)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#713-720)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#362) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#363)
Variable HenaChain.swapAndLiquify(uint256).tokens_to_D (#840) is too similar to HenaChain.swapAndLiquify(uint256).tokens_to_M (#839)
Prevent variables from having similar names.

Additional information: link

HenaChain.slitherConstructorConstantVariables() (#560-946) uses literals with too many digits:
- Burn_Wallet = address(0x000000000000000000000000000000000000dEaD) (#593-594)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

HenaChain.MAX (#596) is never used in HenaChain (#560-946)
HenaChain._previousMaxWalletToken (#614) is never used in HenaChain (#560-946)
HenaChain._previousMaxTxAmount (#617) is never used in HenaChain (#560-946)
Remove unused state variables.

Additional information: link

renounceOwnership() should be declared external:
- HenaChain.renounceOwnership() (#580-583)
name() should be declared external:
- HenaChain.name() (#660-662)
symbol() should be declared external:
- HenaChain.symbol() (#664-666)
decimals() should be declared external:
- HenaChain.decimals() (#668-670)
totalSupply() should be declared external:
- HenaChain.totalSupply() (#672-674)
transfer(address,uint256) should be declared external:
- HenaChain.transfer(address,uint256) (#680-687)
allowance(address,address) should be declared external:
- HenaChain.allowance(address,address) (#689-696)
approve(address,uint256) should be declared external:
- HenaChain.approve(address,uint256) (#698-705)
transferFrom(address,address,uint256) should be declared external:
- HenaChain.transferFrom(address,address,uint256) (#707-722)
increaseAllowance(address,uint256) should be declared external:
- HenaChain.increaseAllowance(address,uint256) (#724-735)
decreaseAllowance(address,uint256) should be declared external:
- HenaChain.decreaseAllowance(address,uint256) (#737-751)
remove_Random_Tokens(address,uint256) should be declared external:
- HenaChain.remove_Random_Tokens(address,uint256) (#895-908)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 9% buy tax and 12% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


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

Price for HENA