Hero Book Game Token Token Logo

HBG [Hero Book Game] Token

About HBG

Listings

Token 3 years
CoinGecko 2 years
CoinMarketCap 2 years
white paper

HeroBook is a digital game created using Blockchain technology. Besides, HeroBook is also a perfect combination between Battle To Earn and Free To Play models. With a simple form of resistance, it is easy to make a big profit when participating. HeroBook is a digital collection created on the blockchain platform Binance Smart Chain with many advantages. The form of direct player-versus-player PvP is attractive with the ability to bring great profits

Laser Scorebeta Last Audit: 7 April 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

HGB.withdrawBNB() (#737-739) sends eth to arbitrary user
Dangerous calls:
- address(tx.origin).transfer(address(this).balance) (#738)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

HGB._transfer(address,address,uint256) (#552-609) performs a multiplication on the result of a division:
-amount = amount.mul(max_each_tx).div(10000) (#572)
-total_burn = amount.mul(burnFee).div(10000) (#577)
HGB._transfer(address,address,uint256) (#552-609) performs a multiplication on the result of a division:
-amount = amount.mul(max_each_tx).div(10000) (#572)
-total_dev = amount.mul(devFee).div(10000) (#581)
HGB._transfer(address,address,uint256) (#552-609) performs a multiplication on the result of a division:
-amount = amount.mul(max_each_tx).div(10000) (#572)
-total_upline = amount.mul(uplineFee).div(10000) (#589)
HGB._transfer(address,address,uint256) (#552-609) performs a multiplication on the result of a division:
-amount = amount.mul(max_each_tx).div(10000) (#572)
-total_agency = amount.mul(agencyFee).div(10000) (#599)
Consider ordering multiplication before division.

Additional information: link

HGB.includeInReward(address) (#444-455) has costly operations inside a loop:
- _excluded.pop() (#451)
Use a local variable to hold the loop computation result.

Additional information: link

HGB.register(address) (#742-756) uses tx.origin for authorization: require(bool,string)(uplineWallet[tx.origin] == address(0),Your addess already registation) (#744)
Do not use tx.origin for authorization.

Additional information: link

HGB.allowance(address,address).owner (#385) shadows:
- Ownable.owner() (#276-278) (function)
HGB._approve(address,address,uint256).owner (#544) shadows:
- Ownable.owner() (#276-278) (function)
Rename the local variables that shadow another component.

Additional information: link

HGB.setTaxFeePercent(uint256) (#474-477) should emit an event for:
- _taxFee = taxFee (#476)
HGB.setDevFee(uint256) (#677-679) should emit an event for:
- devFee = _devFee (#678)
HGB.setBurnFee(uint256) (#689-691) should emit an event for:
- burnFee = _burnFee (#690)
HGB.setUplineFee(uint256) (#702-704) should emit an event for:
- uplineFee = _uplineFee (#703)
HGB.setAgencyFee(uint256) (#726-728) should emit an event for:
- agencyFee = _agencyFee (#727)
Emit an event for critical parameter changes.

Additional information: link

HGB.setupDevWallet(address)._dev (#671) lacks a zero-check on :
- devWallet = _dev (#672)
HGB.setDeadWallet(address)._deadWallet (#683) lacks a zero-check on :
- deadWallet = _deadWallet (#684)
HGB.setupUplineRootWallet(address)._upline (#696) lacks a zero-check on :
- rootUplineWallet = _upline (#697)
HGB.setupAgencyRootWallet(address)._agency (#709) lacks a zero-check on :
- rootAgencyWallet = _agency (#710)
Check that the address is not zero.

Additional information: link

Context._msgData() (#240-243) is never used and should be removed
SafeMath.mod(uint256,uint256) (#213-215) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
Remove unused functions.

Additional information: link

HGB._rTotal (#325) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
HGB._previousTaxFee (#333) is set pre-construction with a non-constant function or state variable:
- _taxFee
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 (#6) 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

Parameter HGB.calculateTaxFee(uint256)._amount (#523) is not in mixedCase
Parameter HGB.setupManager(address,bool)._addr (#665) is not in mixedCase
Parameter HGB.setupManager(address,bool)._status (#665) is not in mixedCase
Parameter HGB.setupDevWallet(address)._dev (#671) is not in mixedCase
Parameter HGB.setDevFee(uint256)._devFee (#677) is not in mixedCase
Parameter HGB.setDeadWallet(address)._deadWallet (#683) is not in mixedCase
Parameter HGB.setBurnFee(uint256)._burnFee (#689) is not in mixedCase
Parameter HGB.setupUplineRootWallet(address)._upline (#696) is not in mixedCase
Parameter HGB.setUplineFee(uint256)._uplineFee (#702) is not in mixedCase
Parameter HGB.setupAgencyRootWallet(address)._agency (#709) is not in mixedCase
Parameter HGB.setupAgency(address,bool)._agency (#715) is not in mixedCase
Parameter HGB.setupAgency(address,bool)._status (#715) is not in mixedCase
Parameter HGB.setAgencyFee(uint256)._agencyFee (#726) is not in mixedCase
Parameter HGB.changeMaxEachTx(uint256)._max_each_tx (#732) is not in mixedCase
Parameter HGB.register(address)._upline (#742) is not in mixedCase
Variable HGB._taxFee (#332) is not in mixedCase
Variable HGB.max_each_tx (#731) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#241)" inContext (#235-244)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._getValues(uint256).tTransferAmount (#488)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._transferToExcluded(address,address,uint256).rTransferAmount (#641) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._getValues(uint256).rTransferAmount (#489) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._transferBothExcluded(address,address,uint256).tTransferAmount (#457)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._transferStandard(address,address,uint256).tTransferAmount (#633)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB.reflectionFromToken(uint256,bool).rTransferAmount (#424) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._transferFromExcluded(address,address,uint256).rTransferAmount (#650) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._transferBothExcluded(address,address,uint256).rTransferAmount (#457) is too similar to HGB._getTValues(uint256).tTransferAmount (#495)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Variable HGB._getRValues(uint256,uint256,uint256).rTransferAmount (#502) is too similar to HGB._transferFromExcluded(address,address,uint256).tTransferAmount (#650)
Variable HGB._transferStandard(address,address,uint256).rTransferAmount (#633) is too similar to HGB._transferToExcluded(address,address,uint256).tTransferAmount (#641)
Prevent variables from having similar names.

Additional information: link

HGB.slitherConstructorVariables() (#311-758) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#682)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#260) is never used in HGB (#311-758)
Remove unused state variables.

Additional information: link

HGB._decimals (#330) should be constant
HGB._name (#328) should be constant
HGB._symbol (#329) should be constant
HGB._tTotal (#324) should be constant
Ownable._previousOwner (#260) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#295-298)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#304-308)
name() should be declared external:
- HGB.name() (#358-360)
symbol() should be declared external:
- HGB.symbol() (#362-364)
decimals() should be declared external:
- HGB.decimals() (#366-368)
totalSupply() should be declared external:
- HGB.totalSupply() (#370-372)
transfer(address,uint256) should be declared external:
- HGB.transfer(address,uint256) (#380-383)
allowance(address,address) should be declared external:
- HGB.allowance(address,address) (#385-387)
approve(address,uint256) should be declared external:
- HGB.approve(address,uint256) (#389-392)
transferFrom(address,address,uint256) should be declared external:
- HGB.transferFrom(address,address,uint256) (#394-398)
increaseAllowance(address,uint256) should be declared external:
- HGB.increaseAllowance(address,uint256) (#400-403)
decreaseAllowance(address,uint256) should be declared external:
- HGB.decreaseAllowance(address,uint256) (#405-408)
isExcludedFromReward(address) should be declared external:
- HGB.isExcludedFromReward(address) (#410-412)
totalFees() should be declared external:
- HGB.totalFees() (#414-416)
reflectionFromToken(uint256,bool) should be declared external:
- HGB.reflectionFromToken(uint256,bool) (#418-427)
excludeFromFee(address) should be declared external:
- HGB.excludeFromFee(address) (#466-468)
includeInFee(address) should be declared external:
- HGB.includeInFee(address) (#470-472)
isExcludedFromFee(address) should be declared external:
- HGB.isExcludedFromFee(address) (#540-542)
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.


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


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain

Contract has 3% buy tax and 0% sell tax.
Taxes are low and contract ownership is renounced.


Telegram account link seems to be invalid


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find whitepaper link on the website


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


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


Token has relatively low CoinGecko rank


Young tokens have high risks of price dump / death

Price for HBG

News for HBG