• Builds the post-deployment crank the app runs once every position is open: TriggerBehaviorsV2 on the CLMM bucket (moving the ledger leftover via BaseTokenRollover, with the remaining accounts wired from the bucket's behavior data) followed by SweepRaydiumClmmBucketSignerV2 (sending the deployment residue in the bucket signer ATAs to the position NFT owner). Both instructions are permissionless and gated on-chain until all positions are open.

    Each behavior needs its destination bucket plus that destination's quote token account as remaining accounts; the token account owner depends on the destination bucket type (Raydium buckets custody tokens under a separate bucket signer PDA), which this helper resolves by inspecting the destination accounts.

    Parameters

    • umi: Umi
    • ctx: ClmmGraduationContext
    • options: {
          includeSweep?: boolean;
          payer?: Signer;
      } = {}
      • Optional includeSweep?: boolean

        Set false to build only the TriggerBehaviorsV2 crank.

      • Optional payer?: Signer

        Pays rent for missing sweep destination ATAs; defaults to identity.

    Returns Promise<TransactionBuilder>

Generated using TypeDoc