Coinfresh Token Logo

CFRESH [Coinfresh] Token

About CFRESH

Listings

Token 7 months
CoinMarketCap 7 months
white paper

CoinFresh facilitates investment opportunities and education for the crypto community. The platform is friendly for users of all experience levels and facilitates understanding regarding investment risk and strategy. Projects maintain vetting from expert analysts who share their methodologies with the community, thereby providing education and protection to CoinFresh users!

Social

Laser Scorebeta Last Audit: 31 January 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

Coinfresh.buybackAndBurn() (#743-754) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
Coinfresh.contractSwap(uint256) (#796-842) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- contractSwap(contractTokenBalance) (#720)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
External calls sending eth:
- contractSwap(contractTokenBalance) (#720)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
State variables written after the call(s):
- amountReceived = takeTaxes(from,to,amount) (#733)
- _tOwned[address(this)] += feeAmount (#790)
- _tOwned[to] += amountReceived (#735)
Reentrancy in Coinfresh.transferOwner(address) (#354-369):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- reflector.tally(from,_tOwned[from]) (#758)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- reflector.tally(to,_tOwned[to]) (#761)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- reflector.initialize() (#859)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- reflector.cashout(reflectorGas) (#764)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
State variables written after the call(s):
- _owner = newOwner (#366)
Apply the check-effects-interactions pattern.

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.

Reentrancy in Coinfresh.enableTrading() (#466-474):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#472)
State variables written after the call(s):
- tradingEnabled = true (#473)
Apply the check-effects-interactions pattern.

Additional information: link

Coinfresh._finalizeTransfer(address,address,uint256,bool).check (#692) is a local variable never initialized
Coinfresh._finalizeTransfer(address,address,uint256,bool).checked (#691) 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

Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741) ignores return value by antiSnipe.checkUser(from,to,amount) (#692-696)
Coinfresh.contractSwap(uint256) (#796-842) ignores return value by dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
Ensure that all the return values of the function calls are used.

Additional information: link

Coinfresh.setSwapSettings(uint256,uint256,uint256,uint256) (#522-525) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#523)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#524)
Coinfresh.setReflectorSettings(uint256) (#532-535) should emit an event for:
- reflectorGas = gas (#534)
Coinfresh.setBuybackSettings(uint256,uint256,uint256,uint256) (#541-544) should emit an event for:
- buybackThreshold = thresholdValue * 10 ** thresholdMultiplier (#542)
- buybackAmount = amountValue * 10 ** amountMultiplier (#543)
Coinfresh.setMaxTxPercents(uint256,uint256,uint256,uint256) (#605-609) should emit an event for:
- _maxTxAmountBuy = (_tTotal * buyPercent) / buyDivisor (#607)
- _maxTxAmountSell = (_tTotal * sellPercent) / sellDivisor (#608)
Coinfresh.setMaxWalletSize(uint256,uint256) (#611-614) should emit an event for:
- _maxWalletSize = (_tTotal * percent) / divisor (#613)
Emit an event for critical parameter changes.

Additional information: link

Coinfresh.constructor().msgSender (#310) lacks a zero-check on :
- _owner = msgSender (#313)
Coinfresh.changeRouterContingency(address).router (#422) lacks a zero-check on :
- currentRouter = router (#424)
Check that the address is not zero.

Additional information: link

Coinfresh._checkLiquidityAdd(address,address) (#848-865) has external calls inside a loop: reflector.initialize() (#859)
Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#692-696)
Coinfresh.contractSwap(uint256) (#796-842) has external calls inside a loop: dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
Coinfresh.contractSwap(uint256) (#796-842) has external calls inside a loop: dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
Coinfresh.contractSwap(uint256) (#796-842) has external calls inside a loop: reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
Coinfresh.contractSwap(uint256) (#796-842) has external calls inside a loop: _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
Coinfresh.contractSwap(uint256) (#796-842) has external calls inside a loop: _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
Coinfresh.buybackAndBurn() (#743-754) has external calls inside a loop: dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
Coinfresh.processTokenReflect(address,address) (#756-766) has external calls inside a loop: reflector.tally(from,_tOwned[from]) (#758)
Coinfresh.processTokenReflect(address,address) (#756-766) has external calls inside a loop: reflector.tally(to,_tOwned[to]) (#761)
Coinfresh.processTokenReflect(address,address) (#756-766) has external calls inside a loop: reflector.cashout(reflectorGas) (#764)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'Coinfresh._finalizeTransfer(address,address,uint256,bool).check (#692)' in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741) potentially used before declaration: checked = check (#693)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in Coinfresh._checkLiquidityAdd(address,address) (#848-865):
External calls:
- reflector.initialize() (#859)
State variables written after the call(s):
- allowedPresaleExclusion = false (#861)
- contractSwapEnabled = true (#860)
- processReflect = true (#862)
Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
State variables written after the call(s):
- _tOwned[from] -= amount (#703)
- _basicTransfer(from,to,amount) (#706)
- _tOwned[recipient] += amount (#769)
Reentrancy in Coinfresh.constructor() (#309-343):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#326)
State variables written after the call(s):
- WBNB = dexRouter.WETH() (#331)
- _approve(msg.sender,currentRouter,type()(uint256).max) (#328)
- _allowances[sender][spender] = amount (#401)
- _approve(address(this),currentRouter,type()(uint256).max) (#329)
- _allowances[sender][spender] = amount (#401)
- _isDividendExcluded[owner()] = true (#335)
- _isDividendExcluded[lpPair] = true (#336)
- _isDividendExcluded[address(this)] = true (#337)
- _isDividendExcluded[DEAD] = true (#338)
- _isDividendExcluded[ZERO] = true (#339)
- _isFeeExcluded[owner()] = true (#333)
- _isFeeExcluded[address(this)] = true (#334)
- lpPairs[lpPair] = true (#327)
Reentrancy in Coinfresh.excludePresaleAddresses(address,address) (#624-641):
External calls:
- setDividendExcluded(router,true) (#638)
- reflector.tally(holder,0) (#480)
- reflector.tally(holder,_tOwned[holder]) (#482)
- setDividendExcluded(presale,true) (#639)
- reflector.tally(holder,0) (#480)
- reflector.tally(holder,_tOwned[holder]) (#482)
State variables written after the call(s):
- setDividendExcluded(presale,true) (#639)
- _isDividendExcluded[holder] = enabled (#478)
Reentrancy in Coinfresh.setNewRouter(address) (#578-589):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#582)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#588)
- _allowances[sender][spender] = amount (#401)
- dexRouter = _newRouter (#587)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Coinfresh._checkLiquidityAdd(address,address) (#848-865):
External calls:
- reflector.initialize() (#859)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#863)
Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#770)
- _basicTransfer(from,to,amount) (#706)
Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- contractSwap(contractTokenBalance) (#720)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
External calls sending eth:
- contractSwap(contractTokenBalance) (#720)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#833)
- contractSwap(contractTokenBalance) (#720)
Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- contractSwap(contractTokenBalance) (#720)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
External calls sending eth:
- contractSwap(contractTokenBalance) (#720)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#791)
- amountReceived = takeTaxes(from,to,amount) (#733)
Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- _checkLiquidityAdd(from,to) (#684)
- reflector.initialize() (#859)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- contractSwap(contractTokenBalance) (#720)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- processTokenReflect(from,to) (#737)
- reflector.tally(from,_tOwned[from]) (#758)
- reflector.tally(to,_tOwned[to]) (#761)
- reflector.cashout(reflectorGas) (#764)
External calls sending eth:
- contractSwap(contractTokenBalance) (#720)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
Event emitted after the call(s):
- Transfer(from,to,amountReceived) (#739)
Reentrancy in Coinfresh.constructor() (#309-343):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#326)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#402)
- _approve(msg.sender,currentRouter,type()(uint256).max) (#328)
- Approval(sender,spender,amount) (#402)
- _approve(address(this),currentRouter,type()(uint256).max) (#329)
- OwnershipTransferred(address(0),msgSender) (#342)
- Transfer(ZERO,msg.sender,_tTotal) (#341)
Reentrancy in Coinfresh.contractSwap(uint256) (#796-842):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
External calls sending eth:
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#833)
Reentrancy in Coinfresh.setNewRouter(address) (#578-589):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#582)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#402)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#588)
Reentrancy in Coinfresh.transferOwner(address) (#354-369):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- reflector.tally(from,_tOwned[from]) (#758)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- reflector.tally(to,_tOwned[to]) (#761)
- antiSnipe.checkUser(from,to,amount) (#692-696)
- reflector.initialize() (#859)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#813-819)
- reflector.cashout(reflectorGas) (#764)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#367)
Apply the check-effects-interactions pattern.

Additional information: link

Coinfresh.setLpPair(address,bool) (#591-603) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#596)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,Cannot set a new pair this week!) (#597)
Avoid relying on block.timestamp.

Additional information: link

Coinfresh.setLpPair(address,bool) (#591-603) compares to a boolean constant:
-enabled == false (#592)
Remove the equality to the boolean constant.

Additional information: link

Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#852)
Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#854)
Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- reflector = Cashier(address(this)) (#857)
Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- contractSwapEnabled = true (#860)
Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- allowedPresaleExclusion = false (#861)
Coinfresh._checkLiquidityAdd(address,address) (#848-865) has costly operations inside a loop:
- processReflect = true (#862)
Coinfresh.swapping() (#293-297) has costly operations inside a loop:
- inSwap = true (#294)
Coinfresh.swapping() (#293-297) has costly operations inside a loop:
- inSwap = false (#296)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#9-12) is never used and should be removed
Context._msgSender() (#5-7) is never used and should be removed
Remove unused functions.

Additional information: link

Coinfresh._tTotal (#204) is set pre-construction with a non-constant function or state variable:
- startingSupply * (10 ** _decimals)
Coinfresh._maxTxAmountBuy (#271) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000
Coinfresh._maxTxAmountSell (#272) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 2) / 1000
Coinfresh._maxWalletSize (#273) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 15) / 1000
Coinfresh.swapThreshold (#280) is set pre-construction with a non-constant function or state variable:
- _tTotal / 20000
Coinfresh.swapAmount (#281) is set pre-construction with a non-constant function or state variable:
- _tTotal / 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

Pragma version>=0.6.0<0.9.0 (#2) is too complex
solc-0.8.11 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 IRouter01.WETH() (#119) is not in mixedCase
Function Cashier.whomst_router() (#168) is not in mixedCase
Function Cashier.whomst_token() (#169) is not in mixedCase
Parameter Coinfresh.setProtectionSettings(bool,bool,bool,bool)._antiSnipe (#457) is not in mixedCase
Parameter Coinfresh.setProtectionSettings(bool,bool,bool,bool)._antiGas (#457) is not in mixedCase
Parameter Coinfresh.setProtectionSettings(bool,bool,bool,bool)._antiBlock (#457) is not in mixedCase
Parameter Coinfresh.setProtectionSettings(bool,bool,bool,bool)._antiSpecial (#457) is not in mixedCase
Parameter Coinfresh.setContractSwapSettings(bool,bool)._enabled (#517) is not in mixedCase
Parameter Coinfresh.setReflectionCriteria(uint256,uint256,uint256)._minPeriod (#527) is not in mixedCase
Parameter Coinfresh.setReflectionCriteria(uint256,uint256,uint256)._minReflection (#527) is not in mixedCase
Variable Coinfresh._tOwned (#187) is not in mixedCase
Variable Coinfresh._allowances (#190) is not in mixedCase
Variable Coinfresh._isFeeExcluded (#191) is not in mixedCase
Variable Coinfresh._isDividendExcluded (#192) is not in mixedCase
Constant Coinfresh._name (#200) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Coinfresh._symbol (#201) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Coinfresh._taxRates (#228-232) is not in mixedCase
Variable Coinfresh._ratios (#234-241) is not in mixedCase
Variable Coinfresh.BUSD (#255) is not in mixedCase
Variable Coinfresh.WBNB (#257) is not in mixedCase
Variable Coinfresh.DEAD (#258) is not in mixedCase
Variable Coinfresh.ZERO (#259) is not in mixedCase
Variable Coinfresh._taxWallets (#266-269) is not in mixedCase
Variable Coinfresh._hasLiqBeenAdded (#286) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Coinfresh._finalizeTransfer(address,address,uint256,bool) (#682-741):
External calls:
- contractSwap(contractTokenBalance) (#720)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
External calls sending eth:
- contractSwap(contractTokenBalance) (#720)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
- buybackAndBurn() (#726)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
State variables written after the call(s):
- amountReceived = takeTaxes(from,to,amount) (#733)
- _tOwned[address(this)] += feeAmount (#790)
- _tOwned[to] += amountReceived (#735)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#791)
- amountReceived = takeTaxes(from,to,amount) (#733)
- Transfer(from,to,amountReceived) (#739)
Reentrancy in Coinfresh.transferOwner(address) (#354-369):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#363)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: buybackAmount}(0,path,DEAD,block.timestamp) (#748-753)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#825-832)
- reflector.load{value: ((amountBNB - amountBNBLiquidity) * _ratios.rewards) / (_ratios.total - _ratios.liquidity)}() (#836)
- _taxWallets.development.transfer(((amountBNB - amountBNBLiquidity) * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#839)
- _taxWallets.marketing.transfer(((amountBNB - amountBNBLiquidity) * _ratios.marketing) / (_ratios.total - _ratios.liquidity)) (#840)
State variables written after the call(s):
- _owner = newOwner (#366)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#367)
Apply the check-effects-interactions pattern.

Additional information: link

Variable Coinfresh.setInitializers(address,address).aInitializer (#439) is too similar to Coinfresh.setInitializers(address,address).cInitializer (#439)
Prevent variables from having similar names.

Additional information: link

Coinfresh.slitherConstructorVariables() (#183-883) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#258)
Coinfresh.slitherConstructorVariables() (#183-883) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#259)
Coinfresh.slitherConstructorVariables() (#183-883) uses literals with too many digits:
- reflectorGas = 600000 (#276)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Coinfresh.init (#283) is never used in Coinfresh (#183-883)
Remove unused state variables.

Additional information: link

Coinfresh.BUSD (#255) should be constant
Coinfresh.DEAD (#258) should be constant
Coinfresh.ZERO (#259) should be constant
Coinfresh._decimals (#202) should be constant
Coinfresh.init (#283) should be constant
Coinfresh.startingSupply (#198) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Coinfresh.renounceOwnership() (#371-376)
approve(address,uint256) should be declared external:
- Coinfresh.approve(address,uint256) (#391-395)
approveContractContingency() should be declared external:
- Coinfresh.approveContractContingency() (#405-408)
isBlacklisted(address) should be declared external:
- Coinfresh.isBlacklisted(address) (#427-429)
isFeeExcluded(address) should be declared external:
- Coinfresh.isFeeExcluded(address) (#431-433)
isDividendExcluded(address) should be declared external:
- Coinfresh.isDividendExcluded(address) (#435-437)
getSniperAmt() should be declared external:
- Coinfresh.getSniperAmt() (#453-455)
enableTrading() should be declared external:
- Coinfresh.enableTrading() (#466-474)
getCirculatingSupply() should be declared external:
- Coinfresh.getCirculatingSupply() (#574-576)
setNewRouter(address) should be declared external:
- Coinfresh.setNewRouter(address) (#578-589)
getMaxTX() should be declared external:
- Coinfresh.getMaxTX() (#616-618)
getMaxWallet() should be declared external:
- Coinfresh.getMaxWallet() (#620-622)
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.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 10% buy tax and 16% 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.


Token is deployed only at one blockchain


Token has only one trading pair


Last post in Twitter was more than 30 days ago


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 contract audit


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 Telegram link on the website


Unable to find Twitter 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


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


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for CFRESH

News for CFRESH