Everything the graduation flow needs, resolved from chain state in one place so callers never hand-carry (and mismatch) the ammConfig, pool seed index, quote mint, or environment between calls.

Hierarchy

  • ClmmGraduationContext

Properties

baseMint: PublicKey<string>

The fetched bucket account (already deserialized).

bucketAddress: PublicKey<string>
bucketSigner: PublicKey<string>
bucketSignerBaseTokenAccount: PublicKey<string>
bucketSignerQuoteTokenAccount: PublicKey<string>
env: "devnet" | "mainnet"
genesisAccount: PublicKey<string>
graduated: boolean

True once graduateToRaydiumClmmV2 has created the pool.

Pool accounts derived from the bucket's ammConfig + poolSeedIndex.

positions: ClmmPositionConfig[]

The configured position plan, trimmed to positionCount.

quoteMint: PublicKey<string>

Generated using TypeDoc