BabyBingDwenDwen Token Logo

BabyBingDwenDwen Token

About BabyBingDwenDwen

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 20 February 2022

report
Code:


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

BabyBingDwenDwen.clearBalance() (#446-449) sends eth to arbitrary user
Dangerous calls:
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#447)
BabyBingDwenDwen.swapBack() (#458-505) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyBingDwenDwen._transferFrom(address,address,uint256) (#382-405):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#469-475)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- swapBack() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#398)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#401)
- amountReceived = takeFee(sender,recipient,amount) (#400)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#429)
Reentrancy in BabyBingDwenDwen.launch() (#324-329):
External calls:
- addLiquidity() (#326)
- router.addLiquidityETH{value: amountETH}(address(this),_balances[address(this)],_balances[address(this)],amountETH,autoLiquidityReceiver,block.timestamp) (#333-340)
State variables written after the call(s):
- timeLaunched = block.timestamp (#327)
Reentrancy in BabyBingDwenDwen.swapBack() (#458-505):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#469-475)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
State variables written after the call(s):
- swapThreshold = swapThreshold (#504)
- swapThreshold = largeSwapThreshold (#504)
- swapThreshold = smallSwapThreshold (#504)
Apply the check-effects-interactions pattern.

Additional information: link

BabyBingDwenDwen.launch() (#324-329) uses a dangerous strict equality:
- timeLaunched == 0 (#325)
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.

Contract ticker (BabyBingDwenDwen) has length of 16 chars.
Not a direct threat, but may indicate unreliable intentions of developer.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

Variable 'BabyBingDwenDwen.swapBack().success (#484)' in BabyBingDwenDwen.swapBack() (#458-505) potentially used before declaration: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
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

BabyBingDwenDwen.swapBack().success_scope_0 (#487) 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

BabyBingDwenDwen.addLiquidity() (#331-341) ignores return value by router.addLiquidityETH{value: amountETH}(address(this),_balances[address(this)],_balances[address(this)],amountETH,autoLiquidityReceiver,block.timestamp) (#333-340)
BabyBingDwenDwen.swapBack() (#458-505) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyBingDwenDwen.setTargetLiquidity(uint256,uint256) (#435-438) should emit an event for:
- targetLiquidity = _target (#436)
- targetLiquidityDenominator = _denominator (#437)
BabyBingDwenDwen.setSwapBackSettings(bool,uint256,uint256,bool) (#515-521) should emit an event for:
- smallSwapThreshold = _amountS (#518)
- largeSwapThreshold = _amountL (#519)
- swapThreshold = smallSwapThreshold (#520)
Emit an event for critical parameter changes.

Additional information: link

BabyBingDwenDwen.constructor(uint256).deployer (#306) lacks a zero-check on :
- autoLiquidityReceiver = deployer (#316)
- giveawayFeeReceiver = deployer (#317)
- marketingFeeReceiver = deployer (#318)
BabyBingDwenDwen.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#545) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#546)
BabyBingDwenDwen.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#545) lacks a zero-check on :
- giveawayFeeReceiver = _giveawayFeeReceiver (#547)
BabyBingDwenDwen.setFeeReceivers(address,address,address)._marketingFeeReceiver (#545) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#548)
Check that the address is not zero.

Additional information: link

BabyBingDwenDwen.swapBack() (#458-505) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#469-475)
BabyBingDwenDwen.swapBack() (#458-505) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
BabyBingDwenDwen.swapBack() (#458-505) has external calls inside a loop: router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
BabyBingDwenDwen.swapBack() (#458-505) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
BabyBingDwenDwen.swapBack() (#458-505) has external calls inside a loop: (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BabyBingDwenDwen.constructor(uint256) (#301-322):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#308)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#309)
- _allowances[address(this)][deployer] = type()(uint256).max (#310)
- _balances[deployer] = _totalSupply (#320)
- _maxWalletSize = _totalSupply / 100 (#311)
- autoLiquidityReceiver = deployer (#316)
- giveawayFeeReceiver = deployer (#317)
- isFeeExempt[deployer] = true (#315)
- isTxLimitExempt[address(router)] = true (#313)
- isTxLimitExempt[deployer] = true (#314)
- marketingFeeReceiver = deployer (#318)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyBingDwenDwen._transferFrom(address,address,uint256) (#382-405):
External calls:
- swapBack() (#396)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#469-475)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- swapBack() (#396)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#430)
- amountReceived = takeFee(sender,recipient,amount) (#400)
- Transfer(sender,recipient,amountReceived) (#403)
Reentrancy in BabyBingDwenDwen.constructor(uint256) (#301-322):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#308)
Event emitted after the call(s):
- Transfer(address(0),address(this),_totalSupply) (#321)
Reentrancy in BabyBingDwenDwen.swapBack() (#458-505):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#469-475)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#493-500)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#501)
Apply the check-effects-interactions pattern.

Additional information: link

BabyBingDwenDwen.launch() (#324-329) uses timestamp for comparisons
Dangerous comparisons:
- timeLaunched == 0 (#325)
BabyBingDwenDwen._transferFrom(address,address,uint256) (#382-405) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < timeLaunched + antiSnipeDuration (#385)
BabyBingDwenDwen.antisnipeOver() (#414-416) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > timeLaunched + antiSnipeDuration (#415)
Avoid relying on block.timestamp.

Additional information: link

BabyBingDwenDwen.swapping() (#299) has costly operations inside a loop:
- inSwap = true (#299)
BabyBingDwenDwen.swapping() (#299) has costly operations inside a loop:
- inSwap = false (#299)
BabyBingDwenDwen.swapBack() (#458-505) has costly operations inside a loop:
- swapThreshold = swapThreshold (#504)
BabyBingDwenDwen.swapBack() (#458-505) has costly operations inside a loop:
- swapThreshold = largeSwapThreshold (#504)
BabyBingDwenDwen.swapBack() (#458-505) has costly operations inside a loop:
- swapThreshold = smallSwapThreshold (#504)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#134-137) is never used and should be removed
Remove unused functions.

Additional information: link

BabyBingDwenDwen._transferLimit (#262) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 1000
BabyBingDwenDwen._maxWalletSize (#263) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
BabyBingDwenDwen.smallSwapThreshold (#294) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(613493726).div(100000000000)
BabyBingDwenDwen.largeSwapThreshold (#295) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(734945130).div(100000000000)
BabyBingDwenDwen.swapThreshold (#297) is set pre-construction with a non-constant function or state variable:
- smallSwapThreshold
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.11 (#17) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 BabyBingDwenDwen.clearBalance() (#446-449):
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#447)
Low level call in BabyBingDwenDwen.swapBack() (#458-505):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing.add(amountBNBGiveaway)}() (#484)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#487)
- (success2) = address(giveawayFeeReceiver).call{gas: 30000,value: amountBNBGiveaway}() (#488)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#151) is not in mixedCase
Parameter BabyBingDwenDwen.setTargetLiquidity(uint256,uint256)._target (#435) is not in mixedCase
Parameter BabyBingDwenDwen.setTargetLiquidity(uint256,uint256)._denominator (#435) is not in mixedCase
Parameter BabyBingDwenDwen.setSwapBackSettings(bool,uint256,uint256,bool)._enabled (#515) is not in mixedCase
Parameter BabyBingDwenDwen.setSwapBackSettings(bool,uint256,uint256,bool)._amountS (#515) is not in mixedCase
Parameter BabyBingDwenDwen.setSwapBackSettings(bool,uint256,uint256,bool)._amountL (#515) is not in mixedCase
Parameter BabyBingDwenDwen.setSwapBackSettings(bool,uint256,uint256,bool)._alternate (#515) is not in mixedCase
Parameter BabyBingDwenDwen.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#545) is not in mixedCase
Parameter BabyBingDwenDwen.setFeeReceivers(address,address,address)._marketingFeeReceiver (#545) is not in mixedCase
Parameter BabyBingDwenDwen.setFeeReceivers(address,address,address)._giveawayFeeReceiver (#545) is not in mixedCase
Constant BabyBingDwenDwen.mainnetRouter (#252) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyBingDwenDwen._name (#257) is not in mixedCase
Variable BabyBingDwenDwen._symbol (#258) is not in mixedCase
Constant BabyBingDwenDwen._decimals (#259) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyBingDwenDwen._totalSupply (#261) is not in mixedCase
Variable BabyBingDwenDwen._transferLimit (#262) is not in mixedCase
Variable BabyBingDwenDwen._maxWalletSize (#263) is not in mixedCase
Variable BabyBingDwenDwen._balances (#265) is not in mixedCase
Variable BabyBingDwenDwen._allowances (#266) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#135)" inContext (#129-138)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#156) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#157)
Prevent variables from having similar names.

Additional information: link

BabyBingDwenDwen.slitherConstructorVariables() (#249-553) uses literals with too many digits:
- _totalSupply = 1000000 * (10 ** _decimals) (#261)
BabyBingDwenDwen.slitherConstructorVariables() (#249-553) uses literals with too many digits:
- smallSwapThreshold = _totalSupply.mul(613493726).div(100000000000) (#294)
BabyBingDwenDwen.slitherConstructorVariables() (#249-553) uses literals with too many digits:
- largeSwapThreshold = _totalSupply.mul(734945130).div(100000000000) (#295)
BabyBingDwenDwen.slitherConstructorConstantVariables() (#249-553) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#254)
BabyBingDwenDwen.slitherConstructorConstantVariables() (#249-553) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#255)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BabyBingDwenDwen._name (#257) should be constant
BabyBingDwenDwen._symbol (#258) should be constant
BabyBingDwenDwen._totalSupply (#261) should be constant
BabyBingDwenDwen.charityFee (#277) should be constant
BabyBingDwenDwen.devFee (#278) should be constant
BabyBingDwenDwen.feeDenominator (#280) should be constant
BabyBingDwenDwen.giveawayFee (#276) should be constant
BabyBingDwenDwen.liquidityFee (#275) should be constant
BabyBingDwenDwen.marketingFee (#274) should be constant
BabyBingDwenDwen.totalFee (#279) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#233-236)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#242-246)
transferLiquidity(address,uint256) should be declared external:
- BabyBingDwenDwen.transferLiquidity(address,uint256) (#377-380)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


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

Search:


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


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for BabyBingDwenDwen