BNB HEROES is an Oracle based NFT collectible card game which focuses on game economy, expansion and sustainability.
We plan to make this game durable and -reliable for many players to earn BNB directly while playing.
Our team is dedicated in delivering a simple, fun, accessible, sustainable and profitable game for all our gamers!
Contract creator or owner is blacklisted for past scams
Reentrancy in BNBHeroToken._transfer(address,address,uint256) (contracts/BNBH.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
- _BNBFee = _previousBNBFee (contracts/BNBH.sol#210)
- _BNBFee = 0 (contracts/BNBH.sol#205)
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
- _balances[sender] = _balances[sender].sub(amount) (contracts/BNBH.sol#341)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (contracts/BNBH.sol#342)
- _balances[address(this)] = _balances[address(this)].add(amount.sub(tTransferAmount)) (contracts/BNBH.sol#343)
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
- _liquidityFee = _previousLiquidityFee (contracts/BNBH.sol#211)
- _liquidityFee = 0 (contracts/BNBH.sol#206)
- lastSwapTime = block.timestamp (contracts/BNBH.sol#268)
Apply the check-effects-interactions pattern.
Additional information: link
BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300) uses a dangerous strict equality:
- require(bool,string)(success == true,Transfer failed.) (contracts/BNBH.sol#298)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300) performs a multiplication on the result of a division:
-liquidBalance = tokenBalance.mul(_liquidityFee).div(_liquidityFee + _BNBFee).div(2) (contracts/BNBH.sol#289)
-bnbForLiquid = newBalance.mul(liquidBalance).div(tokenBalance) (contracts/BNBH.sol#294)
Consider ordering multiplication before division.
Additional information: link
BNBHeroToken.addLiquidity(uint256,uint256) (contracts/BNBH.sol#321-334) ignores return value by pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
Ensure that all the return values of the function calls are used.
Additional information: link
BNBHeroToken.allowance(address,address).owner (contracts/BNBH.sol#117) shadows:
- Ownable.owner() (contracts/Ownable.sol#18-20) (function)
BNBHeroToken._approve(address,address,uint256).owner (contracts/BNBH.sol#218) shadows:
- Ownable.owner() (contracts/Ownable.sol#18-20) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in BNBHeroToken._transfer(address,address,uint256) (contracts/BNBH.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
- _previousBNBFee = _BNBFee (contracts/BNBH.sol#202)
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
- _previousLiquidityFee = _liquidityFee (contracts/BNBH.sol#203)
Reentrancy in BNBHeroToken.constructor() (contracts/BNBH.sol#69-86):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (contracts/BNBH.sol#75-76)
State variables written after the call(s):
- _balances[_msgSender()] = _tTotal (contracts/BNBH.sol#84)
- _isExcludedFromFee[_msgSender()] = true (contracts/BNBH.sol#82)
- _isExcludedFromFee[address(this)] = true (contracts/BNBH.sol#83)
- pancakeswapV2Router = _pancakeswapV2Router (contracts/BNBH.sol#79)
Reentrancy in BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (contracts/BNBH.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
State variables written after the call(s):
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- _allowances[owner][spender] = amount (contracts/BNBH.sol#222)
Reentrancy in BNBHeroToken.transferFrom(address,address,uint256) (contracts/BNBH.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (contracts/BNBH.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/BNBH.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (contracts/BNBH.sol#128)
- _allowances[owner][spender] = amount (contracts/BNBH.sol#222)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BNBHeroToken._transfer(address,address,uint256) (contracts/BNBH.sol#226-284):
External calls:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- swapAndCharge(tokenBalance) (contracts/BNBH.sol#267)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (contracts/BNBH.sol#344)
- _tokenTransfer(from,to,amount,takeFee) (contracts/BNBH.sol#283)
Reentrancy in BNBHeroToken.constructor() (contracts/BNBH.sol#69-86):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (contracts/BNBH.sol#75-76)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (contracts/BNBH.sol#85)
Reentrancy in BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (contracts/BNBH.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BNBH.sol#223)
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
Reentrancy in BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300):
External calls:
- swapTokensForEth(tokenBalance) (contracts/BNBH.sol#291)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- addLiquidity(liquidBalance,bnbForLiquid) (contracts/BNBH.sol#295)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
Event emitted after the call(s):
- SwapAndCharged(tokenBalance,liquidBalance,address(this).balance,bnbForLiquid) (contracts/BNBH.sol#299)
Reentrancy in BNBHeroToken.transferFrom(address,address,uint256) (contracts/BNBH.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (contracts/BNBH.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BNBH.sol#312-318)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/BNBH.sol#127)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BNBH.sol#326-333)
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/BNBH.sol#223)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (contracts/BNBH.sol#128)
Apply the check-effects-interactions pattern.
Additional information: link
BNBHeroToken._transfer(address,address,uint256) (contracts/BNBH.sol#226-284) uses timestamp for comparisons
Dangerous comparisons:
- overMinTokenBalance && ! inSwapAndLiquify && from != pancakeswapV2Pair && swapAndLiquifyEnabled && block.timestamp >= lastSwapTime + swapCoolDownTime (contracts/BNBH.sol#260-264)
Ownable.unlock() (contracts/Ownable.sol#49-54) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 0 days) (contracts/Ownable.sol#51)
Avoid relying on block.timestamp.
Additional information: link
BNBHeroToken._transfer(address,address,uint256) (contracts/BNBH.sol#226-284) compares to a boolean constant:
-require(bool,string)(presaleEnded == true,You are not allowed to add liquidity before presale is ended) (contracts/BNBH.sol#235)
BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300) compares to a boolean constant:
-require(bool,string)(success == true,Transfer failed.) (contracts/BNBH.sol#298)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (contracts/Context.sol#18-21) is never used and should be removed
SafeMath.div(uint256,uint256,string) (contracts/SafeMath.sol#189-194) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/SafeMath.sol#149-151) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/SafeMath.sol#211-216) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (contracts/SafeMath.sol#20-26) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (contracts/SafeMath.sol#62-67) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (contracts/SafeMath.sol#74-79) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (contracts/SafeMath.sol#45-55) is never used and should be removed
SafeMath.trySub(uint256,uint256) (contracts/SafeMath.sol#33-38) is never used and should be removed
Remove unused functions.
Additional information: link
BNBHeroToken._previousBNBFee (contracts/BNBH.sol#29) is set pre-construction with a non-constant function or state variable:
- _BNBFee
BNBHeroToken._previousLiquidityFee (contracts/BNBH.sol#32) 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.8.0 (contracts/BNBH.sol#3) allows old versions
Pragma version^0.8.0 (contracts/Context.sol#2) allows old versions
Pragma version^0.8.0 (contracts/IBEP20.sol#3) allows old versions
Pragma version^0.8.0 (contracts/IPancakeswapV2Factory.sol#3) allows old versions
Pragma version^0.8.0 (contracts/IPancakeswapV2Router01.sol#3) allows old versions
Pragma version^0.8.0 (contracts/IPancakeswapV2Router02.sol#3) allows old versions
Pragma version^0.8.0 (contracts/Ownable.sol#2) allows old versions
Pragma version^0.8.0 (contracts/SafeMath.sol#2) allows old versions
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
Low level call in BNBHeroToken.swapAndCharge(uint256) (contracts/BNBH.sol#286-300):
- (success) = address(bnbPoolAddress).call{value: address(this).balance}() (contracts/BNBH.sol#297)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter BNBHeroToken.setSwapAndLiquifyEnabled(bool)._enabled (contracts/BNBH.sol#185) is not in mixedCase
Variable BNBHeroToken._BNBFee (contracts/BNBH.sol#28) is not in mixedCase
Variable BNBHeroToken._liquidityFee (contracts/BNBH.sol#31) is not in mixedCase
Variable BNBHeroToken._maxTxAmount (contracts/BNBH.sol#42) is not in mixedCase
Function IPancakeswapV2Router01.WETH() (contracts/IPancakeswapV2Router01.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/Context.sol#19)" inContext (contracts/Context.sol#13-23)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IPancakeswapV2Router01.sol#12) is too similar to IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IPancakeswapV2Router01.sol#13)
Prevent variables from having similar names.
Additional information: link
BNBHeroToken.MAX (contracts/BNBH.sol#23) is never used in BNBHeroToken (contracts/BNBH.sol#12-350)
BNBHeroToken.lastTxTimes (contracts/BNBH.sol#47) is never used in BNBHeroToken (contracts/BNBH.sol#12-350)
Remove unused state variables.
Additional information: link
BNBHeroToken._decimals (contracts/BNBH.sol#26) should be constant
BNBHeroToken._name (contracts/BNBH.sol#24) should be constant
BNBHeroToken._symbol (contracts/BNBH.sol#25) should be constant
BNBHeroToken._tTotal (contracts/BNBH.sol#22) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transfer(address,uint256) should be declared external:
- BNBHeroToken.transfer(address,uint256) (contracts/BNBH.sol#112-115)
allowance(address,address) should be declared external:
- BNBHeroToken.allowance(address,address) (contracts/BNBH.sol#117-119)
approve(address,uint256) should be declared external:
- BNBHeroToken.approve(address,uint256) (contracts/BNBH.sol#121-124)
transferFrom(address,address,uint256) should be declared external:
- BNBHeroToken.transferFrom(address,address,uint256) (contracts/BNBH.sol#126-130)
increaseAllowance(address,uint256) should be declared external:
- BNBHeroToken.increaseAllowance(address,uint256) (contracts/BNBH.sol#132-135)
decreaseAllowance(address,uint256) should be declared external:
- BNBHeroToken.decreaseAllowance(address,uint256) (contracts/BNBH.sol#137-140)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Ownable.sol#27-30)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/Ownable.sol#32-36)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (contracts/Ownable.sol#38-40)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (contracts/Ownable.sol#42-47)
unlock() should be declared external:
- Ownable.unlock() (contracts/Ownable.sol#49-54)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account