GokuCake Token Logo

Goku [GokuCake] Token

About Goku

Listings

Token 2 years

A token aimed at the Dragon Ball Z fan community with the purpose of making us the greatest GENKI DAMAS cakes in the world, come and become Super Saiyan in the world of cryptocurrencies.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

Anti-Scam

Links


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

GokuCake.addLiquidity(uint256,uint256) (GokuCake.sol#433-448) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (GokuCake.sol#439-446)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in GokuCake._transfer(address,address,uint256) (GokuCake.sol#287-358):
External calls:
- swapAndSendToFee(marketingTokens) (GokuCake.sol#314)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (GokuCake.sol#366)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GokuCake.sol#424-430)
- swapAndLiquify(swapTokens) (GokuCake.sol#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (GokuCake.sol#439-446)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GokuCake.sol#404-410)
- swapAndSendDividends(sellTokens) (GokuCake.sol#320)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (GokuCake.sol#453)
- dividendTracker.distributeCAKEDividends(dividends) (GokuCake.sol#456)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GokuCake.sol#424-430)
External calls sending eth:
- swapAndLiquify(swapTokens) (GokuCake.sol#317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (GokuCake.sol#439-446)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (GokuCake.sol#340)
- _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) (GokuCake.sol#343)
- _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 (GokuCake.sol#322)
Apply the check-effects-interactions pattern.

Additional information: link

GokuCake.swapAndSendToFee(uint256) (GokuCake.sol#360-367) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (GokuCake.sol#366)
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.

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

Additional information: link

GokuCake._transfer(address,address,uint256).lastProcessedIndex (GokuCake.sol#351) 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

GokuCake.addLiquidity(uint256,uint256) (GokuCake.sol#433-448) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (GokuCake.sol#439-446)
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

GokuCake.setMarketingFee(uint256) (GokuCake.sol#178-182) should emit an event for:
- marketingFee = value (GokuCake.sol#179)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (GokuCake.sol#180)
Emit an event for critical parameter changes.

Additional information: link

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

Additional information: link

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

Additional information: link

Reentrancy in GokuCake.updateDividendTracker(address) (GokuCake.sol#123-138):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (GokuCake.sol#130)
- newDividendTracker.excludeFromDividends(address(this)) (GokuCake.sol#131)
- newDividendTracker.excludeFromDividends(owner()) (GokuCake.sol#132)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (GokuCake.sol#133)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (GokuCake.sol#135)
Apply the check-effects-interactions pattern.

Additional information: link

GokuCakeDividendTracker.canAutoClaim(uint256) (GokuCake.sol#586-592) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (GokuCake.sol#587)
- block.timestamp.sub(lastClaimTime) >= claimWait (GokuCake.sol#591)
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

GokuCake.totalFees (GokuCake.sol#35) 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-25)
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

GokuCakeDividendTracker.getAccountAtIndex(uint256) (GokuCake.sol#567-584) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (GokuCake.sol#578)
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-93)
Remove unused state variables.

Additional information: link

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

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.


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


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.


Twitter account link seems to be invalid


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


Unable to find code repository for the project


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 Goku