Skip to main content
Version: 1.17.1

Type Alias: GenerateOnboardTokenParams

GenerateOnboardTokenParams = OnboardTokenParams & { authority?: string; lookupTablePayer?: string; payer: string; }

Defined in: cct/solana/onboarding/onboard-token.ts:153

Parameters for token onboarding planning and unsigned generation.

Type Declaration​

authority?​

optional authority?: string

Mint authority of the token, who becomes the pool owner and token administrator. Defaults to payer; pass the vault for a Squads multisig.

lookupTablePayer?​

optional lookupTablePayer?: string

Account that pays for and signs the pool lookup table's creation in a createLookupTable step of its own, such as a hot wallet; authority stays the table's authority.

Remarks​

A lookup table is created from a recent slot, which Solana accepts for 512 slots (about 3 minutes). Set this when payer cannot land a transaction that fast, such as a Squads vault awaiting approvals. Then land the createLookupTable transaction right away, and pass its lookupTableAddress as poolLookupTableAddress from the next call on; the setPool step fills the table, with no time limit. Without it, setPool creates the table itself.

payer​

payer: string

Fee payer of every onboarding transaction.