Bonus Cake Token Logo

BonusCake [Bonus Cake] Token

About BonusCake

Listings

Token 3 years

The live Bonus Cake price today is $0.000013 USD with a 24-hour trading volume of $433,566 USD. We update our BonusCake to USD price in real-time. Bonus Cake is down 38.88% in the last 24 hours. The current CoinMarketCap ranking is #3215, with a live market cap of not available. The circulating supply is not available and the max. supply is not available.

Bonus Cake is the first auto-claim and win CAKE reward mechanism.

Simply hold $BonusCake tokens and get rewarded in CAKE on every transaction!

With the auto-claim feature, you’ll receive CAKE automatically in your wallet every 60 minutes.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

BonusCake.addLiquidity(uint256,uint256) (BonusCake.sol#461-476) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BonusCake._transfer(address,address,uint256) (BonusCake.sol#326-397):
External calls:
- swapAndLiquify(swapTokens) (BonusCake.sol#354)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BonusCake.sol#432-438)
- swapAndSendDividends(sellTokens) (BonusCake.sol#357)
- IERC20(CAKE).transfer(_projectAddress,h8) (BonusCake.sol#484)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BonusCake.sol#452-458)
- success = IERC20(CAKE).transfer(address(dividendTracker),h8) (BonusCake.sol#487)
- dividendTracker.distributeCAKEDividends(h8) (BonusCake.sol#489)
- sendLuckBonus() (BonusCake.sol#362)
- success = IERC20(CAKE).transfer(luckAddress,luckAmount) (BonusCake.sol#499)
External calls sending eth:
- swapAndLiquify(swapTokens) (BonusCake.sol#354)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (BonusCake.sol#380)
- _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) (BonusCake.sol#382)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
Apply the check-effects-interactions pattern.

Additional information: link

BonusCake.swapAndSendDividends(uint256) (BonusCake.sol#478-492) ignores return value by IERC20(CAKE).transfer(_projectAddress,h8) (BonusCake.sol#484)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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


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.

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

DividendPayingToken.CAKE (DividendPayingToken.sol#24) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in BonusCake.updateDividendTracker(address) (BonusCake.sol#138-153):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BonusCake.sol#145)
- newDividendTracker.excludeFromDividends(address(this)) (BonusCake.sol#146)
- newDividendTracker.excludeFromDividends(owner()) (BonusCake.sol#147)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BonusCake.sol#148)
State variables written after the call(s):
- dividendTracker = newDividendTracker (BonusCake.sol#152)
Apply the check-effects-interactions pattern.

Additional information: link

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

BonusCake.addLiquidity(uint256,uint256) (BonusCake.sol#461-476) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
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

BonusCake.updateLiquidity(uint256) (BonusCake.sol#246-248) should emit an event for:
- _liquidity = liquidity (BonusCake.sol#247)
Emit an event for critical parameter changes.

Additional information: link

BonusCake.setAddress(address).projectAddress (BonusCake.sol#250) lacks a zero-check on :
- _projectAddress = projectAddress (BonusCake.sol#251)
Check that the address is not zero.

Additional information: link

Variable 'BonusCake._transfer(address,address,uint256).iterations (BonusCake.sol#390)' in BonusCake._transfer(address,address,uint256) (BonusCake.sol#326-397) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BonusCake.sol#391)
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 BonusCake.swapAndLiquify(uint256) (BonusCake.sol#399-420):
External calls:
- swapTokensForEth(half) (BonusCake.sol#411)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BonusCake.sol#432-438)
- addLiquidity(otherHalf,newBalance) (BonusCake.sol#417)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (BonusCake.sol#417)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (BonusCake.sol#467-474)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (BonusCake.sol#417)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BonusCake.updateDividendTracker(address) (BonusCake.sol#138-153):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BonusCake.sol#145)
- newDividendTracker.excludeFromDividends(address(this)) (BonusCake.sol#146)
- newDividendTracker.excludeFromDividends(owner()) (BonusCake.sol#147)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BonusCake.sol#148)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (BonusCake.sol#150)
Apply the check-effects-interactions pattern.

Additional information: link

BonusCakeDividendTracker.canAutoClaim(uint256) (BonusCake.sol#635-640) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (BonusCake.sol#636)
- block.timestamp.sub(lastClaimTime) >= claimWait (BonusCake.sol#639)
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

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

BonusCakeDividendTracker.getAccountAtIndex(uint256) (BonusCake.sol#618-633) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (BonusCake.sol#629)
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

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.


Twitter account link seems to be invalid


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


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

Additional information: link


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


Unable to find whitepaper link on the website


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 CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for BonusCake