Each struct a read returns or an event carries, field by field in the ABI's order, as viem decodes it into an object and ethers into a named tuple. The pool's stage, PoolConfig.stage, is a uint8 numbered as below.
stage
- 0
- LaunchHook.Stage
Below - What it meansShort of graduation.
- 1
- LaunchHook.Stage
Crossed - What it meansA swap left the price past the graduation line; the first swap of a later transaction confirms it, whichever way that swap trades. Only a sale in the same transaction returns the pool to
Below. - 2
- LaunchHook.Stage
Graduated - What it meansConfirmed past graduation, for good.
- 3
- LaunchHook.Stage
LpCrossed - What it meansPast the LP line, its hold counting (
lpHeldSeconds, lpCrossedAt). A sell back under it returns the pool to Graduated, the time held kept. - 4
- LaunchHook.Stage
LpActive - What it meansThe LP fee is on, for good.
PoolKey: LaunchHook.poolKey(poolId), PoolView.key, Uniswap v4's own.
Field
currency0- Type
address - What it isThe lower address; native HYPE is the zero address.
currency1- Type
address - What it isThe higher address.
fee- Type
uint24 - What it is
0x800000, the dynamic-fee flag: the LP fee lives in the pool's slot0, never here. tickSpacing- Type
int24 - What it isThe row's tick spacing.
hooks- Type
address - What it isThe launch hook.
ExactIn: LaunchRouter.swapExactIn's one argument.
Field
key- Type
PoolKey - What it isThe pool's key, from
poolKey(poolId). zeroForOne- Type
bool - What it isTrue to sell
currency0 for currency1. A buy is zeroForOne == quoteIsCurrency0. amountIn- Type
uint128 - What it isExactly what the trade spends, in the input's base units. A native input is sent as the call's value, equal to it.
minAmountOut- Type
uint128 - What it isThe least the trade may deliver, or it reverts
TooLittleReceived. recipient- Type
address - What it isWho receives the output: never zero (
ZeroAddress) or the router itself (InvalidRecipient). deadline- Type
uint256 - What it isA Unix time in seconds, after which it reverts
Expired.
PoolView: LaunchLens.tokenView(token) and poolView(hook, poolId): 50 words, the key's 5 and the config's 23 inline.
Field
key- Type
PoolKey - What it isThe pool's key.
config- Type
PoolConfig - What it isThe pool's terms and state, as
poolConfig(poolId) returns them (below). sqrtPriceX96- Type
uint160 - What it isThe pool's price now, from slot0.
tick- Type
int24 - What it isThe pool's tick now.
poolLpFee- Type
uint24 - What it isThe LP fee slot0 holds, in pips: zero until the LP line's switching trade has run.
activeLiquidity- Type
uint128 - What it isThe liquidity in range now, the seed's and anyone else's.
totalFee- Type
uint24 - What it isWhat the next sale pays, in pips, and a buy outside an anti-snipe window:
feeBreakdown's total. lpFee- Type
uint24 - What it isThe LP fee the next trade pays:
feeBreakdown's lp, already the tier's once the hold is done, while slot0 may still read zero. protocolFee- Type
uint24 - What it isThe protocol's absolute share, in pips.
creatorFee- Type
uint24 - What it isThe creator side's rest:
totalFee − lpFee − protocolFee, never negative. effectiveTotalFee- Type
uint256 - What it isThe all-in rate with the two fees compounded,
h + lp − h·lp / 1e6, in pips: a hair under totalFee once the LP fee is on. buyFee- Type
uint24 - What it isWhat a buy pays now, in pips (the hook's
currentBuyFeeRate): totalFee, or inside the pool's anti-snipe window the higher rate falling to it. buyEffectiveTotalFee- Type
uint256 - What it isWhat a buy pays all in: the hook's part of
buyFee compounded with the LP fee in force, as effectiveTotalFee is, so equal to buyFee until that fee is on. A buy pays 1 / (1 − buyEffectiveTotalFee / 1e6) times the pool's price, before its move. coreProtocolFeeZeroForOne- Type
uint24 - What it isUniswap's own protocol fee on a
zeroForOne swap, in pips: zero unless Uniswap switches it on, then charged on top. coreProtocolFeeOneForZero- Type
uint24 - What it isThe same, the other way.
pendingCreator- Type
uint256 - What it isThe creator side's fees a sweep would move, in the quote.
tab- Type
uint256 - What it isThe creator side's swept balance, in the quote.
harvestableQuote- Type
uint256 - What it isThe seed's LP fees in the quote not yet harvested (they go to the creator side).
harvestableToken- Type
uint256 - What it isThe seed's LP fees in the token not yet harvested (they are burned).
pendingProtocol- Type
uint256 - What it isThe protocol's fees a sweep would move, in the quote.
graduationProgressBps- Type
uint256 - What it isHow far to graduation, in basis points of the quote the seed must collect: 10,000 once past it,
Crossed included. lpLineProgressBps- Type
uint256 - What it isThe same toward the LP line.
lpLineHeldSeconds- Type
uint256 - What it isSeconds spent past the LP line so far, up to the hold.
lpLineHoldSeconds- Type
uint256 - What it isThe hold: the LP fee starts at the next trade once the two are equal.
PoolConfig: LaunchHook.poolConfig(poolId) and PoolView.config: this generation's layout (a later hook's may differ; decode it with that hook's ABI).
Field
totalFeePips- Type
uint24 - What it isThe pool's total fee now, in pips: only ever lowered, never under
totalFeeMinPips. lpFeePips- Type
uint24 - What it isThe pool's LP fee, fixed; charged from the LP line on.
protocolFeePips- Type
uint24 - What it isThe protocol's absolute share, only ever lowered.
exists- Type
bool - What it isThe hook registered this pool.
quoteIsCurrency0- Type
bool - What it isThe quote asset is
currency0. liquiditySealed- Type
bool - What it isOutside liquidity is refused (no tier of the menu seals).
seeded- Type
bool - What it isThe seed is placed.
feeLocked- Type
bool - What it isThe total can never be lowered again.
earlyBuyFeeUntil- Type
uint40 - What it isThe first second a buy pays the total alone, a Unix time; zero with no anti-snipe fee. The window began
earlyBuyFeeWindow seconds before it, at launch. graduationTick- Type
int24 - What it isThe graduation line's tick (the registered offset until the seed places it).
lpLineTick- Type
int24 - What it isThe LP line's tick, likewise.
stage- Type
uint8 - What it isThe pool's stage,
LaunchHook.Stage: the numbers below. lpCrossedAt- Type
uint32 - What it isWhen the current stretch past the LP line began, while
LpCrossed. lpHeldSeconds- Type
uint16 - What it isTime spent past the LP line in earlier stretches, up to the hold.
totalFeeMinPips- Type
uint24 - What it isThe floor the total may be lowered to.
totalFeeMaxPips- Type
uint24 - What it isThe total registered at launch, for readers.
liquidityPolicy- Type
address - What it isA module asked about outside adds; zero for none (no tier names one).
seedTickLower- Type
int24 - What it isThe seed's lower tick.
seedTickUpper- Type
int24 - What it isThe seed's upper tick.
earlyBuyFeeStartPips- Type
uint24 - What it isWhat a buy paid in the launch second, in pips; zero for none.
earlyBuyFeeWindow- Type
uint32 - What it isThe seconds the rate takes to fall to the total; zero for none.
seedLiquidity- Type
uint128 - What it isThe seed's liquidity.
recipient- Type
address - What it isWho the creator side pays: a wallet, a splitter, or the token itself for its holders.
Registration: PoolRegistered's registration: the terms a launch stamps into its pool.
Field
recipient- Type
address - What it isWho the creator side pays from launch.
quote- Type
address - What it isThe quote asset; zero for native HYPE.
totalFeePips- Type
uint24 - What it isThe total at launch, in pips.
totalFeeMinPips- Type
uint24 - What it isThe floor.
protocolFeePips- Type
uint24 - What it isThe protocol's share.
lpFeePips- Type
uint24 - What it isThe LP fee from the LP line on.
feeLocked- Type
bool - What it isFixed from birth (the holders or a split).
earlyBuyFeeStartPips- Type
uint24 - What it isWhat a buy pays in the launch second, in pips; zero for none.
earlyBuyFeeWindow- Type
uint32 - What it isThe seconds it falls over, from the block's time; zero for none.
liquidityPolicy- Type
address - What it isThe liquidity policy, or zero.
liquiditySealed- Type
bool - What it isOutside liquidity refused.
graduationTicks- Type
uint24 - What it isGraduation's offset from the opening, in ticks; zero is graduated from birth.
lpLineTicks- Type
uint24 - What it isThe LP line's offset; zero pays the LP fee from birth.
LaunchConfig: ConfigPublished's config and LaunchFactory.getConfig(id): a row a launch picks by its configId.
Field
moduleSetId- Type
uint256 - What it isThe module set (hook, token master, splitter master) it launches with.
quote- Type
address - What it isThe quote asset; zero for native HYPE.
baseSupply- Type
uint256 - What it isThe supply its start tick is set for, in base units (1e9 tokens × 1e18).
tickSpacing- Type
int24 - What it isThe pool's tick spacing.
startTick- Type
int24 - What it isThe opening tick for the base supply, with the token as currency1; mirrored when the token sorts first.
graduationTicks- Type
uint24 - What it isGraduation's offset from the opening, in ticks.
lpLineTicks- Type
uint24 - What it isThe LP line's offset.
totalFeePips- Type
uint24 - What it isThe total, in pips.
totalFeeMinPips- Type
uint24 - What it isThe floor.
protocolFeePips- Type
uint24 - What it isThe protocol's share.
lpFeePips- Type
uint24 - What it isThe LP fee.
earlyBuyFeeStartPips- Type
uint24 - What it isAn anti-snipe fee's start, above the total and at most 99%; zero for none.
earlyBuyFeeWindow- Type
uint32 - What it isThe seconds it falls over, at most 30 minutes; zero for none.
liquidityPolicy- Type
address - What it isA liquidity policy, or zero.
liquiditySealed- Type
bool - What it isOutside liquidity refused.
streamDuration- Type
uint32 - What it isSeconds a holders' stream runs.
pushBountyBps- Type
uint16 - What it isA pusher's share of each pushed payout, in basis points.
pushFloor- Type
uint128 - What it isA pusher's least fee, in the quote's base units.
enabled- Type
bool - What it isLaunches may use it. Always false in
ConfigPublished: a row is published off and switched on by ConfigEnabled. exists- Type
bool - What it isPublished.
LaunchParams: LaunchFactory.launch's one argument, in this order.
Field
name- Type
string - What it isThe token's name. Not empty.
symbol- Type
string - What it isIts symbol. Not empty.
metadataURI- Type
string - What it isThe metadata JSON's URI, fixed at launch.
profile- Type
Profile - What it isThe image, description and links the token keeps on chain.
configId- Type
uint256 - What it isThe row launched under. Ids count from 0: Choose a row.
supply- Type
uint256 - What it isWhole tokens × 1e18; 0 for the row's own.
salt- Type
bytes32 - What it isAny value: the token's address comes from it and the sender.
feeRecipients- Type
address[] - What it isWhere the creator's stream goes; empty for the sender's own wallet. The creator's routes.
feeShares- Type
uint16[] - What it isTheir shares of 10,000, in the same order; empty with them.
firstBuyAmount- Type
uint256 - What it isThe quote spent on the first buy, its fee included; 0 for none.
firstBuyMinOut- Type
uint256 - What it isThe fewest tokens the first buy may return, or the launch reverts
FirstBuySlippage. permit- Type
Permit - What it isAn EIP-2612 allowance for an ERC-20 first buy; all zero for none.
Profile: LaunchParams.profile, in this order.
Field
logo- Type
string - What it isThe image's URI.
description- Type
string - What it isThe token's description.
socials- Type
Socials - What it isIts links, below.
Permit: LaunchParams.permit, in this order: one transaction for an ERC-20 first buy.
Field
deadline- Type
uint256 - What it isWhen the signature ends. 0: none supplied, and the allowance must already exist.
v- Type
uint8 - What it isThe signature's
v. r- Type
bytes32 - What it isIts
r. s- Type
bytes32 - What it isIts
s.
Socials: LaunchParams.profile.socials, getTokenInfo()'s socials_ and socials(), in this order.
Field
telegram- Type
string - What it isA link, or empty.
twitter- Type
string - What it isA link, or empty.
discord- Type
string - What it isA link, or empty.
website- Type
string - What it isA link, or empty.
extra- Type
string - What it isEmpty for a launch through Montra Launch Elysium's site.
RewardView: LaunchLens.rewardView(token, holder).
Field
asset- Type
address - What it isWhat holders are paid in: the pool's quote.
directlyRouted- Type
bool - What it isThe pool's creator side pays the token itself (a splitter slot naming it is not counted).
eligibleSupply- Type
uint256 - What it isThe supply that earns: every balance but the excluded addresses'.
streamingRemaining- Type
uint256 - What it isWhat the current stream still has to pay out.
streamingPerSecond- Type
uint256 - What it isIts rate, a second.
periodFinish- Type
uint64 - What it isWhen it ends, a Unix time.
parked- Type
uint256 - What it isArrived too small to restart the stream, waiting for the next.
totalReceived- Type
uint256 - What it isEvery unit the token has received for its holders.
totalClaimed- Type
uint256 - What it isEvery unit paid out, claimed and pushed.
claimableFromVenue- Type
uint256 - What it isWhat
distribute() would pull from the hook now, where the creator side pays the token. earned- Type
uint256 - What it isWhat
holder could claim now.