BinaHero Token Logo

HERO [BinaHero] Token

About HERO

Listings

Token 2 years
white paper

BinaHero is a decentralized NFT game that integrates collection of NFT heroes, mining, market trading, and PVE. Players can play to earn in the game. We have already publicized game officially.

Social

Laser Scorebeta Last Audit: 26 December 2021

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

BinaHero.withdrawExternalToken(address) (#598-603) ignores return value by IERC20(_tokenAddress).transfer(withdrawAddress,amount) (#601)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

Reentrancy in BinaHero._setSupportedDex(address) (#542-559):
External calls:
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
State variables written after the call(s):
- supportedDex ++ (#557)
- swapRouters[index] = router (#556)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
State variables written after the call(s):
- _balances[address(this)] = _balances[address(this)].add(_buyTaxFee) (#854)
- _balances[recipient] = _balances[recipient].add(amount) (#859)
Reentrancy in BinaHero.constructor() (#494-520):
External calls:
- _setSupportedDex(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#514)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
- _setSupportedDex(0x7DAe51BD3E3376B8c7c4900E9107f12Be3AF1bA8) (#515)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
State variables written after the call(s):
- _setSupportedDex(0x7DAe51BD3E3376B8c7c4900E9107f12Be3AF1bA8) (#515)
- supportedDex ++ (#557)
- _setSupportedDex(0x7DAe51BD3E3376B8c7c4900E9107f12Be3AF1bA8) (#515)
- swapRouters[index] = router (#556)
- _setSupportedDex(0x7DAe51BD3E3376B8c7c4900E9107f12Be3AF1bA8) (#515)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).getPair(token0,token1) (#554)
Apply the check-effects-interactions pattern.

Additional information: link

BinaHero.swapTokensForEth(uint256,address) (#758-778) ignores return value by _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Ensure that all the return values of the function calls are used.

Additional information: link

BinaHero.allowance(address,address).owner (#671) shadows:
- Ownable.owner() (#379-381) (function)
BinaHero._approve(address,address,uint256).owner (#895) shadows:
- Ownable.owner() (#379-381) (function)
Rename the local variables that shadow another component.

Additional information: link

BinaHero.setTaxFeeVaultLimit(uint256) (#530-532) should emit an event for:
- taxFeeVaultLimit = _limit (#531)
BinaHero.setTaxFeeVaultSellMax(uint256) (#534-536) should emit an event for:
- taxFeeVaultSellMax = _max (#535)
BinaHero.setTax(uint256,uint256) (#588-592) should emit an event for:
- buyTaxFee = _buyFee (#590)
- sellTaxFee = _sellFee (#591)
Emit an event for critical parameter changes.

Additional information: link

BinaHero.changeWithdrawAddress(address)._withdrawAddress (#522) lacks a zero-check on :
- withdrawAddress = _withdrawAddress (#523)
BinaHero.setDefaultSwapRouter(address).router (#538) lacks a zero-check on :
- defaultSwapRouter = router (#539)
BinaHero.setTGAddress(address)._address (#572) lacks a zero-check on :
- tgAddress = _address (#573)
BinaHero.setTaxAddress(address)._taxAddress (#584) lacks a zero-check on :
- taxAddress = _taxAddress (#585)
Check that the address is not zero.

Additional information: link

Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
State variables written after the call(s):
- _balances[sender] = senderBalance.sub(amount) (#831)
- _balances[address(this)] = _balances[address(this)].add(_sellTaxFee) (#836)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
State variables written after the call(s):
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- _allowances[owner][spender] = amount (#902)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
State variables written after the call(s):
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- _allowances[owner][spender] = amount (#902)
Reentrancy in BinaHero.constructor() (#494-520):
External calls:
- _setSupportedDex(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#514)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
- _setSupportedDex(0x7DAe51BD3E3376B8c7c4900E9107f12Be3AF1bA8) (#515)
- tokenPairs[index] = IDexFactory(dexRouter.factory()).createPair(tokenA,tokenB) (#550-551)
State variables written after the call(s):
- defaultSwapRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E (#516)
- taxAddress = msg.sender (#519)
- withdrawAddress = msg.sender (#518)
Reentrancy in BinaHero.transferFrom(address,address,uint256) (#700-714):
External calls:
- _transfer(sender,recipient,amount) (#705)
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#710)
- _allowances[owner][spender] = amount (#902)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
Event emitted after the call(s):
- Transfer(sender,address(this),_sellTaxFee) (#837)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#903)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- SwapTokensForETH(tokenAmount,path) (#777)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#903)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- SwapTokensForETH(tokenAmount,path) (#777)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
Reentrancy in BinaHero._transfer(address,address,uint256) (#794-861):
External calls:
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- swapTokensForEth(taxFeeVaultSellMax,defaultSwapRouter) (#844)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
- swapTokensForEth(_balances[address(this)],defaultSwapRouter) (#847)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Event emitted after the call(s):
- Transfer(sender,address(this),_buyTaxFee) (#855)
- Transfer(sender,recipient,amount) (#860)
Reentrancy in BinaHero.swapTokensForEth(uint256,address) (#758-778):
External calls:
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#777)
Reentrancy in BinaHero.transferFrom(address,address,uint256) (#700-714):
External calls:
- _transfer(sender,recipient,amount) (#705)
- TokenGuard(tgAddress).protect(sender,recipient,amount) (#803)
- _router.swapExactTokensForETH(tokenAmount,0,path,taxAddress,block.timestamp) (#769-775)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#903)
- _approve(sender,_msgSender(),currentAllowance - amount) (#710)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#347-349) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#294-303) is never used and should be removed
SafeMath.mod(uint256,uint256) (#254-256) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#320-329) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#271-280) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#125-131) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#167-172) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#179-184) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#150-160) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#138-143) is never used and should be removed
Remove unused functions.

Additional information: link

Parameter BinaHero.changeWithdrawAddress(address)._withdrawAddress (#522) is not in mixedCase
Parameter BinaHero.setTaxFeeVaultLimit(uint256)._limit (#530) is not in mixedCase
Parameter BinaHero.setTaxFeeVaultSellMax(uint256)._max (#534) is not in mixedCase
Parameter BinaHero.setTGAddress(address)._address (#572) is not in mixedCase
Parameter BinaHero.setTaxAddress(address)._taxAddress (#584) is not in mixedCase
Parameter BinaHero.setTax(uint256,uint256)._buyFee (#588) is not in mixedCase
Parameter BinaHero.setTax(uint256,uint256)._sellFee (#588) is not in mixedCase
Parameter BinaHero.withdrawExternalToken(address)._tokenAddress (#598) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

BinaHero.constructor() (#494-520) uses literals with too many digits:
- _initSupply = 100000000 * 10 ** 18 (#496)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#398-400)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#406-409)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap volume is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


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.


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


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 price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for HERO

News for HERO