Def.Cafe Token Logo

CAFE [Def.Cafe] Token

About CAFE

Listings

Token 2 years
CoinGecko 9 months

Website

[CoinGecko] alert: According to https://gopluslabs.io/token-security/1/0xdefCafE7eAC90d31BbBA841038DF365DE3c4e207>GoPlus, the contract creator can make changes to the token contract such as disabling sells, changing fees, minting, transferring tokens etc. Exercise caution.
white paper

0XDEFCAFE developing a universal trading solution that consolidates most decentralized exchanges, offering users a simple and convenient interface for token trading.
CAFE is the native utility token that is used for revenue share.
0XDEFCAFE tools include:
* Fast Trading Terminal - combines features traditional to stock markets (e.g., limit orders, trailing and traditional stop-loss, on-chart trading) with features needed in DeFi (e.g., fast private nodes, gas prediction based on machine learning, MEV-protection, launch buying tools).
* Bridge0 - free to use bridge for ERC20 tokens with built-in automatic price balancing features and convenient manual arbitrage.
* Wallet vault embedded in Fast Trading Terminal with ability to export wallets.
* Staking platform as a revenue sharing mechanism.

Social

Laser Scorebeta Last Audit: 15 September 2023

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

Reentrancy in Cafe._transfer(address,address,uint256) (Cafe.sol#205-247):
External calls:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
State variables written after the call(s):
- _transferToken(from,address(this),fees) (Cafe.sol#244)
- _owned[sender] = _owned[sender].sub(_amount) (Cafe.sol#303)
- _owned[recipient] = _owned[recipient].add(_amount) (Cafe.sol#304)
- _transferToken(from,to,resultAmount) (Cafe.sol#246)
- _owned[sender] = _owned[sender].sub(_amount) (Cafe.sol#303)
- _owned[recipient] = _owned[recipient].add(_amount) (Cafe.sol#304)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

Contract name (Def.Cafe) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Cafe._marketingFeePercentage (Cafe.sol#81) is never used in Cafe (Cafe.sol#61-372)
Cafe._rewardsFeePercentage (Cafe.sol#82) is never used in Cafe (Cafe.sol#61-372)
Remove unused state variables.

Additional information: link

Cafe.getCurrentFee() (Cafe.sol#318-327) performs a multiplication on the result of a division:
-daysLeft = (feePeriodEndTime.sub(block.timestamp)).div(86400) (Cafe.sol#321)
-addedFee = daysLeft.mul(5) (Cafe.sol#322)
Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270) performs a multiplication on the result of a division:
-singlePart = tokensToLiquify.div(100) (Cafe.sol#250)
-rewardsAndDwPart = tokensToLiquify.sub(singlePart.mul(_liquidityFeePercentage)) (Cafe.sol#251)
Consider ordering multiplication before division.

Additional information: link

Cafe.addLiquidity(uint256,uint256) (Cafe.sol#289-300) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
Ensure that all the return values of the function calls are used.

Additional information: link

Cafe.allowance(address,address).owner (Cafe.sol#153) shadows:
- Ownable.owner() (Util.sol#367-369) (function)
Cafe._approve(address,address,uint256).owner (Cafe.sol#197) shadows:
- Ownable.owner() (Util.sol#367-369) (function)
Rename the local variables that shadow another component.

Additional information: link

Cafe.setFee(uint256) (Cafe.sol#360-364) should emit an event for:
- _Fee = fee (Cafe.sol#363)
Cafe.setMaxTokensToLiquify(uint256) (Cafe.sol#356-359) should emit an event for:
- maxTokensToLiquify = amount * 10 ** 9 (Cafe.sol#358)
Emit an event for critical parameter changes.

Additional information: link

Cafe.setRewardsWallet(address).adr (Cafe.sol#368) lacks a zero-check on :
- _rewardsWallet = adr (Cafe.sol#369)
Cafe.setDeveloperAddress(address).adr (Cafe.sol#365) lacks a zero-check on :
- _developerWallet = adr (Cafe.sol#366)
Check that the address is not zero.

Additional information: link

Reentrancy in Cafe.transferFrom(address,address,uint256) (Cafe.sol#162-166):
External calls:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Cafe.sol#164)
- _allowances[owner][spender] = amount (Cafe.sol#201)
Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- swapTokensForEth(liquidityToLiquify) (Cafe.sol#258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
State variables written after the call(s):
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- _allowances[owner][spender] = amount (Cafe.sol#201)
Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- swapTokensForEth(liquidityToLiquify) (Cafe.sol#258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- swapTokensForEth(rewardsAndDwPart) (Cafe.sol#263)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
State variables written after the call(s):
- swapTokensForEth(rewardsAndDwPart) (Cafe.sol#263)
- _allowances[owner][spender] = amount (Cafe.sol#201)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- swapTokensForEth(liquidityToLiquify) (Cafe.sol#258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Cafe.sol#202)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
Reentrancy in Cafe._transfer(address,address,uint256) (Cafe.sol#205-247):
External calls:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
Event emitted after the call(s):
- Transfer(sender,recipient,_amount) (Cafe.sol#305)
- _transferToken(from,address(this),fees) (Cafe.sol#244)
- Transfer(sender,recipient,_amount) (Cafe.sol#305)
- _transferToken(from,to,resultAmount) (Cafe.sol#246)
Reentrancy in Cafe.transferFrom(address,address,uint256) (Cafe.sol#162-166):
External calls:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Cafe.sol#202)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Cafe.sol#164)
Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- swapTokensForEth(liquidityToLiquify) (Cafe.sol#258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- swapTokensForEth(rewardsAndDwPart) (Cafe.sol#263)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Cafe.sol#202)
- swapTokensForEth(rewardsAndDwPart) (Cafe.sol#263)
Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- swapTokensForEth(liquidityToLiquify) (Cafe.sol#258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- swapTokensForEth(rewardsAndDwPart) (Cafe.sol#263)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Cafe.sol#280-286)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
Event emitted after the call(s):
- SwapAndLiquify(liquidityToLiquify,newBalance,liquidityToAdd) (Cafe.sol#269)
Apply the check-effects-interactions pattern.

Additional information: link

Cafe._transfer(address,address,uint256) (Cafe.sol#205-247) uses timestamp for comparisons
Dangerous comparisons:
- overMinTokenBalance = contractTokenBalance >= minTokensToLiquify (Cafe.sol#216)
- overMinTokenBalance && ! inSwapAndLiquify && swapAndLiquifyEnabled && ! _excluded[from] && ! _excluded[to] && ! _automatedMarketMakerPairs[from] (Cafe.sol#218-223)
- contractTokenBalance > maxTokensToLiquify (Cafe.sol#225)
- block.timestamp <= buyingFeePeriodEndTime && _automatedMarketMakerPairs[from] && ! _excluded[to] && ! _excluded[from] (Cafe.sol#235)
Cafe.setFee(uint256) (Cafe.sol#360-364) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(threeDaysFeePeriodStarted && block.timestamp >= feePeriodEndTime,Fee cannot be changed during 3 days after launch.) (Cafe.sol#362)
Cafe.calculateFee(uint256) (Cafe.sol#335-344) uses timestamp for comparisons
Dangerous comparisons:
- threeDaysFeePeriodStarted && block.timestamp <= feePeriodEndTime (Cafe.sol#338)
Cafe.getCurrentFee() (Cafe.sol#318-327) uses timestamp for comparisons
Dangerous comparisons:
- threeDaysFeePeriodStarted && block.timestamp <= feePeriodEndTime (Cafe.sol#320)
- addedFee > 15 (Cafe.sol#323)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (Util.sol#95-99) uses assembly
- INLINE ASM (Util.sol#97)
Address._verifyCallResult(bool,bytes,string) (Util.sol#141-154) uses assembly
- INLINE ASM (Util.sol#146-149)
Do not use evm assembly.

Additional information: link

SafeMath.tryDiv(uint256,uint256) (Util.sol#37-42) is never used and should be removed
Address.sendValue(address,uint256) (Util.sol#100-106) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Util.sol#113-115) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (Util.sol#43-48) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (Util.sol#135-140) is never used and should be removed
Address.functionDelegateCall(address,bytes) (Util.sol#132-134) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (Util.sol#16-22) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (Util.sol#76-81) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Util.sol#116-122) is never used and should be removed
SafeMath.div(uint256,uint256,string) (Util.sol#70-75) is never used and should be removed
Context._msgData() (Util.sol#88-91) is never used and should be removed
Address.functionStaticCall(address,bytes) (Util.sol#123-125) is never used and should be removed
SafeMath.mod(uint256,uint256) (Util.sol#61-63) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (Util.sol#141-154) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (Util.sol#29-36) is never used and should be removed
SafeMath.trySub(uint256,uint256) (Util.sol#23-28) is never used and should be removed
Address.isContract(address) (Util.sol#95-99) is never used and should be removed
Address.functionCall(address,bytes,string) (Util.sol#110-112) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (Util.sol#126-131) is never used and should be removed
Address.functionCall(address,bytes) (Util.sol#107-109) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.functionStaticCall(address,bytes,string) (Util.sol#126-131):
- (success,returndata) = target.staticcall(data) (Util.sol#129)
Low level call in Address.sendValue(address,uint256) (Util.sol#100-106):
- (success) = recipient.call{value: amount}() (Util.sol#104)
Low level call in Address.functionDelegateCall(address,bytes,string) (Util.sol#135-140):
- (success,returndata) = target.delegatecall(data) (Util.sol#138)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (Util.sol#116-122):
- (success,returndata) = target.call{value: value}(data) (Util.sol#120)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Cafe._Fee (Cafe.sol#79) is not in mixedCase
Parameter Cafe.calculateFee(uint256)._amount (Cafe.sol#335) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (Util.sol#189) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (Util.sol#206) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (Util.sol#188) is not in mixedCase
Variable Cafe._rewardsWallet (Cafe.sol#72) is not in mixedCase
Parameter Cafe.setSwapAndLiquifyEnabled(bool)._enabled (Cafe.sol#186) is not in mixedCase
Function IUniswapV2Router01.WETH() (Util.sol#226) is not in mixedCase
Variable Cafe._automatedMarketMakerPairs (Cafe.sol#69) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Util.sol#89)" inContext (Util.sol#84-92)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Cafe._transfer(address,address,uint256) (Cafe.sol#205-247):
External calls:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
External calls sending eth:
- swapAndLiquify(maxTokensToLiquify) (Cafe.sol#226)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
- swapAndLiquify(contractTokenBalance) (Cafe.sol#228)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
State variables written after the call(s):
- _transferToken(from,address(this),fees) (Cafe.sol#244)
- _owned[sender] = _owned[sender].sub(_amount) (Cafe.sol#303)
- _owned[recipient] = _owned[recipient].add(_amount) (Cafe.sol#304)
- _transferToken(from,to,resultAmount) (Cafe.sol#246)
- _owned[sender] = _owned[sender].sub(_amount) (Cafe.sol#303)
- _owned[recipient] = _owned[recipient].add(_amount) (Cafe.sol#304)
Event emitted after the call(s):
- Transfer(sender,recipient,_amount) (Cafe.sol#305)
- _transferToken(from,address(this),fees) (Cafe.sol#244)
- Transfer(sender,recipient,_amount) (Cafe.sol#305)
- _transferToken(from,to,resultAmount) (Cafe.sol#246)
Reentrancy in Cafe.swapAndLiquify(uint256) (Cafe.sol#249-270):
External calls:
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
External calls sending eth:
- addLiquidity(liquidityToAdd,newBalance) (Cafe.sol#262)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
Event emitted after the call(s):
- SwapAndLiquify(liquidityToLiquify,newBalance,liquidityToAdd) (Cafe.sol#269)
Reentrancy in Cafe.transferFrom(address,address,uint256) (Cafe.sol#162-166):
External calls:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
External calls sending eth:
- _transfer(sender,recipient,amount) (Cafe.sol#163)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Cafe.sol#292-299)
- address(_developerWallet).transfer(balanceToSendDW) (Cafe.sol#266)
- address(_rewardsWallet).transfer(balanceToSendRW) (Cafe.sol#267)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Cafe.sol#164)
- _allowances[owner][spender] = amount (Cafe.sol#201)
Event emitted after the call(s):
- Approval(owner,spender,amount) (Cafe.sol#202)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (Cafe.sol#164)
Apply the check-effects-interactions pattern.

Additional information: link

Variable Cafe.swapAndLiquify(uint256).balanceToSendDW (Cafe.sol#264) is too similar to Cafe.swapAndLiquify(uint256).balanceToSendRW (Cafe.sol#265)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (Util.sol#231) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (Util.sol#232)
Prevent variables from having similar names.

Additional information: link

Cafe.slitherConstructorVariables() (Cafe.sol#61-372) uses literals with too many digits:
- _tSupply = 10000000 * 10 ** 9 (Cafe.sol#73)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Cafe._decimals (Cafe.sol#77) should be constant
Cafe._name (Cafe.sol#75) should be constant
Cafe._tSupply (Cafe.sol#73) should be constant
Cafe._symbol (Cafe.sol#76) should be constant
Cafe.minTokensToLiquify (Cafe.sol#96) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

increaseAllowance(address,uint256) should be declared external:
- Cafe.increaseAllowance(address,uint256) (Cafe.sol#168-171)
transfer(address,uint256) should be declared external:
- Cafe.transfer(address,uint256) (Cafe.sol#148-151)
setMaxTokensToLiquify(uint256) should be declared external:
- Cafe.setMaxTokensToLiquify(uint256) (Cafe.sol#356-359)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Util.sol#374-377)
setFee(uint256) should be declared external:
- Cafe.setFee(uint256) (Cafe.sol#360-364)
setRewardsWallet(address) should be declared external:
- Cafe.setRewardsWallet(address) (Cafe.sol#368-370)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Cafe.setAutomatedMarketMakerPair(address,bool) (Cafe.sol#345-349)
totalSupply() should be declared external:
- Cafe.totalSupply() (Cafe.sol#140-142)
setDeveloperAddress(address) should be declared external:
- Cafe.setDeveloperAddress(address) (Cafe.sol#365-367)
isExcludedFromFee(address) should be declared external:
- Cafe.isExcludedFromFee(address) (Cafe.sol#193-195)
transferFrom(address,address,uint256) should be declared external:
- Cafe.transferFrom(address,address,uint256) (Cafe.sol#162-166)
allowance(address,address) should be declared external:
- Cafe.allowance(address,address) (Cafe.sol#153-155)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Cafe.setSwapAndLiquifyEnabled(bool) (Cafe.sol#186-189)
decimals() should be declared external:
- Cafe.decimals() (Cafe.sol#136-138)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Util.sol#378-382)
includeInFee(address) should be declared external:
- Cafe.includeInFee(address) (Cafe.sol#182-184)
decreaseAllowance(address,uint256) should be declared external:
- Cafe.decreaseAllowance(address,uint256) (Cafe.sol#173-176)
approve(address,uint256) should be declared external:
- Cafe.approve(address,uint256) (Cafe.sol#157-160)
name() should be declared external:
- Cafe.name() (Cafe.sol#128-130)
startThreeDaysPeriod() should be declared external:
- Cafe.startThreeDaysPeriod() (Cafe.sol#328-334)
symbol() should be declared external:
- Cafe.symbol() (Cafe.sol#132-134)
excludeFromFee(address) should be declared external:
- Cafe.excludeFromFee(address) (Cafe.sol#178-180)
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 0% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Number of Binance Smart Chain (BSC) token holders is low.


Token has only one trading pair


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


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

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is not listed at Mobula.Finance

Additional information: link


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low

Price for CAFE