🐶 A new cryptocurrency was born by the admin of the Chihuahua meme. We primarily support and love Chihuahua Token so we created the BabyChihuahua Token.
🐶 Dev from a part of Chihuahua admin. I hope we can help Chihuahua to the moon together! We will Buyback the $CHH and $BCHH a lot.
BabyChihuahua.addLiquidity(uint256,uint256) (#757-770) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BabyChihuahua._transfer(address,address,uint256) (#653-704):
External calls:
- swapAndLiquify(contractTokenBalance) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#691)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#694)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#699)
- finalAmount = takeFee(sender,recipient,amount) (#696-697)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#784)
Apply the check-effects-interactions pattern.
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.
Contract ownership is not renounced (belongs to a wallet)
BabyChihuahua.addLiquidity(uint256,uint256) (#757-770) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
Ensure that all the return values of the function calls are used.
Additional information: link
BabyChihuahua.allowance(address,address).owner (#512) shadows:
- Ownable.owner() (#152-154) (function)
BabyChihuahua._approve(address,address,uint256).owner (#535) shadows:
- Ownable.owner() (#152-154) (function)
Rename the local variables that shadow another component.
Additional information: link
BabyChihuahua.setNumTokensBeforeSwap(uint256) (#577-579) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#578)
Emit an event for critical parameter changes.
Additional information: link
BabyChihuahua.setMarketingWalletAddress(address).newAddress (#581) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#582)
BabyChihuahua.setTeamWalletAddress(address).newAddress (#585) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#586)
BabyChihuahua.setOAddress(address).newAddress (#589) lacks a zero-check on :
- OwnerAddress = newAddress (#590)
BabyChihuahua.Sweep(address).account (#599) lacks a zero-check on :
- address(account).transfer(balance) (#601)
Check that the address is not zero.
Additional information: link
Reentrancy in BabyChihuahua.changeRouterVersion(address) (#621-637):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#629-630)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#636)
- uniswapPair = newPairAddress (#633)
- uniswapV2Router = _uniswapV2Router (#634)
Reentrancy in BabyChihuahua.constructor() (#468-490):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#472-473)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#476)
- _balances[_msgSender()] = _totalSupply (#488)
- _liquidityHolders[owner()] = true (#480)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#484)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#482)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#483)
- isExcludedFromFee[owner()] = true (#478)
- isExcludedFromFee[address(this)] = true (#479)
- isMarketPair[address(uniswapPair)] = true (#486)
- uniswapV2Router = _uniswapV2Router (#475)
Reentrancy in BabyChihuahua.swapAndLiquify(uint256) (#713-735):
External calls:
- swapTokensForEth(tokensForSwap) (#718)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#728)
- recipient.transfer(amount) (#618)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#731)
- recipient.transfer(amount) (#618)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- _allowances[owner][spender] = amount (#539)
Reentrancy in BabyChihuahua.transferFrom(address,address,uint256) (#647-651):
External calls:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
External calls sending eth:
- _transfer(sender,recipient,amount) (#648)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
- _allowances[owner][spender] = amount (#539)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyChihuahua._transfer(address,address,uint256) (#653-704):
External calls:
- swapAndLiquify(contractTokenBalance) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#691)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#785)
- finalAmount = takeFee(sender,recipient,amount) (#696-697)
- Transfer(sender,recipient,finalAmount) (#701)
Reentrancy in BabyChihuahua.constructor() (#468-490):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#472-473)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#489)
Reentrancy in BabyChihuahua.swapAndLiquify(uint256) (#713-735):
External calls:
- swapTokensForEth(tokensForSwap) (#718)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#728)
- recipient.transfer(amount) (#618)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#731)
- recipient.transfer(amount) (#618)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#540)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
Reentrancy in BabyChihuahua.swapTokensForEth(uint256) (#737-755):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#754)
Reentrancy in BabyChihuahua.transferFrom(address,address,uint256) (#647-651):
External calls:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#746-752)
External calls sending eth:
- _transfer(sender,recipient,amount) (#648)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#540)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#187-192) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#189)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#83-92) uses assembly
- INLINE ASM (#90)
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) uses assembly
- INLINE ASM (#128-131)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) is never used and should be removed
Address.functionCall(address,bytes) (#102-104) is never used and should be removed
Address.functionCall(address,bytes,string) (#106-108) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#110-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#114-117) is never used and should be removed
Address.isContract(address) (#83-92) is never used and should be removed
Address.sendValue(address,uint256) (#94-100) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#71-73) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#75-78) is never used and should be removed
Remove unused functions.
Additional information: link
BabyChihuahua._totalSupply (#436) is set pre-construction with a non-constant function or state variable:
- 10 * 10 ** 4 * 10 ** 6 * 10 ** _decimals
BabyChihuahua.minimumTokensBeforeSwap (#437) is set pre-construction with a non-constant function or state variable:
- 15 * 10 ** 7 * 10 ** _decimals
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
Low level call in Address.sendValue(address,uint256) (#94-100):
- (success) = recipient.call{value: amount}() (#98)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#119-136):
- (success,returndata) = target.call{value: weiValue}(data) (#122)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#226) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#227) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#243) is not in mixedCase
Function IUniswapV2Router01.WETH() (#262) is not in mixedCase
Parameter BabyChihuahua.transferForeignToken(address,address)._token (#593) is not in mixedCase
Parameter BabyChihuahua.transferForeignToken(address,address)._to (#593) is not in mixedCase
Function BabyChihuahua.Sweep(address) (#599-602) is not in mixedCase
Parameter BabyChihuahua.setSwapAndLiquifyEnabled(bool)._enabled (#604) is not in mixedCase
Variable BabyChihuahua.OwnerAddress (#406) is not in mixedCase
Variable BabyChihuahua._balances (#409) is not in mixedCase
Variable BabyChihuahua._hasLiqBeenAdded (#417) is not in mixedCase
Variable BabyChihuahua._buyLiquidityFee (#420) is not in mixedCase
Variable BabyChihuahua._buyMarketingFee (#421) is not in mixedCase
Variable BabyChihuahua._buyTeamFee (#422) is not in mixedCase
Variable BabyChihuahua._sellLiquidityFee (#424) is not in mixedCase
Variable BabyChihuahua._sellMarketingFee (#425) is not in mixedCase
Variable BabyChihuahua._sellTeamFee (#426) is not in mixedCase
Variable BabyChihuahua._liquidityShare (#428) is not in mixedCase
Variable BabyChihuahua._marketingShare (#429) is not in mixedCase
Variable BabyChihuahua._teamShare (#430) is not in mixedCase
Variable BabyChihuahua._totalTaxIfBuying (#432) is not in mixedCase
Variable BabyChihuahua._totalTaxIfSelling (#433) is not in mixedCase
Variable BabyChihuahua._totalDistributionShares (#434) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BabyChihuahua._transfer(address,address,uint256) (#653-704):
External calls:
- swapAndLiquify(contractTokenBalance) (#691)
- recipient.transfer(amount) (#618)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#691)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#694)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#699)
- finalAmount = takeFee(sender,recipient,amount) (#696-697)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#784)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#785)
- finalAmount = takeFee(sender,recipient,amount) (#696-697)
- Transfer(sender,recipient,finalAmount) (#701)
Reentrancy in BabyChihuahua.swapAndLiquify(uint256) (#713-735):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#728)
- recipient.transfer(amount) (#618)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#731)
- recipient.transfer(amount) (#618)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#728)
- recipient.transfer(amount) (#618)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#731)
- recipient.transfer(amount) (#618)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
- _allowances[owner][spender] = amount (#539)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#540)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#734)
Reentrancy in BabyChihuahua.transferFrom(address,address,uint256) (#647-651):
External calls:
- _transfer(sender,recipient,amount) (#648)
- recipient.transfer(amount) (#618)
External calls sending eth:
- _transfer(sender,recipient,amount) (#648)
- recipient.transfer(amount) (#618)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,OwnerAddress,block.timestamp) (#762-769)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
- _allowances[owner][spender] = amount (#539)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#540)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#267) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#268)
Prevent variables from having similar names.
Additional information: link
BabyChihuahua.slitherConstructorVariables() (#395-792) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#407)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyChihuahua._buyLiquidityFee (#420) should be constant
BabyChihuahua._buyMarketingFee (#421) should be constant
BabyChihuahua._buyTeamFee (#422) should be constant
BabyChihuahua._decimals (#402) should be constant
BabyChihuahua._liquidityShare (#428) should be constant
BabyChihuahua._marketingShare (#429) should be constant
BabyChihuahua._name (#400) should be constant
BabyChihuahua._sellLiquidityFee (#424) should be constant
BabyChihuahua._sellMarketingFee (#425) should be constant
BabyChihuahua._sellTeamFee (#426) should be constant
BabyChihuahua._symbol (#401) should be constant
BabyChihuahua._teamShare (#430) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#161-164)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#166-170)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#172-174)
getTime() should be declared external:
- Ownable.getTime() (#176-178)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#180-185)
unlock() should be declared external:
- Ownable.unlock() (#187-192)
name() should be declared external:
- BabyChihuahua.name() (#492-494)
symbol() should be declared external:
- BabyChihuahua.symbol() (#496-498)
decimals() should be declared external:
- BabyChihuahua.decimals() (#500-502)
totalSupply() should be declared external:
- BabyChihuahua.totalSupply() (#504-506)
allowance(address,address) should be declared external:
- BabyChihuahua.allowance(address,address) (#512-514)
increaseAllowance(address,uint256) should be declared external:
- BabyChihuahua.increaseAllowance(address,uint256) (#516-519)
decreaseAllowance(address,uint256) should be declared external:
- BabyChihuahua.decreaseAllowance(address,uint256) (#521-524)
minimumTokensBeforeSwapAmount() should be declared external:
- BabyChihuahua.minimumTokensBeforeSwapAmount() (#526-528)
approve(address,uint256) should be declared external:
- BabyChihuahua.approve(address,uint256) (#530-533)
setMarketPairStatus(address,bool) should be declared external:
- BabyChihuahua.setMarketPairStatus(address,bool) (#543-545)
setIsExcludedFromFee(address,bool) should be declared external:
- BabyChihuahua.setIsExcludedFromFee(address,bool) (#547-549)
isLiquidityHolders(address) should be declared external:
- BabyChihuahua.isLiquidityHolders(address) (#564-566)
transferForeignToken(address,address) should be declared external:
- BabyChihuahua.transferForeignToken(address,address) (#593-597)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BabyChihuahua.setSwapAndLiquifyEnabled(bool) (#604-607)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- BabyChihuahua.setSwapAndLiquifyByLimitOnly(bool) (#609-611)
getCirculatingSupply() should be declared external:
- BabyChihuahua.getCirculatingSupply() (#613-615)
changeRouterVersion(address) should be declared external:
- BabyChihuahua.changeRouterVersion(address) (#621-637)
transfer(address,uint256) should be declared external:
- BabyChihuahua.transfer(address,uint256) (#642-645)
transferFrom(address,address,uint256) should be declared external:
- BabyChihuahua.transferFrom(address,address,uint256) (#647-651)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts