Skip to main content
A launch has two records. The factory’s is keyed by token address and holds the settings the launch was created with. The hook’s is keyed by pool id and holds the settings fees are paid out under.
The hook's launch record
The hook’s launch record has one field fewer than on v2. protocolFeeRecipient was at index 6 on v2 and has been removed, since the protocol’s share now goes to the hook’s current recipient. Every field after it is now one index lower. Code that decodes the v2 layout by position will read creatorTaxBps from the old recipient slot and get a wrong value without reverting.
creator is the address that launched the token and never changes. buybackCreatorRecipient is the fee and vest recipient, and changes if the creator hands it to someone else.

Unused v2 fields

getLaunchedToken on the factory still returns the v2 struct, so some of its fields don’t mean anything on v3. They still have values, so it’s easy to branch on them by mistake.

Unswept fees

Pending balances
These are balances before a sweep. What a recipient can actually withdraw is in the escrow, and the two numbers won’t match. Show them separately.

Reading the vest

Vault reads
vestingStart returns a weighted average start time. It’s only for display and can’t be used to work out the vested amount, since each tranche has its own schedule. For any number a user will rely on, use the vested and releasable amounts, or the schedule itself. Releasing reverts while a buyback swap for that token is running. The check is set and cleared inside the sweep transaction, so a normal caller never hits it. You’d only hit it if your contract gets called back during a sweep and tries to release from that callback. Release in a separate transaction instead.