Baby Cheebs Token Logo

$BC [Baby Cheebs] Token

About $BC

Listings

Not Found
Token 21 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 26 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...)

BabyCheebs.swapBack() (#569-638) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyCheebs._transferFrom(address,address,uint256) (#504-542):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
External calls sending eth:
- swapBack() (#524)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#527)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#532-534)
- gonAmountReceived = takeFee(sender,gonAmount) (#529-531)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#561-563)
Apply the check-effects-interactions pattern.

Additional information: link

BabyCheebs.swapBack().success (#613) is written in both
(success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
(success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
BabyCheebs.swapBack().success (#613) is written in both
(success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
(success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
BabyCheebs.swapBack().success (#613) is written in both
(success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
success = false (#626)
Fix or remove the writes.

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 ($BC) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

ERC20Detailed.constructor(string,string,uint8).name (#140) shadows:
- ERC20Detailed.name() (#149-151) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#141) shadows:
- ERC20Detailed.symbol() (#153-155) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#142) shadows:
- ERC20Detailed.decimals() (#157-159) (function)
Rename the local variables that shadow another component.

Additional information: link

BabyCheebs.setMaster(address) (#452-454) should emit an event for:
- master = _master (#453)
Emit an event for critical parameter changes.

Additional information: link

BabyCheebs.swapBack() (#569-638) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#576-578)
-amountToLiquify = contractTokenBalance.mul(dynamicLiquidityFee).div(totalFee).div(2) (#579-582)
BabyCheebs.setMaxWalletToken(uint256,uint256) (#712-717) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#716)
BabyCheebs.setSwapBackSettings(bool,uint256,uint256) (#735-742) performs a multiplication on the result of a division:
-gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#741)
BabyCheebs.getLiquidityBacking(uint256) (#826-834) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#831)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#832-833)
BabyCheebs.slitherConstructorVariables() (#309-851) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(100).mul(4) (#348)
Consider ordering multiplication before division.

Additional information: link

BabyCheebs.swapBack() (#569-638) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyCheebs.setMaxWalletToken(uint256,uint256) (#712-717) should emit an event for:
- gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#716)
BabyCheebs.setSwapBackSettings(bool,uint256,uint256) (#735-742) should emit an event for:
- gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#741)
BabyCheebs.setTargetLiquidity(uint256,uint256) (#744-747) should emit an event for:
- targetLiquidity = target (#745)
- targetLiquidityDenominator = accuracy (#746)
BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256) (#761-775) should emit an event for:
- GiveawayFee = _GiveawayFee (#768)
- liquidityFee = _liquidityFee (#769)
- RewardsFee = _RewardsFee (#770)
- marketingFee = _marketingFee (#771)
- totalFee = GiveawayFee.add(liquidityFee).add(marketingFee).add(RewardsFee) (#772)
- feeDenominator = _feeDenominator (#773)
Emit an event for critical parameter changes.

Additional information: link

BabyCheebs.setMaster(address)._master (#452) lacks a zero-check on :
- master = _master (#453)
BabyCheebs.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#778) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#783)
BabyCheebs.setFeeReceivers(address,address,address,address)._GiveawayFeeReceiver (#779) lacks a zero-check on :
- GiveawayFeeReceiver = _GiveawayFeeReceiver (#784)
BabyCheebs.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#780) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#785)
BabyCheebs.setFeeReceivers(address,address,address,address)._RewardsFeeReceiver (#781) lacks a zero-check on :
- RewardsFeeReceiver = _RewardsFeeReceiver (#786)
BabyCheebs.clearStuckBalance(uint256,address).adr (#797) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#799-801)
Check that the address is not zero.

Additional information: link

BabyCheebs.swapBack() (#569-638) has external calls inside a loop: path[1] = router.WETH() (#587)
BabyCheebs.swapBack() (#569-638) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
BabyCheebs.swapBack() (#569-638) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
BabyCheebs.swapBack() (#569-638) has external calls inside a loop: (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
BabyCheebs.swapBack() (#569-638) has external calls inside a loop: (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
BabyCheebs.swapBack() (#569-638) has external calls inside a loop: router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BabyCheebs.constructor() (#421-450):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#424-427)
State variables written after the call(s):
- GiveawayFeeReceiver = 0xa04313a761415435d45F470CE1246692F201f6fD (#446)
- RewardsFeeReceiver = 0xc24A9665430F41D308AF60fB8daE896486ED5191 (#447)
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#428)
- _gonBalances[msg.sender] = TOTAL_GONS (#432)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#433)
- _isFeeExempt[msg.sender] = true (#436)
- _isFeeExempt[address(this)] = true (#437)
- _isMaxWalletExempt[pair] = true (#439)
- _isMaxWalletExempt[DEAD] = true (#440)
- _isMaxWalletExempt[address(this)] = true (#441)
- _isMaxWalletExempt[msg.sender] = true (#442)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#431)
- autoLiquidityReceiver = 0x142C2C95bde44c142f459aBD74B27cDc629c2DE7 (#444)
- initialDistributionFinished = false (#435)
- marketingFeeReceiver = 0x6fc39D102B11b9F5D4d5588A95510cEA83004E39 (#445)
- pairContract = InterfaceLP(pair) (#429)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyCheebs._transferFrom(address,address,uint256) (#504-542):
External calls:
- swapBack() (#524)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
External calls sending eth:
- swapBack() (#524)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#629-636)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#564)
- gonAmountReceived = takeFee(sender,gonAmount) (#529-531)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#536-540)
Reentrancy in BabyCheebs.constructor() (#421-450):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#424-427)
Event emitted after the call(s):
- Transfer(address(0x0),msg.sender,_totalSupply) (#449)
Reentrancy in BabyCheebs.rebase(uint256,int256) (#393-419):
External calls:
- pairContract.sync() (#415)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#417)
Apply the check-effects-interactions pattern.

Additional information: link

BabyCheebs.swapping() (#376-380) has costly operations inside a loop:
- inSwap = true (#377)
BabyCheebs.swapping() (#376-380) has costly operations inside a loop:
- inSwap = false (#379)
Use a local variable to hold the loop computation result.

Additional information: link

BabyCheebs.transferToAddressETH(address,uint256) (#804-808) is never used and should be removed
SafeMath.mod(uint256,uint256) (#95-98) is never used and should be removed
SafeMathInt.abs(int256) (#192-195) is never used and should be removed
SafeMathInt.add(int256,int256) (#186-190) is never used and should be removed
SafeMathInt.div(int256,int256) (#174-178) is never used and should be removed
SafeMathInt.mul(int256,int256) (#166-172) is never used and should be removed
SafeMathInt.sub(int256,int256) (#180-184) is never used and should be removed
Remove unused functions.

Additional information: link

BabyCheebs.totalFee (#354-355) is set pre-construction with a non-constant function or state variable:
- GiveawayFee.add(liquidityFee).add(marketingFee).add(RewardsFee)
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.7.4 (#44) allows old versions
solc-0.7.4 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 BabyCheebs.swapBack() (#569-638):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#613-616)
- (success,None) = address(RewardsFeeReceiver).call{gas: 30000,value: amountETHRewards}() (#617-620)
- (success,None) = address(GiveawayFeeReceiver).call{gas: 30000,value: amountETHEco}() (#621-624)
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() (#250) is not in mixedCase
Parameter BabyCheebs.setMaster(address)._master (#452) is not in mixedCase
Parameter BabyCheebs.setLP(address)._address (#456) is not in mixedCase
Parameter BabyCheebs.enableTransfer(address)._addr (#692) is not in mixedCase
Parameter BabyCheebs.setFeeExempt(address)._addr (#696) is not in mixedCase
Parameter BabyCheebs.checkFeeExempt(address)._addr (#700) is not in mixedCase
Parameter BabyCheebs.setMaxWalletExempt(address)._addr (#704) is not in mixedCase
Parameter BabyCheebs.checkMaxWalletExempt(address)._addr (#708) is not in mixedCase
Parameter BabyCheebs.setMaxWalletToken(uint256,uint256)._num (#712) is not in mixedCase
Parameter BabyCheebs.setMaxWalletToken(uint256,uint256)._denom (#712) is not in mixedCase
Parameter BabyCheebs.setSwapBackSettings(bool,uint256,uint256)._enabled (#736) is not in mixedCase
Parameter BabyCheebs.setSwapBackSettings(bool,uint256,uint256)._num (#737) is not in mixedCase
Parameter BabyCheebs.setSwapBackSettings(bool,uint256,uint256)._denom (#738) is not in mixedCase
Parameter BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256)._GiveawayFee (#762) is not in mixedCase
Parameter BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#763) is not in mixedCase
Parameter BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256)._RewardsFee (#764) is not in mixedCase
Parameter BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#765) is not in mixedCase
Parameter BabyCheebs.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#766) is not in mixedCase
Parameter BabyCheebs.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#778) is not in mixedCase
Parameter BabyCheebs.setFeeReceivers(address,address,address,address)._GiveawayFeeReceiver (#779) is not in mixedCase
Parameter BabyCheebs.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#780) is not in mixedCase
Parameter BabyCheebs.setFeeReceivers(address,address,address,address)._RewardsFeeReceiver (#781) is not in mixedCase
Variable BabyCheebs._isFeeExempt (#327) is not in mixedCase
Variable BabyCheebs._isMaxWalletExempt (#328) is not in mixedCase
Variable BabyCheebs.GiveawayFee (#350) is not in mixedCase
Variable BabyCheebs.RewardsFee (#353) is not in mixedCase
Variable BabyCheebs.DEAD (#358) is not in mixedCase
Variable BabyCheebs.ZERO (#359) is not in mixedCase
Variable BabyCheebs.GiveawayFeeReceiver (#363) is not in mixedCase
Variable BabyCheebs.RewardsFeeReceiver (#364) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BabyCheebs.slitherConstructorVariables() (#309-851) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#358)
BabyCheebs.slitherConstructorVariables() (#309-851) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#359)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#164) is never used in SafeMathInt (#162-196)
Remove unused state variables.

Additional information: link

BabyCheebs.DEAD (#358) should be constant
BabyCheebs.ZERO (#359) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

name() should be declared external:
- ERC20Detailed.name() (#149-151)
symbol() should be declared external:
- ERC20Detailed.symbol() (#153-155)
decimals() should be declared external:
- ERC20Detailed.decimals() (#157-159)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#225-228)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#230-232)
rescueToken(address,uint256) should be declared external:
- BabyCheebs.rescueToken(address,uint256) (#789-795)
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. 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 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 $BC