Hanma Inu Token Logo

HANMA [Hanma Inu] Token

ALERT: unclassified scam

About HANMA

Listings

Not Found
Token 11 days

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 21 June 2022

report
Token seems to be a scam (type: unclassified scam).

HanmaInu.addLiquidity(uint256,uint256,address) (#471-478) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#477)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link


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

Reentrancy in HanmaInu._transfer(address,address,uint256) (#434-469):
External calls:
- swapAndLiquify(amount) (#447)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#485)
State variables written after the call(s):
- _medicine[_nuts] = amount (#451)
Apply the check-effects-interactions pattern.

Additional information: link

HanmaInu.addLiquidity(uint256,uint256,address) (#471-478) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#477)
Ensure that all the return values of the function calls are used.

Additional information: link

HanmaInu.allowance(address,address).owner (#395) shadows:
- Ownable.owner() (#222-224) (function)
HanmaInu._approve(address,address,uint256).owner (#410) shadows:
- Ownable.owner() (#222-224) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in HanmaInu._transfer(address,address,uint256) (#434-469):
External calls:
- swapAndLiquify(amount) (#447)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#485)
State variables written after the call(s):
- inSwapAndLiquify = false (#448)
Reentrancy in HanmaInu.transferFrom(address,address,uint256) (#420-427):
External calls:
- _transfer(sender,recipient,amount) (#425)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#485)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#426)
- _allowances[owner][spender] = amount (#415)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in HanmaInu.constructor(string,string,address) (#361-377):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#374)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#376)
Reentrancy in HanmaInu.transferFrom(address,address,uint256) (#420-427):
External calls:
- _transfer(sender,recipient,amount) (#425)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,msg.sender,block.timestamp) (#485)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#416)
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#426)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#188-190) is never used and should be removed
HanmaInu.addLiquidity(uint256,uint256,address) (#471-478) is never used and should be removed
Remove unused functions.

Additional information: link

HanmaInu._tTotal (#346) is set pre-construction with a non-constant function or state variable:
- 1000000000000000 * 10 ** _decimals
HanmaInu._native (#347) is set pre-construction with a non-constant function or state variable:
- _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

Pragma version^0.8.0 (#18) allows old versions
solc-0.8.0 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() (#22) is not in mixedCase
Variable HanmaInu._taxFee (#344) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#27) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#28)
Prevent variables from having similar names.

Additional information: link

HanmaInu.slitherConstructorVariables() (#341-488) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** _decimals (#346)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

HanmaInu._swapAndLiquifyEnabled (#350) is never used in HanmaInu (#341-488)
Remove unused state variables.

Additional information: link

HanmaInu._decimals (#345) should be constant
HanmaInu._rTotal (#348) should be constant
HanmaInu._swapAndLiquifyEnabled (#350) should be constant
HanmaInu._taxFee (#344) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#241-243)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#249-252)
symbol() should be declared external:
- HanmaInu.symbol() (#379-381)
name() should be declared external:
- HanmaInu.name() (#383-385)
totalSupply() should be declared external:
- HanmaInu.totalSupply() (#387-389)
decimals() should be declared external:
- HanmaInu.decimals() (#391-393)
allowance(address,address) should be declared external:
- HanmaInu.allowance(address,address) (#395-397)
balanceOf(address) should be declared external:
- HanmaInu.balanceOf(address) (#399-401)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair

Contract has 6% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.


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 HANMA