Cait Finance Token Logo

CaitCoin [Cait Finance] Token

About CaitCoin

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

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...)

CaitCoin.addLiquidity(uint256,uint256) (#573-586) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#578-585)
Ensure that all the return values of the function calls are used.

Additional information: link

CaitCoin.allowance(address,address).owner (#461) shadows:
- Ownable.owner() (#151-153) (function)
CaitCoin._approve(address,address,uint256).owner (#480) shadows:
- Ownable.owner() (#151-153) (function)
Rename the local variables that shadow another component.

Additional information: link

CaitCoin.setNumTokensBeforeSwap(uint256) (#492-494) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#493)
Emit an event for critical parameter changes.

Additional information: link

CaitCoin.setUnispair(address)._pair (#496) lacks a zero-check on :
- uniswapPairV2 = _pair (#497)
Check that the address is not zero.

Additional information: link

Reentrancy in CaitCoin.constructor() (#424-439):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#428-429)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#432)
- _balances[address(this)] = _rTotal (#436)
- _balances[_msgSender()] = _totalSupply (#437)
- isExcludedFromFee[owner()] = true (#434)
- isExcludedFromFee[address(this)] = true (#435)
- uniswapPairV2 = _msgSender() (#430)
- uniswapV2Router = _uniswapV2Router (#431)
Reentrancy in CaitCoin.transferFrom(address,address,uint256) (#588-592):
External calls:
- _transfer(sender,recipient,amount) (#589)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,uniswapPairV2,block.timestamp) (#562-568)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#590)
- _allowances[owner][spender] = amount (#484)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CaitCoin.constructor() (#424-439):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#428-429)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#438)
Reentrancy in CaitCoin.swapTokensForEth(uint256) (#553-571):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,uniswapPairV2,block.timestamp) (#562-568)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#570)
Reentrancy in CaitCoin.transferFrom(address,address,uint256) (#588-592):
External calls:
- _transfer(sender,recipient,amount) (#589)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,uniswapPairV2,block.timestamp) (#562-568)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#485)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#590)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#82-91) uses assembly
- INLINE ASM (#89)
Address._functionCallWithValue(address,bytes,uint256,string) (#118-135) uses assembly
- INLINE ASM (#127-130)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#118-135) is never used and should be removed
Address.functionCall(address,bytes) (#101-103) is never used and should be removed
Address.functionCall(address,bytes,string) (#105-107) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#109-111) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#113-116) is never used and should be removed
Address.isContract(address) (#82-91) is never used and should be removed
Address.sendValue(address,uint256) (#93-99) is never used and should be removed
CaitCoin.addLiquidity(uint256,uint256) (#573-586) is never used and should be removed
CaitCoin.transferToAddressETH(address,uint256) (#505-507) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
SafeMath.div(uint256,uint256) (#58-60) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#62-68) is never used and should be removed
SafeMath.mod(uint256,uint256) (#70-72) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#74-77) is never used and should be removed
SafeMath.mul(uint256,uint256) (#47-56) is never used and should be removed
Remove unused functions.

Additional information: link

CaitCoin._totalSupply (#389) is set pre-construction with a non-constant function or state variable:
- 100000000 * 10 ** _decimals
CaitCoin.minimumTokensBeforeSwap (#391) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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

solc-0.8.12 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 Address.sendValue(address,uint256) (#93-99):
- (success) = recipient.call{value: amount}() (#97)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#118-135):
- (success,returndata) = target.call{value: weiValue}(data) (#121)
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() (#204) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#205) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#221) is not in mixedCase
Function IUniswapV2Router01.WETH() (#240) is not in mixedCase
Parameter CaitCoin.setUnispair(address)._pair (#496) is not in mixedCase
Parameter CaitCoin.setSwapAndLiquifyEnabled(bool)._enabled (#500) is not in mixedCase
Variable CaitCoin._balances (#383) is not in mixedCase
Variable CaitCoin._taxFee (#387) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#10)" inContext (#3-13)
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 (#245) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#246)
Prevent variables from having similar names.

Additional information: link

Ownable.waiveOwnership() (#160-163) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#161)
Ownable.waiveOwnership() (#160-163) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#162)
CaitCoin.slitherConstructorVariables() (#373-595) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#381)
CaitCoin.slitherConstructorVariables() (#373-595) uses literals with too many digits:
- _totalSupply = 100000000 * 10 ** _decimals (#389)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable.asdasd (#140) is never used in CaitCoin (#373-595)
Ownable._lockTime (#141) is never used in CaitCoin (#373-595)
Remove unused state variables.

Additional information: link

CaitCoin._decimals (#380) should be constant
CaitCoin._name (#378) should be constant
CaitCoin._rTotal (#390) should be constant
CaitCoin._symbol (#379) should be constant
CaitCoin._taxFee (#387) should be constant
CaitCoin.burnAddress (#381) should be constant
CaitCoin.swapAndLiquifyByLimitOnly (#399) should be constant
Ownable._lockTime (#141) should be constant
Ownable.asdasd (#140) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#160-163)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#165-169)
name() should be declared external:
- CaitCoin.name() (#441-443)
symbol() should be declared external:
- CaitCoin.symbol() (#445-447)
decimals() should be declared external:
- CaitCoin.decimals() (#449-451)
totalSupply() should be declared external:
- CaitCoin.totalSupply() (#453-455)
balanceOf(address) should be declared external:
- CaitCoin.balanceOf(address) (#457-459)
allowance(address,address) should be declared external:
- CaitCoin.allowance(address,address) (#461-463)
increaseAllowance(address,uint256) should be declared external:
- CaitCoin.increaseAllowance(address,uint256) (#465-468)
decreaseAllowance(address,uint256) should be declared external:
- CaitCoin.decreaseAllowance(address,uint256) (#470-473)
approve(address,uint256) should be declared external:
- CaitCoin.approve(address,uint256) (#475-478)
setIsExcludedFromFee(address,bool) should be declared external:
- CaitCoin.setIsExcludedFromFee(address,bool) (#488-490)
setSwapAndLiquifyEnabled(bool) should be declared external:
- CaitCoin.setSwapAndLiquifyEnabled(bool) (#500-503)
transfer(address,uint256) should be declared external:
- CaitCoin.transfer(address,uint256) (#512-515)
transferFrom(address,address,uint256) should be declared external:
- CaitCoin.transferFrom(address,address,uint256) (#588-592)
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 CaitCoin