Baby Tiger King Token Logo

BabyTK [Baby Tiger King] Token

About BabyTK

Listings

Token 2 years
white paper

Baby Tiger King has set out to transform the cryptocurrency industry by giving back while creating a coin that benefits tiger conservation and its holders.

Laser Scorebeta Last Audit: 14 January 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Anti-Scam

Links


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

Reentrancy in BabyTigerKing._transfer(address,address,uint256) (#576-611):
External calls:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate) (#597)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(liquidityFee.mul(rate)) (#628)
- _reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].add(marketingFee.mul(rate)) (#650)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (#600)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (#601)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (#620)
- _reflectionTotal = _reflectionTotal.sub(burnFee.mul(rate)) (#641)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(liquidityFee) (#630)
- _tokenBalance[marketingWallet] = _tokenBalance[marketingWallet].add(marketingFee) (#652)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (#604)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (#607)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _tokenTotal = _tokenTotal.sub(burnFee) (#640)
Apply the check-effects-interactions pattern.

Additional information: link


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.

BabyTigerKing.includeAccount(address) (#551-562) has costly operations inside a loop:
- _excluded.pop() (#558)
Use a local variable to hold the loop computation result.

Additional information: link

Function IUniswapV2Router01.WETH() (#280) is not in mixedCase
Variable BabyTigerKing._reflectionBalance (#342) is not in mixedCase
Variable BabyTigerKing._tokenBalance (#343) is not in mixedCase
Variable BabyTigerKing._allowances (#344) is not in mixedCase
Variable BabyTigerKing._tokenTotal (#349) is not in mixedCase
Variable BabyTigerKing._reflectionTotal (#351) is not in mixedCase
Variable BabyTigerKing._isExcluded (#354) is not in mixedCase
Variable BabyTigerKing._excluded (#355) is not in mixedCase
Variable BabyTigerKing._feeDecimal (#357) is not in mixedCase
Variable BabyTigerKing._taxFee (#359) is not in mixedCase
Variable BabyTigerKing._liquidityFee (#361) is not in mixedCase
Variable BabyTigerKing._burnFee (#363) is not in mixedCase
Variable BabyTigerKing._marketingFee (#365) is not in mixedCase
Variable BabyTigerKing._taxFeeTotal (#367) is not in mixedCase
Variable BabyTigerKing._burnFeeTotal (#368) is not in mixedCase
Variable BabyTigerKing._liquidityFeeTotal (#369) is not in mixedCase
Variable BabyTigerKing._marketingFeeTotal (#370) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#14)" inContext (#8-17)
Remove redundant statements if they congest code but offer no value.

Additional information: link

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

Additional information: link

BabyTigerKing._decimals (#340) should be constant
BabyTigerKing._feeDecimal (#357) should be constant
BabyTigerKing._name (#337) should be constant
BabyTigerKing._symbol (#338) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#243-245)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#253-256)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#259-266)
name() should be declared external:
- BabyTigerKing.name() (#414-416)
symbol() should be declared external:
- BabyTigerKing.symbol() (#418-420)
decimals() should be declared external:
- BabyTigerKing.decimals() (#422-424)
totalSupply() should be declared external:
- BabyTigerKing.totalSupply() (#426-428)
transfer(address,uint256) should be declared external:
- BabyTigerKing.transfer(address,uint256) (#435-443)
allowance(address,address) should be declared external:
- BabyTigerKing.allowance(address,address) (#445-452)
approve(address,uint256) should be declared external:
- BabyTigerKing.approve(address,uint256) (#454-461)
transferFrom(address,address,uint256) should be declared external:
- BabyTigerKing.transferFrom(address,address,uint256) (#463-472)
increaseAllowance(address,uint256) should be declared external:
- BabyTigerKing.increaseAllowance(address,uint256) (#474-485)
decreaseAllowance(address,uint256) should be declared external:
- BabyTigerKing.decreaseAllowance(address,uint256) (#487-501)
isExcluded(address) should be declared external:
- BabyTigerKing.isExcluded(address) (#503-505)
reflectionFromToken(uint256,bool) should be declared external:
- BabyTigerKing.reflectionFromToken(uint256,bool) (#507-521)
Use the external attribute for functions never called from the contract.

Additional information: link

Pragma version^0.6.0 (#6) 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) (#140-151):
- (success) = recipient.call{value: amount}() (#146)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#198-223):
- (success,returndata) = target.call{value: weiValue}(data) (#207-209)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

BabyTigerKing.collectFee(address,uint256,uint256) (#613-659) performs a multiplication on the result of a division:
-taxFee = amount.mul(_taxFee).div(10 ** (_feeDecimal + 2)) (#618)
-_reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (#620)
BabyTigerKing.collectFee(address,uint256,uint256) (#613-659) performs a multiplication on the result of a division:
-liquidityFee = amount.mul(_liquidityFee).div(10 ** (_feeDecimal + 2)) (#626)
-_reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(liquidityFee.mul(rate)) (#628)
BabyTigerKing.collectFee(address,uint256,uint256) (#613-659) performs a multiplication on the result of a division:
-marketingFee = amount.mul(_marketingFee).div(10 ** (_feeDecimal + 2)) (#648)
-_reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].add(marketingFee.mul(rate)) (#650)
BabyTigerKing.collectFee(address,uint256,uint256) (#613-659) performs a multiplication on the result of a division:
-burnFee = amount.mul(_burnFee).div(10 ** (_feeDecimal + 2)) (#638)
-_reflectionTotal = _reflectionTotal.sub(burnFee.mul(rate)) (#641)
Consider ordering multiplication before division.

Additional information: link

BabyTigerKing.addLiquidity(uint256,uint256) (#713-724) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyTigerKing.allowance(address,address).owner (#445) shadows:
- Ownable.owner() (#243-245) (function)
BabyTigerKing._approve(address,address,uint256).owner (#565) shadows:
- Ownable.owner() (#243-245) (function)
Rename the local variables that shadow another component.

Additional information: link

BabyTigerKing.setTaxFee(uint256) (#747-749) should emit an event for:
- _taxFee = fee (#748)
BabyTigerKing.setBurnFee(uint256) (#751-753) should emit an event for:
- _burnFee = fee (#752)
BabyTigerKing.setLiquidityFee(uint256) (#755-757) should emit an event for:
- _liquidityFee = fee (#756)
BabyTigerKing.setMarketingFee(uint256) (#759-761) should emit an event for:
- _marketingFee = fee (#760)
BabyTigerKing.setMaxTxAmount(uint256) (#763-765) should emit an event for:
- maxTxAmount = amount (#764)
BabyTigerKing.setMinTokensBeforeSwap(uint256) (#767-769) should emit an event for:
- minTokensBeforeSwap = amount (#768)
Emit an event for critical parameter changes.

Additional information: link

BabyTigerKing.setPair(address).pair (#726) lacks a zero-check on :
- uniswapV2Pair = pair (#727)
BabyTigerKing.setMarketingWallet(address).account (#730) lacks a zero-check on :
- marketingWallet = account (#731)
Check that the address is not zero.

Additional information: link

Reentrancy in BabyTigerKing._transfer(address,address,uint256) (#576-611):
External calls:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate) (#597)
- _burnFeeTotal = _burnFeeTotal.add(burnFee) (#642)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _liquidityFeeTotal = _liquidityFeeTotal.add(liquidityFee) (#632)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _marketingFeeTotal = _marketingFeeTotal.add(marketingFee) (#654)
- transferAmount = collectFee(sender,amount,rate) (#597)
- _taxFeeTotal = _taxFeeTotal.add(taxFee) (#621)
Reentrancy in BabyTigerKing.constructor() (#393-412):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#399)
State variables written after the call(s):
- _reflectionBalance[_msgSender()] = _reflectionTotal (#410)
- isTaxless[_msgSender()] = true (#407)
- isTaxless[address(this)] = true (#408)
- marketingWallet = 0xbA070e4aa4cb9f6D65824beE6ddb09ad4b057aE0 (#403)
- uniswapV2Router = _uniswapV2Router (#401)
Reentrancy in BabyTigerKing.swapAndLiquify(uint256) (#679-695):
External calls:
- swapTokensForEth(half) (#688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
- addLiquidity(otherHalf,newBalance) (#692)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#692)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#692)
- _allowances[owner][spender] = amount (#572)
Reentrancy in BabyTigerKing.transferFrom(address,address,uint256) (#463-472):
External calls:
- _transfer(sender,recipient,amount) (#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- _transfer(sender,recipient,amount) (#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#470)
- _allowances[owner][spender] = amount (#572)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyTigerKing._transfer(address,address,uint256) (#576-611):
External calls:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#590)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
Event emitted after the call(s):
- Transfer(account,address(this),liquidityFee) (#633)
- transferAmount = collectFee(sender,amount,rate) (#597)
- Transfer(sender,recipient,transferAmount) (#610)
- Transfer(account,address(0),burnFee) (#643)
- transferAmount = collectFee(sender,amount,rate) (#597)
- Transfer(account,marketingWallet,marketingFee) (#655)
- transferAmount = collectFee(sender,amount,rate) (#597)
Reentrancy in BabyTigerKing.constructor() (#393-412):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#399)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tokenTotal) (#411)
Reentrancy in BabyTigerKing.swapAndLiquify(uint256) (#679-695):
External calls:
- swapTokensForEth(half) (#688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
- addLiquidity(otherHalf,newBalance) (#692)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#692)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#573)
- addLiquidity(otherHalf,newBalance) (#692)
- SwapAndLiquify(half,newBalance,otherHalf) (#694)
Reentrancy in BabyTigerKing.transferFrom(address,address,uint256) (#463-472):
External calls:
- _transfer(sender,recipient,amount) (#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- _transfer(sender,recipient,amount) (#468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#716-723)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#573)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#470)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#127-137) uses assembly
- INLINE ASM (#133-135)
Address._functionCallWithValue(address,bytes,uint256,string) (#198-223) uses assembly
- INLINE ASM (#215-218)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#198-223) is never used and should be removed
Address.functionCall(address,bytes) (#154-159) is never used and should be removed
Address.functionCall(address,bytes,string) (#161-167) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#170-182) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#185-196) is never used and should be removed
Address.isContract(address) (#127-137) is never used and should be removed
Address.sendValue(address,uint256) (#140-151) is never used and should be removed
Context._msgData() (#13-16) is never used and should be removed
SafeMath.mod(uint256,uint256) (#109-111) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#114-121) is never used and should be removed
Remove unused functions.

Additional information: link

BabyTigerKing._reflectionTotal (#351) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tokenTotal))
BabyTigerKing.maxTxAmount (#378) is set pre-construction with a non-constant function or state variable:
- _tokenTotal
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

Holders:


Token is deployed only at one blockchain


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Last post in Twitter was more than 30 days ago


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


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


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for BabyTK

News for BabyTK