FAT CAKE Token Logo

FATCAKE [FAT CAKE] Token

About FATCAKE

Listings

Token 22 months
CoinMarketCap 19 months
white paper

Fat Coin is the first token to be used as an investor position into a business, Frosting Social. Taxes and fees from Frosting will pay Fat Coin holders daily, making it the first community owned social media.

Content creators can set subscription fees, receive donations, and gain full control of their content and profits. You earn 100% of your revenue!

Frosting is made for gamers, streamers, or anyone who wants to monetize their following!

Laser Scorebeta Last Audit: 30 November 2021

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

FATCAKE.addLiquidity(uint256,uint256) (FATCAKE.sol#447-462) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (FATCAKE.sol#453-460)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FATCAKE._transfer(address,address,uint256) (FATCAKE.sol#294-372):
External calls:
- swapAndSendToFee(marketingTokens) (FATCAKE.sol#328)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (FATCAKE.sol#380)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FATCAKE.sol#438-444)
- swapAndLiquify(swapTokens) (FATCAKE.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (FATCAKE.sol#453-460)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FATCAKE.sol#418-424)
- swapAndSendDividends(sellTokens) (FATCAKE.sol#334)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (FATCAKE.sol#467)
- dividendTracker.distributeCAKEDividends(dividends) (FATCAKE.sol#470)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FATCAKE.sol#438-444)
External calls sending eth:
- swapAndLiquify(swapTokens) (FATCAKE.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (FATCAKE.sol#453-460)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (FATCAKE.sol#354)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (FATCAKE.sol#357)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (FATCAKE.sol#336)
Apply the check-effects-interactions pattern.

Additional information: link

FATCAKE.swapAndSendToFee(uint256) (FATCAKE.sol#374-381) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (FATCAKE.sol#380)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.

FATCAKE.swapTokensAtAmount (FATCAKE.sol#28) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in FATCAKE.updateDividendTracker(address) (FATCAKE.sol#124-139):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (FATCAKE.sol#131)
- newDividendTracker.excludeFromDividends(address(this)) (FATCAKE.sol#132)
- newDividendTracker.excludeFromDividends(owner()) (FATCAKE.sol#133)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (FATCAKE.sol#134)
State variables written after the call(s):
- dividendTracker = newDividendTracker (FATCAKE.sol#138)
Apply the check-effects-interactions pattern.

Additional information: link

FATCAKE._transfer(address,address,uint256).claims (FATCAKE.sol#365) 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

FATCAKE.addLiquidity(uint256,uint256) (FATCAKE.sol#447-462) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (FATCAKE.sol#453-460)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

FATCAKE.setMaxWalletBalance(uint256) (FATCAKE.sol#188-190) should emit an event for:
- maxWalletBalance = amount * (10 ** 18) (FATCAKE.sol#189)
Emit an event for critical parameter changes.

Additional information: link

FATCAKE.setMarketingWallet(address).wallet (FATCAKE.sol#165) lacks a zero-check on :
- _marketingWalletAddress = wallet (FATCAKE.sol#166)
Check that the address is not zero.

Additional information: link

Variable 'FATCAKE._transfer(address,address,uint256).lastProcessedIndex (FATCAKE.sol#365)' in FATCAKE._transfer(address,address,uint256) (FATCAKE.sol#294-372) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FATCAKE.sol#366)
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 FATCAKE.updateUniswapV2Router(address) (FATCAKE.sol#141-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (FATCAKE.sol#145-146)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (FATCAKE.sol#147)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FATCAKE.updateDividendTracker(address) (FATCAKE.sol#124-139):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (FATCAKE.sol#131)
- newDividendTracker.excludeFromDividends(address(this)) (FATCAKE.sol#132)
- newDividendTracker.excludeFromDividends(owner()) (FATCAKE.sol#133)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (FATCAKE.sol#134)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (FATCAKE.sol#136)
Apply the check-effects-interactions pattern.

Additional information: link

FATCAKEDividendTracker.canAutoClaim(uint256) (FATCAKE.sol#600-606) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (FATCAKE.sol#601)
- block.timestamp.sub(lastClaimTime) >= claimWait (FATCAKE.sol#605)
Avoid relying on block.timestamp.

Additional information: link

SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

FATCAKE.totalFees (FATCAKE.sol#37) is set pre-construction with a non-constant function or state variable:
- CAKERewardsFee.add(liquidityFee).add(marketingFee)
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.2 (SafeMathUint.sol#3) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
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 (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.

Additional information: link

FATCAKEDividendTracker.getAccountAtIndex(uint256) (FATCAKE.sol#581-598) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (FATCAKE.sol#592)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Telegram account link seems to be invalid


Twitter account link seems to be invalid


Unable to find Discord account


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

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


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


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


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for FATCAKE