• Derives the Raydium CLMM pool accounts for graduateToRaydiumClmmV2. The pool is the seed-indexed Raydium PDA [pool, amm_config, token_0, token_1, seed_index_le] created via Raydium's create_permissioned_pool; the Genesis raydium_signer holds the Raydium permission PDA that gates creation (no front-running).

    Parameters

    • umi: Umi

      Umi instance

    • baseMint: PublicKey<string>

      The base token mint (project mint)

    • ammConfig: PublicKey<string>

      The Raydium CLMM AmmConfig configured on the bucket

    • options: {
          env?: "devnet" | "mainnet";
          poolSeedIndex?: number;
          quoteMint?: PublicKey<string>;
      } = {}
      • Optional env?: "devnet" | "mainnet"

        'mainnet' (default) or 'devnet'

      • Optional poolSeedIndex?: number

        The bucket's pool seed index (defaults to 1; must be in 1..MAX_CLMM_POOL_SEED_INDEX)

      • Optional quoteMint?: PublicKey<string>

        The quote token mint (defaults to wSOL)

    Returns RaydiumClmmPoolAccounts

Generated using TypeDoc