BabyChiHuaHua Token Logo

BCHH [BabyChiHuaHua] Token

About BCHH

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 12 August 2022

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

BABYCHIHUAHUA.sendETHToFee(uint256) (#290-293) sends eth to arbitrary user
Dangerous calls:
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BABYCHIHUAHUA._transfer(address,address,uint256) (#237-274):
External calls:
- swapTokensForEth(contractTokenBalance) (#249)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#281-287)
External calls sending eth:
- sendETHToFee(address(this).balance) (#252)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#273)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#331)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#321)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#322)
- _tokenTransfer(from,to,amount) (#273)
- _rTotal = _rTotal.sub(rFee) (#335)
Apply the check-effects-interactions pattern.

Additional information: link

BABYCHIHUAHUA.rescueForeignTokens(address,address,uint256) (#300-303) ignores return value by Token(_tokenAddr).transfer(_to,_amount) (#302)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


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


Contract ownership is not renounced (belongs to a wallet)

BABYCHIHUAHUA.allowance(address,address).owner (#209) shadows:
- Ownable.owner() (#101-103) (function)
BABYCHIHUAHUA._approve(address,address,uint256).owner (#230) shadows:
- Ownable.owner() (#101-103) (function)
Rename the local variables that shadow another component.

Additional information: link

Ownable.transferOwnership(address).newOwner (#116) lacks a zero-check on :
- _owner = newOwner (#118)
BABYCHIHUAHUA.setNewDevAddress(address).dev (#306) lacks a zero-check on :
- _developmentAddress = dev (#308)
BABYCHIHUAHUA.setNewMarketingAddress(address).markt (#313) lacks a zero-check on :
- _marketingAddress = markt (#315)
Check that the address is not zero.

Additional information: link

Reentrancy in BABYCHIHUAHUA._transfer(address,address,uint256) (#237-274):
External calls:
- swapTokensForEth(contractTokenBalance) (#249)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#281-287)
External calls sending eth:
- sendETHToFee(address(this).balance) (#252)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
State variables written after the call(s):
- _redisFee = _redisFeeOnBuy (#257)
- _redisFee = _redisFeeOnSell (#262)
- _redisFee = 0 (#267)
- _tokenTransfer(from,to,amount) (#273)
- _tFeeTotal = _tFeeTotal.add(tFee) (#336)
- _taxFee = _taxFeeOnBuy (#258)
- _taxFee = _taxFeeOnSell (#263)
- _taxFee = 0 (#268)
Reentrancy in BABYCHIHUAHUA.constructor() (#163-177):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#168-169)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#171)
- _isExcludedFromFee[address(this)] = true (#172)
- _isExcludedFromFee[_developmentAddress] = true (#173)
- _isExcludedFromFee[_marketingAddress] = true (#174)
Reentrancy in BABYCHIHUAHUA.transferFrom(address,address,uint256) (#218-222):
External calls:
- _transfer(sender,recipient,amount) (#219)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#281-287)
External calls sending eth:
- _transfer(sender,recipient,amount) (#219)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#220)
- _allowances[owner][spender] = amount (#233)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BABYCHIHUAHUA._transfer(address,address,uint256) (#237-274):
External calls:
- swapTokensForEth(contractTokenBalance) (#249)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#281-287)
External calls sending eth:
- sendETHToFee(address(this).balance) (#252)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#325)
- _tokenTransfer(from,to,amount) (#273)
Reentrancy in BABYCHIHUAHUA.constructor() (#163-177):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#168-169)
Event emitted after the call(s):
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#176)
Reentrancy in BABYCHIHUAHUA.transferFrom(address,address,uint256) (#218-222):
External calls:
- _transfer(sender,recipient,amount) (#219)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#281-287)
External calls sending eth:
- _transfer(sender,recipient,amount) (#219)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#234)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#220)
Apply the check-effects-interactions pattern.

Additional information: link

Function IUniswapV2Router02.WETH() (#34) is not in mixedCase
Event BABYCHIHUAHUAtokensRescued(address,address,uint256) (#299) is not in CapWords
Event BABYCHIHUAHUAdevAddressUpdated(address,address) (#305) is not in CapWords
Event BABYCHIHUAHUAmarketingAddressUpdated(address,address) (#312) is not in CapWords
Parameter BABYCHIHUAHUA.rescueForeignTokens(address,address,uint256)._tokenAddr (#300) is not in mixedCase
Parameter BABYCHIHUAHUA.rescueForeignTokens(address,address,uint256)._to (#300) is not in mixedCase
Parameter BABYCHIHUAHUA.rescueForeignTokens(address,address,uint256)._amount (#300) is not in mixedCase
Parameter BABYCHIHUAHUA.toggleSwap(bool)._swapEnabled (#398) is not in mixedCase
Constant BABYCHIHUAHUA._tTotal (#132) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BABYCHIHUAHUA._name (#145) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BABYCHIHUAHUA._symbol (#146) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BABYCHIHUAHUA._decimals (#147) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Reentrancy in BABYCHIHUAHUA._transfer(address,address,uint256) (#237-274):
External calls:
- sendETHToFee(address(this).balance) (#252)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#273)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#331)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#321)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#322)
- _tokenTransfer(from,to,amount) (#273)
- _rTotal = _rTotal.sub(rFee) (#335)
- _redisFee = _redisFeeOnBuy (#257)
- _redisFee = _redisFeeOnSell (#262)
- _redisFee = 0 (#267)
- _tokenTransfer(from,to,amount) (#273)
- _tFeeTotal = _tFeeTotal.add(tFee) (#336)
- _taxFee = _taxFeeOnBuy (#258)
- _taxFee = _taxFeeOnSell (#263)
- _taxFee = 0 (#268)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#325)
- _tokenTransfer(from,to,amount) (#273)
Reentrancy in BABYCHIHUAHUA.transferFrom(address,address,uint256) (#218-222):
External calls:
- _transfer(sender,recipient,amount) (#219)
- _developmentAddress.transfer(amount.div(2)) (#291)
- _marketingAddress.transfer(amount.div(2)) (#292)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#220)
- _allowances[owner][spender] = amount (#233)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#234)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#220)
Apply the check-effects-interactions pattern.

Additional information: link

Variable BABYCHIHUAHUA._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#359) is too similar to BABYCHIHUAHUA._getTValues(uint256,uint256,uint256).tTransferAmount (#351)
Variable BABYCHIHUAHUA._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#359) is too similar to BABYCHIHUAHUA._transferStandard(address,address,uint256).tTransferAmount (#320)
Variable BABYCHIHUAHUA._getValues(uint256).rTransferAmount (#344) is too similar to BABYCHIHUAHUA._transferStandard(address,address,uint256).tTransferAmount (#320)
Variable BABYCHIHUAHUA._transferStandard(address,address,uint256).rTransferAmount (#320) is too similar to BABYCHIHUAHUA._transferStandard(address,address,uint256).tTransferAmount (#320)
Variable BABYCHIHUAHUA._getValues(uint256).rTransferAmount (#344) is too similar to BABYCHIHUAHUA._getTValues(uint256,uint256,uint256).tTransferAmount (#351)
Variable BABYCHIHUAHUA._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#359) is too similar to BABYCHIHUAHUA._getValues(uint256).tTransferAmount (#342)
Variable BABYCHIHUAHUA._getValues(uint256).rTransferAmount (#344) is too similar to BABYCHIHUAHUA._getValues(uint256).tTransferAmount (#342)
Variable BABYCHIHUAHUA._transferStandard(address,address,uint256).rTransferAmount (#320) is too similar to BABYCHIHUAHUA._getTValues(uint256,uint256,uint256).tTransferAmount (#351)
Variable BABYCHIHUAHUA._transferStandard(address,address,uint256).rTransferAmount (#320) is too similar to BABYCHIHUAHUA._getValues(uint256).tTransferAmount (#342)
Prevent variables from having similar names.

Additional information: link

BABYCHIHUAHUA.constructor() (#163-177) uses literals with too many digits:
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#176)
BABYCHIHUAHUA.slitherConstructorConstantVariables() (#123-408) uses literals with too many digits:
- _tTotal = 100000 * 10 ** 6 * 10 ** 9 (#132)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#93) is never used in BABYCHIHUAHUA (#123-408)
BABYCHIHUAHUA._tOwned (#127) is never used in BABYCHIHUAHUA (#123-408)
Remove unused state variables.

Additional information: link

Ownable._previousOwner (#93) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#110-113)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#116-119)
name() should be declared external:
- BABYCHIHUAHUA.name() (#184-186)
symbol() should be declared external:
- BABYCHIHUAHUA.symbol() (#188-190)
decimals() should be declared external:
- BABYCHIHUAHUA.decimals() (#192-194)
totalSupply() should be declared external:
- BABYCHIHUAHUA.totalSupply() (#196-198)
transfer(address,uint256) should be declared external:
- BABYCHIHUAHUA.transfer(address,uint256) (#204-207)
allowance(address,address) should be declared external:
- BABYCHIHUAHUA.allowance(address,address) (#209-211)
approve(address,uint256) should be declared external:
- BABYCHIHUAHUA.approve(address,uint256) (#213-216)
transferFrom(address,address,uint256) should be declared external:
- BABYCHIHUAHUA.transferFrom(address,address,uint256) (#218-222)
rescueForeignTokens(address,address,uint256) should be declared external:
- BABYCHIHUAHUA.rescueForeignTokens(address,address,uint256) (#300-303)
setNewDevAddress(address) should be declared external:
- BABYCHIHUAHUA.setNewDevAddress(address) (#306-310)
setNewMarketingAddress(address) should be declared external:
- BABYCHIHUAHUA.setNewMarketingAddress(address) (#313-317)
setFee(uint256,uint256,uint256,uint256) should be declared external:
- BABYCHIHUAHUA.setFee(uint256,uint256,uint256,uint256) (#387-396)
toggleSwap(bool) should be declared external:
- BABYCHIHUAHUA.toggleSwap(bool) (#398-400)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BABYCHIHUAHUA.excludeMultipleAccountsFromFees(address[],bool) (#402-406)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Unable to find Telegram and Twitter accounts


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

Price for BCHH