BabyMUSK Token Logo

BabyMUSK Token

ALERT: honeypot scam

About BabyMUSK

Listings

Not Found
Token 5 months
white paper

BabyMusk is a tribute coin (and song) to Elon Musk! $BMUSK #BabyMusk

Social

Laser Scorebeta Last Audit: 4 January 2022

report
Code:


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


Contract creator is blacklisted for the past scams

BabyMUSK.sendBNBToMarketing(uint256) (#1643-1646) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(address(this).balance) (#1645)
BabyMUSK.addLiquidity(uint256,uint256) (#1803-1818) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndSendDividends(sellTokens) (#1692)
- success = IERC20(dividendToken).transfer(address(dividendTracker),dividends) (#1823)
- dividendTracker.distributeBTCBDividends(dividends) (#1826)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1793-1799)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1717)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#799)
- _balances[recipient] = _balances[recipient].add(amount) (#800)
- super._transfer(from,to,amount) (#1720)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#799)
- _balances[recipient] = _balances[recipient].add(amount) (#800)
- swapping = false (#1694)
Apply the check-effects-interactions pattern.

Additional information: link

Contract locking ether found:
Contract BabyMUSKDividendTracker (#1833-2044) has payable functions:
- DividendPayingToken.receive() (#1164-1165)
- DividendPayingToken.distributeDividends() (#1180-1191)
- IDividendPayingToken.distributeDividends() (#500)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.

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.

BabyMUSK._transfer(address,address,uint256) (#1650-1735) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1708)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1712)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1215-1231):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#1220)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1223)
Reentrancy in BabyMUSK.updateDividendTracker(address) (#1501-1516):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1508)
- newDividendTracker.excludeFromDividends(address(this)) (#1509)
- newDividendTracker.excludeFromDividends(owner()) (#1510)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1511)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1515)
Reentrancy in BabyMUSK.whitelistDxSale(address,address) (#1444-1451):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1446)
- dividendTracker.excludeFromDividends(_routerAddress) (#1449)
State variables written after the call(s):
- excludeFromFees(_routerAddress,true) (#1450)
- _isExcludedFromFees[account] = excluded (#1526)
Apply the check-effects-interactions pattern.

Additional information: link

BabyMUSK._transfer(address,address,uint256).claims (#1728) is a local variable never initialized
BabyMUSK._transfer(address,address,uint256).lastProcessedIndex (#1728) is a local variable never initialized
BabyMUSK._transfer(address,address,uint256).iterations (#1728) 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

BabyMUSK.claim() (#1630-1632) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1631)
BabyMUSK._transfer(address,address,uint256) (#1650-1735) ignores return value by dividendTracker.process(gas) (#1728-1733)
BabyMUSK.addLiquidity(uint256,uint256) (#1803-1818) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#1159) shadows:
- ERC20._name (#627) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1159) shadows:
- ERC20._symbol (#628) (state variable)
Rename the local variables that shadow another component.

Additional information: link

BabyMUSK.setSellFeeFactor(uint256) (#1455-1457) should emit an event for:
- sellFeeIncreaseFactor = newSellFeeFactor (#1456)
BabyMUSK.changeLiquidityFee(uint256) (#1479-1481) should emit an event for:
- liquidityFee = newLiquidityFee (#1480)
BabyMUSK.changeMarketingFee(uint256) (#1483-1485) should emit an event for:
- marketingFee = newMarketingFee (#1484)
Emit an event for critical parameter changes.

Additional information: link

BabyMUSK.whitelistDxSale(address,address)._presaleAddress (#1444) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1445)
BabyMUSK.changeDividendAddress(address).newAddress (#1475) lacks a zero-check on :
- dividendToken = newAddress (#1476)
BabyMUSK.changeMarketingWallet(address).newAddress (#1487) lacks a zero-check on :
- marketingWallet = newAddress (#1488)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#1215-1231) has external calls inside a loop: success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#1220)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'BabyMUSK._transfer(address,address,uint256).lastProcessedIndex (#1728)' in BabyMUSK._transfer(address,address,uint256) (#1650-1735) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1729)
Variable 'BabyMUSK._transfer(address,address,uint256).claims (#1728)' in BabyMUSK._transfer(address,address,uint256) (#1650-1735) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1729)
Variable 'BabyMUSK._transfer(address,address,uint256).iterations (#1728)' in BabyMUSK._transfer(address,address,uint256) (#1650-1735) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1729)
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 BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1689)
- _allowances[owner][spender] = amount (#861)
Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndSendDividends(sellTokens) (#1692)
- success = IERC20(dividendToken).transfer(address(dividendTracker),dividends) (#1823)
- dividendTracker.distributeBTCBDividends(dividends) (#1826)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1793-1799)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1692)
- _allowances[owner][spender] = amount (#861)
Reentrancy in BabyMUSK.constructor() (#1396-1438):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1414-1415)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1418)
- uniswapV2Router = _uniswapV2Router (#1417)
Reentrancy in BabyMUSK.constructor() (#1396-1438):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1414-1415)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1420)
- dividendTracker.excludeFromDividends(pair) (#1550)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1423)
- dividendTracker.excludeFromDividends(address(this)) (#1424)
- dividendTracker.excludeFromDividends(owner()) (#1425)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1426)
State variables written after the call(s):
- _mint(owner(),420000000000000000 * (10 ** 9)) (#1437)
- _balances[account] = _balances[account].add(amount) (#819)
- excludeFromFees(liquidityWallet,true) (#1430)
- _isExcludedFromFees[account] = excluded (#1526)
- excludeFromFees(address(this),true) (#1431)
- _isExcludedFromFees[account] = excluded (#1526)
- _mint(owner(),420000000000000000 * (10 ** 9)) (#1437)
- _totalSupply = _totalSupply.add(amount) (#818)
Reentrancy in BabyMUSKDividendTracker.processAccount(address,bool) (#2032-2042):
External calls:
- amount = _withdrawDividendOfUser(account) (#2033)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#1220)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2036)
Reentrancy in BabyMUSK.swapAndLiquify(uint256) (#1737-1758):
External calls:
- swapTokensForEth(half) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- addLiquidity(otherHalf,newBalance) (#1755)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1755)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1755)
- _allowances[owner][spender] = amount (#861)
Reentrancy in BabyMUSK.whitelistDxSale(address,address) (#1444-1451):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1446)
State variables written after the call(s):
- excludeFromFees(_presaleAddress,true) (#1447)
- _isExcludedFromFees[account] = excluded (#1526)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyMUSK._setAutomatedMarketMakerPair(address,bool) (#1545-1554):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1550)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1553)
Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#862)
- swapAndLiquify(swapTokens) (#1689)
- SwapAndLiquify(half,newBalance,otherHalf) (#1757)
- swapAndLiquify(swapTokens) (#1689)
Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndSendDividends(sellTokens) (#1692)
- success = IERC20(dividendToken).transfer(address(dividendTracker),dividends) (#1823)
- dividendTracker.distributeBTCBDividends(dividends) (#1826)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1793-1799)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#862)
- swapAndSendDividends(sellTokens) (#1692)
- SendDividends(tokens,dividends) (#1827)
- swapAndSendDividends(sellTokens) (#1692)
- Transfer(sender,recipient,amount) (#801)
- super._transfer(from,address(this),fees) (#1717)
- Transfer(sender,recipient,amount) (#801)
- super._transfer(from,to,amount) (#1720)
Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- swapAndSendDividends(sellTokens) (#1692)
- success = IERC20(dividendToken).transfer(address(dividendTracker),dividends) (#1823)
- dividendTracker.distributeBTCBDividends(dividends) (#1826)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1793-1799)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1722)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1723)
- dividendTracker.process(gas) (#1728-1733)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1729)
Reentrancy in BabyMUSK.constructor() (#1396-1438):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1414-1415)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1420)
- dividendTracker.excludeFromDividends(pair) (#1550)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1553)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1420)
Reentrancy in BabyMUSK.constructor() (#1396-1438):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1414-1415)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1420)
- dividendTracker.excludeFromDividends(pair) (#1550)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1423)
- dividendTracker.excludeFromDividends(address(this)) (#1424)
- dividendTracker.excludeFromDividends(owner()) (#1425)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1426)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1528)
- excludeFromFees(liquidityWallet,true) (#1430)
- ExcludeFromFees(account,excluded) (#1528)
- excludeFromFees(address(this),true) (#1431)
- Transfer(address(0),account,amount) (#820)
- _mint(owner(),420000000000000000 * (10 ** 9)) (#1437)
Reentrancy in BabyMUSKDividendTracker.processAccount(address,bool) (#2032-2042):
External calls:
- amount = _withdrawDividendOfUser(account) (#2033)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#1220)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2037)
Reentrancy in BabyMUSK.processDividendTracker(uint256) (#1625-1628):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1626)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1627)
Reentrancy in BabyMUSK.swapAndLiquify(uint256) (#1737-1758):
External calls:
- swapTokensForEth(half) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1771-1777)
- addLiquidity(otherHalf,newBalance) (#1755)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1755)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#862)
- addLiquidity(otherHalf,newBalance) (#1755)
- SwapAndLiquify(half,newBalance,otherHalf) (#1757)
Reentrancy in BabyMUSK.swapAndSendDividends(uint256) (#1820-1829):
External calls:
- swapTokensForDividend(tokens,address(this)) (#1821)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1793-1799)
- success = IERC20(dividendToken).transfer(address(dividendTracker),dividends) (#1823)
- dividendTracker.distributeBTCBDividends(dividends) (#1826)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1827)
Reentrancy in BabyMUSK.updateDividendTracker(address) (#1501-1516):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1508)
- newDividendTracker.excludeFromDividends(address(this)) (#1509)
- newDividendTracker.excludeFromDividends(owner()) (#1510)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1511)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1513)
Reentrancy in BabyMUSK.whitelistDxSale(address,address) (#1444-1451):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1446)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1528)
- excludeFromFees(_presaleAddress,true) (#1447)
Reentrancy in BabyMUSK.whitelistDxSale(address,address) (#1444-1451):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1446)
- dividendTracker.excludeFromDividends(_routerAddress) (#1449)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1528)
- excludeFromFees(_routerAddress,true) (#1450)
Apply the check-effects-interactions pattern.

Additional information: link

BabyMUSKDividendTracker.getAccount(address) (#1896-1939) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1936-1938)
BabyMUSKDividendTracker.canAutoClaim(uint256) (#1960-1966) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1961)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1965)
Avoid relying on block.timestamp.

Additional information: link

BabyMUSK._transfer(address,address,uint256) (#1650-1735) compares to a boolean constant:
-to == uniswapV2Pair && pauseSell == true && from != owner() (#1667)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '^0.6.0', '^0.6.6']
- ^0.6.0 (#7)
- >=0.6.0<0.8.0 (#85)
- >=0.6.2 (#110)
- >=0.6.2 (#207)
- >=0.5.0 (#252)
- >=0.5.0 (#271)
- ^0.6.6 (#326)
- ^0.6.0 (#392)
- ^0.6.0 (#459)
- ^0.6.0 (#484)
- ^0.6.6 (#525)
- ^0.6.6 (#571)
- ^0.6.0 (#589)
- ^0.6.0 (#896)
- ^0.6.6 (#1113)
- ^0.6.6 (#1316)
Use one Solidity version.

Additional information: link

Context._msgData() (#102-105) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1271-1277) is never used and should be removed
ERC20._setupDecimals(uint8) (#872-874) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1083-1086) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1045-1048) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1103-1106) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#917-921) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#953-956) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#963-966) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#938-946) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#928-931) is never used and should be removed
SafeMathInt.div(int256,int256) (#544-550) is never used and should be removed
SafeMathInt.mul(int256,int256) (#534-542) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.6.0 (#7) allows old versions
Pragma version>=0.6.0<0.8.0 (#85) is too complex
Pragma version>=0.6.2 (#110) allows old versions
Pragma version>=0.6.2 (#207) allows old versions
Pragma version>=0.5.0 (#252) allows old versions
Pragma version>=0.5.0 (#271) allows old versions
Pragma version^0.6.6 (#326) allows old versions
Pragma version^0.6.0 (#392) allows old versions
Pragma version^0.6.0 (#459) allows old versions
Pragma version^0.6.0 (#484) allows old versions
Pragma version^0.6.6 (#525) allows old versions
Pragma version^0.6.6 (#571) allows old versions
Pragma version^0.6.0 (#589) allows old versions
Pragma version^0.6.0 (#896) allows old versions
Pragma version^0.6.6 (#1113) allows old versions
Pragma version^0.6.6 (#1316) 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

Function IUniswapV2Router01.WETH() (#114) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#288) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#289) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#306) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1237) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1244) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1251) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1261) is not in mixedCase
Constant DividendPayingToken.magnitude (#1136) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BabyMUSK.whitelistDxSale(address,address)._presaleAddress (#1444) is not in mixedCase
Parameter BabyMUSK.whitelistDxSale(address,address)._routerAddress (#1444) is not in mixedCase
Function BabyMUSK.ChangeDividendRewardsFee(uint256) (#1471-1473) is not in mixedCase
Parameter BabyMUSKDividendTracker.getAccount(address)._account (#1896) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#103)" inContext (#97-106)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in BabyMUSK._transfer(address,address,uint256) (#1650-1735):
External calls:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
External calls sending eth:
- sendBNBToMarketing(marketingSwap) (#1686)
- marketingWallet.transfer(address(this).balance) (#1645)
- swapAndLiquify(swapTokens) (#1689)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1809-1816)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1689)
- _allowances[owner][spender] = amount (#861)
- swapAndSendDividends(sellTokens) (#1692)
- _allowances[owner][spender] = amount (#861)
- super._transfer(from,address(this),fees) (#1717)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#799)
- _balances[recipient] = _balances[recipient].add(amount) (#800)
- super._transfer(from,to,amount) (#1720)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#799)
- _balances[recipient] = _balances[recipient].add(amount) (#800)
- swapping = false (#1694)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#862)
- swapAndLiquify(swapTokens) (#1689)
- Approval(owner,spender,amount) (#862)
- swapAndSendDividends(sellTokens) (#1692)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1729)
- SendDividends(tokens,dividends) (#1827)
- swapAndSendDividends(sellTokens) (#1692)
- SwapAndLiquify(half,newBalance,otherHalf) (#1757)
- swapAndLiquify(swapTokens) (#1689)
- Transfer(sender,recipient,amount) (#801)
- super._transfer(from,to,amount) (#1720)
- Transfer(sender,recipient,amount) (#801)
- super._transfer(from,address(this),fees) (#1717)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#119) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#120)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1216) is too similar to BabyMUSKDividendTracker.getAccount(address).withdrawableDividends (#1901)
Prevent variables from having similar names.

Additional information: link

BabyMUSK.constructor() (#1396-1438) uses literals with too many digits:
- _mint(owner(),420000000000000000 * (10 ** 9)) (#1437)
BabyMUSK.updateGasForProcessing(uint256) (#1564-1569) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BabyMUSK: gasForProcessing must be between 200,000 and 500,000) (#1565)
BabyMUSK.slitherConstructorVariables() (#1319-1831) uses literals with too many digits:
- swapTokensAtAmount = 1000000000 * (10 ** 9) (#1337)
BabyMUSK.slitherConstructorVariables() (#1319-1831) uses literals with too many digits:
- gasForProcessing = 300000 (#1348)
BabyMUSKDividendTracker.getAccountAtIndex(uint256) (#1941-1958) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1952)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendPayingToken.lastAmount (#1139) is never used in BabyMUSKDividendTracker (#1833-2044)
Remove unused state variables.

Additional information: link

BabyMUSK.swapTokensAtAmount (#1337) should be constant
DividendPayingToken.dividendToken (#1141) should be constant
DividendPayingToken.lastAmount (#1139) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#337-339)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#341-346)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#348-350)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#354-356)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#442-445)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#451-455)
name() should be declared external:
- ERC20.name() (#649-651)
symbol() should be declared external:
- ERC20.symbol() (#657-659)
decimals() should be declared external:
- ERC20.decimals() (#674-676)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#700-703)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#708-710)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#719-722)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#737-741)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#755-758)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#774-777)
distributeDividends() should be declared external:
- DividendPayingToken.distributeDividends() (#1180-1191)
distributeBTCBDividends(uint256) should be declared external:
- DividendPayingToken.distributeBTCBDividends(uint256) (#1194-1205)
withdrawDividend() should be declared external:
- BabyMUSKDividendTracker.withdrawDividend() (#1866-1868)
- DividendPayingToken.withdrawDividend() (#1209-1211)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1237-1239)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1251-1253)
whitelistDxSale(address,address) should be declared external:
- BabyMUSK.whitelistDxSale(address,address) (#1444-1451)
blacklistAddress(address) should be declared external:
- BabyMUSK.blacklistAddress(address) (#1491-1493)
unBlockAddress(address) should be declared external:
- BabyMUSK.unBlockAddress(address) (#1495-1497)
updateDividendTracker(address) should be declared external:
- BabyMUSK.updateDividendTracker(address) (#1501-1516)
updateUniswapV2Router(address) should be declared external:
- BabyMUSK.updateUniswapV2Router(address) (#1518-1522)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BabyMUSK.excludeMultipleAccountsFromFees(address[],bool) (#1531-1537)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BabyMUSK.setAutomatedMarketMakerPair(address,bool) (#1539-1543)
updateLiquidityWallet(address) should be declared external:
- BabyMUSK.updateLiquidityWallet(address) (#1557-1562)
updateGasForProcessing(uint256) should be declared external:
- BabyMUSK.updateGasForProcessing(uint256) (#1564-1569)
isExcludedFromRewards(address) should be declared external:
- BabyMUSK.isExcludedFromRewards(address) (#1579-1581)
isExcludedFromFees(address) should be declared external:
- BabyMUSK.isExcludedFromFees(address) (#1587-1589)
withdrawableDividendOf(address) should be declared external:
- BabyMUSK.withdrawableDividendOf(address) (#1591-1593)
dividendTokenBalanceOf(address) should be declared external:
- BabyMUSK.dividendTokenBalanceOf(address) (#1595-1597)
getAccountAtIndex(uint256) should be declared external:
- BabyMUSKDividendTracker.getAccountAtIndex(uint256) (#1941-1958)
process(uint256) should be declared external:
- BabyMUSKDividendTracker.process(uint256) (#1985-2030)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. 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


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.


Last post in Twitter was more than 30 days ago


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Twitter account has few posts

Search:


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

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit 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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Anti-Scam Checks

Price for BabyMUSK

News for BabyMUSK