Dreamcat's Midnight Garden

Unverified contract

Proxy

Active on Base with 108 txns
Deployed by via 0xe9b16fde at 22985249
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $158.81
0xd6f5642fcb44d19b73ce91f3539a5131bb2d10885a6c12b4d67f6db2622cf040
0x6533a052e703c10282e22dfff59b54ea8f3ce5e51a9811dab561c8cc4be81775
0x9d2da7c8f619945c1e3431370e2b9543afce7818920864d815b0010ec4c89e74
0xd98972d9df8a1547be9509ea8dc4363c74a8e38e5a8813c71969fadfc024db9a
0x1148aaa6da3bde6d87362686fdbc028e64a26ce49296402fa8aa0f4df23a2cd7
0x94d70259985cfc5a46df8673484e7c0e5662b2481f376c1879523e6f352f32cc
0xd4fd3e9dab1bdc151f140ce5a57f1f489a19b1fe396dd7b6c387d94a56138b18
0xfbede9dc9d027cc0bb4f333b3ae63948083a611b58b7362b636bb6d94fb7ce36
0x36d71d2454d7cc8b6e46fdfdb684003d060b19d76f2d1a1d890007960bf5a1d2
0x0f9975e2fd01eb6760fa2112614ade76aa154c955d62ca9314badaccea9f9c38

Functions
Getter at block 23733020
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)
0
decimals(view returns (uint8)
18
lpTokenId(view returns (uint256)
0
marketType(view returns (uint8)
0
name(view returns (string)
Dreamcat's Midnight Garden
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
platformReferrer(view returns (address)
0x282e626f1635669c075183867347b5d91c9e7ed1
poolAddress(view returns (address)
0xe750d0ff9cca05ecccebbfd77694ae320cff091b
protocolFeeRecipient(view returns (address)
0xc1f98958fd29e9f2a5a4a01e9330263944c9b6d2
protocolRewards(view returns (address)
0x7777777f279eba3d3ad8f4e708545291a6fdba8b
state(view returns (struct IWowMarketState)
(0, 0x8430512450ef7ef9e60c4bbfb5395f74208e41df)
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
symbol(view returns (string)
DREAMCAT
tokenCreator(view returns (address)
0x282e626f1635669c075183867347b5d91c9e7ed1
tokenURI(view returns (string)
ipfs://QmadZnhJbwuCXttitEpY1oXUu1ti6JLN4ypuCGkusQhHE4
totalSupply(view returns (uint256)
35859009406219763365848941
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(