TheCF Token Logo

TheCF Token

About TheCF

Listings

Not Found
Token 2 years

The Father of all Cats is here to take out all the pussies from the BSC space and claim his rightful place!

Social

Laser Scorebeta Last Audit: 2 March 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

TheCF.swapBack() (#567-613) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in TheCF._transferFrom(address,address,uint256) (#458-506):
External calls:
- swapBack() (#485)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#578-584)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
External calls sending eth:
- swapBack() (#485)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#488)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#491)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#490)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#529)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#283-294) ignores return value by RWRD.transfer(shareholder,amount) (#289)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

TheCF.swapBack().tmpSuccess (#596) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
TheCF.swapBack().tmpSuccess (#596) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
tmpSuccess = false (#600)
Fix or remove the writes.

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.


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.

DividendDistributor.shouldDistribute(address) (#278-281) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#279-280)
TheCF._transferFrom(address,address,uint256) (#458-506) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#478)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#252-276) has costly operations inside a loop:
- currentIndex = 0 (#264)
DividendDistributor.distributeDividend(address) (#283-294) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#288)
DividendDistributor.process(uint256) (#252-276) has costly operations inside a loop:
- currentIndex ++ (#273)
Use a local variable to hold the loop computation result.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#283-294):
External calls:
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#291)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#292)
Reentrancy in DividendDistributor.process(uint256) (#252-276):
External calls:
- distributeDividend(shareholders[currentIndex]) (#268)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- currentIndex ++ (#273)
Reentrancy in DividendDistributor.setShare(address,uint256) (#216-230):
External calls:
- distributeDividend(shareholder) (#218)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shares[shareholder].amount = amount (#228)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#229)
Apply the check-effects-interactions pattern.

Additional information: link

TheCF.manage_blacklist(address[],bool).i (#631) is a local variable never initialized
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

TheCF.swapBack() (#567-613) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#211-214) should emit an event for:
- minPeriod = _minPeriod (#212)
- minDistribution = _minDistribution (#213)
TheCF.setMaxTxPercent_base1000(uint256) (#449-451) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#450)
TheCF.setTxLimit(uint256) (#453-455) should emit an event for:
- _maxTxAmount = amount (#454)
TheCF.set_sell_multiplier(uint256) (#552-554) should emit an event for:
- sellMultiplier = Multiplier (#553)
TheCF.setFees(uint256,uint256,uint256,uint256,uint256) (#649-657) should emit an event for:
- liquidityFee = _liquidityFee (#650)
- reflectionFee = _reflectionFee (#651)
- marketingFee = _marketingFee (#652)
- devFee = _devFee (#653)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#654)
- feeDenominator = _feeDenominator (#655)
TheCF.setSwapBackSettings(bool,uint256) (#665-668) should emit an event for:
- swapThreshold = _amount (#667)
TheCF.setTargetLiquidity(uint256,uint256) (#670-673) should emit an event for:
- targetLiquidity = _target (#671)
- targetLiquidityDenominator = _denominator (#672)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#93) lacks a zero-check on :
- owner = adr (#94)
TheCF.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#659) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#660)
TheCF.setFeeReceivers(address,address,address)._marketingFeeReceiver (#659) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#661)
TheCF.setFeeReceivers(address,address,address)._devFeeReceiver (#659) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#662)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#283-294) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#289)
TheCF.multiTransfer(address,address[],uint256[]) (#699-723) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#715)
TheCF.multiTransfer_fixed(address,address[],uint256) (#725-744) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#736)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in TheCF.constructor() (#388-412):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#390)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#391)
- _balances[msg.sender] = _totalSupply (#410)
- autoLiquidityReceiver = msg.sender (#406)
- devFeeReceiver = msg.sender (#408)
- distributor = new DividendDistributor(address(router)) (#393)
- isDividendExempt[pair] = true (#402)
- isDividendExempt[address(this)] = true (#403)
- isDividendExempt[DEAD] = true (#404)
- isFeeExempt[msg.sender] = true (#395)
- isTimelockExempt[msg.sender] = true (#398)
- isTimelockExempt[DEAD] = true (#399)
- isTimelockExempt[address(this)] = true (#400)
- isTxLimitExempt[msg.sender] = true (#396)
- marketingFeeReceiver = msg.sender (#407)
Reentrancy in DividendDistributor.deposit() (#232-250):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#239-244)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#249)
- totalDividends = totalDividends.add(amount) (#248)
Reentrancy in DividendDistributor.distributeDividend(address) (#283-294):
External calls:
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#290)
Reentrancy in DividendDistributor.setShare(address,uint256) (#216-230):
External calls:
- distributeDividend(shareholder) (#218)
- RWRD.transfer(shareholder,amount) (#289)
State variables written after the call(s):
- addShareholder(shareholder) (#222)
- shareholderIndexes[shareholder] = shareholders.length (#316)
- removeShareholder(shareholder) (#224)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#322)
- addShareholder(shareholder) (#222)
- shareholders.push(shareholder) (#317)
- removeShareholder(shareholder) (#224)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#321)
- shareholders.pop() (#323)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#227)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TheCF._transferFrom(address,address,uint256) (#458-506):
External calls:
- swapBack() (#485)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#578-584)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
- distributor.setShare(sender,_balances[sender]) (#495)
- distributor.setShare(recipient,_balances[recipient]) (#499)
- distributor.process(distributorGas) (#502)
External calls sending eth:
- swapBack() (#485)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#504)
Reentrancy in TheCF._transferFrom(address,address,uint256) (#458-506):
External calls:
- swapBack() (#485)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#578-584)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
External calls sending eth:
- swapBack() (#485)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#530)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#490)
Reentrancy in TheCF.constructor() (#388-412):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#390)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#411)
Reentrancy in TheCF.swapBack() (#567-613):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#578-584)
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#595)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#603-610)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#611)
Apply the check-effects-interactions pattern.

Additional information: link

TheCF._maxTxAmount (#340) is set pre-construction with a non-constant function or state variable:
- _totalSupply
TheCF._maxWalletToken (#341) is set pre-construction with a non-constant function or state variable:
- _totalSupply
TheCF.totalFee (#359) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
TheCF.swapThreshold (#384) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 10000
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 TheCF.swapBack() (#567-613):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#596)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#597)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#108) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#211) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#211) is not in mixedCase
Variable DividendDistributor._token (#164) is not in mixedCase
Variable DividendDistributor.RWRD (#172) is not in mixedCase
Variable DividendDistributor.WBNB (#173) is not in mixedCase
Function TheCF.setMaxWalletPercent_base1000(uint256) (#446-448) is not in mixedCase
Parameter TheCF.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#446) is not in mixedCase
Function TheCF.setMaxTxPercent_base1000(uint256) (#449-451) is not in mixedCase
Parameter TheCF.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#449) is not in mixedCase
Function TheCF.clearStuckBalance_sender(uint256) (#547-550) is not in mixedCase
Function TheCF.set_sell_multiplier(uint256) (#552-554) is not in mixedCase
Parameter TheCF.set_sell_multiplier(uint256).Multiplier (#552) is not in mixedCase
Parameter TheCF.tradingStatus(bool)._status (#557) is not in mixedCase
Parameter TheCF.cooldownEnabled(bool,uint8)._status (#562) is not in mixedCase
Parameter TheCF.cooldownEnabled(bool,uint8)._interval (#562) is not in mixedCase
Function TheCF.enable_blacklist(bool) (#626-628) is not in mixedCase
Parameter TheCF.enable_blacklist(bool)._status (#626) is not in mixedCase
Function TheCF.manage_blacklist(address[],bool) (#630-634) is not in mixedCase
Parameter TheCF.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#649) is not in mixedCase
Parameter TheCF.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#649) is not in mixedCase
Parameter TheCF.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#649) is not in mixedCase
Parameter TheCF.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#649) is not in mixedCase
Parameter TheCF.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#649) is not in mixedCase
Parameter TheCF.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#659) is not in mixedCase
Parameter TheCF.setFeeReceivers(address,address,address)._marketingFeeReceiver (#659) is not in mixedCase
Parameter TheCF.setFeeReceivers(address,address,address)._devFeeReceiver (#659) is not in mixedCase
Parameter TheCF.setSwapBackSettings(bool,uint256)._enabled (#665) is not in mixedCase
Parameter TheCF.setSwapBackSettings(bool,uint256)._amount (#665) is not in mixedCase
Parameter TheCF.setTargetLiquidity(uint256,uint256)._target (#670) is not in mixedCase
Parameter TheCF.setTargetLiquidity(uint256,uint256)._denominator (#670) is not in mixedCase
Parameter TheCF.setDistributionCriteria(uint256,uint256)._minPeriod (#675) is not in mixedCase
Parameter TheCF.setDistributionCriteria(uint256,uint256)._minDistribution (#675) is not in mixedCase
Function TheCF.multiTransfer_fixed(address,address[],uint256) (#725-744) is not in mixedCase
Variable TheCF.WBNB (#330) is not in mixedCase
Variable TheCF.DEAD (#331) is not in mixedCase
Variable TheCF.ZERO (#332) is not in mixedCase
Constant TheCF._name (#334) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TheCF._symbol (#335) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TheCF._decimals (#336) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TheCF._totalSupply (#338) is not in mixedCase
Variable TheCF._maxTxAmount (#340) is not in mixedCase
Variable TheCF._maxWalletToken (#341) is not in mixedCase
Variable TheCF._balances (#343) is not in mixedCase
Variable TheCF._allowances (#344) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#113) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#114)
Prevent variables from having similar names.

Additional information: link

TheCF.slitherConstructorVariables() (#327-749) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#331)
TheCF.slitherConstructorVariables() (#327-749) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#332)
TheCF.slitherConstructorVariables() (#327-749) uses literals with too many digits:
- distributorGas = 500000 (#377)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#173) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#186) should be constant
TheCF.DEAD (#331) should be constant
TheCF.WBNB (#330) should be constant
TheCF.ZERO (#332) should be constant
TheCF._totalSupply (#338) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#77-79)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#81-83)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#93-97)
tradingStatus(bool) should be declared external:
- TheCF.tradingStatus(bool) (#557-559)
cooldownEnabled(bool,uint8) should be declared external:
- TheCF.cooldownEnabled(bool,uint8) (#562-565)
enable_blacklist(bool) should be declared external:
- TheCF.enable_blacklist(bool) (#626-628)
manage_blacklist(address[],bool) should be declared external:
- TheCF.manage_blacklist(address[],bool) (#630-634)
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.


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

Contract has 5% buy tax and 20% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d PancakeSwap volume is low.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair


Telegram account has relatively few subscribers


Twitter account has relatively few followers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for TheCF

News for TheCF