CAKEBAKER Token Logo

CAKEBAKER Token

About CAKEBAKER

Listings

Token 2 years
white paper

CAKEBAKER is the newest passive rewards token on the BSC to pay holders with dividends in the world famous token CAKE.

Entering the world of Decentralized Finance hasn’t been easier until recently. Anyone can start earning passive income automatically just by being a holder of CakeBaker. Utilizing the innovative Reflection Token technology your Passive Rewards will added to your wallet multiple times throughout the day without the need to claim. Your daily rewards can be viewed with our handy dashboard.

A lottery rewards game will be available on our website soon after launch where holders can earn more CAKEBAKER and limited NFT’s. More utility will be added as we progress and grow the CAKEBAKER community.

Social

Laser Scorebeta Last Audit: 26 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...)

CAKEBAKER.swapBack() (#710-740) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#735)
CAKEBAKER.transferToAddressBNB(address,uint256) (#771-773) sends eth to arbitrary user
Dangerous calls:
- recipient.transfer(amount) (#772)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CAKEBAKER._beforeTokenTransfer(address) (#683-698):
External calls:
- swapBack() (#692)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#719-725)
- distributor.deposit{value: amountBNBReflection}() (#735)
External calls sending eth:
- swapBack() (#692)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
State variables written after the call(s):
- swapping = false (#694)
Reentrancy in CAKEBAKER._transferFrom(address,address,uint256) (#619-674):
External calls:
- _beforeTokenTransfer(recipient) (#643)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#719-725)
- distributor.deposit{value: amountBNBReflection}() (#735)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#643)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#646)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#659)
- amountReceived = takeFee(sender,amount) (#658)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#704)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#351-362) ignores return value by REWARDS.transfer(shareholder,amount) (#357)
DividendDistributor.TransferDividendToken(address,uint256) (#394-397) ignores return value by REWARDS.transfer(recipient,amount) (#396)
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.

DividendDistributor.process(uint256) (#320-344) has costly operations inside a loop:
- currentIndex = 0 (#332)
DividendDistributor.distributeDividend(address) (#351-362) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#356)
DividendDistributor.process(uint256) (#320-344) has costly operations inside a loop:
- currentIndex ++ (#341)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMath.div(uint256,uint256,string) (#75-80) is never used and should be removed
SafeMath.mod(uint256,uint256) (#64-66) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#82-87) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#7-13) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#34-39) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#41-46) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#22-32) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#15-20) is never used and should be removed
Remove unused functions.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#180) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#181)
Prevent variables from having similar names.

Additional information: link

CAKEBAKER.REWARDS (#408) is never used in CAKEBAKER (#405-789)
Remove unused state variables.

Additional information: link

DividendDistributor.distributeDividend(address) (#351-362) has external calls inside a loop: REWARDS.transfer(shareholder,amount) (#357)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#351-362):
External calls:
- REWARDS.transfer(shareholder,amount) (#357)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#359)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#360)
Reentrancy in DividendDistributor.process(uint256) (#320-344):
External calls:
- distributeDividend(shareholders[currentIndex]) (#336)
- REWARDS.transfer(shareholder,amount) (#357)
State variables written after the call(s):
- currentIndex ++ (#341)
Reentrancy in DividendDistributor.setShare(address,uint256) (#284-298):
External calls:
- distributeDividend(shareholder) (#286)
- REWARDS.transfer(shareholder,amount) (#357)
State variables written after the call(s):
- shares[shareholder].amount = amount (#296)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#297)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#279-282) should emit an event for:
- minPeriod = _minPeriod (#280)
- minDistribution = _minDistribution * (10 ** 18) (#281)
CAKEBAKER.updateFeesDivisor(uint256) (#517-519) should emit an event for:
- FEES_DIVISOR = divisor (#518)
CAKEBAKER.updateSwapTokensAt(uint256) (#521-523) should emit an event for:
- swapTokensAtAmount = _swaptokens * (10 ** 18) (#522)
CAKEBAKER.updateWalletMax(uint256) (#529-531) should emit an event for:
- maxWalletBalance = _walletMax * (10 ** 18) (#530)
CAKEBAKER.updateTransactionMax(uint256) (#533-535) should emit an event for:
- maxTxAmount = _txMax * (10 ** 18) (#534)
CAKEBAKER.updateRewardFee(uint256) (#541-544) should emit an event for:
- dividendRewardFee = newFee (#542)
CAKEBAKER.updateMarketingFee(uint256) (#546-549) should emit an event for:
- marketingFee = newFee (#547)
CAKEBAKER.updateDevFee(uint256) (#551-554) should emit an event for:
- devFee = newFee (#552)
CAKEBAKER.updateMarketingPortionOfSwap(uint256) (#570-572) should emit an event for:
- marketingPortionOfSwap = newAmount (#571)
CAKEBAKER.updateDevPortionOfSwap(uint256) (#574-576) should emit an event for:
- devPortionOfSwap = newAmount (#575)
CAKEBAKER.setDistributorSettings(uint256) (#762-765) should emit an event for:
- distributorGas = gas (#764)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#160) lacks a zero-check on :
- owner = adr (#161)
Check that the address is not zero.

Additional information: link

Reentrancy in CAKEBAKER.constructor() (#465-483):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#467)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#468)
- approve(routerv2,_totalSupply) (#478)
- _allowances[msg.sender][spender] = amount (#496)
- approve(address(pair),_totalSupply) (#479)
- _allowances[msg.sender][spender] = amount (#496)
- _balances[msg.sender] = _totalSupply (#480)
- distributor = new DividendDistributor(address(router)) (#470)
- isDividendExempt[pair] = true (#474)
- isDividendExempt[address(this)] = true (#475)
- isDividendExempt[DEAD] = true (#476)
- isFeeExempt[msg.sender] = true (#472)
Reentrancy in DividendDistributor.deposit() (#300-318):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#307-312)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#317)
- totalDividends = totalDividends.add(amount) (#316)
Reentrancy in DividendDistributor.distributeDividend(address) (#351-362):
External calls:
- REWARDS.transfer(shareholder,amount) (#357)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#358)
Reentrancy in DividendDistributor.setShare(address,uint256) (#284-298):
External calls:
- distributeDividend(shareholder) (#286)
- REWARDS.transfer(shareholder,amount) (#357)
State variables written after the call(s):
- addShareholder(shareholder) (#290)
- shareholderIndexes[shareholder] = shareholders.length (#384)
- removeShareholder(shareholder) (#292)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#390)
- addShareholder(shareholder) (#290)
- shareholders.push(shareholder) (#385)
- removeShareholder(shareholder) (#292)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#389)
- shareholders.pop() (#391)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#295)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CAKEBAKER._transferFrom(address,address,uint256) (#619-674):
External calls:
- _beforeTokenTransfer(recipient) (#643)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#719-725)
- distributor.deposit{value: amountBNBReflection}() (#735)
- distributor.setShare(sender,_balances[sender]) (#663)
- distributor.setShare(recipient,_balances[recipient]) (#667)
- distributor.process(distributorGas) (#670)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#643)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#672)
Reentrancy in CAKEBAKER._transferFrom(address,address,uint256) (#619-674):
External calls:
- _beforeTokenTransfer(recipient) (#643)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#719-725)
- distributor.deposit{value: amountBNBReflection}() (#735)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#643)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#705)
- amountReceived = takeFee(sender,amount) (#658)
Reentrancy in CAKEBAKER.constructor() (#465-483):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#467)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#497)
- approve(address(pair),_totalSupply) (#479)
- Approval(msg.sender,spender,amount) (#497)
- approve(routerv2,_totalSupply) (#478)
- Transfer(address(0),msg.sender,_totalSupply) (#482)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#346-349) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#347-348)
CAKEBAKER.takeFee(address,uint256) (#700-708) uses timestamp for comparisons
Dangerous comparisons:
- antiBotEnabled && block.timestamp <= _startTimeForSwap (#701)
Avoid relying on block.timestamp.

Additional information: link

CAKEBAKER.totalFee (#437) is set pre-construction with a non-constant function or state variable:
- dividendRewardFee.add(marketingFee).add(devFee)
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

Function IDEXRouter.WETH() (#175) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#279) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#279) is not in mixedCase
Function DividendDistributor.TransferDividendToken(address,uint256) (#394-397) is not in mixedCase
Function DividendDistributor.TransferStuckBNB(address,uint256) (#399-402) is not in mixedCase
Variable DividendDistributor._token (#231) is not in mixedCase
Variable DividendDistributor.REWARDS (#239) is not in mixedCase
Variable DividendDistributor.WBNB (#241) is not in mixedCase
Parameter CAKEBAKER.updateSwapTokensAt(uint256)._swaptokens (#521) is not in mixedCase
Parameter CAKEBAKER.updateSwapEnabled(bool)._enabled (#525) is not in mixedCase
Parameter CAKEBAKER.updateWalletMax(uint256)._walletMax (#529) is not in mixedCase
Parameter CAKEBAKER.updateTransactionMax(uint256)._txMax (#533) is not in mixedCase
Parameter CAKEBAKER.whitelistDxSale(address,address)._presaleAddress (#594) is not in mixedCase
Parameter CAKEBAKER.whitelistDxSale(address,address)._routerAddress (#594) is not in mixedCase
Parameter CAKEBAKER.setDistributionCriteria(uint256,uint256)._minPeriod (#758) is not in mixedCase
Parameter CAKEBAKER.setDistributionCriteria(uint256,uint256)._minDistribution (#758) is not in mixedCase
Function CAKEBAKER.TransferDividendToken(address,uint256) (#780-782) is not in mixedCase
Function CAKEBAKER.TransferStuckBNB(address,uint256) (#784-786) is not in mixedCase
Variable CAKEBAKER.REWARDS (#408) is not in mixedCase
Variable CAKEBAKER.WBNB (#410) is not in mixedCase
Variable CAKEBAKER.DEAD (#411) is not in mixedCase
Variable CAKEBAKER.ZERO (#412) is not in mixedCase
Constant CAKEBAKER._name (#419) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CAKEBAKER._symbol (#420) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CAKEBAKER._decimals (#421) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CAKEBAKER._totalSupply (#423) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CAKEBAKER._balances (#428) is not in mixedCase
Variable CAKEBAKER._allowances (#429) is not in mixedCase
Variable CAKEBAKER.FEES_DIVISOR (#439) is not in mixedCase
Variable CAKEBAKER._startTimeForSwap (#453) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in CAKEBAKER._beforeTokenTransfer(address) (#683-698):
External calls:
- swapBack() (#692)
- recipient.transfer(amount) (#772)
External calls sending eth:
- swapBack() (#692)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
State variables written after the call(s):
- swapping = false (#694)
Reentrancy in CAKEBAKER._transferFrom(address,address,uint256) (#619-674):
External calls:
- _beforeTokenTransfer(recipient) (#643)
- recipient.transfer(amount) (#772)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#643)
- recipient.transfer(amount) (#772)
- distributor.deposit{value: amountBNBReflection}() (#735)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#646)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#659)
- amountReceived = takeFee(sender,amount) (#658)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#704)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#705)
- amountReceived = takeFee(sender,amount) (#658)
- Transfer(sender,recipient,amountReceived) (#672)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.slitherConstructorVariables() (#228-403) uses literals with too many digits:
- minDistribution = 1000000 * (10 ** 18) (#257)
CAKEBAKER.slitherConstructorVariables() (#405-789) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#411)
CAKEBAKER.slitherConstructorVariables() (#405-789) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#412)
CAKEBAKER.slitherConstructorVariables() (#405-789) uses literals with too many digits:
- distributorGas = 500000 (#445)
CAKEBAKER.slitherConstructorVariables() (#405-789) uses literals with too many digits:
- swapTokensAtAmount = 100000 * (10 ** 18) (#457)
CAKEBAKER.slitherConstructorConstantVariables() (#405-789) uses literals with too many digits:
- _totalSupply = 10000000000 * (10 ** 18) (#423)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CAKEBAKER.DEAD (#411) should be constant
CAKEBAKER.REWARDS (#408) should be constant
CAKEBAKER.WBNB (#410) should be constant
CAKEBAKER.ZERO (#412) should be constant
CAKEBAKER.antiBotFee (#452) should be constant
CAKEBAKER.routerv2 (#417) should be constant
DividendDistributor.WBNB (#241) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#254) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#137-139)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#160-164)
getCirculatingSupply() should be declared external:
- CAKEBAKER.getCirculatingSupply() (#767-769)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap volume is low.


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


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


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 number of swaps.


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find Discord account


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 token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of 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 CAKEBAKER

News for CAKEBAKER