With HoC we are taking play-2-earn block chain technology to a higher level: just imagine playing your favourite super hero meme characters and earning the native token!!!
We have created a play-2-earn gaming platform called Heroes of Crypton which features the block chains favourite meme tokens. It is developed and integrated around MyNFTMarketplace.io. We have designed our platform to stricly run on (Hero Tokens) in game tokens. It gives all our members the chance to purchase HoC NFT’s for staking rewards while playing to earn.
Our Hero in game tokens will also be the only currency MyNFTMarketplace.io accepts, meaning while users mint/buy/sell their NFT Collections all transactions have a 10% Liquidity fee for the Hero tokens. On top, all NFT staking pools will reward daily passive income to our stakers.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
HeroesOfCrypton.swapBack(uint256) (#651-696) sends eth to arbitrary user
Dangerous calls:
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in HeroesOfCrypton._transferFrom(address,address,uint256) (#546-577):
External calls:
- swapBack(amount) (#568)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#664-670)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
External calls sending eth:
- swapBack(amount) (#568)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
State variables written after the call(s):
- _balances[recipient] = _balances[recipient] + amountReceived (#570)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
HeroesOfCrypton._transferFrom(address,address,uint256) (#546-577) uses timestamp for comparisons
Dangerous comparisons:
- ! launched() && liquidityPools[recipient] (#551)
HeroesOfCrypton.launched() (#579-581) uses timestamp for comparisons
Dangerous comparisons:
- launchedTime != 0 (#580)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#28-37) uses assembly
- INLINE ASM (#35)
Address._functionCallWithValue(address,bytes,uint256,string) (#121-142) uses assembly
- INLINE ASM (#134-137)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#121-142) is never used and should be removed
Address.functionCall(address,bytes) (#81-83) is never used and should be removed
Address.functionCall(address,bytes,string) (#91-93) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#106-108) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#116-119) is never used and should be removed
Address.isContract(address) (#28-37) is never used and should be removed
Address.sendValue(address,uint256) (#55-61) is never used and should be removed
Context._msgData() (#150-153) is never used and should be removed
Remove unused functions.
Additional information: link
HeroesOfCrypton._maxBuyTxAmount (#360) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 200
HeroesOfCrypton._maxSellTxAmount (#361) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 200
HeroesOfCrypton._maxWalletSize (#362) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 3) / 200
HeroesOfCrypton.totalBuyFee (#377) is set pre-construction with a non-constant function or state variable:
- marketingFee + founderFee
HeroesOfCrypton.totalSellFee (#378) is set pre-construction with a non-constant function or state variable:
- marketingFee + buybackFee + liquidityFee
HeroesOfCrypton.swapThreshold (#407) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000
HeroesOfCrypton.swapMinimum (#408) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10000
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.9 (#6) 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
HeroesOfCrypton.takeFee(address,address,uint256).burnAmount (#618) is a local variable never initialized
HeroesOfCrypton.takeFee(address,address,uint256).poolAmount (#619) 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
HeroesOfCrypton.buyBack(address,uint256,address,bool) (#468-495) ignores return value by _token.approve(address(router),_token.balanceOf(to)) (#485)
HeroesOfCrypton.buyBack(address,uint256,address,bool) (#468-495) ignores return value by router.addLiquidityETH{value: amountETH}(token,_token.balanceOf(to),0,0,to,block.timestamp) (#486-493)
HeroesOfCrypton._transferFrom(address,address,uint256) (#546-577) ignores return value by antisnipe.onPreTransferCheck(sender,recipient,amount) (#573)
HeroesOfCrypton.swapBack(uint256) (#651-696) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
Ensure that all the return values of the function calls are used.
Additional information: link
HeroesOfCrypton.openTrading(uint256) (#508-513) should emit an event for:
- deadBlocks = _deadBlocks (#510)
Emit an event for critical parameter changes.
Additional information: link
HeroesOfCrypton.clearStuckBalance(uint256,address).adr (#503) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#505)
HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._liquidityFeeReceiver (#757) lacks a zero-check on :
- liquidityFeeReceiver = address(_liquidityFeeReceiver) (#758)
HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#757) lacks a zero-check on :
- marketingFeeReceiver = address(_marketingFeeReceiver) (#759)
HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._founder1 (#757) lacks a zero-check on :
- founderReceiver1 = address(_founder1) (#760)
HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._founder2 (#757) lacks a zero-check on :
- founderReceiver2 = address(_founder2) (#761)
HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._poolReceiver (#757) lacks a zero-check on :
- poolReceiver = _poolReceiver (#762)
Check that the address is not zero.
Additional information: link
Reentrancy in HeroesOfCrypton.constructor() (#414-432):
External calls:
- pair = IDEXFactory(router.factory()).createPair(address(this),router.WETH()) (#416)
State variables written after the call(s):
- _allowances[owner()][routerAddress] = type()(uint256).max (#418)
- _allowances[address(this)][routerAddress] = type()(uint256).max (#419)
- _balances[owner()] = _totalSupply (#429)
- isFeeExempt[owner()] = true (#421)
- isTxLimitExempt[address(this)] = true (#424)
- isTxLimitExempt[owner()] = true (#425)
- isTxLimitExempt[routerAddress] = true (#426)
- isTxLimitExempt[DEAD] = true (#427)
- liquidityCreator[owner()] = true (#422)
- liquidityPools[pair] = true (#417)
Reentrancy in HeroesOfCrypton.switchRouter(address) (#704-710):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#706)
State variables written after the call(s):
- isTxLimitExempt[newRouter] = true (#708)
- liquidityPools[pair] = true (#707)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HeroesOfCrypton._transferFrom(address,address,uint256) (#546-577):
External calls:
- swapBack(amount) (#568)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#664-670)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
- antisnipe.onPreTransferCheck(sender,recipient,amount) (#573)
External calls sending eth:
- swapBack(amount) (#568)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#575)
Reentrancy in HeroesOfCrypton.constructor() (#414-432):
External calls:
- pair = IDEXFactory(router.factory()).createPair(address(this),router.WETH()) (#416)
Event emitted after the call(s):
- Transfer(address(0),owner(),_totalSupply) (#431)
Reentrancy in HeroesOfCrypton.swapBack(uint256) (#651-696):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#664-670)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
External calls sending eth:
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
Event emitted after the call(s):
- FundsDistributed(amountBNBLiquidity,amountBNBMarketing,amountBNBFounder) (#695)
Reentrancy in HeroesOfCrypton.switchRouter(address) (#704-710):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#706)
Event emitted after the call(s):
- UpdatedSettings(Exchange Router Updated,(Log(concatenate(New Router: ,toString(abi.encodePacked(newRouter))),1),Log(concatenate(New Liquidity Pair: ,toString(abi.encodePacked(pair))),1),Log(,0))) (#709)
Apply the check-effects-interactions pattern.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#55-61):
- (success) = recipient.call{value: amount}() (#59)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#121-142):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#230) is not in mixedCase
Parameter HeroesOfCrypton.openTrading(uint256)._deadBlocks (#508) is not in mixedCase
Parameter HeroesOfCrypton.setProtection(bool)._protect (#515) is not in mixedCase
Parameter HeroesOfCrypton.setProtection(address,bool)._protection (#521) is not in mixedCase
Parameter HeroesOfCrypton.setProtection(address,bool)._call (#521) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._buybackFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._founderFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._poolFee (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._sellBias (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#742) is not in mixedCase
Parameter HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._liquidityFeeReceiver (#757) is not in mixedCase
Parameter HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#757) is not in mixedCase
Parameter HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._founder1 (#757) is not in mixedCase
Parameter HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._founder2 (#757) is not in mixedCase
Parameter HeroesOfCrypton.setFeeReceivers(address,address,address,address,address)._poolReceiver (#757) is not in mixedCase
Parameter HeroesOfCrypton.setSwapBackSettings(bool,uint256,uint256)._enabled (#766) is not in mixedCase
Parameter HeroesOfCrypton.setSwapBackSettings(bool,uint256,uint256)._denominator (#766) is not in mixedCase
Parameter HeroesOfCrypton.setSwapBackSettings(bool,uint256,uint256)._swapMinimumDenom (#766) is not in mixedCase
Variable HeroesOfCrypton.DEAD (#352) is not in mixedCase
Variable HeroesOfCrypton.ZERO (#353) is not in mixedCase
Constant HeroesOfCrypton._name (#355) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HeroesOfCrypton._symbol (#356) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HeroesOfCrypton._decimals (#357) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HeroesOfCrypton._totalSupply (#359) is not in mixedCase
Variable HeroesOfCrypton._maxBuyTxAmount (#360) is not in mixedCase
Variable HeroesOfCrypton._maxSellTxAmount (#361) is not in mixedCase
Variable HeroesOfCrypton._maxWalletSize (#362) is not in mixedCase
Variable HeroesOfCrypton._balances (#364) is not in mixedCase
Variable HeroesOfCrypton._allowances (#365) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#151)" inContext (#145-154)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in HeroesOfCrypton._transferFrom(address,address,uint256) (#546-577):
External calls:
- swapBack(amount) (#568)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
External calls sending eth:
- swapBack(amount) (#568)
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
State variables written after the call(s):
- _balances[recipient] = _balances[recipient] + amountReceived (#570)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#575)
Reentrancy in HeroesOfCrypton.swapBack(uint256) (#651-696):
External calls:
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
External calls sending eth:
- marketingFeeReceiver.transfer(amountBNBMarketing) (#680)
- founderReceiver1.transfer(amountBNBFounder / 2) (#682)
- founderReceiver2.transfer(amountBNBFounder / 2) (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,liquidityFeeReceiver,block.timestamp) (#687-694)
Event emitted after the call(s):
- FundsDistributed(amountBNBLiquidity,amountBNBMarketing,amountBNBFounder) (#695)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#235) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#236)
Variable HeroesOfCrypton.founderReceiver1 (#384) is too similar to HeroesOfCrypton.founderReceiver2 (#385)
Prevent variables from having similar names.
Additional information: link
HeroesOfCrypton.slitherConstructorVariables() (#349-804) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#352)
HeroesOfCrypton.slitherConstructorVariables() (#349-804) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#353)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HeroesOfCrypton.DEAD (#352) should be constant
HeroesOfCrypton.ZERO (#353) should be constant
HeroesOfCrypton._totalSupply (#359) should be constant
HeroesOfCrypton.pauseDisabled (#404) should be constant
HeroesOfCrypton.routerAddress (#390) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#323-326)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#332-336)
getCirculatingSupply() should be declared external:
- HeroesOfCrypton.getCirculatingSupply() (#774-776)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
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.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to verify token contract address on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account