BurnRocket is a blockchain gaming ecosystem & metaverse where anyone can earn tokens through skilled gameplay. What could be better than making money by playing an interesting & fun game?
Based on the concept of Play & Earn, players will be able to collect $BurnRocket tokens and buy exclusive in-game features and NFTs on Burnrocket NFT Marketplace. The first game "Burnrocket Invaders" is already available in Alpha version, more levels and more games incoming!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BurnRocket._transfer(address,address,uint256) (#1098-1207):
External calls:
- swapBack() (#1163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1219-1225)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#1280)
External calls sending eth:
- swapBack() (#1163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#1280)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1200)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#384)
- _balances[recipient] = _balances[recipient].add(amount) (#385)
- super._transfer(from,to,amount) (#1206)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#384)
- _balances[recipient] = _balances[recipient].add(amount) (#385)
- swapping = false (#1165)
- tokensForBuyBack += fees * 33 / 99 (#1181)
- tokensForBuyBack += fees * sellBuyBackFee / sellTotalFees (#1188)
- tokensForBuyBack += fees * buyBuyBackFee / buyTotalFees (#1195)
- tokensForLiquidity += fees * 33 / 99 (#1180)
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1187)
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1194)
- tokensForMarketing += fees * 33 / 99 (#1182)
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1189)
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1196)
Apply the check-effects-interactions pattern.
Additional information: link
BurnRocket._transfer(address,address,uint256) (#1098-1207) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1193)
-tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1196)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in BurnRocket.swapBack() (#1246-1281):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1219-1225)
State variables written after the call(s):
- tokensForBuyBack = 0 (#1271)
- tokensForLiquidity = 0 (#1269)
- tokensForMarketing = 0 (#1270)
Apply the check-effects-interactions pattern.
Additional information: link
BurnRocket._transfer(address,address,uint256) (#1098-1207) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1126)
Do not use tx.origin for authorization.
Additional information: link
BurnRocket.addLiquidity(uint256,uint256) (#1231-1244) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
Ensure that all the return values of the function calls are used.
Additional information: link
BurnRocket.constructor().totalSupply (#965) shadows:
- ERC20.totalSupply() (#258-260) (function)
- IERC20.totalSupply() (#108) (function)
Rename the local variables that shadow another component.
Additional information: link
BurnRocket.updateSellFees(uint256,uint256,uint256) (#1056-1062) should emit an event for:
- sellMarketingFee = _marketingFee (#1057)
- sellLiquidityFee = _liquidityFee (#1058)
- sellBuyBackFee = _buyBackFee (#1059)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellBuyBackFee (#1060)
Emit an event for critical parameter changes.
Additional information: link
BurnRocket.updateBuyBackWallet(address).newWallet (#1086) lacks a zero-check on :
- buyBackWallet = newWallet (#1088)
Check that the address is not zero.
Additional information: link
Reentrancy in BurnRocket.swapBack() (#1246-1281):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1219-1225)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- _allowances[owner][spender] = amount (#450)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BurnRocket.swapBack() (#1246-1281):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1219-1225)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1236-1243)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#451)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1275)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1276)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathUint.toInt256Safe(uint256) (#733-737) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.9 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
Low level call in BurnRocket.swapBack() (#1246-1281):
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1273)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#1280)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BurnRocket._isExcludedMaxTransactionAmount (#920) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#32)" inContext (#26-35)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#748) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#749)
Prevent variables from having similar names.
Additional information: link
BurnRocket.updateSwapTokensAtAmount(uint256) (#1027-1032) uses literals with too many digits:
- require(bool,string)(newAmount >= totalSupply() * 1 / 100000,Swap amount cannot be lower than 0.001% total supply.) (#1028)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#674) is never used in SafeMathInt (#672-730)
Remove unused state variables.
Additional information: link
isExcludedFromFees(address) should be declared external:
- BurnRocket.isExcludedFromFees(address) (#1092-1094)
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/project description on the website or on BscScan, CoinMarketCap
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
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account