• Build the fixed-size position plan expected by the add/update instructions: pads the given positions to 8 entries with zeroed configs and returns the matching positionCount.

    Rejects funded shares below MIN_CLMM_POSITION_SHARE_BPS, mirroring the program's config-time validation.

    Parameters

    Returns {
        positionCount: number;
        positions: (ClmmPositionInput & {
            padding: number[];
        })[];
    }

    • positionCount: number
    • positions: (ClmmPositionInput & {
          padding: number[];
      })[]

Generated using TypeDoc