BabyNodes Token Logo

BN [BabyNodes] Token

About BN

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 25 December 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

Reentrancy in BabyNodes._transfer(address,address,uint256) (#1795-1917):
External calls:
- swapBack() (#1869)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1928-1934)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#2000-2002)
External calls sending eth:
- swapBack() (#1869)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#2000-2002)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1910)
- _balances[sender] = senderBalance - amount (#401)
- _balances[recipient] += amount (#403)
- super._transfer(from,to,amount) (#1916)
- _balances[sender] = senderBalance - amount (#401)
- _balances[recipient] += amount (#403)
- swapping = false (#1871)
- tokensForBuyBack += (fees * 33) / 99 (#1891)
- tokensForBuyBack += (fees * sellBuyBackFee) / sellTotalFees (#1898)
- tokensForBuyBack += (fees * buyBuyBackFee) / buyTotalFees (#1905)
- tokensForLiquidity += (fees * 33) / 99 (#1890)
- tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1897)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1904)
- tokensForMarketing += (fees * 33) / 99 (#1892)
- tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1899)
- tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1906)
Apply the check-effects-interactions pattern.

Additional information: link

BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-tokensForLiquidity += (fees * 33) / 99 (#1890)
-fees = amount.mul(sellTotalFees).div(100) (#1896)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1896)
-tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1897)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1903)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1904)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-tokensForBuyBack += (fees * 33) / 99 (#1891)
-fees = amount.mul(buyTotalFees).div(100) (#1903)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1903)
-tokensForBuyBack += (fees * buyBuyBackFee) / buyTotalFees (#1905)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-tokensForBuyBack += (fees * sellBuyBackFee) / sellTotalFees (#1898)
-fees = amount.mul(buyTotalFees).div(100) (#1903)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1903)
-tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1906)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1899)
-fees = amount.mul(buyTotalFees).div(100) (#1903)
BabyNodes._transfer(address,address,uint256) (#1795-1917) performs a multiplication on the result of a division:
-tokensForMarketing += (fees * 33) / 99 (#1892)
-fees = amount.mul(buyTotalFees).div(100) (#1903)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in BabyNodes.constructor() (#1585-1653):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1595-1596)
State variables written after the call(s):
- transferOwnership(newOwner) (#1652)
- _owner = newOwner (#966)
Reentrancy in BabyNodes.swapBack() (#1952-2003):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1970)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1928-1934)
State variables written after the call(s):
- tokensForBuyBack = 0 (#1985)
- tokensForLiquidity = 0 (#1983)
- tokensForMarketing = 0 (#1984)
Apply the check-effects-interactions pattern.

Additional information: link

BabyNodes.addLiquidity(uint256,uint256) (#1937-1950) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyNodes.constructor().totalSupply (#1610) shadows:
- ERC20.totalSupply() (#218-220) (function)
- IERC20.totalSupply() (#12) (function)
Rename the local variables that shadow another component.

Additional information: link

BabyNodes.setSwapTokensAtAmount(uint256) (#1692-1699) should emit an event for:
- swapTokensAtAmount = newAmount (#1697)
BabyNodes.setMaxTransactionAmount(uint256) (#1701-1703) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 6) (#1702)
BabyNodes.setMaxWalletAmount(uint256) (#1705-1707) should emit an event for:
- maxWallet = newNum * (10 ** 6) (#1706)
BabyNodes.setBuyFees(uint256,uint256,uint256) (#1721-1731) should emit an event for:
- buyMarketingFee = _marketingFee (#1726)
- buyLiquidityFee = _liquidityFee (#1727)
- buyBuyBackFee = _buyBackFee (#1728)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyBuyBackFee (#1729)
BabyNodes.setSellFees(uint256,uint256,uint256) (#1733-1743) should emit an event for:
- sellMarketingFee = _marketingFee (#1738)
- sellLiquidityFee = _liquidityFee (#1739)
- sellBuyBackFee = _buyBackFee (#1740)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellBuyBackFee (#1741)
Emit an event for critical parameter changes.

Additional information: link

BabyNodes.setMarketingWallet(address).newMarketingWallet (#1768) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1770)
BabyNodes.setBuyBackWallet(address).newWallet (#1773) lacks a zero-check on :
- buyBackWallet = newWallet (#1775)
BabyNodes.clearStuckBNBBalance(address).addr (#1778) lacks a zero-check on :
- (sent) = address(addr).call{value: (address(this).balance)}() (#1779)
Check that the address is not zero.

Additional information: link

Reentrancy in BabyNodes.constructor() (#1585-1653):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1595-1596)
State variables written after the call(s):
- _mint(newOwner,totalSupply) (#1651)
- _balances[account] += amount (#425)
- _isExcludedFromContractBuyingLimit[address(this)] = true (#1641)
- _isExcludedFromContractBuyingLimit[0x10ED43C718714eb63d5aA57B78B54704E256024E] = true (#1642-1644)
- _isExcludedFromContractBuyingLimit[address(uniswapV2Pair)] = true (#1645)
- excludeFromFees(newOwner,true) (#1631)
- _isExcludedFromFees[account] = excluded (#1746)
- excludeFromFees(address(this),true) (#1632)
- _isExcludedFromFees[account] = excluded (#1746)
- excludeFromFees(address(0xdead),true) (#1633)
- _isExcludedFromFees[account] = excluded (#1746)
- excludeFromFees(buyBackWallet,true) (#1634)
- _isExcludedFromFees[account] = excluded (#1746)
- excludeFromMaxTransaction(address(uniswapV2Pair),true) (#1597)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1713)
- excludeFromMaxTransaction(newOwner,true) (#1636)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1713)
- excludeFromMaxTransaction(address(this),true) (#1637)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1713)
- excludeFromMaxTransaction(buyBackWallet,true) (#1638)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1713)
- excludeFromMaxTransaction(address(0xdead),true) (#1639)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1713)
- _mint(newOwner,totalSupply) (#1651)
- _totalSupply += amount (#424)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1598)
- automatedMarketMakerPairs[pair] = value (#1763)
- buyBackWallet = msg.sender (#1628)
- buyBuyBackFee = _buyBuyBackFee (#1619)
- buyLiquidityFee = _buyLiquidityFee (#1618)
- buyMarketingFee = _buyMarketingFee (#1617)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyBuyBackFee (#1620)
- marketingWallet = msg.sender (#1627)
- maxTransactionAmount = (totalSupply * 1) / 100 (#1612)
- maxWallet = (totalSupply * 5) / 100 (#1615)
- sellBuyBackFee = _sellBuyBackFee (#1624)
- sellLiquidityFee = _sellLiquidityFee (#1623)
- sellMarketingFee = _sellMarketingFee (#1622)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellBuyBackFee (#1625)
- swapTokensAtAmount = 1000 * 10 ** 6 (#1614)
Reentrancy in BabyNodes.swapBack() (#1952-2003):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1970)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1928-1934)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- _allowances[owner][spender] = amount (#480)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyNodes._transfer(address,address,uint256) (#1795-1917):
External calls:
- swapBack() (#1869)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1928-1934)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#2000-2002)
External calls sending eth:
- swapBack() (#1869)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#2000-2002)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#405)
- super._transfer(from,to,amount) (#1916)
- Transfer(sender,recipient,amount) (#405)
- super._transfer(from,address(this),fees) (#1910)
Reentrancy in BabyNodes.buyBackTokens(uint256) (#2006-2022):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmountInWei}(0,path,address(0xdead),block.timestamp) (#2013-2020)
Event emitted after the call(s):
- BuyBackTriggered(bnbAmountInWei) (#2021)
Reentrancy in BabyNodes.constructor() (#1585-1653):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1595-1596)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1747)
- excludeFromFees(address(this),true) (#1632)
- ExcludeFromFees(account,excluded) (#1747)
- excludeFromFees(newOwner,true) (#1631)
- ExcludeFromFees(account,excluded) (#1747)
- excludeFromFees(buyBackWallet,true) (#1634)
- ExcludeFromFees(account,excluded) (#1747)
- excludeFromFees(address(0xdead),true) (#1633)
- OwnershipTransferred(oldOwner,newOwner) (#967)
- transferOwnership(newOwner) (#1652)
- SetAutomatedMarketMakerPair(pair,value) (#1765)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1598)
- Transfer(address(0),account,amount) (#426)
- _mint(newOwner,totalSupply) (#1651)
Reentrancy in BabyNodes.swapBack() (#1952-2003):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1970)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1928-1934)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1942-1949)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#481)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1991)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1992-1996)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#546-556) uses assembly
- INLINE ASM (#552-554)
Address.verifyCallResult(bool,bytes,string) (#752-772) uses assembly
- INLINE ASM (#764-767)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>0.6.0', '^0.8.7']
- ^0.8.7 (#3)
- >0.6.0 (#1255)
- ABIEncoderV2 (#1495)
Use one Solidity version.

Additional information: link

Address.functionCall(address,bytes) (#605-610) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#637-649) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#717-727) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#735-744) is never used and should be removed
Address.functionStaticCall(address,bytes) (#681-692) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#700-709) is never used and should be removed
Address.sendValue(address,uint256) (#574-585) is never used and should be removed
Context._msgData() (#129-131) is never used and should be removed
Counters.current(Counters.Counter) (#1230-1232) is never used and should be removed
Counters.decrement(Counters.Counter) (#1240-1246) is never used and should be removed
Counters.increment(Counters.Counter) (#1234-1238) is never used and should be removed
Counters.reset(Counters.Counter) (#1248-1250) is never used and should be removed
ERC20._burn(address,uint256) (#442-457) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (#817-833) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (#851-872) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (#835-849) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (#798-808) is never used and should be removed
SafeMath.add(uint256,uint256) (#1078-1080) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1176-1185) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1136-1138) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1202-1211) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#1153-1162) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#987-997) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#1041-1050) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#1057-1066) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#1020-1034) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#1004-1013) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>0.6.0 (#1255) 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 Address.sendValue(address,uint256) (#574-585):
- (success) = recipient.call{value: amount}() (#580)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#657-673):
- (success,returndata) = target.call{value: value}(data) (#669-671)
Low level call in Address.functionStaticCall(address,bytes,string) (#700-709):
- (success,returndata) = target.staticcall(data) (#707)
Low level call in Address.functionDelegateCall(address,bytes,string) (#735-744):
- (success,returndata) = target.delegatecall(data) (#742)
Low level call in BabyNodes.clearStuckBNBBalance(address) (#1778-1781):
- (sent) = address(addr).call{value: (address(this).balance)}() (#1779)
Low level call in BabyNodes.swapBack() (#1952-2003):
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1987-1989)
- (success,None) = address(buyBackWallet).call{value: address(this).balance}() (#2000-2002)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Router01.WETH() (#1290) is not in mixedCase
Event BabyNodesmarketingWalletUpdated(address,address) (#1567-1570) is not in CapWords
Event BabyNodesbuyBackWalletUpdated(address,address) (#1572-1575) is not in CapWords
Parameter BabyNodes.setBuyFees(uint256,uint256,uint256)._marketingFee (#1722) is not in mixedCase
Parameter BabyNodes.setBuyFees(uint256,uint256,uint256)._liquidityFee (#1723) is not in mixedCase
Parameter BabyNodes.setBuyFees(uint256,uint256,uint256)._buyBackFee (#1724) is not in mixedCase
Parameter BabyNodes.setSellFees(uint256,uint256,uint256)._marketingFee (#1734) is not in mixedCase
Parameter BabyNodes.setSellFees(uint256,uint256,uint256)._liquidityFee (#1735) is not in mixedCase
Parameter BabyNodes.setSellFees(uint256,uint256,uint256)._buyBackFee (#1736) is not in mixedCase
Constant BabyNodes.deadAddress (#1504) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyNodes._isExcludedMaxTransactionAmount (#1539) is not in mixedCase
Variable BabyNodes._isExcludedFromContractBuyingLimit (#1540) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1295) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1296)
Prevent variables from having similar names.

Additional information: link

name() should be declared external:
- ERC20.name() (#186-188)
symbol() should be declared external:
- ERC20.symbol() (#194-196)
decimals() should be declared external:
- ERC20.decimals() (#211-213)
totalSupply() should be declared external:
- ERC20.totalSupply() (#218-220)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#243-251)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#256-264)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#273-281)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#296-313)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#327-338)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#354-369)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#948-950)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BabyNodes.setAutomatedMarketMakerPair(address,bool) (#1750-1760)
isExcludedFromFees(address) should be declared external:
- BabyNodes.isExcludedFromFees(address) (#1791-1793)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Number of Binance Smart Chain (BSC) token holders is low.


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 find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for BN