The hook's launch record
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
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.