The Decentralised Metaverse Bet Gaming Built in Binance Smartchain Network.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HeroBet._tFeeTotal (#87) is never initialized. It is used in:
- HeroBet.totalFees() (#179-181)
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
HeroBet.totalSupply (#83) shadows:
- BEP20Basic.totalSupply (#54)
Remove the state variable shadowing.
Additional information: link
HeroBet.Distribute(address,uint256) (#183-197) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(_amount) (#188)
HeroBet.Distribute(address,uint256) (#183-197) has costly operations inside a loop:
- distributionFinished = true (#191)
Use a local variable to hold the loop computation result.
Additional information: link
HeroBet.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 20 / 100 (#237)
HeroBet.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 30 / 100 (#229)
HeroBet.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 50 / 100 (#239)
HeroBet.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 50 / 100 (#231)
HeroBet.getTokens() (#216-273) performs a multiplication on the result of a division:
-tokens = tokensPerEth.mul(msg.value) / 1000000000000000000 (#224)
-countbonus = tokens * 100 / 100 (#233)
Consider ordering multiplication before division.
Additional information: link
HeroBet.transferOwnership(address) (#158-162) should emit an event for:
- owner = newOwner (#160)
Emit an event for critical parameter changes.
Additional information: link
HeroBet.setTaxFeePercent(uint256) (#123-125) should emit an event for:
- _taxFee = taxFee (#124)
HeroBet.setLiquidityFeePercent(uint256) (#148-150) should emit an event for:
- _liquidityFee = liquidityFee (#149)
Emit an event for critical parameter changes.
Additional information: link
HeroBet.getTokens() (#216-273) uses timestamp for comparisons
Dangerous comparisons:
- msg.value >= requestMinimum && now < deadline && now < round1 && now < round2 (#227)
- msg.value >= requestMinimum && now < deadline && now > round1 && now < round2 (#235)
- now >= deadline && now >= round1 && now < round2 (#257)
Avoid relying on block.timestamp.
Additional information: link
HeroBet.getTokens() (#216-273) compares to a boolean constant:
-Claimed[investor] == false && progress0drop <= target0drop (#249)
Remove the equality to the boolean constant.
Additional information: link
HeroBet.calculateLiquidityFee(uint256) (#152-156) is never used and should be removed
HeroBet.calculateTaxFee(uint256) (#127-131) is never used and should be removed
HeroBet.removeAllFee() (#133-141) is never used and should be removed
HeroBet.restoreAllFee() (#143-146) is never used and should be removed
SafeMath.div(uint256,uint256) (#26-31) is never used and should be removed
Remove unused functions.
Additional information: link
HeroBet._previousTaxFee (#89) is set pre-construction with a non-constant function or state variable:
- _taxFee
HeroBet._previousLiquidityFee (#91) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.4.26 (#1) allows old versions
solc-0.4.26 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 HeroBet.calculateTaxFee(uint256)._amount (#127) is not in mixedCase
Parameter HeroBet.calculateLiquidityFee(uint256)._amount (#152) is not in mixedCase
Parameter HeroBet.distr(address,uint256)._to (#170) is not in mixedCase
Parameter HeroBet.distr(address,uint256)._amount (#170) is not in mixedCase
Function HeroBet.Distribute(address,uint256) (#183-197) is not in mixedCase
Parameter HeroBet.Distribute(address,uint256)._participant (#183) is not in mixedCase
Parameter HeroBet.Distribute(address,uint256)._amount (#183) is not in mixedCase
Function HeroBet.DistributeAirdrop(address,uint256) (#199-201) is not in mixedCase
Parameter HeroBet.DistributeAirdrop(address,uint256)._participant (#199) is not in mixedCase
Parameter HeroBet.DistributeAirdrop(address,uint256)._amount (#199) is not in mixedCase
Function HeroBet.DistributeAirdropMultiple(address[],uint256) (#203-205) is not in mixedCase
Parameter HeroBet.DistributeAirdropMultiple(address[],uint256)._addresses (#203) is not in mixedCase
Parameter HeroBet.DistributeAirdropMultiple(address[],uint256)._amount (#203) is not in mixedCase
Parameter HeroBet.updateTokensPerEth(uint256)._tokensPerEth (#207) is not in mixedCase
Parameter HeroBet.balanceOf(address)._owner (#275) is not in mixedCase
Parameter HeroBet.transfer(address,uint256)._to (#284) is not in mixedCase
Parameter HeroBet.transfer(address,uint256)._amount (#284) is not in mixedCase
Parameter HeroBet.transferFrom(address,address,uint256)._from (#295) is not in mixedCase
Parameter HeroBet.transferFrom(address,address,uint256)._to (#295) is not in mixedCase
Parameter HeroBet.transferFrom(address,address,uint256)._amount (#295) is not in mixedCase
Parameter HeroBet.approve(address,uint256)._spender (#308) is not in mixedCase
Parameter HeroBet.approve(address,uint256)._value (#308) is not in mixedCase
Parameter HeroBet.allowance(address,address)._owner (#315) is not in mixedCase
Parameter HeroBet.allowance(address,address)._spender (#315) is not in mixedCase
Parameter HeroBet.withdraw(uint256)._wdamount (#331) is not in mixedCase
Parameter HeroBet.burn(uint256)._value (#336) is not in mixedCase
Parameter HeroBet.withdrawForeignTokens(address)._tokenContract (#345) is not in mixedCase
Variable HeroBet.Claimed (#74) is not in mixedCase
Constant HeroBet.requestMinimum (#85) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HeroBet._taxFee (#88) is not in mixedCase
Variable HeroBet._liquidityFee (#90) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
HeroBet.slitherConstructorVariables() (#67-351) uses literals with too many digits:
- totalSupply = 1000000000000e8 (#83)
HeroBet.slitherConstructorVariables() (#67-351) uses literals with too many digits:
- tokensPerEth = 400000000e8 (#86)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BEP20Basic.totalSupply (#54) should be constant
HeroBet._tFeeTotal (#87) should be constant
HeroBet.target0drop (#92) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
balanceOf(address) should be declared external:
- ForeignToken.balanceOf(address) (#49)
transfer(address,uint256) should be declared external:
- ForeignToken.transfer(address,uint256) (#50)
balanceOf(address) should be declared external:
- BEP20Basic.balanceOf(address) (#55)
- HeroBet.balanceOf(address) (#275-277)
transfer(address,uint256) should be declared external:
- BEP20Basic.transfer(address,uint256) (#56)
- HeroBet.transfer(address,uint256) (#284-293)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#61)
- HeroBet.allowance(address,address) (#315-317)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#62)
- HeroBet.transferFrom(address,address,uint256) (#295-306)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#63)
- HeroBet.approve(address,uint256) (#308-313)
transferOwnership(address) should be declared external:
- HeroBet.transferOwnership(address) (#158-162)
finishDistribution() should be declared external:
- HeroBet.finishDistribution() (#164-168)
totalFees() should be declared external:
- HeroBet.totalFees() (#179-181)
updateTokensPerEth(uint256) should be declared external:
- HeroBet.updateTokensPerEth(uint256) (#207-210)
getTokenBalance(address,address) should be declared external:
- HeroBet.getTokenBalance(address,address) (#319-323)
withdrawAll() should be declared external:
- HeroBet.withdrawAll() (#325-329)
withdraw(uint256) should be declared external:
- HeroBet.withdraw(uint256) (#331-334)
burn(uint256) should be declared external:
- HeroBet.burn(uint256) (#336-343)
withdrawForeignTokens(address) should be declared external:
- HeroBet.withdrawForeignTokens(address) (#345-349)
Use the external attribute for functions never called from the contract.
Additional information: link
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 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Token is not listed at Mobula.Finance
Additional information: link
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 180 days ago
Unable to find Youtube account
Unable to find Discord account