Cake AI

Unverified contract

Proxy

Active on Base with 297 txns
Deployed by via 0x92fd3b47 at 23497546
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
Value $0
)
ERC-721
--
ERC-20
--
0xb4e3457b8fccc19104bc42b69857f001878fd17ab7f77ab03e993a1484bd30cd
0x0a1a7f84c07631d766811d3731ab6de18a0a5358f47544e9d0ee423d1b2d6f71
0xc26e97f4947f50f37590c44b71b0b2b690f5eebf19139a2dd692e7da4987c0d7
0xb89eb779f8de8c8a810b98b5f7552446c4aba25f7bb150c7d2ee2ab724cd8d8f
0x3855ab3fbe06a4f46d6df940064c4a32257e955b52775cee880e2fe250913a2d
0x151469ee22fdcc1ac8e25214761e3db6bfd5d0ce1db2bdc7c28d87697e32628d
0xce75ab35655fd5d79d9c36baac89a23a53e138b57be8161fd37c64e239a15b6c
0x242ccf8706dab196a89f5b812fb884fe0416b5141a6a469abe850e820583614f
0x52b796bdbe3bad1cf7a05929831abdc508af184879ab5e366e799425ebbb9d11
0xaa1f5c0b731508d106eec0c928351451d2ae81c4943e64b83c86496b8670599d

Functions
Getter at block 23769576
MAX_TOTAL_SUPPLY(view returns (uint256)
1000000000000000000000000000
MIN_ORDER_SIZE(view returns (uint256)
100000000000
ORDER_REFERRER_FEE_BPS(view returns (uint256)
1500
PLATFORM_REFERRER_FEE_BPS(view returns (uint256)
1500
PROTOCOL_FEE_BPS(view returns (uint256)
2000
TOKEN_CREATOR_FEE_BPS(view returns (uint256)
5000
TOTAL_FEE_BPS(view returns (uint256)
100
WETH(view returns (address)
0x4200000000000000000000000000000000000006
bondingCurve(view returns (address)
0x91c1863ed54809c45b53bb6090eb437036c792c4
 
currentExchangeRate(view returns (uint256)
decimals(view returns (uint8)
18
lpTokenId(view returns (uint256)
1393247
marketType(view returns (uint8)
1
name(view returns (string)
Cake AI
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
platformReferrer(view returns (address)
0x07ee69ee65b98e0c7ba92a2c1e3609dd9ab032a7
poolAddress(view returns (address)
0xf3eafc45d4b1f99c38eaa598e88616c598a23391
protocolFeeRecipient(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
protocolRewards(view returns (address)
0x7777777f279eba3d3ad8f4e708545291a6fdba8b
state(view returns (struct IWowMarketState)
(1, 0xf3eafc45d4b1f99c38eaa598e88616c598a23391)
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol(view returns (string)
CAKE
tokenCreator(view returns (address)
0x455b3ac9eefa48966d274681da229320fd7a6271
tokenURI(view returns (string)
ipfs://bafkreicbwvqhbz6x53vi6arl5uim7oq6cr7who3xxz4cblhjz5xni4zixa
totalSupply(view returns (uint256)
1000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getEthBuyQuote(uint256 ethOrderSizeview returns (uint256)
getEthSellQuote(uint256 ethOrderSizeview returns (uint256)
getTokenBuyQuote(uint256 tokenOrderSizeview returns (uint256)
getTokenSellQuote(uint256 tokenOrderSizeview returns (uint256)
onERC721Received(addressaddressuint256bytesview returns (bytes4)
State-modifying
approve(address spenderuint256 valuereturns (bool)
burn(uint256 tokensToBurn
buy(address recipientaddress refundRecipientaddress orderReferrerstring commentuint8 expectedMarketTypeuint256 minOrderSizeuint160 sqrtPriceLimitX96payable returns (uint256)
claimSecondaryRewards(bool pushEthRewards
initialize(address _tokenCreatoraddress _platformReferreraddress _bondingCurvestring _tokenURIstring _namestring _symbolpayable 
sell(uint256 tokensToSelladdress recipientaddress orderReferrerstring commentuint8 expectedMarketTypeuint256 minPayoutSizeuint160 sqrtPriceLimitX96returns (uint256)
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Initialized(uint64 version
Transfer(address indexed fromaddress indexed touint256 value
WowMarketGraduated(address indexed tokenAddressaddress indexed poolAddressuint256 totalEthLiquidityuint256 totalTokenLiquidityuint256 lpPositionIduint8 marketType
WowTokenBuy(address indexed buyeraddress indexed recipientaddress indexed orderReferreruint256 totalEthuint256 ethFeeuint256 ethSolduint256 tokensBoughtuint256 buyerTokenBalancestring commentuint256 totalSupplyuint8 marketType
WowTokenFees(address indexed tokenCreatoraddress indexed platformReferreraddress indexed orderReferreraddress protocolFeeRecipientuint256 tokenCreatorFeeuint256 platformReferrerFeeuint256 orderReferrerFeeuint256 protocolFee
WowTokenSecondaryRewards(struct IWowSecondaryRewards rewards
WowTokenSell(address indexed selleraddress indexed recipientaddress indexed orderReferreruint256 totalEthuint256 ethFeeuint256 ethBoughtuint256 tokensSolduint256 sellerTokenBalancestring commentuint256 totalSupplyuint8 marketType
WowTokenTransfer(address indexed fromaddress indexed touint256 amountuint256 fromTokenBalanceuint256 toTokenBalanceuint256 totalSupply
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AddressZero(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
EthAmountTooSmall(
EthTransferFailed(
FailedInnerCall(
InitialOrderSizeTooLarge(
InsufficientFunds(
InsufficientLiquidity(
InvalidInitialization(
InvalidMarketType(
MarketAlreadyGraduated(
MarketNotGraduated(
NotInitializing(
OnlyPool(
OnlyWeth(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
SlippageBoundsExceeded(