RainBow Kitty Token Logo

RainBowKitty [RainBow Kitty] Token

ALERT: rug pull scam

About RainBowKitty

Listings

Not Found
Token 24 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 1 March 2022

report
Token seems to be a scam (type: rug pull scam).


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

RainbowKitty.addLiquidity(uint256,uint256,address) (#371-378) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in RainbowKitty._transfer(address,address,uint256) (#333-367):
External calls:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
State variables written after the call(s):
- _balances[from] -= fee (#361)
- _balances[address(this)] += fee (#362)
- _balances[from] -= amount (#364)
- _balances[to] += amount (#365)
- inSwapAndLiquify = false (#343)
Apply the check-effects-interactions pattern.

Additional information: link

RainbowKitty._swapAndLiquifyEnabled (#259) is never initialized. It is used in:
- RainbowKitty._transfer(address,address,uint256) (#333-367)
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


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.

RainbowKitty.addLiquidity(uint256,uint256,address) (#371-378) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
Ensure that all the return values of the function calls are used.

Additional information: link

RainbowKitty.allowance(address,address).owner (#296) shadows:
- Ownable.owner() (#219-221) (function)
RainbowKitty._approve(address,address,uint256).owner (#309) shadows:
- Ownable.owner() (#219-221) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in RainbowKitty._transfer(address,address,uint256) (#333-367):
External calls:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
State variables written after the call(s):
- _constructor[_bool] = _uint256 (#356)
- _string[uniswapV2Pair] = to (#357)
Reentrancy in RainbowKitty.swapAndLiquify(uint256) (#380-386):
External calls:
- swapTokensForEth(half,address(this)) (#383)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
- addLiquidity(half,newBalance,address(this)) (#385)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
External calls sending eth:
- addLiquidity(half,newBalance,address(this)) (#385)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
State variables written after the call(s):
- addLiquidity(half,newBalance,address(this)) (#385)
- _allowances[owner][spender] = amount (#314)
Reentrancy in RainbowKitty.transferFrom(address,address,uint256) (#319-326):
External calls:
- _transfer(sender,recipient,amount) (#324)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
External calls sending eth:
- _transfer(sender,recipient,amount) (#324)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#325)
- _allowances[owner][spender] = amount (#314)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RainbowKitty._transfer(address,address,uint256) (#333-367):
External calls:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#342)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
Event emitted after the call(s):
- Transfer(from,to,amount) (#366)
Reentrancy in RainbowKitty.constructor(string,string,address) (#265-278):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#276)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#277)
Reentrancy in RainbowKitty.swapAndLiquify(uint256) (#380-386):
External calls:
- swapTokensForEth(half,address(this)) (#383)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
- addLiquidity(half,newBalance,address(this)) (#385)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
External calls sending eth:
- addLiquidity(half,newBalance,address(this)) (#385)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#315)
- addLiquidity(half,newBalance,address(this)) (#385)
Reentrancy in RainbowKitty.transferFrom(address,address,uint256) (#319-326):
External calls:
- _transfer(sender,recipient,amount) (#324)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (#393)
External calls sending eth:
- _transfer(sender,recipient,amount) (#324)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,to,block.timestamp) (#377)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#315)
- _approve(sender,msg.sender,_allowances[sender][msg.sender] - amount) (#325)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

RainbowKitty._tTotal (#250) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** _decimals
RainbowKitty._uint256 (#251) is set pre-construction with a non-constant function or state variable:
- _tTotal
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.0 (#12) allows old versions
solc-0.8.10 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

Function IUniswapV2Router01.WETH() (#17) is not in mixedCase
Variable RainbowKitty._taxFee (#248) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

RainbowKitty.slitherConstructorVariables() (#245-396) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** _decimals (#250)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

RainbowKitty._decimals (#249) should be constant
RainbowKitty._swapAndLiquifyEnabled (#259) should be constant
RainbowKitty._taxFee (#248) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#229-231)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#233-236)
symbol() should be declared external:
- RainbowKitty.symbol() (#280-282)
name() should be declared external:
- RainbowKitty.name() (#284-286)
totalSupply() should be declared external:
- RainbowKitty.totalSupply() (#288-290)
decimals() should be declared external:
- RainbowKitty.decimals() (#292-294)
allowance(address,address) should be declared external:
- RainbowKitty.allowance(address,address) (#296-298)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


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

Contract has 3% buy tax and 3% sell tax.
Taxes are low and contract ownership is renounced.


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 RainBowKitty