BNBGlobal is a deflationary low tax token with 3% BNBGlobal reflections, so the amount of tokens you posses will increase. Holding is key!
Additionally, BNBGlobal will offer mini and casino games where you have the chance to win big amounts of BNBGlobal tokens!
Later, there will be developed an Auction platform to buy "spectacular" goods and items with your BNBGlobal tokens. This is revolutionary in the cryptomarket and will be the first token which will ever create a platform in his kind!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BNBGlobal.sendETHToFee(uint256) (#581-592) sends eth to arbitrary user
Dangerous calls:
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BNBGlobal._transfer(address,address,uint256) (#440-532):
External calls:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- sendETHToFee(address(this).balance) (#509)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
State variables written after the call(s):
- restoreAllFee() (#516)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- restoreAllFee() (#521)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- setBotFee() (#522)
- _buyLiquidityFee = _botBuyLiquidityFee (#390)
- restoreAllFee() (#531)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- restoreAllFee() (#516)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- restoreAllFee() (#521)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- setBotFee() (#522)
- _buyMarketingFee = _botBuyMarketingFee (#388)
- restoreAllFee() (#531)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- restoreAllFee() (#516)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- restoreAllFee() (#521)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- setBotFee() (#522)
- _buyReflectionFee = _botBuyReflectionFee (#389)
- restoreAllFee() (#531)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _rOwned[sender] = _rOwned[sender].sub(sellFees.rAmount) (#642)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#667)
- _rOwned[sender] = _rOwned[sender].sub(buyFees.rAmount) (#631)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#661)
- _rOwned[recipient] = _rOwned[recipient].add(sellFees.rTransferAmount) (#643)
- _rOwned[recipient] = _rOwned[recipient].add(buyFees.rTransferAmount) (#632)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _rTotal = _rTotal.sub(rReflection) (#654)
- restoreAllFee() (#516)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#521)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#531)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#516)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#521)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#531)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#516)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- restoreAllFee() (#521)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- restoreAllFee() (#531)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _tOwned[recipient] = _tOwned[recipient].add(sellFees.tTransferAmount) (#645)
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.
BNBGlobal.swapAndLiquify(uint256) (#556-579) performs a multiplication on the result of a division:
-half = autoLPamount.div(2) (#560)
-newBalance = ((address(this).balance.sub(initialBalance)).mul(half)).div(half.add(otherHalf)) (#573)
Consider ordering multiplication before division.
Additional information: link
BNBGlobal._getValuesSell(uint256,BNBGlobal.DynamicTax).finalFees (#675) is a local variable never initialized
BNBGlobal._transfer(address,address,uint256).currentTax (#447) is a local variable never initialized
BNBGlobal._getTValuesBuy(uint256,uint256,uint256,uint256).tbuyFees (#720) is a local variable never initialized
BNBGlobal._getValuesBuy(uint256,BNBGlobal.DynamicTax).finalFees (#709) is a local variable never initialized
BNBGlobal.getFee().currentTax (#427) is a local variable never initialized
BNBGlobal._getTValuesSell(uint256,uint256,uint256,uint256).tsellFees (#686) 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
BNBGlobal.constructor() (#295-311) ignores return value by IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#300)
BNBGlobal.addLiquidity(uint256,uint256) (#542-554) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
Ensure that all the return values of the function calls are used.
Additional information: link
BNBGlobal.allowance(address,address).owner (#343) shadows:
- Ownable.owner() (#68-70) (function)
BNBGlobal._approve(address,address,uint256).owner (#403) shadows:
- Ownable.owner() (#68-70) (function)
Rename the local variables that shadow another component.
Additional information: link
BNBGlobal.setMaxWalletAmount(uint256) (#794-798) should emit an event for:
- _maxWalletAmount = maxWalletAmount (#797)
BNBGlobal.updateMinBuySellBNB(uint256,uint256) (#847-852) should emit an event for:
- _minBuyBNB = minBuyBNB (#850)
- _minSellBNB = minSellBNB (#851)
BNBGlobal.updateBotFees(uint256,uint256,uint256) (#854-860) should emit an event for:
- _botBuyLiquidityFee = buyLiquidityFee (#857)
- _botBuyReflectionFee = buyReflectionFee (#858)
- _botBuyMarketingFee = buyMarketingFee (#859)
BNBGlobal.updateBotBlocks(uint256) (#862-865) should emit an event for:
- _botBlocks = botBlocks (#864)
BNBGlobal.updateMinTokensToSwap(uint256) (#890-892) should emit an event for:
- minTokensToSwap = _minTokenToSwap (#891)
Emit an event for critical parameter changes.
Additional information: link
BNBGlobal.setPresaleRouterAndAddress(address,address).router (#829) lacks a zero-check on :
- presaleRouter = router (#830)
BNBGlobal.setPresaleRouterAndAddress(address,address).wallet (#829) lacks a zero-check on :
- presaleAddress = wallet (#831)
BNBGlobal.updateMarketingAddress(address).marketingAddress (#867) lacks a zero-check on :
- _marketingAddress = marketingAddress (#868)
Check that the address is not zero.
Additional information: link
Reentrancy in BNBGlobal._transfer(address,address,uint256) (#440-532):
External calls:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- sendETHToFee(address(this).balance) (#509)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
State variables written after the call(s):
- setBotFee() (#522)
- _previousBuyLiquidityFee = _buyLiquidityFee (#386)
- setBotFee() (#522)
- _previousBuyMarketingFee = _buyMarketingFee (#384)
- setBotFee() (#522)
- _previousBuyReflectionFee = _buyReflectionFee (#385)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _tFeeTotal = _tFeeTotal.add(tReflection) (#655)
Reentrancy in BNBGlobal.constructor() (#295-311):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#299)
- IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#300)
State variables written after the call(s):
- _isContract[address(this)] = true (#308)
- _isContract[_marketingAddress] = true (#309)
- _isExcludedFromFee[owner()] = true (#306)
- _isExcludedFromFee[address(this)] = true (#307)
- _maxTxAmount = _tTotal (#302)
- _maxWalletAmount = _tTotal.div(1) (#303)
- _rOwned[_msgSender()] = _rTotal (#305)
Reentrancy in BNBGlobal.swapAndLiquify(uint256) (#556-579):
External calls:
- swapTokensForEth(otherHalf) (#570)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
- addLiquidity(half,newBalance) (#577)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
External calls sending eth:
- addLiquidity(half,newBalance) (#577)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
State variables written after the call(s):
- addLiquidity(half,newBalance) (#577)
- _allowances[owner][spender] = amount (#406)
Reentrancy in BNBGlobal.transferFrom(address,address,uint256) (#352-356):
External calls:
- _transfer(sender,recipient,amount) (#353)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
External calls sending eth:
- _transfer(sender,recipient,amount) (#353)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#354)
- _allowances[owner][spender] = amount (#406)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BNBGlobal._transfer(address,address,uint256) (#440-532):
External calls:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- sendETHToFee(address(this).balance) (#509)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
Event emitted after the call(s):
- Transfer(sender,recipient,buyFees.tTransferAmount) (#636)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- Transfer(sender,recipient,sellFees.tTransferAmount) (#650)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
Reentrancy in BNBGlobal.constructor() (#295-311):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#299)
- IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#300)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#310)
Reentrancy in BNBGlobal.swapAndLiquify(uint256) (#556-579):
External calls:
- swapTokensForEth(otherHalf) (#570)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
- addLiquidity(half,newBalance) (#577)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
External calls sending eth:
- addLiquidity(half,newBalance) (#577)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#407)
- addLiquidity(half,newBalance) (#577)
Reentrancy in BNBGlobal.transferFrom(address,address,uint256) (#352-356):
External calls:
- _transfer(sender,recipient,amount) (#353)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#539)
External calls sending eth:
- _transfer(sender,recipient,amount) (#353)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#407)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#354)
Apply the check-effects-interactions pattern.
Additional information: link
BNBGlobal._transfer(address,address,uint256) (#440-532) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp - previousTransactionBlock[to] <= _botBlocks (#455)
- block.timestamp <= _firstBlock.add(_botBlocks) && from != presaleRouter && from != presaleAddress (#461)
- block.timestamp - previousTransactionBlock[from] <= _botBlocks (#477)
BNBGlobal.sendETHToFee(uint256) (#581-592) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < _firstBlock + (86400) (#582)
Avoid relying on block.timestamp.
Additional information: link
BNBGlobal.endPresale(uint256) (#836-841) compares to a boolean constant:
-require(bool,string)(presale == true,presale already ended) (#837)
BNBGlobal.enablePriceImpactSellLimit() (#871-874) compares to a boolean constant:
-require(bool,string)(_priceImpactSellLimitEnabled == false,already enabled) (#872)
BNBGlobal.disablePriceImpactSellLimit() (#876-879) compares to a boolean constant:
-require(bool,string)(_priceImpactSellLimitEnabled == true,already disabled) (#877)
BNBGlobal.disableSwapAndLiquify() (#881-884) compares to a boolean constant:
-require(bool,string)(swapAndLiquifyEnabled == true,already disabled) (#882)
BNBGlobal.enableSwapAndLiquify() (#886-889) compares to a boolean constant:
-require(bool,string)(swapAndLiquifyEnabled == false,already enabled) (#887)
Remove the equality to the boolean constant.
Additional information: link
BNBGlobal.removeAllFee() (#364-381) is never used and should be removed
Remove unused functions.
Additional information: link
BNBGlobal._previousBuyMarketingFee (#210) is set pre-construction with a non-constant function or state variable:
- _buyMarketingFee
BNBGlobal._previousBuyReflectionFee (#212) is set pre-construction with a non-constant function or state variable:
- _buyReflectionFee
BNBGlobal._previousBuyLiquidityFee (#214) is set pre-construction with a non-constant function or state variable:
- _buyLiquidityFee
BNBGlobal._previousSellMarketingFee (#218) is set pre-construction with a non-constant function or state variable:
- _sellMarketingFee
BNBGlobal._previousSellReflectionFee (#220) is set pre-construction with a non-constant function or state variable:
- _sellReflectionFee
BNBGlobal._previousSellLiquidityFee (#222) is set pre-construction with a non-constant function or state variable:
- _sellLiquidityFee
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.10 (#1) 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#104) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#105) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#122) is not in mixedCase
Function IUniswapV2Router02.WETH() (#160) is not in mixedCase
Parameter BNBGlobal.updateMinTokensToSwap(uint256)._minTokenToSwap (#890) is not in mixedCase
Constant BNBGlobal._name (#184) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BNBGlobal._symbol (#185) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BNBGlobal._decimals (#186) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BNBGlobal._tTotal (#197) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BNBGlobal._priceImpact (#200) is not in mixedCase
Variable BNBGlobal._maxWalletAmount (#203) is not in mixedCase
Variable BNBGlobal._buyMarketingFee (#209) is not in mixedCase
Variable BNBGlobal._buyReflectionFee (#211) is not in mixedCase
Variable BNBGlobal._buyLiquidityFee (#213) is not in mixedCase
Variable BNBGlobal._sellMarketingFee (#217) is not in mixedCase
Variable BNBGlobal._sellReflectionFee (#219) is not in mixedCase
Variable BNBGlobal._sellLiquidityFee (#221) is not in mixedCase
Variable BNBGlobal._botBuyMarketingFee (#225) is not in mixedCase
Variable BNBGlobal._botBuyReflectionFee (#226) is not in mixedCase
Variable BNBGlobal._botBuyLiquidityFee (#227) is not in mixedCase
Constant BNBGlobal._projectMaintainencePercent (#239) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BNBGlobal._projectMaintainence (#268) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BNBGlobal._burnAddress (#269) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BNBGlobal._priceImpactSellLimitEnabled (#280) is not in mixedCase
Variable BNBGlobal._BNBsellLimitEnabled (#281) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in BNBGlobal._transfer(address,address,uint256) (#440-532):
External calls:
- sendETHToFee(address(this).balance) (#509)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#504)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- sendETHToFee(address(this).balance) (#509)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
State variables written after the call(s):
- restoreAllFee() (#516)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- restoreAllFee() (#521)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- setBotFee() (#522)
- _buyLiquidityFee = _botBuyLiquidityFee (#390)
- restoreAllFee() (#531)
- _buyLiquidityFee = _previousBuyLiquidityFee (#396)
- restoreAllFee() (#516)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- restoreAllFee() (#521)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- setBotFee() (#522)
- _buyMarketingFee = _botBuyMarketingFee (#388)
- restoreAllFee() (#531)
- _buyMarketingFee = _previousBuyMarketingFee (#394)
- restoreAllFee() (#516)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- restoreAllFee() (#521)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- setBotFee() (#522)
- _buyReflectionFee = _botBuyReflectionFee (#389)
- restoreAllFee() (#531)
- _buyReflectionFee = _previousBuyReflectionFee (#395)
- setBotFee() (#522)
- _previousBuyLiquidityFee = _buyLiquidityFee (#386)
- setBotFee() (#522)
- _previousBuyMarketingFee = _buyMarketingFee (#384)
- setBotFee() (#522)
- _previousBuyReflectionFee = _buyReflectionFee (#385)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _rOwned[sender] = _rOwned[sender].sub(sellFees.rAmount) (#642)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#667)
- _rOwned[sender] = _rOwned[sender].sub(buyFees.rAmount) (#631)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#661)
- _rOwned[recipient] = _rOwned[recipient].add(sellFees.rTransferAmount) (#643)
- _rOwned[recipient] = _rOwned[recipient].add(buyFees.rTransferAmount) (#632)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _rTotal = _rTotal.sub(rReflection) (#654)
- restoreAllFee() (#516)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#521)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#531)
- _sellLiquidityFee = _previousSellLiquidityFee (#400)
- restoreAllFee() (#516)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#521)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#531)
- _sellMarketingFee = _previousSellMarketingFee (#398)
- restoreAllFee() (#516)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- restoreAllFee() (#521)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- restoreAllFee() (#531)
- _sellReflectionFee = _previousSellReflectionFee (#399)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _tFeeTotal = _tFeeTotal.add(tReflection) (#655)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- _tOwned[recipient] = _tOwned[recipient].add(sellFees.tTransferAmount) (#645)
Event emitted after the call(s):
- Transfer(sender,recipient,buyFees.tTransferAmount) (#636)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
- Transfer(sender,recipient,sellFees.tTransferAmount) (#650)
- _tokenTransfer(from,to,amount,takeFee,currentTax) (#530)
Reentrancy in BNBGlobal.transferFrom(address,address,uint256) (#352-356):
External calls:
- _transfer(sender,recipient,amount) (#353)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
External calls sending eth:
- _transfer(sender,recipient,amount) (#353)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#546-553)
- addr.transfer(amount.mul(uint256(10)).div(100)) (#584)
- _marketingAddress.transfer(amount.mul(uint256(88)).div(100)) (#585)
- _projectMaintainence.transfer(amount.mul(uint256(2)).div(100)) (#586)
- _marketingAddress.transfer(amount.mul(_marketingPercent).div(100)) (#589)
- _projectMaintainence.transfer(amount.mul(_projectMaintainencePercent).div(100)) (#590)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#354)
- _allowances[owner][spender] = amount (#406)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#407)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#354)
Apply the check-effects-interactions pattern.
Additional information: link
Variable BNBGlobal.updateMinTokensToSwap(uint256)._minTokenToSwap (#890) is too similar to BNBGlobal.minTokensToSwap (#206)
Variable BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#733) is too similar to BNBGlobal._reflectFee(uint256,uint256).tReflection (#653)
Variable BNBGlobal._reflectFee(uint256,uint256).rReflection (#653) is too similar to BNBGlobal._reflectFee(uint256,uint256).tReflection (#653)
Variable BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#733) is too similar to BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#696)
Variable BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#699) is too similar to BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#730)
Variable BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#699) is too similar to BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#696)
Variable BNBGlobal._reflectFee(uint256,uint256).rReflection (#653) is too similar to BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).tReflection (#696)
Variable BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).rReflection (#733) is too similar to BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#730)
Variable BNBGlobal._getRValuesSell(uint256,uint256,uint256,uint256,uint256).rReflection (#699) is too similar to BNBGlobal._reflectFee(uint256,uint256).tReflection (#653)
Variable BNBGlobal._reflectFee(uint256,uint256).rReflection (#653) is too similar to BNBGlobal._getRValuesBuy(uint256,uint256,uint256,uint256,uint256).tReflection (#730)
Prevent variables from having similar names.
Additional information: link
BNBGlobal.updateMinBuySellBNB(uint256,uint256) (#847-852) uses literals with too many digits:
- require(bool,string)(minBuyBNB <= 100000000000000000,cant make the limit higher than 0.1 BNB) (#848)
BNBGlobal.updateMinBuySellBNB(uint256,uint256) (#847-852) uses literals with too many digits:
- require(bool,string)(minSellBNB <= 100000000000000000,cant make the limit higher than 0.1 BNB) (#849)
BNBGlobal.slitherConstructorVariables() (#182-894) uses literals with too many digits:
- _minBuyBNB = 10000000000000000 (#204)
BNBGlobal.slitherConstructorVariables() (#182-894) uses literals with too many digits:
- _minSellBNB = 10000000000000000 (#205)
BNBGlobal.slitherConstructorVariables() (#182-894) uses literals with too many digits:
- minTokensToSwap = 1000000 * 10 ** 9 (#206)
BNBGlobal.slitherConstructorConstantVariables() (#182-894) uses literals with too many digits:
- _tTotal = 10000000000 * 10 ** 9 (#197)
BNBGlobal.slitherConstructorConstantVariables() (#182-894) uses literals with too many digits:
- _burnAddress = address(0x000000000000000000000000000000000000dEaD) (#269)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#59) is never used in BNBGlobal (#182-894)
BNBGlobal.sellcooldown (#190) is never used in BNBGlobal (#182-894)
Remove unused state variables.
Additional information: link
BNBGlobal._BNBsellLimitEnabled (#281) should be constant
BNBGlobal._marketingPercent (#240) should be constant
Ownable._previousOwner (#59) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#77-80)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#82-86)
isBot(address) should be declared external:
- BNBGlobal.isBot(address) (#334-336)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
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 Twitter 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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account