BurningMoon Token Logo

BM [BurningMoon] Token

About BM

Listings

Token 2 years
white paper

BurningMoon is a hyper-deflationary reward token with multiple use cases. It features unique tokenomics to create and sustain an entire ecosystem, which makes it very different from the tokens that are usually entering the cryptosphere.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

BurningMoon.TeamWithdrawStrandedToken(address) (BurningMoon.sol#1233-1237) ignores return value by token.transfer(TeamWallet,token.balanceOf(address(this))) (BurningMoon.sol#1236)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

BurningMoon._claimBNBTo(address,address,uint256) (BurningMoon.sol#647-658) sends eth to arbitrary user
Dangerous calls:
- (sent) = to.call{value: (amountWei)}() (BurningMoon.sol#654)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

BurningMoon._getPseudoRandomNumber(uint256) (BurningMoon.sol#750-765) uses a weak PRNG: "randomResult = uint256(keccak256(bytes)(abi.encodePacked(_circulatingSupply + _balances[_pancakePairAddress] + WBNBBalance + block.timestamp + block.difficulty + block.gaslimit))) % modulo (BurningMoon.sol#755-762)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in BurningMoon.transferFrom(address,address,uint256) (BurningMoon.sol#1285-1292):
External calls:
- _transfer(sender,recipient,amount) (BurningMoon.sol#1286)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (BurningMoon.sol#858-866)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (BurningMoon.sol#847-853)
- (sent) = to.call{value: (amountWei)}() (BurningMoon.sol#654)
External calls sending eth:
- _transfer(sender,recipient,amount) (BurningMoon.sol#1286)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (BurningMoon.sol#858-866)
- (sent) = to.call{value: (amountWei)}() (BurningMoon.sol#654)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (BurningMoon.sol#1290)
- _allowances[owner][spender] = amount (BurningMoon.sol#1282)
Apply the check-effects-interactions pattern.

Additional information: link

BurningMoon._substractDividents(address,uint256) (BurningMoon.sol#507-523) uses a dangerous strict equality:
- amount == 0 (BurningMoon.sol#508)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

BurningMoon._swapContractToken(uint16,bool) (BurningMoon.sol#800-840) performs a multiplication on the result of a division:
-tokenToSwap = _balances[_pancakePairAddress] * permilleOfPancake / 1000 (BurningMoon.sol#806)
-tokenForLiquidity = (tokenToSwap * _liquidityTax) / totalTax (BurningMoon.sol#819)
Consider ordering multiplication before division.

Additional information: link

BurningMoon._isEligibleForPromotionBonus(address).promotionTokenBalance (BurningMoon.sol#336) 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

BurningMoon.TeamRemoveLiquidity(bool) (BurningMoon.sol#1192-1218) ignores return value by _pancakeRouter.removeLiquidityETHSupportingFeeOnTransferTokens(address(this),amount,0,0,address(this),block.timestamp) (BurningMoon.sol#1205-1212)
Ensure that all the return values of the function calls are used.

Additional information: link

BurningMoon._approve(address,address,uint256).owner (BurningMoon.sol#1278) shadows:
- Ownable.owner() (Libraries.sol#216-218) (function)
Rename the local variables that shadow another component.

Additional information: link

BurningMoon.TeamChangeTeamWallet(address).newTeamWallet (BurningMoon.sol#975) lacks a zero-check on :
- TeamWallet = newTeamWallet (BurningMoon.sol#977)
Check that the address is not zero.

Additional information: link

Variable 'BurningMoon._isEligibleForPromotionBonus(address).promotionTokenBalance (BurningMoon.sol#336)' in BurningMoon._isEligibleForPromotionBonus(address) (BurningMoon.sol#330-341) potentially used before declaration: tokenBalance = promotionTokenBalance (BurningMoon.sol#337)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in BurningMoon.constructor() (BurningMoon.sol#162-179):
External calls:
- _pancakePairAddress = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (BurningMoon.sol#165)
State variables written after the call(s):
- _approve(address(this),address(_pancakeRouter),type()(uint256).max) (BurningMoon.sol#178)
- _allowances[owner][spender] = amount (BurningMoon.sol#1282)
- _addToken(address(this),InitialSupply) (BurningMoon.sol#171)
- _balances[addr] = newAmount (BurningMoon.sol#438)
- _balances[addr] = newAmount (BurningMoon.sol#449)
- _addToken(address(this),InitialSupply) (BurningMoon.sol#171)
- _circulatingSupply += amount (BurningMoon.sol#435)
- _addToken(address(this),InitialSupply) (BurningMoon.sol#171)
- _totalShares += amount (BurningMoon.sol#441)
- _addToken(address(this),InitialSupply) (BurningMoon.sol#171)
- alreadyPaidShares[addr] = profitPerShare * (newAmount + additionalShares[addr]) (BurningMoon.sol#445)
- _addToken(address(this),InitialSupply) (BurningMoon.sol#171)
- toBePaid[addr] += payment (BurningMoon.sol#447)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BurningMoon.transferFrom(address,address,uint256) (BurningMoon.sol#1285-1292):
External calls:
- _transfer(sender,recipient,amount) (BurningMoon.sol#1286)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (BurningMoon.sol#858-866)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp) (BurningMoon.sol#847-853)
- (sent) = to.call{value: (amountWei)}() (BurningMoon.sol#654)
External calls sending eth:
- _transfer(sender,recipient,amount) (BurningMoon.sol#1286)
- _pancakeRouter.addLiquidityETH{value: bnbamount}(address(this),tokenamount,0,0,address(this),block.timestamp) (BurningMoon.sol#858-866)
- (sent) = to.call{value: (amountWei)}() (BurningMoon.sol#654)
Event emitted after the call(s):
- Approval(owner,spender,amount) (BurningMoon.sol#1283)
- _approve(sender,msg.sender,currentAllowance - amount) (BurningMoon.sol#1290)
Apply the check-effects-interactions pattern.

Additional information: link

BurningMoon.TeamRemoveRemainingBNB() (BurningMoon.sol#1223-1229) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime + 2592000,Locked) (BurningMoon.sol#1224)
Avoid relying on block.timestamp.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (Libraries.sol#417-434) uses assembly
- INLINE ASM (Libraries.sol#426-429)
Do not use evm assembly.

Additional information: link

BurningMoon._buyLotteryTickets(address,uint256) (BurningMoon.sol#725-745) has costly operations inside a loop:
- LotteryParticipants ++ (BurningMoon.sol#741)
Use a local variable to hold the loop computation result.

Additional information: link

EnumerableSet.remove(EnumerableSet.UintSet,uint256) (Libraries.sol#697-699) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.7 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 Address.functionDelegateCall(address,bytes,string) (Libraries.sol#409-415):
- (success,returndata) = target.delegatecall(data) (Libraries.sol#413)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeRouter01.WETH() (Libraries.sol#137) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Libraries.sol#56) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Libraries.sol#57)
Prevent variables from having similar names.

Additional information: link

BurningMoon.slitherConstructorConstantVariables() (BurningMoon.sol#68-1306) uses literals with too many digits:
- SacrificeAddress = 0x000000000000000000000000000000000000dEaD (BurningMoon.sol#100)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Libraries.sol#244-248)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Young tokens have high risks of scam / 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


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for BM