@whetstone-research/doppler-sdk 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/chunk-BESE77DM.js +3840 -0
  2. package/dist/chunk-BESE77DM.js.map +1 -0
  3. package/dist/chunk-KJ6W44WF.cjs +4089 -0
  4. package/dist/chunk-KJ6W44WF.cjs.map +1 -0
  5. package/dist/{chunk-AKLS6T3R.cjs → chunk-Y6TJIH33.cjs} +36 -24
  6. package/dist/chunk-Y6TJIH33.cjs.map +1 -0
  7. package/dist/{chunk-6TOPYGOG.js → chunk-ZUJKBFXW.js} +35 -24
  8. package/dist/chunk-ZUJKBFXW.js.map +1 -0
  9. package/dist/{oracle-7PmpwwPx.d.ts → oracle-D1wPWydZ.d.cts} +1 -33
  10. package/dist/{oracle-7PmpwwPx.d.cts → oracle-D1wPWydZ.d.ts} +1 -33
  11. package/dist/{pda-PZRHQJMK.cjs → pda-A4PIAS5Y.cjs} +20 -16
  12. package/dist/pda-A4PIAS5Y.cjs.map +1 -0
  13. package/dist/{pda-N6ULJYLG.js → pda-JVAD45XJ.js} +3 -3
  14. package/dist/pda-JVAD45XJ.js.map +1 -0
  15. package/dist/solana/index.cjs +427 -3253
  16. package/dist/solana/index.cjs.map +1 -1
  17. package/dist/solana/index.d.cts +211 -213
  18. package/dist/solana/index.d.ts +211 -213
  19. package/dist/solana/index.js +105 -2931
  20. package/dist/solana/index.js.map +1 -1
  21. package/dist/solana/react/index.cjs +53 -85
  22. package/dist/solana/react/index.cjs.map +1 -1
  23. package/dist/solana/react/index.d.cts +7 -1
  24. package/dist/solana/react/index.d.ts +7 -1
  25. package/dist/solana/react/index.js +15 -47
  26. package/dist/solana/react/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/chunk-6TOPYGOG.js.map +0 -1
  29. package/dist/chunk-AKLS6T3R.cjs.map +0 -1
  30. package/dist/chunk-C2D7CIXP.js +0 -977
  31. package/dist/chunk-C2D7CIXP.js.map +0 -1
  32. package/dist/chunk-GUGN3EYX.cjs +0 -1069
  33. package/dist/chunk-GUGN3EYX.cjs.map +0 -1
  34. package/dist/pda-N6ULJYLG.js.map +0 -1
  35. package/dist/pda-PZRHQJMK.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as _solana_kit from '@solana/kit';
2
- import { Address, ReadonlyUint8Array, Codec, ProgramDerivedAddress, TransactionSigner, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, ReadonlyAccount, WritableAccount, ReadonlySignerAccount, AccountSignerMeta, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, WritableSignerAccount, Encoder, Decoder, OptionOrNullable, Option, Rpc, GetAccountInfoApi, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, ClientWithRpc, GetMultipleAccountsApi, ClientWithPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, TransactionMessage } from '@solana/kit';
3
- import { A as AmmConfig, P as Pool, a as Position, O as OracleState$2, S as SwapExactInArgs, b as AddLiquidityArgs, R as RemoveLiquidityArgs, C as CollectFeesArgs, c as CollectProtocolFeesArgs, d as CreatePositionArgs, I as InitializeConfigArgs$2, e as InitializePoolArgs, f as InitializeOracleArgs$1, g as SetHookArgs, h as SetFeesArgs, i as SetRouteArgs, T as TransferAdminArgs, j as OracleConsultArgs, Q as QuoteToNumeraireArgs, k as Observation, l as TradeDirection, m as SwapQuote, n as SwapQuoteExactOut, o as AddLiquidityQuote, p as RemoveLiquidityQuote, M as MarketCapValidationResult, q as MarketCapToCurveParamsInput, r as CurveParams, s as CurveParamsToMarketCapInput, G as GetProgramAccountsRpc, t as AddLiquidityEvent, u as AdminTransferredEvent, v as CollectFeesEvent, w as CollectProtocolFeesEvent, F as FeesUpdatedEvent, x as FetchOracleConfig, y as FetchPositionsConfig, H as HookErrorEvent, z as HookInvokedEvent, B as HookUpdatedEvent, D as OracleInitializedEvent, E as OracleUpdatedEvent, J as OracleWithAddress, K as PausedEvent, L as PoolInitializedEvent, N as PositionClosedEvent, U as PositionCreatedEvent, V as PositionValue, W as PositionWithAddress, X as RemoveLiquidityEvent, Y as RouteUpdatedEvent, Z as SwapEvent, _ as TwapResult, $ as UnpausedEvent, a0 as VaultExcessWithdrawnEvent, a1 as comparePoolAndOraclePrices, a2 as consultTwap, a3 as fetchOracle, a4 as fetchOraclesBatch, a5 as fetchPoolPositions, a6 as fetchPosition, a7 as fetchPositionByParams, a8 as fetchPositionsBatch, a9 as fetchUserPositions, aa as filterActivePositions, ab as getOracleAddressFromPool, ac as getOracleAge, ad as getOracleBufferStats, ae as getOracleDeviation, af as getOracleForPool, ag as getOracleSpotPrices, ah as getPositionAddressFromParams, ai as getPositionValue, aj as isOracleStale, ak as sortPositionsByShares } from '../oracle-7PmpwwPx.cjs';
2
+ import { Address, ReadonlyUint8Array, Codec, ProgramDerivedAddress, TransactionSigner, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, ReadonlyAccount, WritableAccount, ReadonlySignerAccount, AccountSignerMeta, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, WritableSignerAccount, Encoder, Decoder, Rpc, GetAccountInfoApi, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, ClientWithRpc, GetMultipleAccountsApi, ClientWithPayer, ClientWithTransactionPlanning, ClientWithTransactionSending, TransactionMessage, TransactionMessageWithFeePayer, OptionOrNullable, Option } from '@solana/kit';
3
+ import { A as AmmConfig, P as Pool, a as Position, O as OracleState$2, S as SwapExactInArgs, b as AddLiquidityArgs, R as RemoveLiquidityArgs, C as CollectFeesArgs, c as CollectProtocolFeesArgs, d as CreatePositionArgs, I as InitializeConfigArgs$2, e as InitializePoolArgs, f as InitializeOracleArgs$1, g as SetHookArgs, h as SetFeesArgs, T as TransferAdminArgs, i as OracleConsultArgs, j as Observation, k as TradeDirection, l as SwapQuote, m as SwapQuoteExactOut, n as AddLiquidityQuote, o as RemoveLiquidityQuote, M as MarketCapValidationResult, p as MarketCapToCurveParamsInput, q as CurveParams, r as CurveParamsToMarketCapInput, G as GetProgramAccountsRpc, s as AddLiquidityEvent, t as AdminTransferredEvent, u as CollectFeesEvent, v as CollectProtocolFeesEvent, F as FeesUpdatedEvent, w as FetchOracleConfig, x as FetchPositionsConfig, H as HookErrorEvent, y as HookInvokedEvent, z as HookUpdatedEvent, B as OracleInitializedEvent, D as OracleUpdatedEvent, E as OracleWithAddress, J as PausedEvent, K as PoolInitializedEvent, L as PositionClosedEvent, N as PositionCreatedEvent, Q as PositionValue, U as PositionWithAddress, V as RemoveLiquidityEvent, W as SwapEvent, X as TwapResult, Y as UnpausedEvent, Z as VaultExcessWithdrawnEvent, _ as comparePoolAndOraclePrices, $ as consultTwap, a0 as fetchOracle, a1 as fetchOraclesBatch, a2 as fetchPoolPositions, a3 as fetchPosition, a4 as fetchPositionByParams, a5 as fetchPositionsBatch, a6 as fetchUserPositions, a7 as filterActivePositions, a8 as getOracleAddressFromPool, a9 as getOracleAge, aa as getOracleBufferStats, ab as getOracleDeviation, ac as getOracleForPool, ad as getOracleSpotPrices, ae as getPositionAddressFromParams, af as getPositionValue, ag as isOracleStale, ah as sortPositionsByShares } from '../oracle-D1wPWydZ.cjs';
4
4
  import { SelfFetchFunctions, SelfPlanAndSendFunctions } from '@solana/program-client-core';
5
5
  import * as _solana_addresses from '@solana/addresses';
6
6
 
@@ -32,8 +32,8 @@ declare const SEED_AUTHORITY = "authority";
32
32
  declare const SEED_POSITION = "position";
33
33
  /** Seed prefix for OracleState PDA: ['oracle', pool] */
34
34
  declare const SEED_ORACLE = "oracle";
35
- /** Seed prefix for protocol fee position PDA: ['protocol_position', pool] */
36
- declare const SEED_PROTOCOL_FEE_POSITION = "protocol_position";
35
+ /** Seed prefix for protocol fee owner PDA: ['protocol_fee_owner', pool] */
36
+ declare const SEED_PROTOCOL_FEE_OWNER = "protocol_fee_owner";
37
37
  /** Hook: called before swap */
38
38
  declare const HF_BEFORE_SWAP$1: number;
39
39
  /** Hook: called after swap */
@@ -69,10 +69,8 @@ declare const INSTRUCTION_DISCRIMINATORS: {
69
69
  readonly closePosition: Uint8Array<ArrayBuffer>;
70
70
  readonly oracleUpdate: Uint8Array<ArrayBuffer>;
71
71
  readonly oracleConsult: Uint8Array<ArrayBuffer>;
72
- readonly quoteToNumeraire: Uint8Array<ArrayBuffer>;
73
72
  readonly setHook: Uint8Array<ArrayBuffer>;
74
73
  readonly setFees: Uint8Array<ArrayBuffer>;
75
- readonly setRoute: Uint8Array<ArrayBuffer>;
76
74
  readonly transferAdmin: Uint8Array<ArrayBuffer>;
77
75
  readonly pause: Uint8Array<ArrayBuffer>;
78
76
  readonly unpause: Uint8Array<ArrayBuffer>;
@@ -136,10 +134,8 @@ declare const initializePoolArgsCodec: Codec<InitializePoolArgs>;
136
134
  declare const initializeOracleArgsCodec: Codec<InitializeOracleArgs$1>;
137
135
  declare const setHookArgsCodec: Codec<SetHookArgs>;
138
136
  declare const setFeesArgsCodec: Codec<SetFeesArgs>;
139
- declare const setRouteArgsCodec: Codec<SetRouteArgs>;
140
137
  declare const transferAdminArgsCodec: Codec<TransferAdminArgs>;
141
138
  declare const oracleConsultArgsCodec: Codec<OracleConsultArgs>;
142
- declare const quoteToNumeraireArgsCodec: Codec<QuoteToNumeraireArgs>;
143
139
  /** Encode SwapExactIn args */
144
140
  declare function encodeSwapExactInArgs(args: SwapExactInArgs): Uint8Array;
145
141
  /** Encode AddLiquidity args */
@@ -162,14 +158,10 @@ declare function encodeInitializeOracleArgs(args: InitializeOracleArgs$1): Uint8
162
158
  declare function encodeSetHookArgs(args: SetHookArgs): Uint8Array;
163
159
  /** Encode SetFees args */
164
160
  declare function encodeSetFeesArgs(args: SetFeesArgs): Uint8Array;
165
- /** Encode SetRoute args */
166
- declare function encodeSetRouteArgs(args: SetRouteArgs): Uint8Array;
167
161
  /** Encode TransferAdmin args */
168
162
  declare function encodeTransferAdminArgs(args: TransferAdminArgs): Uint8Array;
169
163
  /** Encode OracleConsult args */
170
164
  declare function encodeOracleConsultArgs(args: OracleConsultArgs): Uint8Array;
171
- /** Encode QuoteToNumeraire args */
172
- declare function encodeQuoteToNumeraireArgs(args: QuoteToNumeraireArgs): Uint8Array;
173
165
 
174
166
  /**
175
167
  * Sort two mints into canonical order (token0 < token1 by bytes)
@@ -223,8 +215,13 @@ declare function getPositionAddress(pool: Address, owner: Address, positionId: b
223
215
  */
224
216
  declare function getOracleAddress(pool: Address, programId?: Address): Promise<ProgramDerivedAddress>;
225
217
  /**
226
- * Derive the protocol fee position PDA address
227
- * Seeds: ['protocol_position', pool]
218
+ * Derive the protocol fee owner PDA address
219
+ * Seeds: ['protocol_fee_owner', pool]
220
+ */
221
+ declare function getProtocolFeeOwnerAddress(pool: Address, programId?: Address): Promise<ProgramDerivedAddress>;
222
+ /**
223
+ * Derive the protocol fee position PDA address.
224
+ * Seeds: ['position', pool, protocol_fee_owner, 0]
228
225
  */
229
226
  declare function getProtocolFeePositionAddress(pool: Address, programId?: Address): Promise<ProgramDerivedAddress>;
230
227
  /**
@@ -238,6 +235,7 @@ declare function getPoolInitAddresses(mint0: Address, mint1: Address, programId?
238
235
  vault0: ProgramDerivedAddress;
239
236
  vault1: ProgramDerivedAddress;
240
237
  config: ProgramDerivedAddress;
238
+ protocolFeeOwner: ProgramDerivedAddress;
241
239
  protocolFeePosition: ProgramDerivedAddress;
242
240
  }>;
243
241
  /**
@@ -255,6 +253,7 @@ declare function getLiquidityAddresses(pool: Address, owner: Address, positionId
255
253
  config: ProgramDerivedAddress;
256
254
  authority: ProgramDerivedAddress;
257
255
  position: ProgramDerivedAddress;
256
+ protocolFeeOwner: ProgramDerivedAddress;
258
257
  protocolFeePosition: ProgramDerivedAddress;
259
258
  oracle: ProgramDerivedAddress;
260
259
  }>;
@@ -1049,20 +1048,16 @@ type InitializeConfigInstruction$1<TProgram extends string = typeof CPMM_PROGRAM
1049
1048
  type InitializeConfigInstructionData$1 = {
1050
1049
  discriminator: ReadonlyUint8Array;
1051
1050
  admin: Address;
1052
- numeraireMint: Address;
1053
1051
  maxSwapFeeBps: number;
1054
1052
  maxFeeSplitBps: number;
1055
- maxRouteHops: number;
1056
1053
  protocolFeeEnabled: boolean;
1057
1054
  protocolFeeBps: number;
1058
1055
  hookAllowlist: Array<Address>;
1059
1056
  };
1060
1057
  type InitializeConfigInstructionDataArgs$1 = {
1061
1058
  admin: Address;
1062
- numeraireMint: Address;
1063
1059
  maxSwapFeeBps: number;
1064
1060
  maxFeeSplitBps: number;
1065
- maxRouteHops: number;
1066
1061
  protocolFeeEnabled: boolean;
1067
1062
  protocolFeeBps: number;
1068
1063
  hookAllowlist: Array<Address>;
@@ -1076,10 +1071,8 @@ type InitializeConfigAsyncInput$1<TAccountConfig extends string = string, TAccou
1076
1071
  payer: TransactionSigner<TAccountPayer>;
1077
1072
  systemProgram?: Address<TAccountSystemProgram>;
1078
1073
  admin: InitializeConfigInstructionDataArgs$1['admin'];
1079
- numeraireMint: InitializeConfigInstructionDataArgs$1['numeraireMint'];
1080
1074
  maxSwapFeeBps: InitializeConfigInstructionDataArgs$1['maxSwapFeeBps'];
1081
1075
  maxFeeSplitBps: InitializeConfigInstructionDataArgs$1['maxFeeSplitBps'];
1082
- maxRouteHops: InitializeConfigInstructionDataArgs$1['maxRouteHops'];
1083
1076
  protocolFeeEnabled: InitializeConfigInstructionDataArgs$1['protocolFeeEnabled'];
1084
1077
  protocolFeeBps: InitializeConfigInstructionDataArgs$1['protocolFeeBps'];
1085
1078
  hookAllowlist: InitializeConfigInstructionDataArgs$1['hookAllowlist'];
@@ -1093,10 +1086,8 @@ type InitializeConfigInput$1<TAccountConfig extends string = string, TAccountPro
1093
1086
  payer: TransactionSigner<TAccountPayer>;
1094
1087
  systemProgram?: Address<TAccountSystemProgram>;
1095
1088
  admin: InitializeConfigInstructionDataArgs$1['admin'];
1096
- numeraireMint: InitializeConfigInstructionDataArgs$1['numeraireMint'];
1097
1089
  maxSwapFeeBps: InitializeConfigInstructionDataArgs$1['maxSwapFeeBps'];
1098
1090
  maxFeeSplitBps: InitializeConfigInstructionDataArgs$1['maxFeeSplitBps'];
1099
- maxRouteHops: InitializeConfigInstructionDataArgs$1['maxRouteHops'];
1100
1091
  protocolFeeEnabled: InitializeConfigInstructionDataArgs$1['protocolFeeEnabled'];
1101
1092
  protocolFeeBps: InitializeConfigInstructionDataArgs$1['protocolFeeBps'];
1102
1093
  hookAllowlist: InitializeConfigInstructionDataArgs$1['hookAllowlist'];
@@ -1197,10 +1188,11 @@ declare function parseInitializeOracleInstruction$1<TProgram extends string, TAc
1197
1188
 
1198
1189
  declare const INITIALIZE_POOL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1199
1190
  declare function getInitializePoolDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
1200
- type InitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountMigrationAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1191
+ type InitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountProtocolFeeOwner extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountMigrationAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1201
1192
  TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
1202
1193
  TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool,
1203
1194
  TAccountProtocolFeePosition extends string ? WritableAccount<TAccountProtocolFeePosition> : TAccountProtocolFeePosition,
1195
+ TAccountProtocolFeeOwner extends string ? ReadonlyAccount<TAccountProtocolFeeOwner> : TAccountProtocolFeeOwner,
1204
1196
  TAccountAuthority extends string ? ReadonlyAccount<TAccountAuthority> : TAccountAuthority,
1205
1197
  TAccountVault0 extends string ? WritableAccount<TAccountVault0> : TAccountVault0,
1206
1198
  TAccountVault1 extends string ? WritableAccount<TAccountVault1> : TAccountVault1,
@@ -1221,7 +1213,6 @@ type InitializePoolInstructionData = {
1221
1213
  initialSwapFeeBps: number;
1222
1214
  initialFeeSplitBps: number;
1223
1215
  liquidityMeasureTokenIndex: number;
1224
- numeraireMintOverride: Option<Address>;
1225
1216
  hookProgram: Address;
1226
1217
  hookFlags: number;
1227
1218
  };
@@ -1231,17 +1222,17 @@ type InitializePoolInstructionDataArgs = {
1231
1222
  initialSwapFeeBps: number;
1232
1223
  initialFeeSplitBps: number;
1233
1224
  liquidityMeasureTokenIndex: number;
1234
- numeraireMintOverride: OptionOrNullable<Address>;
1235
1225
  hookProgram: Address;
1236
1226
  hookFlags: number;
1237
1227
  };
1238
- declare function getInitializePoolInstructionDataEncoder(): Encoder<InitializePoolInstructionDataArgs>;
1239
- declare function getInitializePoolInstructionDataDecoder(): Decoder<InitializePoolInstructionData>;
1240
- declare function getInitializePoolInstructionDataCodec(): Codec<InitializePoolInstructionDataArgs, InitializePoolInstructionData>;
1241
- type InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = {
1228
+ declare function getInitializePoolInstructionDataEncoder(): FixedSizeEncoder<InitializePoolInstructionDataArgs>;
1229
+ declare function getInitializePoolInstructionDataDecoder(): FixedSizeDecoder<InitializePoolInstructionData>;
1230
+ declare function getInitializePoolInstructionDataCodec(): FixedSizeCodec<InitializePoolInstructionDataArgs, InitializePoolInstructionData>;
1231
+ type InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountProtocolFeeOwner extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = {
1242
1232
  config: Address<TAccountConfig>;
1243
1233
  pool?: Address<TAccountPool>;
1244
1234
  protocolFeePosition?: Address<TAccountProtocolFeePosition>;
1235
+ protocolFeeOwner?: Address<TAccountProtocolFeeOwner>;
1245
1236
  authority?: Address<TAccountAuthority>;
1246
1237
  vault0?: Address<TAccountVault0>;
1247
1238
  vault1?: Address<TAccountVault1>;
@@ -1263,17 +1254,17 @@ type InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPo
1263
1254
  initialSwapFeeBps: InitializePoolInstructionDataArgs['initialSwapFeeBps'];
1264
1255
  initialFeeSplitBps: InitializePoolInstructionDataArgs['initialFeeSplitBps'];
1265
1256
  liquidityMeasureTokenIndex: InitializePoolInstructionDataArgs['liquidityMeasureTokenIndex'];
1266
- numeraireMintOverride: InitializePoolInstructionDataArgs['numeraireMintOverride'];
1267
1257
  hookProgram: InitializePoolInstructionDataArgs['hookProgram'];
1268
1258
  hookFlags: InitializePoolInstructionDataArgs['hookFlags'];
1269
1259
  };
1270
- declare function getInitializePoolInstructionAsync<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1260
+ declare function getInitializePoolInstructionAsync<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountProtocolFeeOwner extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1271
1261
  programAddress?: TProgramAddress;
1272
- }): Promise<InitializePoolInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>>;
1273
- type InitializePoolInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = {
1262
+ }): Promise<InitializePoolInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>>;
1263
+ type InitializePoolInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountProtocolFeeOwner extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = {
1274
1264
  config: Address<TAccountConfig>;
1275
1265
  pool: Address<TAccountPool>;
1276
1266
  protocolFeePosition: Address<TAccountProtocolFeePosition>;
1267
+ protocolFeeOwner: Address<TAccountProtocolFeeOwner>;
1277
1268
  authority: Address<TAccountAuthority>;
1278
1269
  vault0: Address<TAccountVault0>;
1279
1270
  vault1: Address<TAccountVault1>;
@@ -1295,35 +1286,35 @@ type InitializePoolInput<TAccountConfig extends string = string, TAccountPool ex
1295
1286
  initialSwapFeeBps: InitializePoolInstructionDataArgs['initialSwapFeeBps'];
1296
1287
  initialFeeSplitBps: InitializePoolInstructionDataArgs['initialFeeSplitBps'];
1297
1288
  liquidityMeasureTokenIndex: InitializePoolInstructionDataArgs['liquidityMeasureTokenIndex'];
1298
- numeraireMintOverride: InitializePoolInstructionDataArgs['numeraireMintOverride'];
1299
1289
  hookProgram: InitializePoolInstructionDataArgs['hookProgram'];
1300
1290
  hookFlags: InitializePoolInstructionDataArgs['hookFlags'];
1301
1291
  };
1302
- declare function getInitializePoolInstruction<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1292
+ declare function getInitializePoolInstruction<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountProtocolFeeOwner extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1303
1293
  programAddress?: TProgramAddress;
1304
- }): InitializePoolInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
1294
+ }): InitializePoolInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
1305
1295
  type ParsedInitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1306
1296
  programAddress: Address<TProgram>;
1307
1297
  accounts: {
1308
1298
  config: TAccountMetas[0];
1309
1299
  pool: TAccountMetas[1];
1310
1300
  protocolFeePosition: TAccountMetas[2];
1311
- authority: TAccountMetas[3];
1312
- vault0: TAccountMetas[4];
1313
- vault1: TAccountMetas[5];
1314
- token0Mint: TAccountMetas[6];
1315
- token1Mint: TAccountMetas[7];
1316
- payer: TAccountMetas[8];
1317
- token0Program: TAccountMetas[9];
1318
- token1Program: TAccountMetas[10];
1319
- systemProgram: TAccountMetas[11];
1320
- rent: TAccountMetas[12];
1301
+ protocolFeeOwner: TAccountMetas[3];
1302
+ authority: TAccountMetas[4];
1303
+ vault0: TAccountMetas[5];
1304
+ vault1: TAccountMetas[6];
1305
+ token0Mint: TAccountMetas[7];
1306
+ token1Mint: TAccountMetas[8];
1307
+ payer: TAccountMetas[9];
1308
+ token0Program: TAccountMetas[10];
1309
+ token1Program: TAccountMetas[11];
1310
+ systemProgram: TAccountMetas[12];
1311
+ rent: TAccountMetas[13];
1321
1312
  /**
1322
1313
  * Capability PDA owned by the trusted migrator program. Anchor enforces
1323
1314
  * `is_signer`; the handler verifies the pubkey matches the expected
1324
1315
  * derivation. Together these prove the CPI originated from the migrator.
1325
1316
  */
1326
- migrationAuthority: TAccountMetas[13];
1317
+ migrationAuthority: TAccountMetas[14];
1327
1318
  };
1328
1319
  data: InitializePoolInstructionData;
1329
1320
  };
@@ -1519,52 +1510,100 @@ declare function parsePreviewSwapExactInInstruction<TProgram extends string, TAc
1519
1510
  * @see https://github.com/codama-idl/codama
1520
1511
  */
1521
1512
 
1522
- declare const QUOTE_TO_NUMERAIRE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1523
- declare function getQuoteToNumeraireDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
1524
- type QuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountStartPool extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1513
+ declare const REDEEM_PROTOCOL_SHARES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1514
+ declare function getRedeemProtocolSharesDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
1515
+ type RedeemProtocolSharesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountRecipient0 extends string | AccountMeta<string> = string, TAccountRecipient1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1525
1516
  TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
1526
- TAccountStartPool extends string ? ReadonlyAccount<TAccountStartPool> : TAccountStartPool,
1517
+ TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool,
1518
+ TAccountProtocolFeePosition extends string ? WritableAccount<TAccountProtocolFeePosition> : TAccountProtocolFeePosition,
1519
+ TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
1520
+ TAccountAuthority extends string ? ReadonlyAccount<TAccountAuthority> : TAccountAuthority,
1521
+ TAccountVault0 extends string ? WritableAccount<TAccountVault0> : TAccountVault0,
1522
+ TAccountVault1 extends string ? WritableAccount<TAccountVault1> : TAccountVault1,
1523
+ TAccountToken0Mint extends string ? ReadonlyAccount<TAccountToken0Mint> : TAccountToken0Mint,
1524
+ TAccountToken1Mint extends string ? ReadonlyAccount<TAccountToken1Mint> : TAccountToken1Mint,
1525
+ TAccountRecipient0 extends string ? WritableAccount<TAccountRecipient0> : TAccountRecipient0,
1526
+ TAccountRecipient1 extends string ? WritableAccount<TAccountRecipient1> : TAccountRecipient1,
1527
+ TAccountToken0Program extends string ? ReadonlyAccount<TAccountToken0Program> : TAccountToken0Program,
1528
+ TAccountToken1Program extends string ? ReadonlyAccount<TAccountToken1Program> : TAccountToken1Program,
1527
1529
  ...TRemainingAccounts
1528
1530
  ]>;
1529
- type QuoteToNumeraireInstructionData = {
1531
+ type RedeemProtocolSharesInstructionData = {
1530
1532
  discriminator: ReadonlyUint8Array;
1531
- amount: bigint;
1532
- inputTokenIndex: number;
1533
- maxHops: number;
1534
- useTwap: boolean;
1535
- windowSeconds: number;
1533
+ sharesIn: bigint;
1534
+ minAmount0Out: bigint;
1535
+ minAmount1Out: bigint;
1536
1536
  };
1537
- type QuoteToNumeraireInstructionDataArgs = {
1538
- amount: number | bigint;
1539
- inputTokenIndex: number;
1540
- maxHops: number;
1541
- useTwap: boolean;
1542
- windowSeconds: number;
1537
+ type RedeemProtocolSharesInstructionDataArgs = {
1538
+ sharesIn: number | bigint;
1539
+ minAmount0Out: number | bigint;
1540
+ minAmount1Out: number | bigint;
1543
1541
  };
1544
- declare function getQuoteToNumeraireInstructionDataEncoder(): FixedSizeEncoder<QuoteToNumeraireInstructionDataArgs>;
1545
- declare function getQuoteToNumeraireInstructionDataDecoder(): FixedSizeDecoder<QuoteToNumeraireInstructionData>;
1546
- declare function getQuoteToNumeraireInstructionDataCodec(): FixedSizeCodec<QuoteToNumeraireInstructionDataArgs, QuoteToNumeraireInstructionData>;
1547
- type QuoteToNumeraireInput<TAccountConfig extends string = string, TAccountStartPool extends string = string> = {
1542
+ declare function getRedeemProtocolSharesInstructionDataEncoder(): FixedSizeEncoder<RedeemProtocolSharesInstructionDataArgs>;
1543
+ declare function getRedeemProtocolSharesInstructionDataDecoder(): FixedSizeDecoder<RedeemProtocolSharesInstructionData>;
1544
+ declare function getRedeemProtocolSharesInstructionDataCodec(): FixedSizeCodec<RedeemProtocolSharesInstructionDataArgs, RedeemProtocolSharesInstructionData>;
1545
+ type RedeemProtocolSharesAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAdmin extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountRecipient0 extends string = string, TAccountRecipient1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = {
1548
1546
  config: Address<TAccountConfig>;
1549
- startPool: Address<TAccountStartPool>;
1550
- amount: QuoteToNumeraireInstructionDataArgs['amount'];
1551
- inputTokenIndex: QuoteToNumeraireInstructionDataArgs['inputTokenIndex'];
1552
- maxHops: QuoteToNumeraireInstructionDataArgs['maxHops'];
1553
- useTwap: QuoteToNumeraireInstructionDataArgs['useTwap'];
1554
- windowSeconds: QuoteToNumeraireInstructionDataArgs['windowSeconds'];
1555
- };
1556
- declare function getQuoteToNumeraireInstruction<TAccountConfig extends string, TAccountStartPool extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: QuoteToNumeraireInput<TAccountConfig, TAccountStartPool>, config?: {
1547
+ pool: Address<TAccountPool>;
1548
+ protocolFeePosition: Address<TAccountProtocolFeePosition>;
1549
+ admin: TransactionSigner<TAccountAdmin>;
1550
+ authority?: Address<TAccountAuthority>;
1551
+ vault0: Address<TAccountVault0>;
1552
+ vault1: Address<TAccountVault1>;
1553
+ token0Mint: Address<TAccountToken0Mint>;
1554
+ token1Mint: Address<TAccountToken1Mint>;
1555
+ recipient0: Address<TAccountRecipient0>;
1556
+ recipient1: Address<TAccountRecipient1>;
1557
+ token0Program: Address<TAccountToken0Program>;
1558
+ token1Program: Address<TAccountToken1Program>;
1559
+ sharesIn: RedeemProtocolSharesInstructionDataArgs['sharesIn'];
1560
+ minAmount0Out: RedeemProtocolSharesInstructionDataArgs['minAmount0Out'];
1561
+ minAmount1Out: RedeemProtocolSharesInstructionDataArgs['minAmount1Out'];
1562
+ };
1563
+ declare function getRedeemProtocolSharesInstructionAsync<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAdmin extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountRecipient0 extends string, TAccountRecipient1 extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: RedeemProtocolSharesAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>, config?: {
1557
1564
  programAddress?: TProgramAddress;
1558
- }): QuoteToNumeraireInstruction<TProgramAddress, TAccountConfig, TAccountStartPool>;
1559
- type ParsedQuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1565
+ }): Promise<RedeemProtocolSharesInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>>;
1566
+ type RedeemProtocolSharesInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAdmin extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountRecipient0 extends string = string, TAccountRecipient1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = {
1567
+ config: Address<TAccountConfig>;
1568
+ pool: Address<TAccountPool>;
1569
+ protocolFeePosition: Address<TAccountProtocolFeePosition>;
1570
+ admin: TransactionSigner<TAccountAdmin>;
1571
+ authority: Address<TAccountAuthority>;
1572
+ vault0: Address<TAccountVault0>;
1573
+ vault1: Address<TAccountVault1>;
1574
+ token0Mint: Address<TAccountToken0Mint>;
1575
+ token1Mint: Address<TAccountToken1Mint>;
1576
+ recipient0: Address<TAccountRecipient0>;
1577
+ recipient1: Address<TAccountRecipient1>;
1578
+ token0Program: Address<TAccountToken0Program>;
1579
+ token1Program: Address<TAccountToken1Program>;
1580
+ sharesIn: RedeemProtocolSharesInstructionDataArgs['sharesIn'];
1581
+ minAmount0Out: RedeemProtocolSharesInstructionDataArgs['minAmount0Out'];
1582
+ minAmount1Out: RedeemProtocolSharesInstructionDataArgs['minAmount1Out'];
1583
+ };
1584
+ declare function getRedeemProtocolSharesInstruction<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAdmin extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountRecipient0 extends string, TAccountRecipient1 extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: RedeemProtocolSharesInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>, config?: {
1585
+ programAddress?: TProgramAddress;
1586
+ }): RedeemProtocolSharesInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
1587
+ type ParsedRedeemProtocolSharesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1560
1588
  programAddress: Address<TProgram>;
1561
1589
  accounts: {
1562
1590
  config: TAccountMetas[0];
1563
- startPool: TAccountMetas[1];
1591
+ pool: TAccountMetas[1];
1592
+ protocolFeePosition: TAccountMetas[2];
1593
+ admin: TAccountMetas[3];
1594
+ authority: TAccountMetas[4];
1595
+ vault0: TAccountMetas[5];
1596
+ vault1: TAccountMetas[6];
1597
+ token0Mint: TAccountMetas[7];
1598
+ token1Mint: TAccountMetas[8];
1599
+ recipient0: TAccountMetas[9];
1600
+ recipient1: TAccountMetas[10];
1601
+ token0Program: TAccountMetas[11];
1602
+ token1Program: TAccountMetas[12];
1564
1603
  };
1565
- data: QuoteToNumeraireInstructionData;
1604
+ data: RedeemProtocolSharesInstructionData;
1566
1605
  };
1567
- declare function parseQuoteToNumeraireInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedQuoteToNumeraireInstruction<TProgram, TAccountMetas>;
1606
+ declare function parseRedeemProtocolSharesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRedeemProtocolSharesInstruction<TProgram, TAccountMetas>;
1568
1607
 
1569
1608
  /**
1570
1609
  * This code was AUTOGENERATED using the Codama library.
@@ -1779,58 +1818,6 @@ type ParsedSetHookInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDR
1779
1818
  };
1780
1819
  declare function parseSetHookInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetHookInstruction<TProgram, TAccountMetas>;
1781
1820
 
1782
- /**
1783
- * This code was AUTOGENERATED using the Codama library.
1784
- * Please DO NOT EDIT THIS FILE, instead use visitors
1785
- * to add features, then rerun Codama to update it.
1786
- *
1787
- * @see https://github.com/codama-idl/codama
1788
- */
1789
-
1790
- declare const SET_ROUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1791
- declare function getSetRouteDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
1792
- type SetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountNextPool extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1793
- TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
1794
- TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool,
1795
- TAccountNextPool extends string ? ReadonlyAccount<TAccountNextPool> : TAccountNextPool,
1796
- TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
1797
- ...TRemainingAccounts
1798
- ]>;
1799
- type SetRouteInstructionData = {
1800
- discriminator: ReadonlyUint8Array;
1801
- routeNextPool: Address;
1802
- routeBridgeMint: Address;
1803
- };
1804
- type SetRouteInstructionDataArgs = {
1805
- routeNextPool: Address;
1806
- routeBridgeMint: Address;
1807
- };
1808
- declare function getSetRouteInstructionDataEncoder(): FixedSizeEncoder<SetRouteInstructionDataArgs>;
1809
- declare function getSetRouteInstructionDataDecoder(): FixedSizeDecoder<SetRouteInstructionData>;
1810
- declare function getSetRouteInstructionDataCodec(): FixedSizeCodec<SetRouteInstructionDataArgs, SetRouteInstructionData>;
1811
- type SetRouteInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountNextPool extends string = string, TAccountAdmin extends string = string> = {
1812
- config: Address<TAccountConfig>;
1813
- pool: Address<TAccountPool>;
1814
- nextPool?: Address<TAccountNextPool>;
1815
- admin: TransactionSigner<TAccountAdmin>;
1816
- routeNextPool: SetRouteInstructionDataArgs['routeNextPool'];
1817
- routeBridgeMint: SetRouteInstructionDataArgs['routeBridgeMint'];
1818
- };
1819
- declare function getSetRouteInstruction<TAccountConfig extends string, TAccountPool extends string, TAccountNextPool extends string, TAccountAdmin extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: SetRouteInput<TAccountConfig, TAccountPool, TAccountNextPool, TAccountAdmin>, config?: {
1820
- programAddress?: TProgramAddress;
1821
- }): SetRouteInstruction<TProgramAddress, TAccountConfig, TAccountPool, TAccountNextPool, TAccountAdmin>;
1822
- type ParsedSetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1823
- programAddress: Address<TProgram>;
1824
- accounts: {
1825
- config: TAccountMetas[0];
1826
- pool: TAccountMetas[1];
1827
- nextPool?: TAccountMetas[2] | undefined;
1828
- admin: TAccountMetas[3];
1829
- };
1830
- data: SetRouteInstructionData;
1831
- };
1832
- declare function parseSetRouteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetRouteInstruction<TProgram, TAccountMetas>;
1833
-
1834
1821
  /**
1835
1822
  * This code was AUTOGENERATED using the Codama library.
1836
1823
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -2037,19 +2024,15 @@ type UpdateConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRE
2037
2024
  ]>;
2038
2025
  type UpdateConfigInstructionData = {
2039
2026
  discriminator: ReadonlyUint8Array;
2040
- numeraireMint: Address;
2041
2027
  maxSwapFeeBps: number;
2042
2028
  maxFeeSplitBps: number;
2043
- maxRouteHops: number;
2044
2029
  protocolFeeEnabled: boolean;
2045
2030
  protocolFeeBps: number;
2046
2031
  hookAllowlist: Array<Address>;
2047
2032
  };
2048
2033
  type UpdateConfigInstructionDataArgs = {
2049
- numeraireMint: Address;
2050
2034
  maxSwapFeeBps: number;
2051
2035
  maxFeeSplitBps: number;
2052
- maxRouteHops: number;
2053
2036
  protocolFeeEnabled: boolean;
2054
2037
  protocolFeeBps: number;
2055
2038
  hookAllowlist: Array<Address>;
@@ -2060,10 +2043,8 @@ declare function getUpdateConfigInstructionDataCodec(): Codec<UpdateConfigInstru
2060
2043
  type UpdateConfigInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = {
2061
2044
  config: Address<TAccountConfig>;
2062
2045
  admin: TransactionSigner<TAccountAdmin>;
2063
- numeraireMint: UpdateConfigInstructionDataArgs['numeraireMint'];
2064
2046
  maxSwapFeeBps: UpdateConfigInstructionDataArgs['maxSwapFeeBps'];
2065
2047
  maxFeeSplitBps: UpdateConfigInstructionDataArgs['maxFeeSplitBps'];
2066
- maxRouteHops: UpdateConfigInstructionDataArgs['maxRouteHops'];
2067
2048
  protocolFeeEnabled: UpdateConfigInstructionDataArgs['protocolFeeEnabled'];
2068
2049
  protocolFeeBps: UpdateConfigInstructionDataArgs['protocolFeeBps'];
2069
2050
  hookAllowlist: UpdateConfigInstructionDataArgs['hookAllowlist'];
@@ -2416,9 +2397,9 @@ declare const index$5_INITIALIZE_POOL_DISCRIMINATOR: typeof INITIALIZE_POOL_DISC
2416
2397
  declare const index$5_INSTRUCTION_DISCRIMINATORS: typeof INSTRUCTION_DISCRIMINATORS;
2417
2398
  type index$5_InitializeOracleAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountOracle extends string = string, TAccountAdmin extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = InitializeOracleAsyncInput<TAccountConfig, TAccountPool, TAccountOracle, TAccountAdmin, TAccountPayer, TAccountSystemProgram>;
2418
2399
  declare const index$5_InitializePoolArgs: typeof InitializePoolArgs;
2419
- type index$5_InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = InitializePoolAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
2420
- type index$5_InitializePoolInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = InitializePoolInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
2421
- type index$5_InitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountMigrationAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = InitializePoolInstruction<TProgram, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority, TRemainingAccounts>;
2400
+ type index$5_InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountProtocolFeeOwner extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = InitializePoolAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
2401
+ type index$5_InitializePoolInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountProtocolFeeOwner extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountPayer extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountMigrationAuthority extends string = string> = InitializePoolInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>;
2402
+ type index$5_InitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountProtocolFeeOwner extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountMigrationAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = InitializePoolInstruction<TProgram, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountProtocolFeeOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority, TRemainingAccounts>;
2422
2403
  type index$5_InitializePoolInstructionData = InitializePoolInstructionData;
2423
2404
  type index$5_InitializePoolInstructionDataArgs = InitializePoolInstructionDataArgs;
2424
2405
  declare const index$5_MAX_FEE_AMOUNT: typeof MAX_FEE_AMOUNT;
@@ -2454,11 +2435,10 @@ type index$5_ParsedOracleConsultInstruction<TProgram extends string = typeof CPM
2454
2435
  type index$5_ParsedOracleUpdateInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedOracleUpdateInstruction<TProgram, TAccountMetas>;
2455
2436
  type index$5_ParsedPauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPauseInstruction<TProgram, TAccountMetas>;
2456
2437
  type index$5_ParsedPreviewSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPreviewSwapExactInInstruction<TProgram, TAccountMetas>;
2457
- type index$5_ParsedQuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedQuoteToNumeraireInstruction<TProgram, TAccountMetas>;
2438
+ type index$5_ParsedRedeemProtocolSharesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRedeemProtocolSharesInstruction<TProgram, TAccountMetas>;
2458
2439
  type index$5_ParsedRemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRemoveLiquidityInstruction<TProgram, TAccountMetas>;
2459
2440
  type index$5_ParsedSetFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetFeesInstruction<TProgram, TAccountMetas>;
2460
2441
  type index$5_ParsedSetHookInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetHookInstruction<TProgram, TAccountMetas>;
2461
- type index$5_ParsedSetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetRouteInstruction<TProgram, TAccountMetas>;
2462
2442
  type index$5_ParsedSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSwapExactInInstruction<TProgram, TAccountMetas>;
2463
2443
  type index$5_ParsedTransferAdminInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedTransferAdminInstruction<TProgram, TAccountMetas>;
2464
2444
  type index$5_ParsedUnpauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedUnpauseInstruction<TProgram, TAccountMetas>;
@@ -2482,13 +2462,13 @@ type index$5_PreviewSwapExactInInstruction<TProgram extends string = typeof CPMM
2482
2462
  type index$5_PreviewSwapExactInInstructionData = PreviewSwapExactInInstructionData;
2483
2463
  type index$5_PreviewSwapExactInInstructionDataArgs = PreviewSwapExactInInstructionDataArgs;
2484
2464
  declare const index$5_Q64_ONE: typeof Q64_ONE;
2485
- declare const index$5_QUOTE_TO_NUMERAIRE_DISCRIMINATOR: typeof QUOTE_TO_NUMERAIRE_DISCRIMINATOR;
2486
- declare const index$5_QuoteToNumeraireArgs: typeof QuoteToNumeraireArgs;
2487
- type index$5_QuoteToNumeraireInput<TAccountConfig extends string = string, TAccountStartPool extends string = string> = QuoteToNumeraireInput<TAccountConfig, TAccountStartPool>;
2488
- type index$5_QuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountStartPool extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = QuoteToNumeraireInstruction<TProgram, TAccountConfig, TAccountStartPool, TRemainingAccounts>;
2489
- type index$5_QuoteToNumeraireInstructionData = QuoteToNumeraireInstructionData;
2490
- type index$5_QuoteToNumeraireInstructionDataArgs = QuoteToNumeraireInstructionDataArgs;
2465
+ declare const index$5_REDEEM_PROTOCOL_SHARES_DISCRIMINATOR: typeof REDEEM_PROTOCOL_SHARES_DISCRIMINATOR;
2491
2466
  declare const index$5_REMOVE_LIQUIDITY_DISCRIMINATOR: typeof REMOVE_LIQUIDITY_DISCRIMINATOR;
2467
+ type index$5_RedeemProtocolSharesAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAdmin extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountRecipient0 extends string = string, TAccountRecipient1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = RedeemProtocolSharesAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2468
+ type index$5_RedeemProtocolSharesInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountProtocolFeePosition extends string = string, TAccountAdmin extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountRecipient0 extends string = string, TAccountRecipient1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = RedeemProtocolSharesInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2469
+ type index$5_RedeemProtocolSharesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVault0 extends string | AccountMeta<string> = string, TAccountVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountRecipient0 extends string | AccountMeta<string> = string, TAccountRecipient1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = RedeemProtocolSharesInstruction<TProgram, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2470
+ type index$5_RedeemProtocolSharesInstructionData = RedeemProtocolSharesInstructionData;
2471
+ type index$5_RedeemProtocolSharesInstructionDataArgs = RedeemProtocolSharesInstructionDataArgs;
2492
2472
  declare const index$5_RemoveLiquidityArgs: typeof RemoveLiquidityArgs;
2493
2473
  type index$5_RemoveLiquidityAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountPosition extends string = string, TAccountProtocolFeePosition extends string = string, TAccountOwner extends string = string, TAccountAuthority extends string = string, TAccountVault0 extends string = string, TAccountVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountUser0 extends string = string, TAccountUser1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountOracle extends string = string> = RemoveLiquidityAsyncInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2494
2474
  declare const index$5_RemoveLiquidityEvent: typeof RemoveLiquidityEvent;
@@ -2497,15 +2477,13 @@ type index$5_RemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PR
2497
2477
  type index$5_RemoveLiquidityInstructionData = RemoveLiquidityInstructionData;
2498
2478
  type index$5_RemoveLiquidityInstructionDataArgs = RemoveLiquidityInstructionDataArgs;
2499
2479
  declare const index$5_RemoveLiquidityQuote: typeof RemoveLiquidityQuote;
2500
- declare const index$5_RouteUpdatedEvent: typeof RouteUpdatedEvent;
2501
2480
  declare const index$5_SEED_AUTHORITY: typeof SEED_AUTHORITY;
2502
2481
  declare const index$5_SEED_ORACLE: typeof SEED_ORACLE;
2503
2482
  declare const index$5_SEED_POOL: typeof SEED_POOL;
2504
2483
  declare const index$5_SEED_POSITION: typeof SEED_POSITION;
2505
- declare const index$5_SEED_PROTOCOL_FEE_POSITION: typeof SEED_PROTOCOL_FEE_POSITION;
2484
+ declare const index$5_SEED_PROTOCOL_FEE_OWNER: typeof SEED_PROTOCOL_FEE_OWNER;
2506
2485
  declare const index$5_SET_FEES_DISCRIMINATOR: typeof SET_FEES_DISCRIMINATOR;
2507
2486
  declare const index$5_SET_HOOK_DISCRIMINATOR: typeof SET_HOOK_DISCRIMINATOR;
2508
- declare const index$5_SET_ROUTE_DISCRIMINATOR: typeof SET_ROUTE_DISCRIMINATOR;
2509
2487
  declare const index$5_SWAP_EXACT_IN_DISCRIMINATOR: typeof SWAP_EXACT_IN_DISCRIMINATOR;
2510
2488
  declare const index$5_SetFeesArgs: typeof SetFeesArgs;
2511
2489
  type index$5_SetFeesInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAdmin extends string = string> = SetFeesInput<TAccountConfig, TAccountPool, TAccountAdmin>;
@@ -2517,11 +2495,6 @@ type index$5_SetHookInput<TAccountConfig extends string = string, TAccountPool e
2517
2495
  type index$5_SetHookInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SetHookInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAdmin, TRemainingAccounts>;
2518
2496
  type index$5_SetHookInstructionData = SetHookInstructionData;
2519
2497
  type index$5_SetHookInstructionDataArgs = SetHookInstructionDataArgs;
2520
- declare const index$5_SetRouteArgs: typeof SetRouteArgs;
2521
- type index$5_SetRouteInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountNextPool extends string = string, TAccountAdmin extends string = string> = SetRouteInput<TAccountConfig, TAccountPool, TAccountNextPool, TAccountAdmin>;
2522
- type index$5_SetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountNextPool extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SetRouteInstruction<TProgram, TAccountConfig, TAccountPool, TAccountNextPool, TAccountAdmin, TRemainingAccounts>;
2523
- type index$5_SetRouteInstructionData = SetRouteInstructionData;
2524
- type index$5_SetRouteInstructionDataArgs = SetRouteInstructionDataArgs;
2525
2498
  declare const index$5_SwapEvent: typeof SwapEvent;
2526
2499
  declare const index$5_SwapExactInArgs: typeof SwapExactInArgs;
2527
2500
  type index$5_SwapExactInAsyncInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAuthority extends string = string, TAccountVaultIn extends string = string, TAccountVaultOut extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountUserIn extends string = string, TAccountUserOut extends string = string, TAccountTrader extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string, TAccountOracle extends string = string> = SwapExactInAsyncInput<TAccountConfig, TAccountPool, TAccountAuthority, TAccountVaultIn, TAccountVaultOut, TAccountToken0Mint, TAccountToken1Mint, TAccountUserIn, TAccountUserOut, TAccountTrader, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
@@ -2586,11 +2559,9 @@ declare const index$5_encodeInitializeOracleArgs: typeof encodeInitializeOracleA
2586
2559
  declare const index$5_encodeInitializePoolArgs: typeof encodeInitializePoolArgs;
2587
2560
  declare const index$5_encodeInstructionData: typeof encodeInstructionData;
2588
2561
  declare const index$5_encodeOracleConsultArgs: typeof encodeOracleConsultArgs;
2589
- declare const index$5_encodeQuoteToNumeraireArgs: typeof encodeQuoteToNumeraireArgs;
2590
2562
  declare const index$5_encodeRemoveLiquidityArgs: typeof encodeRemoveLiquidityArgs;
2591
2563
  declare const index$5_encodeSetFeesArgs: typeof encodeSetFeesArgs;
2592
2564
  declare const index$5_encodeSetHookArgs: typeof encodeSetHookArgs;
2593
- declare const index$5_encodeSetRouteArgs: typeof encodeSetRouteArgs;
2594
2565
  declare const index$5_encodeSwapExactInArgs: typeof encodeSwapExactInArgs;
2595
2566
  declare const index$5_encodeTransferAdminArgs: typeof encodeTransferAdminArgs;
2596
2567
  declare const index$5_fetchAllPools: typeof fetchAllPools;
@@ -2688,12 +2659,14 @@ declare const index$5_getPreviewSwapExactInInstruction: typeof getPreviewSwapExa
2688
2659
  declare const index$5_getPreviewSwapExactInInstructionDataCodec: typeof getPreviewSwapExactInInstructionDataCodec;
2689
2660
  declare const index$5_getPreviewSwapExactInInstructionDataDecoder: typeof getPreviewSwapExactInInstructionDataDecoder;
2690
2661
  declare const index$5_getPreviewSwapExactInInstructionDataEncoder: typeof getPreviewSwapExactInInstructionDataEncoder;
2662
+ declare const index$5_getProtocolFeeOwnerAddress: typeof getProtocolFeeOwnerAddress;
2691
2663
  declare const index$5_getProtocolFeePositionAddress: typeof getProtocolFeePositionAddress;
2692
- declare const index$5_getQuoteToNumeraireDiscriminatorBytes: typeof getQuoteToNumeraireDiscriminatorBytes;
2693
- declare const index$5_getQuoteToNumeraireInstruction: typeof getQuoteToNumeraireInstruction;
2694
- declare const index$5_getQuoteToNumeraireInstructionDataCodec: typeof getQuoteToNumeraireInstructionDataCodec;
2695
- declare const index$5_getQuoteToNumeraireInstructionDataDecoder: typeof getQuoteToNumeraireInstructionDataDecoder;
2696
- declare const index$5_getQuoteToNumeraireInstructionDataEncoder: typeof getQuoteToNumeraireInstructionDataEncoder;
2664
+ declare const index$5_getRedeemProtocolSharesDiscriminatorBytes: typeof getRedeemProtocolSharesDiscriminatorBytes;
2665
+ declare const index$5_getRedeemProtocolSharesInstruction: typeof getRedeemProtocolSharesInstruction;
2666
+ declare const index$5_getRedeemProtocolSharesInstructionAsync: typeof getRedeemProtocolSharesInstructionAsync;
2667
+ declare const index$5_getRedeemProtocolSharesInstructionDataCodec: typeof getRedeemProtocolSharesInstructionDataCodec;
2668
+ declare const index$5_getRedeemProtocolSharesInstructionDataDecoder: typeof getRedeemProtocolSharesInstructionDataDecoder;
2669
+ declare const index$5_getRedeemProtocolSharesInstructionDataEncoder: typeof getRedeemProtocolSharesInstructionDataEncoder;
2697
2670
  declare const index$5_getRemoveLiquidityDiscriminatorBytes: typeof getRemoveLiquidityDiscriminatorBytes;
2698
2671
  declare const index$5_getRemoveLiquidityInstruction: typeof getRemoveLiquidityInstruction;
2699
2672
  declare const index$5_getRemoveLiquidityInstructionAsync: typeof getRemoveLiquidityInstructionAsync;
@@ -2711,11 +2684,6 @@ declare const index$5_getSetHookInstruction: typeof getSetHookInstruction;
2711
2684
  declare const index$5_getSetHookInstructionDataCodec: typeof getSetHookInstructionDataCodec;
2712
2685
  declare const index$5_getSetHookInstructionDataDecoder: typeof getSetHookInstructionDataDecoder;
2713
2686
  declare const index$5_getSetHookInstructionDataEncoder: typeof getSetHookInstructionDataEncoder;
2714
- declare const index$5_getSetRouteDiscriminatorBytes: typeof getSetRouteDiscriminatorBytes;
2715
- declare const index$5_getSetRouteInstruction: typeof getSetRouteInstruction;
2716
- declare const index$5_getSetRouteInstructionDataCodec: typeof getSetRouteInstructionDataCodec;
2717
- declare const index$5_getSetRouteInstructionDataDecoder: typeof getSetRouteInstructionDataDecoder;
2718
- declare const index$5_getSetRouteInstructionDataEncoder: typeof getSetRouteInstructionDataEncoder;
2719
2687
  declare const index$5_getSpotPrice0: typeof getSpotPrice0;
2720
2688
  declare const index$5_getSpotPrice1: typeof getSpotPrice1;
2721
2689
  declare const index$5_getSwapAddresses: typeof getSwapAddresses;
@@ -2775,11 +2743,10 @@ declare const index$5_parseOracleConsultInstruction: typeof parseOracleConsultIn
2775
2743
  declare const index$5_parseOracleUpdateInstruction: typeof parseOracleUpdateInstruction;
2776
2744
  declare const index$5_parsePauseInstruction: typeof parsePauseInstruction;
2777
2745
  declare const index$5_parsePreviewSwapExactInInstruction: typeof parsePreviewSwapExactInInstruction;
2778
- declare const index$5_parseQuoteToNumeraireInstruction: typeof parseQuoteToNumeraireInstruction;
2746
+ declare const index$5_parseRedeemProtocolSharesInstruction: typeof parseRedeemProtocolSharesInstruction;
2779
2747
  declare const index$5_parseRemoveLiquidityInstruction: typeof parseRemoveLiquidityInstruction;
2780
2748
  declare const index$5_parseSetFeesInstruction: typeof parseSetFeesInstruction;
2781
2749
  declare const index$5_parseSetHookInstruction: typeof parseSetHookInstruction;
2782
- declare const index$5_parseSetRouteInstruction: typeof parseSetRouteInstruction;
2783
2750
  declare const index$5_parseSwapExactInInstruction: typeof parseSwapExactInInstruction;
2784
2751
  declare const index$5_parseTransferAdminInstruction: typeof parseTransferAdminInstruction;
2785
2752
  declare const index$5_parseUnpauseInstruction: typeof parseUnpauseInstruction;
@@ -2791,12 +2758,10 @@ declare const index$5_positionDataCodec: typeof positionDataCodec;
2791
2758
  declare const index$5_q64Div: typeof q64Div;
2792
2759
  declare const index$5_q64Mul: typeof q64Mul;
2793
2760
  declare const index$5_q64ToNumber: typeof q64ToNumber;
2794
- declare const index$5_quoteToNumeraireArgsCodec: typeof quoteToNumeraireArgsCodec;
2795
2761
  declare const index$5_ratioToNumber: typeof ratioToNumber;
2796
2762
  declare const index$5_removeLiquidityArgsCodec: typeof removeLiquidityArgsCodec;
2797
2763
  declare const index$5_setFeesArgsCodec: typeof setFeesArgsCodec;
2798
2764
  declare const index$5_setHookArgsCodec: typeof setHookArgsCodec;
2799
- declare const index$5_setRouteArgsCodec: typeof setRouteArgsCodec;
2800
2765
  declare const index$5_sortMints: typeof sortMints;
2801
2766
  declare const index$5_sortPoolsByReserves: typeof sortPoolsByReserves;
2802
2767
  declare const index$5_sortPositionsByShares: typeof sortPositionsByShares;
@@ -2804,7 +2769,7 @@ declare const index$5_swapExactInArgsCodec: typeof swapExactInArgsCodec;
2804
2769
  declare const index$5_transferAdminArgsCodec: typeof transferAdminArgsCodec;
2805
2770
  declare const index$5_validateMarketCapParameters: typeof validateMarketCapParameters;
2806
2771
  declare namespace index$5 {
2807
- export { index$5_ACCOUNT_DISCRIMINATORS as ACCOUNT_DISCRIMINATORS, index$5_ACCOUNT_VERSION as ACCOUNT_VERSION, index$5_ADD_LIQUIDITY_DISCRIMINATOR as ADD_LIQUIDITY_DISCRIMINATOR, index$5_AddLiquidityArgs as AddLiquidityArgs, type index$5_AddLiquidityAsyncInput as AddLiquidityAsyncInput, index$5_AddLiquidityEvent as AddLiquidityEvent, type index$5_AddLiquidityInput as AddLiquidityInput, type index$5_AddLiquidityInstruction as AddLiquidityInstruction, type index$5_AddLiquidityInstructionData as AddLiquidityInstructionData, type index$5_AddLiquidityInstructionDataArgs as AddLiquidityInstructionDataArgs, index$5_AddLiquidityQuote as AddLiquidityQuote, index$5_AdminTransferredEvent as AdminTransferredEvent, index$5_AmmConfig as AmmConfig, index$5_BPS_DENOM as BPS_DENOM, index$5_CLOSE_POSITION_DISCRIMINATOR as CLOSE_POSITION_DISCRIMINATOR, index$5_COLLECT_FEES_DISCRIMINATOR as COLLECT_FEES_DISCRIMINATOR, index$5_COLLECT_PROTOCOL_FEES_DISCRIMINATOR as COLLECT_PROTOCOL_FEES_DISCRIMINATOR, index$5_CPMM_ERROR_MESSAGES as CPMM_ERROR_MESSAGES, index$5_CPMM_PROGRAM_ID as CPMM_PROGRAM_ID, index$5_CREATE_POSITION_DISCRIMINATOR as CREATE_POSITION_DISCRIMINATOR, type index$5_ClosePositionInput as ClosePositionInput, type index$5_ClosePositionInstruction as ClosePositionInstruction, type index$5_ClosePositionInstructionData as ClosePositionInstructionData, type index$5_ClosePositionInstructionDataArgs as ClosePositionInstructionDataArgs, index$5_CollectFeesArgs as CollectFeesArgs, type index$5_CollectFeesAsyncInput as CollectFeesAsyncInput, index$5_CollectFeesEvent as CollectFeesEvent, type index$5_CollectFeesInput as CollectFeesInput, type index$5_CollectFeesInstruction as CollectFeesInstruction, type index$5_CollectFeesInstructionData as CollectFeesInstructionData, type index$5_CollectFeesInstructionDataArgs as CollectFeesInstructionDataArgs, index$5_CollectProtocolFeesArgs as CollectProtocolFeesArgs, type index$5_CollectProtocolFeesAsyncInput as CollectProtocolFeesAsyncInput, index$5_CollectProtocolFeesEvent as CollectProtocolFeesEvent, type index$5_CollectProtocolFeesInput as CollectProtocolFeesInput, type index$5_CollectProtocolFeesInstruction as CollectProtocolFeesInstruction, type index$5_CollectProtocolFeesInstructionData as CollectProtocolFeesInstructionData, type index$5_CollectProtocolFeesInstructionDataArgs as CollectProtocolFeesInstructionDataArgs, index$5_CpmmError as CpmmError, index$5_CpmmErrorCode as CpmmErrorCode, index$5_CreatePositionArgs as CreatePositionArgs, type index$5_CreatePositionAsyncInput as CreatePositionAsyncInput, type index$5_CreatePositionInput as CreatePositionInput, type index$5_CreatePositionInstruction as CreatePositionInstruction, type index$5_CreatePositionInstructionData as CreatePositionInstructionData, type index$5_CreatePositionInstructionDataArgs as CreatePositionInstructionDataArgs, index$5_CurveParams as CurveParams, index$5_CurveParamsToMarketCapInput as CurveParamsToMarketCapInput, index$5_FeesUpdatedEvent as FeesUpdatedEvent, index$5_FetchOracleConfig as FetchOracleConfig, type index$5_FetchPoolsConfig as FetchPoolsConfig, index$5_FetchPositionsConfig as FetchPositionsConfig, index$5_HF_AFTER_ADD_LIQ as HF_AFTER_ADD_LIQ, index$5_HF_AFTER_REMOVE_LIQ as HF_AFTER_REMOVE_LIQ, HF_AFTER_SWAP$1 as HF_AFTER_SWAP, index$5_HF_BEFORE_ADD_LIQ as HF_BEFORE_ADD_LIQ, index$5_HF_BEFORE_REMOVE_LIQ as HF_BEFORE_REMOVE_LIQ, HF_BEFORE_SWAP$1 as HF_BEFORE_SWAP, HF_FORWARD_READONLY_SIGNERS$1 as HF_FORWARD_READONLY_SIGNERS, index$5_HF_REQUIRE_ORACLE as HF_REQUIRE_ORACLE, HOOK_NO_CHANGE$1 as HOOK_NO_CHANGE, index$5_HookErrorEvent as HookErrorEvent, index$5_HookInvokedEvent as HookInvokedEvent, index$5_HookUpdatedEvent as HookUpdatedEvent, INITIALIZE_CONFIG_DISCRIMINATOR$1 as INITIALIZE_CONFIG_DISCRIMINATOR, INITIALIZE_ORACLE_DISCRIMINATOR$1 as INITIALIZE_ORACLE_DISCRIMINATOR, index$5_INITIALIZE_POOL_DISCRIMINATOR as INITIALIZE_POOL_DISCRIMINATOR, index$5_INSTRUCTION_DISCRIMINATORS as INSTRUCTION_DISCRIMINATORS, InitializeConfigArgs$2 as InitializeConfigArgs, type InitializeConfigAsyncInput$1 as InitializeConfigAsyncInput, type InitializeConfigInput$1 as InitializeConfigInput, type InitializeConfigInstruction$1 as InitializeConfigInstruction, type InitializeConfigInstructionData$1 as InitializeConfigInstructionData, type InitializeConfigInstructionDataArgs$1 as InitializeConfigInstructionDataArgs, InitializeOracleArgs$1 as InitializeOracleArgs, type index$5_InitializeOracleAsyncInput as InitializeOracleAsyncInput, type InitializeOracleInput$1 as InitializeOracleInput, type InitializeOracleInstruction$1 as InitializeOracleInstruction, type InitializeOracleInstructionData$1 as InitializeOracleInstructionData, type InitializeOracleInstructionDataArgs$1 as InitializeOracleInstructionDataArgs, index$5_InitializePoolArgs as InitializePoolArgs, type index$5_InitializePoolAsyncInput as InitializePoolAsyncInput, type index$5_InitializePoolInput as InitializePoolInput, type index$5_InitializePoolInstruction as InitializePoolInstruction, type index$5_InitializePoolInstructionData as InitializePoolInstructionData, type index$5_InitializePoolInstructionDataArgs as InitializePoolInstructionDataArgs, index$5_MAX_FEE_AMOUNT as MAX_FEE_AMOUNT, MAX_HOOK_ALLOWLIST$1 as MAX_HOOK_ALLOWLIST, index$5_MAX_ORACLE_OBSERVATIONS as MAX_ORACLE_OBSERVATIONS, index$5_MarketCapToCurveParamsInput as MarketCapToCurveParamsInput, index$5_MarketCapValidationResult as MarketCapValidationResult, index$5_ORACLE_CONSULT_DISCRIMINATOR as ORACLE_CONSULT_DISCRIMINATOR, index$5_ORACLE_UPDATE_DISCRIMINATOR as ORACLE_UPDATE_DISCRIMINATOR, index$5_Observation as Observation, index$5_OracleConsultArgs as OracleConsultArgs, type index$5_OracleConsultAsyncInput as OracleConsultAsyncInput, type index$5_OracleConsultInput as OracleConsultInput, type index$5_OracleConsultInstruction as OracleConsultInstruction, type index$5_OracleConsultInstructionData as OracleConsultInstructionData, type index$5_OracleConsultInstructionDataArgs as OracleConsultInstructionDataArgs, index$5_OracleInitializedEvent as OracleInitializedEvent, OracleState$2 as OracleState, type index$5_OracleUpdateAsyncInput as OracleUpdateAsyncInput, type index$5_OracleUpdateInput as OracleUpdateInput, type index$5_OracleUpdateInstruction as OracleUpdateInstruction, type index$5_OracleUpdateInstructionData as OracleUpdateInstructionData, type index$5_OracleUpdateInstructionDataArgs as OracleUpdateInstructionDataArgs, index$5_OracleUpdatedEvent as OracleUpdatedEvent, index$5_OracleWithAddress as OracleWithAddress, index$5_PAUSE_DISCRIMINATOR as PAUSE_DISCRIMINATOR, index$5_PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR as PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR, type index$5_ParsedAddLiquidityInstruction as ParsedAddLiquidityInstruction, type index$5_ParsedClosePositionInstruction as ParsedClosePositionInstruction, type index$5_ParsedCollectFeesInstruction as ParsedCollectFeesInstruction, type index$5_ParsedCollectProtocolFeesInstruction as ParsedCollectProtocolFeesInstruction, type index$5_ParsedCreatePositionInstruction as ParsedCreatePositionInstruction, type ParsedInitializeConfigInstruction$1 as ParsedInitializeConfigInstruction, type ParsedInitializeOracleInstruction$1 as ParsedInitializeOracleInstruction, type index$5_ParsedInitializePoolInstruction as ParsedInitializePoolInstruction, type index$5_ParsedOracleConsultInstruction as ParsedOracleConsultInstruction, type index$5_ParsedOracleUpdateInstruction as ParsedOracleUpdateInstruction, type index$5_ParsedPauseInstruction as ParsedPauseInstruction, type index$5_ParsedPreviewSwapExactInInstruction as ParsedPreviewSwapExactInInstruction, type index$5_ParsedQuoteToNumeraireInstruction as ParsedQuoteToNumeraireInstruction, type index$5_ParsedRemoveLiquidityInstruction as ParsedRemoveLiquidityInstruction, type index$5_ParsedSetFeesInstruction as ParsedSetFeesInstruction, type index$5_ParsedSetHookInstruction as ParsedSetHookInstruction, type index$5_ParsedSetRouteInstruction as ParsedSetRouteInstruction, type index$5_ParsedSwapExactInInstruction as ParsedSwapExactInInstruction, type index$5_ParsedTransferAdminInstruction as ParsedTransferAdminInstruction, type index$5_ParsedUnpauseInstruction as ParsedUnpauseInstruction, type index$5_ParsedUpdateConfigInstruction as ParsedUpdateConfigInstruction, type index$5_ParsedWithdrawVaultExcessInstruction as ParsedWithdrawVaultExcessInstruction, type index$5_PauseInput as PauseInput, type index$5_PauseInstruction as PauseInstruction, type index$5_PauseInstructionData as PauseInstructionData, type index$5_PauseInstructionDataArgs as PauseInstructionDataArgs, index$5_PausedEvent as PausedEvent, index$5_Pool as Pool, index$5_PoolInitializedEvent as PoolInitializedEvent, type index$5_PoolWithAddress as PoolWithAddress, index$5_Position as Position, index$5_PositionClosedEvent as PositionClosedEvent, index$5_PositionCreatedEvent as PositionCreatedEvent, index$5_PositionValue as PositionValue, index$5_PositionWithAddress as PositionWithAddress, type index$5_PreviewSwapExactInInput as PreviewSwapExactInInput, type index$5_PreviewSwapExactInInstruction as PreviewSwapExactInInstruction, type index$5_PreviewSwapExactInInstructionData as PreviewSwapExactInInstructionData, type index$5_PreviewSwapExactInInstructionDataArgs as PreviewSwapExactInInstructionDataArgs, index$5_Q64_ONE as Q64_ONE, index$5_QUOTE_TO_NUMERAIRE_DISCRIMINATOR as QUOTE_TO_NUMERAIRE_DISCRIMINATOR, index$5_QuoteToNumeraireArgs as QuoteToNumeraireArgs, type index$5_QuoteToNumeraireInput as QuoteToNumeraireInput, type index$5_QuoteToNumeraireInstruction as QuoteToNumeraireInstruction, type index$5_QuoteToNumeraireInstructionData as QuoteToNumeraireInstructionData, type index$5_QuoteToNumeraireInstructionDataArgs as QuoteToNumeraireInstructionDataArgs, index$5_REMOVE_LIQUIDITY_DISCRIMINATOR as REMOVE_LIQUIDITY_DISCRIMINATOR, index$5_RemoveLiquidityArgs as RemoveLiquidityArgs, type index$5_RemoveLiquidityAsyncInput as RemoveLiquidityAsyncInput, index$5_RemoveLiquidityEvent as RemoveLiquidityEvent, type index$5_RemoveLiquidityInput as RemoveLiquidityInput, type index$5_RemoveLiquidityInstruction as RemoveLiquidityInstruction, type index$5_RemoveLiquidityInstructionData as RemoveLiquidityInstructionData, type index$5_RemoveLiquidityInstructionDataArgs as RemoveLiquidityInstructionDataArgs, index$5_RemoveLiquidityQuote as RemoveLiquidityQuote, index$5_RouteUpdatedEvent as RouteUpdatedEvent, index$5_SEED_AUTHORITY as SEED_AUTHORITY, SEED_CONFIG$1 as SEED_CONFIG, index$5_SEED_ORACLE as SEED_ORACLE, index$5_SEED_POOL as SEED_POOL, index$5_SEED_POSITION as SEED_POSITION, index$5_SEED_PROTOCOL_FEE_POSITION as SEED_PROTOCOL_FEE_POSITION, index$5_SET_FEES_DISCRIMINATOR as SET_FEES_DISCRIMINATOR, index$5_SET_HOOK_DISCRIMINATOR as SET_HOOK_DISCRIMINATOR, index$5_SET_ROUTE_DISCRIMINATOR as SET_ROUTE_DISCRIMINATOR, index$5_SWAP_EXACT_IN_DISCRIMINATOR as SWAP_EXACT_IN_DISCRIMINATOR, index$5_SetFeesArgs as SetFeesArgs, type index$5_SetFeesInput as SetFeesInput, type index$5_SetFeesInstruction as SetFeesInstruction, type index$5_SetFeesInstructionData as SetFeesInstructionData, type index$5_SetFeesInstructionDataArgs as SetFeesInstructionDataArgs, index$5_SetHookArgs as SetHookArgs, type index$5_SetHookInput as SetHookInput, type index$5_SetHookInstruction as SetHookInstruction, type index$5_SetHookInstructionData as SetHookInstructionData, type index$5_SetHookInstructionDataArgs as SetHookInstructionDataArgs, index$5_SetRouteArgs as SetRouteArgs, type index$5_SetRouteInput as SetRouteInput, type index$5_SetRouteInstruction as SetRouteInstruction, type index$5_SetRouteInstructionData as SetRouteInstructionData, type index$5_SetRouteInstructionDataArgs as SetRouteInstructionDataArgs, index$5_SwapEvent as SwapEvent, index$5_SwapExactInArgs as SwapExactInArgs, type index$5_SwapExactInAsyncInput as SwapExactInAsyncInput, type index$5_SwapExactInInput as SwapExactInInput, type index$5_SwapExactInInstruction as SwapExactInInstruction, type index$5_SwapExactInInstructionData as SwapExactInInstructionData, type index$5_SwapExactInInstructionDataArgs as SwapExactInInstructionDataArgs, index$5_SwapQuote as SwapQuote, index$5_SwapQuoteExactOut as SwapQuoteExactOut, index$5_TOKEN_METADATA_PROGRAM_ID as TOKEN_METADATA_PROGRAM_ID, index$5_TRANSFER_ADMIN_DISCRIMINATOR as TRANSFER_ADMIN_DISCRIMINATOR, index$5_TradeDirection as TradeDirection, index$5_TransferAdminArgs as TransferAdminArgs, type index$5_TransferAdminInput as TransferAdminInput, type index$5_TransferAdminInstruction as TransferAdminInstruction, type index$5_TransferAdminInstructionData as TransferAdminInstructionData, type index$5_TransferAdminInstructionDataArgs as TransferAdminInstructionDataArgs, index$5_TwapResult as TwapResult, index$5_UNPAUSE_DISCRIMINATOR as UNPAUSE_DISCRIMINATOR, index$5_UPDATE_CONFIG_DISCRIMINATOR as UPDATE_CONFIG_DISCRIMINATOR, type index$5_UnpauseInput as UnpauseInput, type index$5_UnpauseInstruction as UnpauseInstruction, type index$5_UnpauseInstructionData as UnpauseInstructionData, type index$5_UnpauseInstructionDataArgs as UnpauseInstructionDataArgs, index$5_UnpausedEvent as UnpausedEvent, type index$5_UpdateConfigInput as UpdateConfigInput, type index$5_UpdateConfigInstruction as UpdateConfigInstruction, type index$5_UpdateConfigInstructionData as UpdateConfigInstructionData, type index$5_UpdateConfigInstructionDataArgs as UpdateConfigInstructionDataArgs, index$5_VaultExcessWithdrawnEvent as VaultExcessWithdrawnEvent, index$5_WITHDRAW_VAULT_EXCESS_DISCRIMINATOR as WITHDRAW_VAULT_EXCESS_DISCRIMINATOR, type index$5_WithdrawVaultExcessAsyncInput as WithdrawVaultExcessAsyncInput, type index$5_WithdrawVaultExcessInput as WithdrawVaultExcessInput, type index$5_WithdrawVaultExcessInstruction as WithdrawVaultExcessInstruction, type index$5_WithdrawVaultExcessInstructionData as WithdrawVaultExcessInstructionData, type index$5_WithdrawVaultExcessInstructionDataArgs as WithdrawVaultExcessInstructionDataArgs, index$5_addLiquidityArgsCodec as addLiquidityArgsCodec, index$5_ammConfigDataCodec as ammConfigDataCodec, index$5_areMintsOrdered as areMintsOrdered, index$5_calculateAccruedFees as calculateAccruedFees, index$5_calculateTwap as calculateTwap, index$5_calculateTwapNumber as calculateTwapNumber, index$5_ceilDiv as ceilDiv, index$5_collectFeesArgsCodec as collectFeesArgsCodec, index$5_collectProtocolFeesArgsCodec as collectProtocolFeesArgsCodec, index$5_comparePoolAndOraclePrices as comparePoolAndOraclePrices, index$5_computePrice0Q64 as computePrice0Q64, index$5_computePrice1Q64 as computePrice1Q64, index$5_consultTwap as consultTwap, getAddLiquidityInstruction as createAddLiquidityInstruction, getClosePositionInstruction as createClosePositionInstruction, getCollectFeesInstruction as createCollectFeesInstruction, getCollectProtocolFeesInstruction as createCollectProtocolFeesInstruction, getCreatePositionInstruction as createCreatePositionInstruction, getInitializeConfigInstruction$1 as createInitializeConfigInstruction, getInitializeOracleInstruction$1 as createInitializeOracleInstruction, getInitializePoolInstruction as createInitializePoolInstruction, getOracleConsultInstruction as createOracleConsultInstruction, getOracleUpdateInstruction as createOracleUpdateInstruction, getPauseInstruction as createPauseInstruction, index$5_createPositionArgsCodec as createPositionArgsCodec, getQuoteToNumeraireInstruction as createQuoteToNumeraireInstruction, getRemoveLiquidityInstruction as createRemoveLiquidityInstruction, getSetFeesInstruction as createSetFeesInstruction, getSetHookInstruction as createSetHookInstruction, getSetRouteInstruction as createSetRouteInstruction, getSwapExactInInstruction as createSwapExactInInstruction, index$5_createSwapInstruction as createSwapInstruction, getTransferAdminInstruction as createTransferAdminInstruction, getUnpauseInstruction as createUnpauseInstruction, getWithdrawVaultExcessInstruction as createWithdrawVaultExcessInstruction, index$5_curveParamsToMarketCap as curveParamsToMarketCap, index$5_decodeAmmConfig as decodeAmmConfig, decodeOracleState$2 as decodeOracleState, index$5_decodePool as decodePool, index$5_decodePosition as decodePosition, index$5_encodeAddLiquidityArgs as encodeAddLiquidityArgs, index$5_encodeCollectFeesArgs as encodeCollectFeesArgs, index$5_encodeCollectProtocolFeesArgs as encodeCollectProtocolFeesArgs, index$5_encodeCreatePositionArgs as encodeCreatePositionArgs, index$5_encodeInitializeConfigArgs as encodeInitializeConfigArgs, index$5_encodeInitializeOracleArgs as encodeInitializeOracleArgs, index$5_encodeInitializePoolArgs as encodeInitializePoolArgs, index$5_encodeInstructionData as encodeInstructionData, index$5_encodeOracleConsultArgs as encodeOracleConsultArgs, index$5_encodeQuoteToNumeraireArgs as encodeQuoteToNumeraireArgs, index$5_encodeRemoveLiquidityArgs as encodeRemoveLiquidityArgs, index$5_encodeSetFeesArgs as encodeSetFeesArgs, index$5_encodeSetHookArgs as encodeSetHookArgs, index$5_encodeSetRouteArgs as encodeSetRouteArgs, index$5_encodeSwapExactInArgs as encodeSwapExactInArgs, index$5_encodeTransferAdminArgs as encodeTransferAdminArgs, index$5_fetchAllPools as fetchAllPools, index$5_fetchConfig as fetchConfig, index$5_fetchConfigWithAddress as fetchConfigWithAddress, index$5_fetchOracle as fetchOracle, index$5_fetchOraclesBatch as fetchOraclesBatch, index$5_fetchPool as fetchPool, index$5_fetchPoolPositions as fetchPoolPositions, index$5_fetchPoolsBatch as fetchPoolsBatch, index$5_fetchPosition as fetchPosition, index$5_fetchPositionByParams as fetchPositionByParams, index$5_fetchPositionsBatch as fetchPositionsBatch, index$5_fetchUserPositions as fetchUserPositions, index$5_filterActivePositions as filterActivePositions, index$5_filterPoolsByMint as filterPoolsByMint, index$5_getAddLiquidityDiscriminatorBytes as getAddLiquidityDiscriminatorBytes, index$5_getAddLiquidityInstruction as getAddLiquidityInstruction, index$5_getAddLiquidityInstructionAsync as getAddLiquidityInstructionAsync, index$5_getAddLiquidityInstructionDataCodec as getAddLiquidityInstructionDataCodec, index$5_getAddLiquidityInstructionDataDecoder as getAddLiquidityInstructionDataDecoder, index$5_getAddLiquidityInstructionDataEncoder as getAddLiquidityInstructionDataEncoder, index$5_getAddLiquidityQuote as getAddLiquidityQuote, index$5_getClosePositionDiscriminatorBytes as getClosePositionDiscriminatorBytes, index$5_getClosePositionInstruction as getClosePositionInstruction, index$5_getClosePositionInstructionDataCodec as getClosePositionInstructionDataCodec, index$5_getClosePositionInstructionDataDecoder as getClosePositionInstructionDataDecoder, index$5_getClosePositionInstructionDataEncoder as getClosePositionInstructionDataEncoder, index$5_getCollectFeesDiscriminatorBytes as getCollectFeesDiscriminatorBytes, index$5_getCollectFeesInstruction as getCollectFeesInstruction, index$5_getCollectFeesInstructionAsync as getCollectFeesInstructionAsync, index$5_getCollectFeesInstructionDataCodec as getCollectFeesInstructionDataCodec, index$5_getCollectFeesInstructionDataDecoder as getCollectFeesInstructionDataDecoder, index$5_getCollectFeesInstructionDataEncoder as getCollectFeesInstructionDataEncoder, index$5_getCollectProtocolFeesDiscriminatorBytes as getCollectProtocolFeesDiscriminatorBytes, index$5_getCollectProtocolFeesInstruction as getCollectProtocolFeesInstruction, index$5_getCollectProtocolFeesInstructionAsync as getCollectProtocolFeesInstructionAsync, index$5_getCollectProtocolFeesInstructionDataCodec as getCollectProtocolFeesInstructionDataCodec, index$5_getCollectProtocolFeesInstructionDataDecoder as getCollectProtocolFeesInstructionDataDecoder, index$5_getCollectProtocolFeesInstructionDataEncoder as getCollectProtocolFeesInstructionDataEncoder, getConfigAddress$1 as getConfigAddress, index$5_getCreatePositionDiscriminatorBytes as getCreatePositionDiscriminatorBytes, index$5_getCreatePositionInstruction as getCreatePositionInstruction, index$5_getCreatePositionInstructionAsync as getCreatePositionInstructionAsync, index$5_getCreatePositionInstructionDataCodec as getCreatePositionInstructionDataCodec, index$5_getCreatePositionInstructionDataDecoder as getCreatePositionInstructionDataDecoder, index$5_getCreatePositionInstructionDataEncoder as getCreatePositionInstructionDataEncoder, index$5_getErrorMessage as getErrorMessage, getInitializeConfigDiscriminatorBytes$1 as getInitializeConfigDiscriminatorBytes, getInitializeConfigInstruction$1 as getInitializeConfigInstruction, getInitializeConfigInstructionAsync$1 as getInitializeConfigInstructionAsync, getInitializeConfigInstructionDataCodec$1 as getInitializeConfigInstructionDataCodec, getInitializeConfigInstructionDataDecoder$1 as getInitializeConfigInstructionDataDecoder, getInitializeConfigInstructionDataEncoder$1 as getInitializeConfigInstructionDataEncoder, getInitializeOracleDiscriminatorBytes$1 as getInitializeOracleDiscriminatorBytes, getInitializeOracleInstruction$1 as getInitializeOracleInstruction, index$5_getInitializeOracleInstructionAsync as getInitializeOracleInstructionAsync, getInitializeOracleInstructionDataCodec$1 as getInitializeOracleInstructionDataCodec, getInitializeOracleInstructionDataDecoder$1 as getInitializeOracleInstructionDataDecoder, getInitializeOracleInstructionDataEncoder$1 as getInitializeOracleInstructionDataEncoder, index$5_getInitializePoolDiscriminatorBytes as getInitializePoolDiscriminatorBytes, index$5_getInitializePoolInstruction as getInitializePoolInstruction, index$5_getInitializePoolInstructionAsync as getInitializePoolInstructionAsync, index$5_getInitializePoolInstructionDataCodec as getInitializePoolInstructionDataCodec, index$5_getInitializePoolInstructionDataDecoder as getInitializePoolInstructionDataDecoder, index$5_getInitializePoolInstructionDataEncoder as getInitializePoolInstructionDataEncoder, index$5_getK as getK, index$5_getLiquidityAddresses as getLiquidityAddresses, index$5_getMetadataAddress as getMetadataAddress, index$5_getOracleAddress as getOracleAddress, index$5_getOracleAddressFromPool as getOracleAddressFromPool, index$5_getOracleAge as getOracleAge, index$5_getOracleBufferStats as getOracleBufferStats, index$5_getOracleConsultDiscriminatorBytes as getOracleConsultDiscriminatorBytes, index$5_getOracleConsultInstruction as getOracleConsultInstruction, index$5_getOracleConsultInstructionAsync as getOracleConsultInstructionAsync, index$5_getOracleConsultInstructionDataCodec as getOracleConsultInstructionDataCodec, index$5_getOracleConsultInstructionDataDecoder as getOracleConsultInstructionDataDecoder, index$5_getOracleConsultInstructionDataEncoder as getOracleConsultInstructionDataEncoder, index$5_getOracleDeviation as getOracleDeviation, index$5_getOracleForPool as getOracleForPool, index$5_getOracleSpotPrices as getOracleSpotPrices, index$5_getOracleUpdateDiscriminatorBytes as getOracleUpdateDiscriminatorBytes, index$5_getOracleUpdateInstruction as getOracleUpdateInstruction, index$5_getOracleUpdateInstructionAsync as getOracleUpdateInstructionAsync, index$5_getOracleUpdateInstructionDataCodec as getOracleUpdateInstructionDataCodec, index$5_getOracleUpdateInstructionDataDecoder as getOracleUpdateInstructionDataDecoder, index$5_getOracleUpdateInstructionDataEncoder as getOracleUpdateInstructionDataEncoder, index$5_getPauseDiscriminatorBytes as getPauseDiscriminatorBytes, index$5_getPauseInstruction as getPauseInstruction, index$5_getPauseInstructionDataCodec as getPauseInstructionDataCodec, index$5_getPauseInstructionDataDecoder as getPauseInstructionDataDecoder, index$5_getPauseInstructionDataEncoder as getPauseInstructionDataEncoder, index$5_getPendingFees as getPendingFees, index$5_getPoolAddress as getPoolAddress, index$5_getPoolAddressFromMints as getPoolAddressFromMints, index$5_getPoolAuthorityAddress as getPoolAuthorityAddress, index$5_getPoolByMints as getPoolByMints, index$5_getPoolInitAddresses as getPoolInitAddresses, index$5_getPoolVault0Address as getPoolVault0Address, index$5_getPoolVault1Address as getPoolVault1Address, index$5_getPositionAddress as getPositionAddress, index$5_getPositionAddressFromParams as getPositionAddressFromParams, index$5_getPositionValue as getPositionValue, index$5_getPreviewSwapExactInDiscriminatorBytes as getPreviewSwapExactInDiscriminatorBytes, index$5_getPreviewSwapExactInInstruction as getPreviewSwapExactInInstruction, index$5_getPreviewSwapExactInInstructionDataCodec as getPreviewSwapExactInInstructionDataCodec, index$5_getPreviewSwapExactInInstructionDataDecoder as getPreviewSwapExactInInstructionDataDecoder, index$5_getPreviewSwapExactInInstructionDataEncoder as getPreviewSwapExactInInstructionDataEncoder, index$5_getProtocolFeePositionAddress as getProtocolFeePositionAddress, index$5_getQuoteToNumeraireDiscriminatorBytes as getQuoteToNumeraireDiscriminatorBytes, index$5_getQuoteToNumeraireInstruction as getQuoteToNumeraireInstruction, index$5_getQuoteToNumeraireInstructionDataCodec as getQuoteToNumeraireInstructionDataCodec, index$5_getQuoteToNumeraireInstructionDataDecoder as getQuoteToNumeraireInstructionDataDecoder, index$5_getQuoteToNumeraireInstructionDataEncoder as getQuoteToNumeraireInstructionDataEncoder, index$5_getRemoveLiquidityDiscriminatorBytes as getRemoveLiquidityDiscriminatorBytes, index$5_getRemoveLiquidityInstruction as getRemoveLiquidityInstruction, index$5_getRemoveLiquidityInstructionAsync as getRemoveLiquidityInstructionAsync, index$5_getRemoveLiquidityInstructionDataCodec as getRemoveLiquidityInstructionDataCodec, index$5_getRemoveLiquidityInstructionDataDecoder as getRemoveLiquidityInstructionDataDecoder, index$5_getRemoveLiquidityInstructionDataEncoder as getRemoveLiquidityInstructionDataEncoder, index$5_getRemoveLiquidityQuote as getRemoveLiquidityQuote, index$5_getSetFeesDiscriminatorBytes as getSetFeesDiscriminatorBytes, index$5_getSetFeesInstruction as getSetFeesInstruction, index$5_getSetFeesInstructionDataCodec as getSetFeesInstructionDataCodec, index$5_getSetFeesInstructionDataDecoder as getSetFeesInstructionDataDecoder, index$5_getSetFeesInstructionDataEncoder as getSetFeesInstructionDataEncoder, index$5_getSetHookDiscriminatorBytes as getSetHookDiscriminatorBytes, index$5_getSetHookInstruction as getSetHookInstruction, index$5_getSetHookInstructionDataCodec as getSetHookInstructionDataCodec, index$5_getSetHookInstructionDataDecoder as getSetHookInstructionDataDecoder, index$5_getSetHookInstructionDataEncoder as getSetHookInstructionDataEncoder, index$5_getSetRouteDiscriminatorBytes as getSetRouteDiscriminatorBytes, index$5_getSetRouteInstruction as getSetRouteInstruction, index$5_getSetRouteInstructionDataCodec as getSetRouteInstructionDataCodec, index$5_getSetRouteInstructionDataDecoder as getSetRouteInstructionDataDecoder, index$5_getSetRouteInstructionDataEncoder as getSetRouteInstructionDataEncoder, index$5_getSpotPrice0 as getSpotPrice0, index$5_getSpotPrice1 as getSpotPrice1, index$5_getSwapAddresses as getSwapAddresses, index$5_getSwapExactInDiscriminatorBytes as getSwapExactInDiscriminatorBytes, index$5_getSwapExactInInstruction as getSwapExactInInstruction, index$5_getSwapExactInInstructionAsync as getSwapExactInInstructionAsync, index$5_getSwapExactInInstructionDataCodec as getSwapExactInInstructionDataCodec, index$5_getSwapExactInInstructionDataDecoder as getSwapExactInInstructionDataDecoder, index$5_getSwapExactInInstructionDataEncoder as getSwapExactInInstructionDataEncoder, index$5_getSwapQuote as getSwapQuote, index$5_getSwapQuoteExactOut as getSwapQuoteExactOut, index$5_getTransferAdminDiscriminatorBytes as getTransferAdminDiscriminatorBytes, index$5_getTransferAdminInstruction as getTransferAdminInstruction, index$5_getTransferAdminInstructionDataCodec as getTransferAdminInstructionDataCodec, index$5_getTransferAdminInstructionDataDecoder as getTransferAdminInstructionDataDecoder, index$5_getTransferAdminInstructionDataEncoder as getTransferAdminInstructionDataEncoder, index$5_getTvl as getTvl, index$5_getUnpauseDiscriminatorBytes as getUnpauseDiscriminatorBytes, index$5_getUnpauseInstruction as getUnpauseInstruction, index$5_getUnpauseInstructionDataCodec as getUnpauseInstructionDataCodec, index$5_getUnpauseInstructionDataDecoder as getUnpauseInstructionDataDecoder, index$5_getUnpauseInstructionDataEncoder as getUnpauseInstructionDataEncoder, index$5_getUpdateConfigDiscriminatorBytes as getUpdateConfigDiscriminatorBytes, index$5_getUpdateConfigInstruction as getUpdateConfigInstruction, index$5_getUpdateConfigInstructionDataCodec as getUpdateConfigInstructionDataCodec, index$5_getUpdateConfigInstructionDataDecoder as getUpdateConfigInstructionDataDecoder, index$5_getUpdateConfigInstructionDataEncoder as getUpdateConfigInstructionDataEncoder, index$5_getWithdrawVaultExcessDiscriminatorBytes as getWithdrawVaultExcessDiscriminatorBytes, index$5_getWithdrawVaultExcessInstruction as getWithdrawVaultExcessInstruction, index$5_getWithdrawVaultExcessInstructionAsync as getWithdrawVaultExcessInstructionAsync, index$5_getWithdrawVaultExcessInstructionDataCodec as getWithdrawVaultExcessInstructionDataCodec, index$5_getWithdrawVaultExcessInstructionDataDecoder as getWithdrawVaultExcessInstructionDataDecoder, index$5_getWithdrawVaultExcessInstructionDataEncoder as getWithdrawVaultExcessInstructionDataEncoder, index$5_initializeConfigArgsCodec as initializeConfigArgsCodec, index$5_initializeOracleArgsCodec as initializeOracleArgsCodec, index$5_initializePoolArgsCodec as initializePoolArgsCodec, index$5_isCpmmError as isCpmmError, index$5_isOracleStale as isOracleStale, index$5_isqrt as isqrt, index$5_marketCapToCurveParams as marketCapToCurveParams, index$5_marketCapToSingleCurveParams as marketCapToSingleCurveParams, index$5_marketCapToTokenPrice as marketCapToTokenPrice, index$5_maxBigInt as maxBigInt, index$5_minBigInt as minBigInt, index$5_numberToQ64 as numberToQ64, index$5_observationCodec as observationCodec, index$5_oracleConsultArgsCodec as oracleConsultArgsCodec, index$5_oracleStateDataCodec as oracleStateDataCodec, index$5_parseAddLiquidityInstruction as parseAddLiquidityInstruction, index$5_parseClosePositionInstruction as parseClosePositionInstruction, index$5_parseCollectFeesInstruction as parseCollectFeesInstruction, index$5_parseCollectProtocolFeesInstruction as parseCollectProtocolFeesInstruction, index$5_parseCreatePositionInstruction as parseCreatePositionInstruction, index$5_parseErrorFromLogs as parseErrorFromLogs, parseInitializeConfigInstruction$1 as parseInitializeConfigInstruction, parseInitializeOracleInstruction$1 as parseInitializeOracleInstruction, index$5_parseInitializePoolInstruction as parseInitializePoolInstruction, index$5_parseOracleConsultInstruction as parseOracleConsultInstruction, index$5_parseOracleUpdateInstruction as parseOracleUpdateInstruction, index$5_parsePauseInstruction as parsePauseInstruction, index$5_parsePreviewSwapExactInInstruction as parsePreviewSwapExactInInstruction, index$5_parseQuoteToNumeraireInstruction as parseQuoteToNumeraireInstruction, index$5_parseRemoveLiquidityInstruction as parseRemoveLiquidityInstruction, index$5_parseSetFeesInstruction as parseSetFeesInstruction, index$5_parseSetHookInstruction as parseSetHookInstruction, index$5_parseSetRouteInstruction as parseSetRouteInstruction, index$5_parseSwapExactInInstruction as parseSwapExactInInstruction, index$5_parseTransferAdminInstruction as parseTransferAdminInstruction, index$5_parseUnpauseInstruction as parseUnpauseInstruction, index$5_parseUpdateConfigInstruction as parseUpdateConfigInstruction, index$5_parseWithdrawVaultExcessInstruction as parseWithdrawVaultExcessInstruction, index$5_poolDataCodec as poolDataCodec, index$5_poolExists as poolExists, index$5_positionDataCodec as positionDataCodec, index$5_q64Div as q64Div, index$5_q64Mul as q64Mul, index$5_q64ToNumber as q64ToNumber, index$5_quoteToNumeraireArgsCodec as quoteToNumeraireArgsCodec, index$5_ratioToNumber as ratioToNumber, index$5_removeLiquidityArgsCodec as removeLiquidityArgsCodec, index$5_setFeesArgsCodec as setFeesArgsCodec, index$5_setHookArgsCodec as setHookArgsCodec, index$5_setRouteArgsCodec as setRouteArgsCodec, index$5_sortMints as sortMints, index$5_sortPoolsByReserves as sortPoolsByReserves, index$5_sortPositionsByShares as sortPositionsByShares, index$5_swapExactInArgsCodec as swapExactInArgsCodec, index$5_transferAdminArgsCodec as transferAdminArgsCodec, index$5_validateMarketCapParameters as validateMarketCapParameters };
2772
+ export { index$5_ACCOUNT_DISCRIMINATORS as ACCOUNT_DISCRIMINATORS, index$5_ACCOUNT_VERSION as ACCOUNT_VERSION, index$5_ADD_LIQUIDITY_DISCRIMINATOR as ADD_LIQUIDITY_DISCRIMINATOR, index$5_AddLiquidityArgs as AddLiquidityArgs, type index$5_AddLiquidityAsyncInput as AddLiquidityAsyncInput, index$5_AddLiquidityEvent as AddLiquidityEvent, type index$5_AddLiquidityInput as AddLiquidityInput, type index$5_AddLiquidityInstruction as AddLiquidityInstruction, type index$5_AddLiquidityInstructionData as AddLiquidityInstructionData, type index$5_AddLiquidityInstructionDataArgs as AddLiquidityInstructionDataArgs, index$5_AddLiquidityQuote as AddLiquidityQuote, index$5_AdminTransferredEvent as AdminTransferredEvent, index$5_AmmConfig as AmmConfig, index$5_BPS_DENOM as BPS_DENOM, index$5_CLOSE_POSITION_DISCRIMINATOR as CLOSE_POSITION_DISCRIMINATOR, index$5_COLLECT_FEES_DISCRIMINATOR as COLLECT_FEES_DISCRIMINATOR, index$5_COLLECT_PROTOCOL_FEES_DISCRIMINATOR as COLLECT_PROTOCOL_FEES_DISCRIMINATOR, index$5_CPMM_ERROR_MESSAGES as CPMM_ERROR_MESSAGES, index$5_CPMM_PROGRAM_ID as CPMM_PROGRAM_ID, index$5_CREATE_POSITION_DISCRIMINATOR as CREATE_POSITION_DISCRIMINATOR, type index$5_ClosePositionInput as ClosePositionInput, type index$5_ClosePositionInstruction as ClosePositionInstruction, type index$5_ClosePositionInstructionData as ClosePositionInstructionData, type index$5_ClosePositionInstructionDataArgs as ClosePositionInstructionDataArgs, index$5_CollectFeesArgs as CollectFeesArgs, type index$5_CollectFeesAsyncInput as CollectFeesAsyncInput, index$5_CollectFeesEvent as CollectFeesEvent, type index$5_CollectFeesInput as CollectFeesInput, type index$5_CollectFeesInstruction as CollectFeesInstruction, type index$5_CollectFeesInstructionData as CollectFeesInstructionData, type index$5_CollectFeesInstructionDataArgs as CollectFeesInstructionDataArgs, index$5_CollectProtocolFeesArgs as CollectProtocolFeesArgs, type index$5_CollectProtocolFeesAsyncInput as CollectProtocolFeesAsyncInput, index$5_CollectProtocolFeesEvent as CollectProtocolFeesEvent, type index$5_CollectProtocolFeesInput as CollectProtocolFeesInput, type index$5_CollectProtocolFeesInstruction as CollectProtocolFeesInstruction, type index$5_CollectProtocolFeesInstructionData as CollectProtocolFeesInstructionData, type index$5_CollectProtocolFeesInstructionDataArgs as CollectProtocolFeesInstructionDataArgs, index$5_CpmmError as CpmmError, index$5_CpmmErrorCode as CpmmErrorCode, index$5_CreatePositionArgs as CreatePositionArgs, type index$5_CreatePositionAsyncInput as CreatePositionAsyncInput, type index$5_CreatePositionInput as CreatePositionInput, type index$5_CreatePositionInstruction as CreatePositionInstruction, type index$5_CreatePositionInstructionData as CreatePositionInstructionData, type index$5_CreatePositionInstructionDataArgs as CreatePositionInstructionDataArgs, index$5_CurveParams as CurveParams, index$5_CurveParamsToMarketCapInput as CurveParamsToMarketCapInput, index$5_FeesUpdatedEvent as FeesUpdatedEvent, index$5_FetchOracleConfig as FetchOracleConfig, type index$5_FetchPoolsConfig as FetchPoolsConfig, index$5_FetchPositionsConfig as FetchPositionsConfig, index$5_HF_AFTER_ADD_LIQ as HF_AFTER_ADD_LIQ, index$5_HF_AFTER_REMOVE_LIQ as HF_AFTER_REMOVE_LIQ, HF_AFTER_SWAP$1 as HF_AFTER_SWAP, index$5_HF_BEFORE_ADD_LIQ as HF_BEFORE_ADD_LIQ, index$5_HF_BEFORE_REMOVE_LIQ as HF_BEFORE_REMOVE_LIQ, HF_BEFORE_SWAP$1 as HF_BEFORE_SWAP, HF_FORWARD_READONLY_SIGNERS$1 as HF_FORWARD_READONLY_SIGNERS, index$5_HF_REQUIRE_ORACLE as HF_REQUIRE_ORACLE, HOOK_NO_CHANGE$1 as HOOK_NO_CHANGE, index$5_HookErrorEvent as HookErrorEvent, index$5_HookInvokedEvent as HookInvokedEvent, index$5_HookUpdatedEvent as HookUpdatedEvent, INITIALIZE_CONFIG_DISCRIMINATOR$1 as INITIALIZE_CONFIG_DISCRIMINATOR, INITIALIZE_ORACLE_DISCRIMINATOR$1 as INITIALIZE_ORACLE_DISCRIMINATOR, index$5_INITIALIZE_POOL_DISCRIMINATOR as INITIALIZE_POOL_DISCRIMINATOR, index$5_INSTRUCTION_DISCRIMINATORS as INSTRUCTION_DISCRIMINATORS, InitializeConfigArgs$2 as InitializeConfigArgs, type InitializeConfigAsyncInput$1 as InitializeConfigAsyncInput, type InitializeConfigInput$1 as InitializeConfigInput, type InitializeConfigInstruction$1 as InitializeConfigInstruction, type InitializeConfigInstructionData$1 as InitializeConfigInstructionData, type InitializeConfigInstructionDataArgs$1 as InitializeConfigInstructionDataArgs, InitializeOracleArgs$1 as InitializeOracleArgs, type index$5_InitializeOracleAsyncInput as InitializeOracleAsyncInput, type InitializeOracleInput$1 as InitializeOracleInput, type InitializeOracleInstruction$1 as InitializeOracleInstruction, type InitializeOracleInstructionData$1 as InitializeOracleInstructionData, type InitializeOracleInstructionDataArgs$1 as InitializeOracleInstructionDataArgs, index$5_InitializePoolArgs as InitializePoolArgs, type index$5_InitializePoolAsyncInput as InitializePoolAsyncInput, type index$5_InitializePoolInput as InitializePoolInput, type index$5_InitializePoolInstruction as InitializePoolInstruction, type index$5_InitializePoolInstructionData as InitializePoolInstructionData, type index$5_InitializePoolInstructionDataArgs as InitializePoolInstructionDataArgs, index$5_MAX_FEE_AMOUNT as MAX_FEE_AMOUNT, MAX_HOOK_ALLOWLIST$1 as MAX_HOOK_ALLOWLIST, index$5_MAX_ORACLE_OBSERVATIONS as MAX_ORACLE_OBSERVATIONS, index$5_MarketCapToCurveParamsInput as MarketCapToCurveParamsInput, index$5_MarketCapValidationResult as MarketCapValidationResult, index$5_ORACLE_CONSULT_DISCRIMINATOR as ORACLE_CONSULT_DISCRIMINATOR, index$5_ORACLE_UPDATE_DISCRIMINATOR as ORACLE_UPDATE_DISCRIMINATOR, index$5_Observation as Observation, index$5_OracleConsultArgs as OracleConsultArgs, type index$5_OracleConsultAsyncInput as OracleConsultAsyncInput, type index$5_OracleConsultInput as OracleConsultInput, type index$5_OracleConsultInstruction as OracleConsultInstruction, type index$5_OracleConsultInstructionData as OracleConsultInstructionData, type index$5_OracleConsultInstructionDataArgs as OracleConsultInstructionDataArgs, index$5_OracleInitializedEvent as OracleInitializedEvent, OracleState$2 as OracleState, type index$5_OracleUpdateAsyncInput as OracleUpdateAsyncInput, type index$5_OracleUpdateInput as OracleUpdateInput, type index$5_OracleUpdateInstruction as OracleUpdateInstruction, type index$5_OracleUpdateInstructionData as OracleUpdateInstructionData, type index$5_OracleUpdateInstructionDataArgs as OracleUpdateInstructionDataArgs, index$5_OracleUpdatedEvent as OracleUpdatedEvent, index$5_OracleWithAddress as OracleWithAddress, index$5_PAUSE_DISCRIMINATOR as PAUSE_DISCRIMINATOR, index$5_PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR as PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR, type index$5_ParsedAddLiquidityInstruction as ParsedAddLiquidityInstruction, type index$5_ParsedClosePositionInstruction as ParsedClosePositionInstruction, type index$5_ParsedCollectFeesInstruction as ParsedCollectFeesInstruction, type index$5_ParsedCollectProtocolFeesInstruction as ParsedCollectProtocolFeesInstruction, type index$5_ParsedCreatePositionInstruction as ParsedCreatePositionInstruction, type ParsedInitializeConfigInstruction$1 as ParsedInitializeConfigInstruction, type ParsedInitializeOracleInstruction$1 as ParsedInitializeOracleInstruction, type index$5_ParsedInitializePoolInstruction as ParsedInitializePoolInstruction, type index$5_ParsedOracleConsultInstruction as ParsedOracleConsultInstruction, type index$5_ParsedOracleUpdateInstruction as ParsedOracleUpdateInstruction, type index$5_ParsedPauseInstruction as ParsedPauseInstruction, type index$5_ParsedPreviewSwapExactInInstruction as ParsedPreviewSwapExactInInstruction, type index$5_ParsedRedeemProtocolSharesInstruction as ParsedRedeemProtocolSharesInstruction, type index$5_ParsedRemoveLiquidityInstruction as ParsedRemoveLiquidityInstruction, type index$5_ParsedSetFeesInstruction as ParsedSetFeesInstruction, type index$5_ParsedSetHookInstruction as ParsedSetHookInstruction, type index$5_ParsedSwapExactInInstruction as ParsedSwapExactInInstruction, type index$5_ParsedTransferAdminInstruction as ParsedTransferAdminInstruction, type index$5_ParsedUnpauseInstruction as ParsedUnpauseInstruction, type index$5_ParsedUpdateConfigInstruction as ParsedUpdateConfigInstruction, type index$5_ParsedWithdrawVaultExcessInstruction as ParsedWithdrawVaultExcessInstruction, type index$5_PauseInput as PauseInput, type index$5_PauseInstruction as PauseInstruction, type index$5_PauseInstructionData as PauseInstructionData, type index$5_PauseInstructionDataArgs as PauseInstructionDataArgs, index$5_PausedEvent as PausedEvent, index$5_Pool as Pool, index$5_PoolInitializedEvent as PoolInitializedEvent, type index$5_PoolWithAddress as PoolWithAddress, index$5_Position as Position, index$5_PositionClosedEvent as PositionClosedEvent, index$5_PositionCreatedEvent as PositionCreatedEvent, index$5_PositionValue as PositionValue, index$5_PositionWithAddress as PositionWithAddress, type index$5_PreviewSwapExactInInput as PreviewSwapExactInInput, type index$5_PreviewSwapExactInInstruction as PreviewSwapExactInInstruction, type index$5_PreviewSwapExactInInstructionData as PreviewSwapExactInInstructionData, type index$5_PreviewSwapExactInInstructionDataArgs as PreviewSwapExactInInstructionDataArgs, index$5_Q64_ONE as Q64_ONE, index$5_REDEEM_PROTOCOL_SHARES_DISCRIMINATOR as REDEEM_PROTOCOL_SHARES_DISCRIMINATOR, index$5_REMOVE_LIQUIDITY_DISCRIMINATOR as REMOVE_LIQUIDITY_DISCRIMINATOR, type index$5_RedeemProtocolSharesAsyncInput as RedeemProtocolSharesAsyncInput, type index$5_RedeemProtocolSharesInput as RedeemProtocolSharesInput, type index$5_RedeemProtocolSharesInstruction as RedeemProtocolSharesInstruction, type index$5_RedeemProtocolSharesInstructionData as RedeemProtocolSharesInstructionData, type index$5_RedeemProtocolSharesInstructionDataArgs as RedeemProtocolSharesInstructionDataArgs, index$5_RemoveLiquidityArgs as RemoveLiquidityArgs, type index$5_RemoveLiquidityAsyncInput as RemoveLiquidityAsyncInput, index$5_RemoveLiquidityEvent as RemoveLiquidityEvent, type index$5_RemoveLiquidityInput as RemoveLiquidityInput, type index$5_RemoveLiquidityInstruction as RemoveLiquidityInstruction, type index$5_RemoveLiquidityInstructionData as RemoveLiquidityInstructionData, type index$5_RemoveLiquidityInstructionDataArgs as RemoveLiquidityInstructionDataArgs, index$5_RemoveLiquidityQuote as RemoveLiquidityQuote, index$5_SEED_AUTHORITY as SEED_AUTHORITY, SEED_CONFIG$1 as SEED_CONFIG, index$5_SEED_ORACLE as SEED_ORACLE, index$5_SEED_POOL as SEED_POOL, index$5_SEED_POSITION as SEED_POSITION, index$5_SEED_PROTOCOL_FEE_OWNER as SEED_PROTOCOL_FEE_OWNER, index$5_SET_FEES_DISCRIMINATOR as SET_FEES_DISCRIMINATOR, index$5_SET_HOOK_DISCRIMINATOR as SET_HOOK_DISCRIMINATOR, index$5_SWAP_EXACT_IN_DISCRIMINATOR as SWAP_EXACT_IN_DISCRIMINATOR, index$5_SetFeesArgs as SetFeesArgs, type index$5_SetFeesInput as SetFeesInput, type index$5_SetFeesInstruction as SetFeesInstruction, type index$5_SetFeesInstructionData as SetFeesInstructionData, type index$5_SetFeesInstructionDataArgs as SetFeesInstructionDataArgs, index$5_SetHookArgs as SetHookArgs, type index$5_SetHookInput as SetHookInput, type index$5_SetHookInstruction as SetHookInstruction, type index$5_SetHookInstructionData as SetHookInstructionData, type index$5_SetHookInstructionDataArgs as SetHookInstructionDataArgs, index$5_SwapEvent as SwapEvent, index$5_SwapExactInArgs as SwapExactInArgs, type index$5_SwapExactInAsyncInput as SwapExactInAsyncInput, type index$5_SwapExactInInput as SwapExactInInput, type index$5_SwapExactInInstruction as SwapExactInInstruction, type index$5_SwapExactInInstructionData as SwapExactInInstructionData, type index$5_SwapExactInInstructionDataArgs as SwapExactInInstructionDataArgs, index$5_SwapQuote as SwapQuote, index$5_SwapQuoteExactOut as SwapQuoteExactOut, index$5_TOKEN_METADATA_PROGRAM_ID as TOKEN_METADATA_PROGRAM_ID, index$5_TRANSFER_ADMIN_DISCRIMINATOR as TRANSFER_ADMIN_DISCRIMINATOR, index$5_TradeDirection as TradeDirection, index$5_TransferAdminArgs as TransferAdminArgs, type index$5_TransferAdminInput as TransferAdminInput, type index$5_TransferAdminInstruction as TransferAdminInstruction, type index$5_TransferAdminInstructionData as TransferAdminInstructionData, type index$5_TransferAdminInstructionDataArgs as TransferAdminInstructionDataArgs, index$5_TwapResult as TwapResult, index$5_UNPAUSE_DISCRIMINATOR as UNPAUSE_DISCRIMINATOR, index$5_UPDATE_CONFIG_DISCRIMINATOR as UPDATE_CONFIG_DISCRIMINATOR, type index$5_UnpauseInput as UnpauseInput, type index$5_UnpauseInstruction as UnpauseInstruction, type index$5_UnpauseInstructionData as UnpauseInstructionData, type index$5_UnpauseInstructionDataArgs as UnpauseInstructionDataArgs, index$5_UnpausedEvent as UnpausedEvent, type index$5_UpdateConfigInput as UpdateConfigInput, type index$5_UpdateConfigInstruction as UpdateConfigInstruction, type index$5_UpdateConfigInstructionData as UpdateConfigInstructionData, type index$5_UpdateConfigInstructionDataArgs as UpdateConfigInstructionDataArgs, index$5_VaultExcessWithdrawnEvent as VaultExcessWithdrawnEvent, index$5_WITHDRAW_VAULT_EXCESS_DISCRIMINATOR as WITHDRAW_VAULT_EXCESS_DISCRIMINATOR, type index$5_WithdrawVaultExcessAsyncInput as WithdrawVaultExcessAsyncInput, type index$5_WithdrawVaultExcessInput as WithdrawVaultExcessInput, type index$5_WithdrawVaultExcessInstruction as WithdrawVaultExcessInstruction, type index$5_WithdrawVaultExcessInstructionData as WithdrawVaultExcessInstructionData, type index$5_WithdrawVaultExcessInstructionDataArgs as WithdrawVaultExcessInstructionDataArgs, index$5_addLiquidityArgsCodec as addLiquidityArgsCodec, index$5_ammConfigDataCodec as ammConfigDataCodec, index$5_areMintsOrdered as areMintsOrdered, index$5_calculateAccruedFees as calculateAccruedFees, index$5_calculateTwap as calculateTwap, index$5_calculateTwapNumber as calculateTwapNumber, index$5_ceilDiv as ceilDiv, index$5_collectFeesArgsCodec as collectFeesArgsCodec, index$5_collectProtocolFeesArgsCodec as collectProtocolFeesArgsCodec, index$5_comparePoolAndOraclePrices as comparePoolAndOraclePrices, index$5_computePrice0Q64 as computePrice0Q64, index$5_computePrice1Q64 as computePrice1Q64, index$5_consultTwap as consultTwap, getAddLiquidityInstruction as createAddLiquidityInstruction, getClosePositionInstruction as createClosePositionInstruction, getCollectFeesInstruction as createCollectFeesInstruction, getCollectProtocolFeesInstruction as createCollectProtocolFeesInstruction, getCreatePositionInstruction as createCreatePositionInstruction, getInitializeConfigInstruction$1 as createInitializeConfigInstruction, getInitializeOracleInstruction$1 as createInitializeOracleInstruction, getInitializePoolInstruction as createInitializePoolInstruction, getOracleConsultInstruction as createOracleConsultInstruction, getOracleUpdateInstruction as createOracleUpdateInstruction, getPauseInstruction as createPauseInstruction, index$5_createPositionArgsCodec as createPositionArgsCodec, getRemoveLiquidityInstruction as createRemoveLiquidityInstruction, getSetFeesInstruction as createSetFeesInstruction, getSetHookInstruction as createSetHookInstruction, getSwapExactInInstruction as createSwapExactInInstruction, index$5_createSwapInstruction as createSwapInstruction, getTransferAdminInstruction as createTransferAdminInstruction, getUnpauseInstruction as createUnpauseInstruction, getWithdrawVaultExcessInstruction as createWithdrawVaultExcessInstruction, index$5_curveParamsToMarketCap as curveParamsToMarketCap, index$5_decodeAmmConfig as decodeAmmConfig, decodeOracleState$2 as decodeOracleState, index$5_decodePool as decodePool, index$5_decodePosition as decodePosition, index$5_encodeAddLiquidityArgs as encodeAddLiquidityArgs, index$5_encodeCollectFeesArgs as encodeCollectFeesArgs, index$5_encodeCollectProtocolFeesArgs as encodeCollectProtocolFeesArgs, index$5_encodeCreatePositionArgs as encodeCreatePositionArgs, index$5_encodeInitializeConfigArgs as encodeInitializeConfigArgs, index$5_encodeInitializeOracleArgs as encodeInitializeOracleArgs, index$5_encodeInitializePoolArgs as encodeInitializePoolArgs, index$5_encodeInstructionData as encodeInstructionData, index$5_encodeOracleConsultArgs as encodeOracleConsultArgs, index$5_encodeRemoveLiquidityArgs as encodeRemoveLiquidityArgs, index$5_encodeSetFeesArgs as encodeSetFeesArgs, index$5_encodeSetHookArgs as encodeSetHookArgs, index$5_encodeSwapExactInArgs as encodeSwapExactInArgs, index$5_encodeTransferAdminArgs as encodeTransferAdminArgs, index$5_fetchAllPools as fetchAllPools, index$5_fetchConfig as fetchConfig, index$5_fetchConfigWithAddress as fetchConfigWithAddress, index$5_fetchOracle as fetchOracle, index$5_fetchOraclesBatch as fetchOraclesBatch, index$5_fetchPool as fetchPool, index$5_fetchPoolPositions as fetchPoolPositions, index$5_fetchPoolsBatch as fetchPoolsBatch, index$5_fetchPosition as fetchPosition, index$5_fetchPositionByParams as fetchPositionByParams, index$5_fetchPositionsBatch as fetchPositionsBatch, index$5_fetchUserPositions as fetchUserPositions, index$5_filterActivePositions as filterActivePositions, index$5_filterPoolsByMint as filterPoolsByMint, index$5_getAddLiquidityDiscriminatorBytes as getAddLiquidityDiscriminatorBytes, index$5_getAddLiquidityInstruction as getAddLiquidityInstruction, index$5_getAddLiquidityInstructionAsync as getAddLiquidityInstructionAsync, index$5_getAddLiquidityInstructionDataCodec as getAddLiquidityInstructionDataCodec, index$5_getAddLiquidityInstructionDataDecoder as getAddLiquidityInstructionDataDecoder, index$5_getAddLiquidityInstructionDataEncoder as getAddLiquidityInstructionDataEncoder, index$5_getAddLiquidityQuote as getAddLiquidityQuote, index$5_getClosePositionDiscriminatorBytes as getClosePositionDiscriminatorBytes, index$5_getClosePositionInstruction as getClosePositionInstruction, index$5_getClosePositionInstructionDataCodec as getClosePositionInstructionDataCodec, index$5_getClosePositionInstructionDataDecoder as getClosePositionInstructionDataDecoder, index$5_getClosePositionInstructionDataEncoder as getClosePositionInstructionDataEncoder, index$5_getCollectFeesDiscriminatorBytes as getCollectFeesDiscriminatorBytes, index$5_getCollectFeesInstruction as getCollectFeesInstruction, index$5_getCollectFeesInstructionAsync as getCollectFeesInstructionAsync, index$5_getCollectFeesInstructionDataCodec as getCollectFeesInstructionDataCodec, index$5_getCollectFeesInstructionDataDecoder as getCollectFeesInstructionDataDecoder, index$5_getCollectFeesInstructionDataEncoder as getCollectFeesInstructionDataEncoder, index$5_getCollectProtocolFeesDiscriminatorBytes as getCollectProtocolFeesDiscriminatorBytes, index$5_getCollectProtocolFeesInstruction as getCollectProtocolFeesInstruction, index$5_getCollectProtocolFeesInstructionAsync as getCollectProtocolFeesInstructionAsync, index$5_getCollectProtocolFeesInstructionDataCodec as getCollectProtocolFeesInstructionDataCodec, index$5_getCollectProtocolFeesInstructionDataDecoder as getCollectProtocolFeesInstructionDataDecoder, index$5_getCollectProtocolFeesInstructionDataEncoder as getCollectProtocolFeesInstructionDataEncoder, getConfigAddress$1 as getConfigAddress, index$5_getCreatePositionDiscriminatorBytes as getCreatePositionDiscriminatorBytes, index$5_getCreatePositionInstruction as getCreatePositionInstruction, index$5_getCreatePositionInstructionAsync as getCreatePositionInstructionAsync, index$5_getCreatePositionInstructionDataCodec as getCreatePositionInstructionDataCodec, index$5_getCreatePositionInstructionDataDecoder as getCreatePositionInstructionDataDecoder, index$5_getCreatePositionInstructionDataEncoder as getCreatePositionInstructionDataEncoder, index$5_getErrorMessage as getErrorMessage, getInitializeConfigDiscriminatorBytes$1 as getInitializeConfigDiscriminatorBytes, getInitializeConfigInstruction$1 as getInitializeConfigInstruction, getInitializeConfigInstructionAsync$1 as getInitializeConfigInstructionAsync, getInitializeConfigInstructionDataCodec$1 as getInitializeConfigInstructionDataCodec, getInitializeConfigInstructionDataDecoder$1 as getInitializeConfigInstructionDataDecoder, getInitializeConfigInstructionDataEncoder$1 as getInitializeConfigInstructionDataEncoder, getInitializeOracleDiscriminatorBytes$1 as getInitializeOracleDiscriminatorBytes, getInitializeOracleInstruction$1 as getInitializeOracleInstruction, index$5_getInitializeOracleInstructionAsync as getInitializeOracleInstructionAsync, getInitializeOracleInstructionDataCodec$1 as getInitializeOracleInstructionDataCodec, getInitializeOracleInstructionDataDecoder$1 as getInitializeOracleInstructionDataDecoder, getInitializeOracleInstructionDataEncoder$1 as getInitializeOracleInstructionDataEncoder, index$5_getInitializePoolDiscriminatorBytes as getInitializePoolDiscriminatorBytes, index$5_getInitializePoolInstruction as getInitializePoolInstruction, index$5_getInitializePoolInstructionAsync as getInitializePoolInstructionAsync, index$5_getInitializePoolInstructionDataCodec as getInitializePoolInstructionDataCodec, index$5_getInitializePoolInstructionDataDecoder as getInitializePoolInstructionDataDecoder, index$5_getInitializePoolInstructionDataEncoder as getInitializePoolInstructionDataEncoder, index$5_getK as getK, index$5_getLiquidityAddresses as getLiquidityAddresses, index$5_getMetadataAddress as getMetadataAddress, index$5_getOracleAddress as getOracleAddress, index$5_getOracleAddressFromPool as getOracleAddressFromPool, index$5_getOracleAge as getOracleAge, index$5_getOracleBufferStats as getOracleBufferStats, index$5_getOracleConsultDiscriminatorBytes as getOracleConsultDiscriminatorBytes, index$5_getOracleConsultInstruction as getOracleConsultInstruction, index$5_getOracleConsultInstructionAsync as getOracleConsultInstructionAsync, index$5_getOracleConsultInstructionDataCodec as getOracleConsultInstructionDataCodec, index$5_getOracleConsultInstructionDataDecoder as getOracleConsultInstructionDataDecoder, index$5_getOracleConsultInstructionDataEncoder as getOracleConsultInstructionDataEncoder, index$5_getOracleDeviation as getOracleDeviation, index$5_getOracleForPool as getOracleForPool, index$5_getOracleSpotPrices as getOracleSpotPrices, index$5_getOracleUpdateDiscriminatorBytes as getOracleUpdateDiscriminatorBytes, index$5_getOracleUpdateInstruction as getOracleUpdateInstruction, index$5_getOracleUpdateInstructionAsync as getOracleUpdateInstructionAsync, index$5_getOracleUpdateInstructionDataCodec as getOracleUpdateInstructionDataCodec, index$5_getOracleUpdateInstructionDataDecoder as getOracleUpdateInstructionDataDecoder, index$5_getOracleUpdateInstructionDataEncoder as getOracleUpdateInstructionDataEncoder, index$5_getPauseDiscriminatorBytes as getPauseDiscriminatorBytes, index$5_getPauseInstruction as getPauseInstruction, index$5_getPauseInstructionDataCodec as getPauseInstructionDataCodec, index$5_getPauseInstructionDataDecoder as getPauseInstructionDataDecoder, index$5_getPauseInstructionDataEncoder as getPauseInstructionDataEncoder, index$5_getPendingFees as getPendingFees, index$5_getPoolAddress as getPoolAddress, index$5_getPoolAddressFromMints as getPoolAddressFromMints, index$5_getPoolAuthorityAddress as getPoolAuthorityAddress, index$5_getPoolByMints as getPoolByMints, index$5_getPoolInitAddresses as getPoolInitAddresses, index$5_getPoolVault0Address as getPoolVault0Address, index$5_getPoolVault1Address as getPoolVault1Address, index$5_getPositionAddress as getPositionAddress, index$5_getPositionAddressFromParams as getPositionAddressFromParams, index$5_getPositionValue as getPositionValue, index$5_getPreviewSwapExactInDiscriminatorBytes as getPreviewSwapExactInDiscriminatorBytes, index$5_getPreviewSwapExactInInstruction as getPreviewSwapExactInInstruction, index$5_getPreviewSwapExactInInstructionDataCodec as getPreviewSwapExactInInstructionDataCodec, index$5_getPreviewSwapExactInInstructionDataDecoder as getPreviewSwapExactInInstructionDataDecoder, index$5_getPreviewSwapExactInInstructionDataEncoder as getPreviewSwapExactInInstructionDataEncoder, index$5_getProtocolFeeOwnerAddress as getProtocolFeeOwnerAddress, index$5_getProtocolFeePositionAddress as getProtocolFeePositionAddress, index$5_getRedeemProtocolSharesDiscriminatorBytes as getRedeemProtocolSharesDiscriminatorBytes, index$5_getRedeemProtocolSharesInstruction as getRedeemProtocolSharesInstruction, index$5_getRedeemProtocolSharesInstructionAsync as getRedeemProtocolSharesInstructionAsync, index$5_getRedeemProtocolSharesInstructionDataCodec as getRedeemProtocolSharesInstructionDataCodec, index$5_getRedeemProtocolSharesInstructionDataDecoder as getRedeemProtocolSharesInstructionDataDecoder, index$5_getRedeemProtocolSharesInstructionDataEncoder as getRedeemProtocolSharesInstructionDataEncoder, index$5_getRemoveLiquidityDiscriminatorBytes as getRemoveLiquidityDiscriminatorBytes, index$5_getRemoveLiquidityInstruction as getRemoveLiquidityInstruction, index$5_getRemoveLiquidityInstructionAsync as getRemoveLiquidityInstructionAsync, index$5_getRemoveLiquidityInstructionDataCodec as getRemoveLiquidityInstructionDataCodec, index$5_getRemoveLiquidityInstructionDataDecoder as getRemoveLiquidityInstructionDataDecoder, index$5_getRemoveLiquidityInstructionDataEncoder as getRemoveLiquidityInstructionDataEncoder, index$5_getRemoveLiquidityQuote as getRemoveLiquidityQuote, index$5_getSetFeesDiscriminatorBytes as getSetFeesDiscriminatorBytes, index$5_getSetFeesInstruction as getSetFeesInstruction, index$5_getSetFeesInstructionDataCodec as getSetFeesInstructionDataCodec, index$5_getSetFeesInstructionDataDecoder as getSetFeesInstructionDataDecoder, index$5_getSetFeesInstructionDataEncoder as getSetFeesInstructionDataEncoder, index$5_getSetHookDiscriminatorBytes as getSetHookDiscriminatorBytes, index$5_getSetHookInstruction as getSetHookInstruction, index$5_getSetHookInstructionDataCodec as getSetHookInstructionDataCodec, index$5_getSetHookInstructionDataDecoder as getSetHookInstructionDataDecoder, index$5_getSetHookInstructionDataEncoder as getSetHookInstructionDataEncoder, index$5_getSpotPrice0 as getSpotPrice0, index$5_getSpotPrice1 as getSpotPrice1, index$5_getSwapAddresses as getSwapAddresses, index$5_getSwapExactInDiscriminatorBytes as getSwapExactInDiscriminatorBytes, index$5_getSwapExactInInstruction as getSwapExactInInstruction, index$5_getSwapExactInInstructionAsync as getSwapExactInInstructionAsync, index$5_getSwapExactInInstructionDataCodec as getSwapExactInInstructionDataCodec, index$5_getSwapExactInInstructionDataDecoder as getSwapExactInInstructionDataDecoder, index$5_getSwapExactInInstructionDataEncoder as getSwapExactInInstructionDataEncoder, index$5_getSwapQuote as getSwapQuote, index$5_getSwapQuoteExactOut as getSwapQuoteExactOut, index$5_getTransferAdminDiscriminatorBytes as getTransferAdminDiscriminatorBytes, index$5_getTransferAdminInstruction as getTransferAdminInstruction, index$5_getTransferAdminInstructionDataCodec as getTransferAdminInstructionDataCodec, index$5_getTransferAdminInstructionDataDecoder as getTransferAdminInstructionDataDecoder, index$5_getTransferAdminInstructionDataEncoder as getTransferAdminInstructionDataEncoder, index$5_getTvl as getTvl, index$5_getUnpauseDiscriminatorBytes as getUnpauseDiscriminatorBytes, index$5_getUnpauseInstruction as getUnpauseInstruction, index$5_getUnpauseInstructionDataCodec as getUnpauseInstructionDataCodec, index$5_getUnpauseInstructionDataDecoder as getUnpauseInstructionDataDecoder, index$5_getUnpauseInstructionDataEncoder as getUnpauseInstructionDataEncoder, index$5_getUpdateConfigDiscriminatorBytes as getUpdateConfigDiscriminatorBytes, index$5_getUpdateConfigInstruction as getUpdateConfigInstruction, index$5_getUpdateConfigInstructionDataCodec as getUpdateConfigInstructionDataCodec, index$5_getUpdateConfigInstructionDataDecoder as getUpdateConfigInstructionDataDecoder, index$5_getUpdateConfigInstructionDataEncoder as getUpdateConfigInstructionDataEncoder, index$5_getWithdrawVaultExcessDiscriminatorBytes as getWithdrawVaultExcessDiscriminatorBytes, index$5_getWithdrawVaultExcessInstruction as getWithdrawVaultExcessInstruction, index$5_getWithdrawVaultExcessInstructionAsync as getWithdrawVaultExcessInstructionAsync, index$5_getWithdrawVaultExcessInstructionDataCodec as getWithdrawVaultExcessInstructionDataCodec, index$5_getWithdrawVaultExcessInstructionDataDecoder as getWithdrawVaultExcessInstructionDataDecoder, index$5_getWithdrawVaultExcessInstructionDataEncoder as getWithdrawVaultExcessInstructionDataEncoder, index$5_initializeConfigArgsCodec as initializeConfigArgsCodec, index$5_initializeOracleArgsCodec as initializeOracleArgsCodec, index$5_initializePoolArgsCodec as initializePoolArgsCodec, index$5_isCpmmError as isCpmmError, index$5_isOracleStale as isOracleStale, index$5_isqrt as isqrt, index$5_marketCapToCurveParams as marketCapToCurveParams, index$5_marketCapToSingleCurveParams as marketCapToSingleCurveParams, index$5_marketCapToTokenPrice as marketCapToTokenPrice, index$5_maxBigInt as maxBigInt, index$5_minBigInt as minBigInt, index$5_numberToQ64 as numberToQ64, index$5_observationCodec as observationCodec, index$5_oracleConsultArgsCodec as oracleConsultArgsCodec, index$5_oracleStateDataCodec as oracleStateDataCodec, index$5_parseAddLiquidityInstruction as parseAddLiquidityInstruction, index$5_parseClosePositionInstruction as parseClosePositionInstruction, index$5_parseCollectFeesInstruction as parseCollectFeesInstruction, index$5_parseCollectProtocolFeesInstruction as parseCollectProtocolFeesInstruction, index$5_parseCreatePositionInstruction as parseCreatePositionInstruction, index$5_parseErrorFromLogs as parseErrorFromLogs, parseInitializeConfigInstruction$1 as parseInitializeConfigInstruction, parseInitializeOracleInstruction$1 as parseInitializeOracleInstruction, index$5_parseInitializePoolInstruction as parseInitializePoolInstruction, index$5_parseOracleConsultInstruction as parseOracleConsultInstruction, index$5_parseOracleUpdateInstruction as parseOracleUpdateInstruction, index$5_parsePauseInstruction as parsePauseInstruction, index$5_parsePreviewSwapExactInInstruction as parsePreviewSwapExactInInstruction, index$5_parseRedeemProtocolSharesInstruction as parseRedeemProtocolSharesInstruction, index$5_parseRemoveLiquidityInstruction as parseRemoveLiquidityInstruction, index$5_parseSetFeesInstruction as parseSetFeesInstruction, index$5_parseSetHookInstruction as parseSetHookInstruction, index$5_parseSwapExactInInstruction as parseSwapExactInInstruction, index$5_parseTransferAdminInstruction as parseTransferAdminInstruction, index$5_parseUnpauseInstruction as parseUnpauseInstruction, index$5_parseUpdateConfigInstruction as parseUpdateConfigInstruction, index$5_parseWithdrawVaultExcessInstruction as parseWithdrawVaultExcessInstruction, index$5_poolDataCodec as poolDataCodec, index$5_poolExists as poolExists, index$5_positionDataCodec as positionDataCodec, index$5_q64Div as q64Div, index$5_q64Mul as q64Mul, index$5_q64ToNumber as q64ToNumber, index$5_ratioToNumber as ratioToNumber, index$5_removeLiquidityArgsCodec as removeLiquidityArgsCodec, index$5_setFeesArgsCodec as setFeesArgsCodec, index$5_setHookArgsCodec as setHookArgsCodec, index$5_sortMints as sortMints, index$5_sortPoolsByReserves as sortPoolsByReserves, index$5_sortPositionsByShares as sortPositionsByShares, index$5_swapExactInArgsCodec as swapExactInArgsCodec, index$5_transferAdminArgsCodec as transferAdminArgsCodec, index$5_validateMarketCapParameters as validateMarketCapParameters };
2808
2773
  }
2809
2774
 
2810
2775
  /**
@@ -3449,6 +3414,20 @@ type FeeBeneficiaryInput = {
3449
3414
  };
3450
3415
  type FeeBeneficiaryInputArgs = FeeBeneficiaryInput;
3451
3416
 
3417
+ /**
3418
+ * This code was AUTOGENERATED using the Codama library.
3419
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3420
+ * to add features, then rerun Codama to update it.
3421
+ *
3422
+ * @see https://github.com/codama-idl/codama
3423
+ */
3424
+
3425
+ declare enum FeeClaimRole {
3426
+ Protocol = 0,
3427
+ Beneficiary = 1
3428
+ }
3429
+ type FeeClaimRoleArgs = FeeClaimRole;
3430
+
3452
3431
  /**
3453
3432
  * This code was AUTOGENERATED using the Codama library.
3454
3433
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -3491,11 +3470,9 @@ type InitializeLaunchArgs = {
3491
3470
  curveParams: ReadonlyUint8Array;
3492
3471
  allowBuy: number;
3493
3472
  allowSell: number;
3494
- hookProgram: Address;
3495
3473
  hookFlags: number;
3496
3474
  hookPayload: ReadonlyUint8Array;
3497
3475
  hookCreateRemainingAccountsLen: number;
3498
- migratorProgram: Address;
3499
3476
  migratorInitPayload: ReadonlyUint8Array;
3500
3477
  migratorMigratePayload: ReadonlyUint8Array;
3501
3478
  /**
@@ -3540,11 +3517,9 @@ type InitializeLaunchArgsArgs = {
3540
3517
  curveParams: ReadonlyUint8Array;
3541
3518
  allowBuy: number;
3542
3519
  allowSell: number;
3543
- hookProgram: Address;
3544
3520
  hookFlags: number;
3545
3521
  hookPayload: ReadonlyUint8Array;
3546
3522
  hookCreateRemainingAccountsLen: number;
3547
- migratorProgram: Address;
3548
3523
  migratorInitPayload: ReadonlyUint8Array;
3549
3524
  migratorMigratePayload: ReadonlyUint8Array;
3550
3525
  /**
@@ -3694,7 +3669,6 @@ declare function getLaunchCodec$1(): FixedSizeCodec<LaunchArgs$1, Launch$1>;
3694
3669
  type LaunchFeeState = {
3695
3670
  discriminator: ReadonlyUint8Array;
3696
3671
  launch: Address;
3697
- protocolBeneficiary: Address;
3698
3672
  beneficiaryLen: number;
3699
3673
  bump: number;
3700
3674
  protocolFeeBps: number;
@@ -3712,7 +3686,6 @@ type LaunchFeeState = {
3712
3686
  };
3713
3687
  type LaunchFeeStateArgs = {
3714
3688
  launch: Address;
3715
- protocolBeneficiary: Address;
3716
3689
  beneficiaryLen: number;
3717
3690
  bump: number;
3718
3691
  protocolFeeBps: number;
@@ -3753,11 +3726,11 @@ declare const INITIALIZER_PROGRAM_ADDRESS: Address<"4h3Dqyo5qmteJoMxXt3tdtfXELDB
3753
3726
  * @see https://github.com/codama-idl/codama
3754
3727
  */
3755
3728
 
3756
- type ClaimFeesInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountLaunchAuthority extends string | AccountMeta<string> = string, TAccountRecipient extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountRecipientBaseAta extends string | AccountMeta<string> = string, TAccountRecipientQuoteAta extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3729
+ type ClaimFeesInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountLaunchAuthority extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountRecipientBaseAta extends string | AccountMeta<string> = string, TAccountRecipientQuoteAta extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3730
+ TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
3757
3731
  TAccountLaunch extends string ? ReadonlyAccount<TAccountLaunch> : TAccountLaunch,
3758
3732
  TAccountLaunchFeeState extends string ? WritableAccount<TAccountLaunchFeeState> : TAccountLaunchFeeState,
3759
3733
  TAccountLaunchAuthority extends string ? ReadonlyAccount<TAccountLaunchAuthority> : TAccountLaunchAuthority,
3760
- TAccountRecipient extends string ? ReadonlyAccount<TAccountRecipient> : TAccountRecipient,
3761
3734
  TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint,
3762
3735
  TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint,
3763
3736
  TAccountBaseVault extends string ? WritableAccount<TAccountBaseVault> : TAccountBaseVault,
@@ -3768,11 +3741,14 @@ type ClaimFeesInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_A
3768
3741
  TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram,
3769
3742
  ...TRemainingAccounts
3770
3743
  ]>;
3771
- type ClaimFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountRecipient extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = {
3744
+ type ClaimFeesInstructionDataArgs = {
3745
+ role: FeeClaimRoleArgs;
3746
+ };
3747
+ type ClaimFeesAsyncInput<TAccountConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = {
3748
+ config?: Address<TAccountConfig>;
3772
3749
  launch: Address<TAccountLaunch>;
3773
3750
  launchFeeState?: Address<TAccountLaunchFeeState>;
3774
3751
  launchAuthority?: Address<TAccountLaunchAuthority>;
3775
- recipient: Address<TAccountRecipient>;
3776
3752
  baseMint: Address<TAccountBaseMint>;
3777
3753
  quoteMint: Address<TAccountQuoteMint>;
3778
3754
  baseVault: Address<TAccountBaseVault>;
@@ -3781,10 +3757,11 @@ type ClaimFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchF
3781
3757
  recipientQuoteAta: Address<TAccountRecipientQuoteAta>;
3782
3758
  baseTokenProgram: Address<TAccountBaseTokenProgram>;
3783
3759
  quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
3760
+ role: ClaimFeesInstructionDataArgs['role'];
3784
3761
  };
3785
- declare function getClaimFeesInstructionAsync<TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountLaunchAuthority extends string, TAccountRecipient extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountRecipientBaseAta extends string, TAccountRecipientQuoteAta extends string, TAccountBaseTokenProgram extends string, TAccountQuoteTokenProgram extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ClaimFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>, config?: {
3762
+ declare function getClaimFeesInstructionAsync<TAccountConfig extends string, TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountLaunchAuthority extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountRecipientBaseAta extends string, TAccountRecipientQuoteAta extends string, TAccountBaseTokenProgram extends string, TAccountQuoteTokenProgram extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ClaimFeesAsyncInput<TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>, config?: {
3786
3763
  programAddress?: TProgramAddress;
3787
- }): Promise<ClaimFeesInstruction<TProgramAddress, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>>;
3764
+ }): Promise<ClaimFeesInstruction<TProgramAddress, TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>>;
3788
3765
 
3789
3766
  /**
3790
3767
  * This code was AUTOGENERATED using the Codama library.
@@ -3845,7 +3822,8 @@ declare function getHarvestMigratedFeesInstructionAsync<TAccountLaunch extends s
3845
3822
  * @see https://github.com/codama-idl/codama
3846
3823
  */
3847
3824
 
3848
- type ReplaceFeeBeneficiaryInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountCurrentBeneficiary extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3825
+ type ReplaceFeeBeneficiaryInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountCurrentBeneficiary extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3826
+ TAccountConfig extends string ? ReadonlyAccount<TAccountConfig> : TAccountConfig,
3849
3827
  TAccountLaunch extends string ? ReadonlyAccount<TAccountLaunch> : TAccountLaunch,
3850
3828
  TAccountLaunchFeeState extends string ? WritableAccount<TAccountLaunchFeeState> : TAccountLaunchFeeState,
3851
3829
  TAccountCurrentBeneficiary extends string ? ReadonlySignerAccount<TAccountCurrentBeneficiary> & AccountSignerMeta<TAccountCurrentBeneficiary> : TAccountCurrentBeneficiary,
@@ -3854,15 +3832,16 @@ type ReplaceFeeBeneficiaryInstruction<TProgram extends string = typeof INITIALIZ
3854
3832
  type ReplaceFeeBeneficiaryInstructionDataArgs = {
3855
3833
  newBeneficiary: Address;
3856
3834
  };
3857
- type ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = {
3835
+ type ReplaceFeeBeneficiaryAsyncInput<TAccountConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = {
3836
+ config?: Address<TAccountConfig>;
3858
3837
  launch: Address<TAccountLaunch>;
3859
3838
  launchFeeState?: Address<TAccountLaunchFeeState>;
3860
3839
  currentBeneficiary: TransactionSigner<TAccountCurrentBeneficiary>;
3861
3840
  newBeneficiary: ReplaceFeeBeneficiaryInstructionDataArgs['newBeneficiary'];
3862
3841
  };
3863
- declare function getReplaceFeeBeneficiaryInstructionAsync<TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountCurrentBeneficiary extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>, config?: {
3842
+ declare function getReplaceFeeBeneficiaryInstructionAsync<TAccountConfig extends string, TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountCurrentBeneficiary extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ReplaceFeeBeneficiaryAsyncInput<TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>, config?: {
3864
3843
  programAddress?: TProgramAddress;
3865
- }): Promise<ReplaceFeeBeneficiaryInstruction<TProgramAddress, TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>>;
3844
+ }): Promise<ReplaceFeeBeneficiaryInstruction<TProgramAddress, TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>>;
3866
3845
 
3867
3846
  /**
3868
3847
  * This code was AUTOGENERATED using the Codama library.
@@ -3960,7 +3939,6 @@ type InitializeLaunchParams = Omit<InitializeLaunchArgsArgs, 'allowBuy' | 'allow
3960
3939
  /** @deprecated Use swapFeeBps. */
3961
3940
  curveFeeBps?: number;
3962
3941
  feeBeneficiaries?: InitializeLaunchArgsArgs['feeBeneficiaries'];
3963
- hookProgram?: Address;
3964
3942
  hookCreateRemainingAccountsLen?: number;
3965
3943
  hookCreateRemainingAccountsHash?: ReadonlyUint8Array;
3966
3944
  };
@@ -4131,6 +4109,33 @@ declare function compressTransactionMessageWithLookupTable<TTransactionMessage e
4131
4109
  readonly instructions: readonly (TInstruction extends Instruction<infer TProgramAddress extends string, infer TAccounts extends readonly (_solana_kit.AccountMeta<string> | _solana_kit.AccountLookupMeta<string, string>)[]> ? Instruction<TProgramAddress, { [K in keyof TAccounts]: TAccounts[K] extends _solana_kit.AccountMeta<infer TAddress extends string> ? _solana_kit.AccountMeta<TAddress> | _solana_kit.AccountLookupMeta<TAddress, string> : TAccounts[K]; }> : TInstruction)[];
4132
4110
  } : TTransactionMessage);
4133
4111
 
4112
+ declare const SOLANA_TRANSACTION_SIZE_LIMIT = 1232;
4113
+ interface TransactionSizeReport {
4114
+ size: number;
4115
+ limit: number;
4116
+ overBy: number;
4117
+ fits: boolean;
4118
+ }
4119
+ interface TransactionSizeAssertOptions {
4120
+ label?: string;
4121
+ metadataBytes?: number;
4122
+ }
4123
+ type SizedTransactionMessage = TransactionMessage & TransactionMessageWithFeePayer;
4124
+ declare function measureTransactionMessageSize(transactionMessage: SizedTransactionMessage): TransactionSizeReport;
4125
+ declare function measureTransactionMessageSizeWithLookupTable<TTransactionMessage extends Exclude<SizedTransactionMessage, {
4126
+ version: 'legacy';
4127
+ }>>(transactionMessage: TTransactionMessage, lookupTable: {
4128
+ lookupTableAddress: Address;
4129
+ addresses: readonly Address[];
4130
+ }): TransactionSizeReport;
4131
+ declare function assertTransactionMessageFits(transactionMessage: SizedTransactionMessage, { label, metadataBytes }?: TransactionSizeAssertOptions): TransactionSizeReport;
4132
+ declare function assertTransactionMessageFitsWithLookupTable<TTransactionMessage extends Exclude<SizedTransactionMessage, {
4133
+ version: 'legacy';
4134
+ }>>(transactionMessage: TTransactionMessage, lookupTable: {
4135
+ lookupTableAddress: Address;
4136
+ addresses: readonly Address[];
4137
+ }, options?: TransactionSizeAssertOptions): TransactionSizeReport;
4138
+
4134
4139
  /**
4135
4140
  * Launch fetching functions for the Initializer SDK
4136
4141
  */
@@ -4158,7 +4163,7 @@ type index$3_BuildAddressLookupTableSetupInstructionsResult = BuildAddressLookup
4158
4163
  declare const index$3_CPMM_HOOK_PROGRAM_ID: typeof CPMM_HOOK_PROGRAM_ID;
4159
4164
  declare const index$3_CURVE_KIND_XYK: typeof CURVE_KIND_XYK;
4160
4165
  declare const index$3_CURVE_PARAMS_FORMAT_XYK_V0: typeof CURVE_PARAMS_FORMAT_XYK_V0;
4161
- type index$3_ClaimFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountRecipient extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = ClaimFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>;
4166
+ type index$3_ClaimFeesAsyncInput<TAccountConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = ClaimFeesAsyncInput<TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>;
4162
4167
  type index$3_CurveSwapExactInAccounts = CurveSwapExactInAccounts;
4163
4168
  declare const index$3_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND: typeof DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND;
4164
4169
  declare const index$3_EMPTY_REMAINING_ACCOUNTS_HASH: typeof EMPTY_REMAINING_ACCOUNTS_HASH;
@@ -4200,16 +4205,21 @@ type index$3_PreviewMigrationAccounts = PreviewMigrationAccounts;
4200
4205
  type index$3_PreviewMigrationResult = PreviewMigrationResult;
4201
4206
  type index$3_PreviewSwapExactInAccounts = PreviewSwapExactInAccounts;
4202
4207
  type index$3_PreviewSwapExactInResult = PreviewSwapExactInResult;
4203
- type index$3_ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>;
4208
+ type index$3_ReplaceFeeBeneficiaryAsyncInput<TAccountConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = ReplaceFeeBeneficiaryAsyncInput<TAccountConfig, TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>;
4204
4209
  declare const index$3_SEED_CONFIG: typeof SEED_CONFIG;
4205
4210
  declare const index$3_SEED_LAUNCH: typeof SEED_LAUNCH;
4206
4211
  declare const index$3_SEED_LAUNCH_AUTHORITY: typeof SEED_LAUNCH_AUTHORITY;
4207
4212
  declare const index$3_SEED_LAUNCH_FEE_STATE: typeof SEED_LAUNCH_FEE_STATE;
4213
+ declare const index$3_SOLANA_TRANSACTION_SIZE_LIMIT: typeof SOLANA_TRANSACTION_SIZE_LIMIT;
4208
4214
  type index$3_SetFeePolicyAsyncInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = SetFeePolicyAsyncInput<TAccountConfig, TAccountAdmin>;
4209
4215
  type index$3_SetHookAllowlistAccounts = SetHookAllowlistAccounts;
4210
4216
  type index$3_SetMigratorAllowlistAccounts = SetMigratorAllowlistAccounts;
4211
4217
  declare const index$3_TRADE_DIRECTION_BUY: typeof TRADE_DIRECTION_BUY;
4212
4218
  declare const index$3_TRADE_DIRECTION_SELL: typeof TRADE_DIRECTION_SELL;
4219
+ type index$3_TransactionSizeAssertOptions = TransactionSizeAssertOptions;
4220
+ type index$3_TransactionSizeReport = TransactionSizeReport;
4221
+ declare const index$3_assertTransactionMessageFits: typeof assertTransactionMessageFits;
4222
+ declare const index$3_assertTransactionMessageFitsWithLookupTable: typeof assertTransactionMessageFitsWithLookupTable;
4213
4223
  declare const index$3_buildAddressLookupTableSetupInstructions: typeof buildAddressLookupTableSetupInstructions;
4214
4224
  declare const index$3_compressTransactionMessageWithLookupTable: typeof compressTransactionMessageWithLookupTable;
4215
4225
  declare const index$3_computeRemainingAccountsHash: typeof computeRemainingAccountsHash;
@@ -4248,9 +4258,11 @@ declare const index$3_getSetFeePolicyInstructionAsync: typeof getSetFeePolicyIns
4248
4258
  declare const index$3_getTokenMetadataAddress: typeof getTokenMetadataAddress;
4249
4259
  declare const index$3_launchExists: typeof launchExists;
4250
4260
  declare const index$3_launchIdFromU64: typeof launchIdFromU64;
4261
+ declare const index$3_measureTransactionMessageSize: typeof measureTransactionMessageSize;
4262
+ declare const index$3_measureTransactionMessageSizeWithLookupTable: typeof measureTransactionMessageSizeWithLookupTable;
4251
4263
  declare const index$3_phaseLabel: typeof phaseLabel;
4252
4264
  declare namespace index$3 {
4253
- export { index$3_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$3_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$3_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$3_CPMM_HOOK_PROGRAM_ID as CPMM_HOOK_PROGRAM_ID, index$3_CURVE_KIND_XYK as CURVE_KIND_XYK, index$3_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$3_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$3_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$3_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, index$3_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$3_FeeBeneficiary as FeeBeneficiary, type index$3_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$3_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$3_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$3_FetchLaunchesConfig as FetchLaunchesConfig, index$3_HF_AFTER_CREATE as HF_AFTER_CREATE, index$3_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$3_HF_AFTER_SWAP as HF_AFTER_SWAP, index$3_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$3_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$3_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$3_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$3_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$3_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$3_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$3_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$3_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$3_InitializeConfigAccounts as InitializeConfigAccounts, type index$3_InitializeConfigArgs as InitializeConfigArgs, type index$3_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$3_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$3_InitializeLaunchArgs as InitializeLaunchArgs, type index$3_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$3_LaunchFeeState as LaunchFeeState, type index$3_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$3_LaunchWithAddress as LaunchWithAddress, index$3_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$3_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$3_MAX_PAYLOAD as MAX_PAYLOAD, type index$3_MigrateLaunchAccounts as MigrateLaunchAccounts, index$3_PHASE_ABORTED as PHASE_ABORTED, index$3_PHASE_MIGRATED as PHASE_MIGRATED, index$3_PHASE_TRADING as PHASE_TRADING, index$3_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$3_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$3_PreviewMigrationResult as PreviewMigrationResult, type index$3_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$3_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$3_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$3_SEED_CONFIG as SEED_CONFIG, index$3_SEED_LAUNCH as SEED_LAUNCH, index$3_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$3_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, type index$3_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$3_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$3_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$3_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$3_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, index$3_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$3_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$3_computeRemainingAccountsHash as computeRemainingAccountsHash, index$3_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$3_createInitializeConfigInstruction as createInitializeConfigInstruction, index$3_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$3_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$3_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$3_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$3_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$3_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$3_decodePreviewMigrationResult as decodePreviewMigrationResult, index$3_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$3_encodeU64LE as encodeU64LE, index$3_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$3_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$3_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$3_getConfigAddress as getConfigAddress, index$3_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, index$3_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$3_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$3_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$3_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$3_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$3_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$3_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$3_getLaunchAddress as getLaunchAddress, index$3_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$3_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$3_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$3_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$3_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$3_getProgramDataAddress as getProgramDataAddress, index$3_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$3_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$3_getTokenMetadataAddress as getTokenMetadataAddress, index$3_launchExists as launchExists, index$3_launchIdFromU64 as launchIdFromU64, index$3_phaseLabel as phaseLabel };
4265
+ export { index$3_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$3_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$3_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$3_CPMM_HOOK_PROGRAM_ID as CPMM_HOOK_PROGRAM_ID, index$3_CURVE_KIND_XYK as CURVE_KIND_XYK, index$3_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$3_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$3_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$3_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, index$3_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$3_FeeBeneficiary as FeeBeneficiary, type index$3_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$3_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$3_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$3_FetchLaunchesConfig as FetchLaunchesConfig, index$3_HF_AFTER_CREATE as HF_AFTER_CREATE, index$3_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$3_HF_AFTER_SWAP as HF_AFTER_SWAP, index$3_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$3_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$3_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$3_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$3_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$3_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$3_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$3_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$3_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$3_InitializeConfigAccounts as InitializeConfigAccounts, type index$3_InitializeConfigArgs as InitializeConfigArgs, type index$3_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$3_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$3_InitializeLaunchArgs as InitializeLaunchArgs, type index$3_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$3_LaunchFeeState as LaunchFeeState, type index$3_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$3_LaunchWithAddress as LaunchWithAddress, index$3_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$3_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$3_MAX_PAYLOAD as MAX_PAYLOAD, type index$3_MigrateLaunchAccounts as MigrateLaunchAccounts, index$3_PHASE_ABORTED as PHASE_ABORTED, index$3_PHASE_MIGRATED as PHASE_MIGRATED, index$3_PHASE_TRADING as PHASE_TRADING, index$3_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$3_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$3_PreviewMigrationResult as PreviewMigrationResult, type index$3_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$3_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$3_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$3_SEED_CONFIG as SEED_CONFIG, index$3_SEED_LAUNCH as SEED_LAUNCH, index$3_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$3_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, index$3_SOLANA_TRANSACTION_SIZE_LIMIT as SOLANA_TRANSACTION_SIZE_LIMIT, type index$3_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$3_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$3_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$3_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$3_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, type index$3_TransactionSizeAssertOptions as TransactionSizeAssertOptions, type index$3_TransactionSizeReport as TransactionSizeReport, index$3_assertTransactionMessageFits as assertTransactionMessageFits, index$3_assertTransactionMessageFitsWithLookupTable as assertTransactionMessageFitsWithLookupTable, index$3_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$3_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$3_computeRemainingAccountsHash as computeRemainingAccountsHash, index$3_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$3_createInitializeConfigInstruction as createInitializeConfigInstruction, index$3_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$3_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$3_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$3_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$3_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$3_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$3_decodePreviewMigrationResult as decodePreviewMigrationResult, index$3_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$3_encodeU64LE as encodeU64LE, index$3_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$3_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$3_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$3_getConfigAddress as getConfigAddress, index$3_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, index$3_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$3_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$3_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$3_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$3_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$3_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$3_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$3_getLaunchAddress as getLaunchAddress, index$3_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$3_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$3_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$3_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$3_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$3_getProgramDataAddress as getProgramDataAddress, index$3_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$3_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$3_getTokenMetadataAddress as getTokenMetadataAddress, index$3_launchExists as launchExists, index$3_launchIdFromU64 as launchIdFromU64, index$3_measureTransactionMessageSize as measureTransactionMessageSize, index$3_measureTransactionMessageSizeWithLookupTable as measureTransactionMessageSizeWithLookupTable, index$3_phaseLabel as phaseLabel };
4254
4266
  }
4255
4267
 
4256
4268
  /**
@@ -4463,6 +4475,7 @@ interface CpmmMigrationRemainingAccounts {
4463
4475
  poolAuthority: Address;
4464
4476
  poolVault0: Address;
4465
4477
  poolVault1: Address;
4478
+ protocolFeeOwner: Address;
4466
4479
  protocolFeePosition: Address;
4467
4480
  launchLpPosition: Address;
4468
4481
  migrationAuthority: Address;
@@ -5190,14 +5203,8 @@ declare function getOracleStateSize$1(): number;
5190
5203
  declare const PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED = 6000;
5191
5204
  /** QuoteMintMismatch: Quote mint mismatch */
5192
5205
  declare const PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH = 6001;
5193
- /** EntryAlreadyRegistered: Entry already registered */
5194
- declare const PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED = 6002;
5195
- /** EntryNotRegistered: Entry not registered */
5196
- declare const PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED = 6003;
5197
5206
  /** EntryAlreadyMigrated: Entry already migrated */
5198
5207
  declare const PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED = 6004;
5199
- /** EntryNotMigrated: Entry not migrated */
5200
- declare const PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED = 6005;
5201
5208
  /** OracleNotFinalized: Oracle not finalized */
5202
5209
  declare const PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED = 6006;
5203
5210
  /** MarketNotResolved: Market not resolved */
@@ -5218,15 +5225,13 @@ declare const PREDICTION_MIGRATOR_ERROR__INVALID_VAULT = 6013;
5218
5225
  declare const PREDICTION_MIGRATOR_ERROR__INVALID_MINT = 6014;
5219
5226
  /** WinningEntryNotMigrated: Winning entry not migrated */
5220
5227
  declare const PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED = 6015;
5221
- /** NoPendingRewards: No pending rewards */
5222
- declare const PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS = 6016;
5223
5228
  /** InvalidOracle: Invalid oracle */
5224
5229
  declare const PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE = 6017;
5225
5230
  /** ZeroClaimableSupply: Zero claimable supply */
5226
5231
  declare const PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY = 6018;
5227
5232
  /** InvalidInput: Invalid input */
5228
5233
  declare const PREDICTION_MIGRATOR_ERROR__INVALID_INPUT = 6019;
5229
- type PredictionMigratorError = typeof PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED | typeof PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED | typeof PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED | typeof PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED | typeof PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE | typeof PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID | typeof PREDICTION_MIGRATOR_ERROR__INVALID_INPUT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_MARKET | typeof PREDICTION_MIGRATOR_ERROR__INVALID_MINT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE | typeof PREDICTION_MIGRATOR_ERROR__INVALID_VAULT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT | typeof PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED | typeof PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW | typeof PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS | typeof PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED | typeof PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH | typeof PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED | typeof PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED | typeof PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY;
5234
+ type PredictionMigratorError = typeof PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED | typeof PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE | typeof PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID | typeof PREDICTION_MIGRATOR_ERROR__INVALID_INPUT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_MARKET | typeof PREDICTION_MIGRATOR_ERROR__INVALID_MINT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE | typeof PREDICTION_MIGRATOR_ERROR__INVALID_VAULT | typeof PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT | typeof PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED | typeof PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW | typeof PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED | typeof PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH | typeof PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED | typeof PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED | typeof PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY;
5230
5235
  declare function getPredictionMigratorErrorMessage(code: PredictionMigratorError): string;
5231
5236
  declare function isPredictionMigratorError<TProgramErrorCode extends PredictionMigratorError>(error: unknown, transactionMessage: {
5232
5237
  instructions: Record<number, {
@@ -5833,9 +5838,6 @@ type index$1_MigrateEntryInstruction<TProgram extends string = typeof PREDICTION
5833
5838
  type index$1_MigrateEntryInstructionData = MigrateEntryInstructionData;
5834
5839
  type index$1_MigrateEntryInstructionDataArgs = MigrateEntryInstructionDataArgs;
5835
5840
  declare const index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED: typeof PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED;
5836
- declare const index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED: typeof PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED;
5837
- declare const index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED: typeof PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED;
5838
- declare const index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED: typeof PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED;
5839
5841
  declare const index$1_PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE: typeof PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE;
5840
5842
  declare const index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID: typeof PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID;
5841
5843
  declare const index$1_PREDICTION_MIGRATOR_ERROR__INVALID_INPUT: typeof PREDICTION_MIGRATOR_ERROR__INVALID_INPUT;
@@ -5846,7 +5848,6 @@ declare const index$1_PREDICTION_MIGRATOR_ERROR__INVALID_VAULT: typeof PREDICTIO
5846
5848
  declare const index$1_PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT: typeof PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT;
5847
5849
  declare const index$1_PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED: typeof PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED;
5848
5850
  declare const index$1_PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW: typeof PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW;
5849
- declare const index$1_PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS: typeof PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS;
5850
5851
  declare const index$1_PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED: typeof PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED;
5851
5852
  declare const index$1_PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH: typeof PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH;
5852
5853
  declare const index$1_PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED: typeof PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED;
@@ -6015,7 +6016,7 @@ declare const index$1_parsePreviewPayoutIfWinnerInstruction: typeof parsePreview
6015
6016
  declare const index$1_parseRegisterEntryInstruction: typeof parseRegisterEntryInstruction;
6016
6017
  declare const index$1_predictionMigratorProgram: typeof predictionMigratorProgram;
6017
6018
  declare namespace index$1 {
6018
- export { type index$1_AccumulatorUpdated as AccumulatorUpdated, type index$1_AccumulatorUpdatedArgs as AccumulatorUpdatedArgs, index$1_CLAIM_DISCRIMINATOR as CLAIM_DISCRIMINATOR, index$1_CLAIM_RECEIPT_DISCRIMINATOR as CLAIM_RECEIPT_DISCRIMINATOR, type index$1_ClaimAsyncInput as ClaimAsyncInput, type index$1_ClaimInput as ClaimInput, type index$1_ClaimInstruction as ClaimInstruction, type index$1_ClaimInstructionData as ClaimInstructionData, type index$1_ClaimInstructionDataArgs as ClaimInstructionDataArgs, type index$1_ClaimReceipt as ClaimReceipt, type index$1_ClaimReceiptArgs as ClaimReceiptArgs, index$1_ENTRY_BY_MINT_DISCRIMINATOR as ENTRY_BY_MINT_DISCRIMINATOR, index$1_ENTRY_DISCRIMINATOR as ENTRY_DISCRIMINATOR, type index$1_Entry as Entry, type index$1_EntryArgs as EntryArgs, type index$1_EntryByMint as EntryByMint, type index$1_EntryByMintArgs as EntryByMintArgs, type index$1_EntryMigrated as EntryMigrated, type index$1_EntryMigratedArgs as EntryMigratedArgs, type index$1_EntryRegistered as EntryRegistered, type index$1_EntryRegisteredArgs as EntryRegisteredArgs, index$1_INIT_CONFIG_DISCRIMINATOR as INIT_CONFIG_DISCRIMINATOR, type index$1_InitConfig as InitConfig, type index$1_InitConfigArgs as InitConfigArgs, index$1_LAUNCH_DISCRIMINATOR as LAUNCH_DISCRIMINATOR, type index$1_Launch as Launch, type index$1_LaunchArgs as LaunchArgs, index$1_MARKET_DISCRIMINATOR as MARKET_DISCRIMINATOR, index$1_MIGRATE_ENTRY_DISCRIMINATOR as MIGRATE_ENTRY_DISCRIMINATOR, type index$1_Market as Market, type index$1_MarketArgs as MarketArgs, type index$1_MarketCreated as MarketCreated, type index$1_MarketCreatedArgs as MarketCreatedArgs, type index$1_MarketResolved as MarketResolved, type index$1_MarketResolvedArgs as MarketResolvedArgs, type index$1_MigrateEntryArgs as MigrateEntryArgs, type index$1_MigrateEntryArgsArgs as MigrateEntryArgsArgs, type index$1_MigrateEntryAsyncInput as MigrateEntryAsyncInput, type index$1_MigrateEntryInput as MigrateEntryInput, type index$1_MigrateEntryInstruction as MigrateEntryInstruction, type index$1_MigrateEntryInstructionData as MigrateEntryInstructionData, type index$1_MigrateEntryInstructionDataArgs as MigrateEntryInstructionDataArgs, ORACLE_STATE_DISCRIMINATOR$1 as ORACLE_STATE_DISCRIMINATOR, type OracleState$1 as OracleState, type OracleStateArgs$1 as OracleStateArgs, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE as PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID as PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_INPUT as PREDICTION_MIGRATOR_ERROR__INVALID_INPUT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MARKET as PREDICTION_MIGRATOR_ERROR__INVALID_MARKET, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_MINT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE as PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_VAULT as PREDICTION_MIGRATOR_ERROR__INVALID_VAULT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT, index$1_PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED as PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED, index$1_PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW as PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW, index$1_PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS as PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS, index$1_PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED as PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED, index$1_PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH as PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH, index$1_PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED as PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED, index$1_PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY as PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY, index$1_PREDICTION_MIGRATOR_PROGRAM_ADDRESS as PREDICTION_MIGRATOR_PROGRAM_ADDRESS, index$1_PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR as PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR, type index$1_ParsedClaimInstruction as ParsedClaimInstruction, type index$1_ParsedMigrateEntryInstruction as ParsedMigrateEntryInstruction, type index$1_ParsedPredictionMigratorInstruction as ParsedPredictionMigratorInstruction, type index$1_ParsedPreviewPayoutIfWinnerInstruction as ParsedPreviewPayoutIfWinnerInstruction, type index$1_ParsedRegisterEntryInstruction as ParsedRegisterEntryInstruction, type index$1_PayloadBuf as PayloadBuf, type index$1_PayloadBufArgs as PayloadBufArgs, index$1_PredictionMigratorAccount as PredictionMigratorAccount, type index$1_PredictionMigratorError as PredictionMigratorError, index$1_PredictionMigratorInstruction as PredictionMigratorInstruction, type index$1_PredictionMigratorPlugin as PredictionMigratorPlugin, type index$1_PredictionMigratorPluginAccounts as PredictionMigratorPluginAccounts, type index$1_PredictionMigratorPluginInstructions as PredictionMigratorPluginInstructions, type index$1_PredictionMigratorPluginRequirements as PredictionMigratorPluginRequirements, type index$1_PreviewPayoutIfWinnerArgs as PreviewPayoutIfWinnerArgs, type index$1_PreviewPayoutIfWinnerArgsArgs as PreviewPayoutIfWinnerArgsArgs, type index$1_PreviewPayoutIfWinnerInput as PreviewPayoutIfWinnerInput, type index$1_PreviewPayoutIfWinnerInstruction as PreviewPayoutIfWinnerInstruction, type index$1_PreviewPayoutIfWinnerInstructionData as PreviewPayoutIfWinnerInstructionData, type index$1_PreviewPayoutIfWinnerInstructionDataArgs as PreviewPayoutIfWinnerInstructionDataArgs, index$1_REGISTER_ENTRY_DISCRIMINATOR as REGISTER_ENTRY_DISCRIMINATOR, type index$1_RegisterEntryArgs as RegisterEntryArgs, type index$1_RegisterEntryArgsArgs as RegisterEntryArgsArgs, type index$1_RegisterEntryAsyncInput as RegisterEntryAsyncInput, type index$1_RegisterEntryInput as RegisterEntryInput, type index$1_RegisterEntryInstruction as RegisterEntryInstruction, type index$1_RegisterEntryInstructionData as RegisterEntryInstructionData, type index$1_RegisterEntryInstructionDataArgs as RegisterEntryInstructionDataArgs, type index$1_RewardsClaimed as RewardsClaimed, type index$1_RewardsClaimedArgs as RewardsClaimedArgs, index$1_decodeClaimReceipt as decodeClaimReceipt, index$1_decodeEntry as decodeEntry, index$1_decodeEntryByMint as decodeEntryByMint, index$1_decodeInitConfig as decodeInitConfig, index$1_decodeLaunch as decodeLaunch, index$1_decodeMarket as decodeMarket, decodeOracleState$1 as decodeOracleState, index$1_fetchAllClaimReceipt as fetchAllClaimReceipt, index$1_fetchAllEntry as fetchAllEntry, index$1_fetchAllEntryByMint as fetchAllEntryByMint, index$1_fetchAllInitConfig as fetchAllInitConfig, index$1_fetchAllLaunch as fetchAllLaunch, index$1_fetchAllMarket as fetchAllMarket, index$1_fetchAllMaybeClaimReceipt as fetchAllMaybeClaimReceipt, index$1_fetchAllMaybeEntry as fetchAllMaybeEntry, index$1_fetchAllMaybeEntryByMint as fetchAllMaybeEntryByMint, index$1_fetchAllMaybeInitConfig as fetchAllMaybeInitConfig, index$1_fetchAllMaybeLaunch as fetchAllMaybeLaunch, index$1_fetchAllMaybeMarket as fetchAllMaybeMarket, fetchAllMaybeOracleState$1 as fetchAllMaybeOracleState, fetchAllOracleState$1 as fetchAllOracleState, index$1_fetchClaimReceipt as fetchClaimReceipt, index$1_fetchEntry as fetchEntry, index$1_fetchEntryByMint as fetchEntryByMint, index$1_fetchInitConfig as fetchInitConfig, index$1_fetchLaunch as fetchLaunch, index$1_fetchMarket as fetchMarket, index$1_fetchMaybeClaimReceipt as fetchMaybeClaimReceipt, index$1_fetchMaybeEntry as fetchMaybeEntry, index$1_fetchMaybeEntryByMint as fetchMaybeEntryByMint, index$1_fetchMaybeInitConfig as fetchMaybeInitConfig, index$1_fetchMaybeLaunch as fetchMaybeLaunch, index$1_fetchMaybeMarket as fetchMaybeMarket, fetchMaybeOracleState$1 as fetchMaybeOracleState, fetchOracleState$1 as fetchOracleState, index$1_getAccumulatorUpdatedCodec as getAccumulatorUpdatedCodec, index$1_getAccumulatorUpdatedDecoder as getAccumulatorUpdatedDecoder, index$1_getAccumulatorUpdatedEncoder as getAccumulatorUpdatedEncoder, index$1_getClaimDiscriminatorBytes as getClaimDiscriminatorBytes, index$1_getClaimInstruction as getClaimInstruction, index$1_getClaimInstructionAsync as getClaimInstructionAsync, index$1_getClaimInstructionDataCodec as getClaimInstructionDataCodec, index$1_getClaimInstructionDataDecoder as getClaimInstructionDataDecoder, index$1_getClaimInstructionDataEncoder as getClaimInstructionDataEncoder, index$1_getClaimReceiptCodec as getClaimReceiptCodec, index$1_getClaimReceiptDecoder as getClaimReceiptDecoder, index$1_getClaimReceiptDiscriminatorBytes as getClaimReceiptDiscriminatorBytes, index$1_getClaimReceiptEncoder as getClaimReceiptEncoder, index$1_getClaimReceiptSize as getClaimReceiptSize, index$1_getEntryByMintCodec as getEntryByMintCodec, index$1_getEntryByMintDecoder as getEntryByMintDecoder, index$1_getEntryByMintDiscriminatorBytes as getEntryByMintDiscriminatorBytes, index$1_getEntryByMintEncoder as getEntryByMintEncoder, index$1_getEntryByMintSize as getEntryByMintSize, index$1_getEntryCodec as getEntryCodec, index$1_getEntryDecoder as getEntryDecoder, index$1_getEntryDiscriminatorBytes as getEntryDiscriminatorBytes, index$1_getEntryEncoder as getEntryEncoder, index$1_getEntryMigratedCodec as getEntryMigratedCodec, index$1_getEntryMigratedDecoder as getEntryMigratedDecoder, index$1_getEntryMigratedEncoder as getEntryMigratedEncoder, index$1_getEntryRegisteredCodec as getEntryRegisteredCodec, index$1_getEntryRegisteredDecoder as getEntryRegisteredDecoder, index$1_getEntryRegisteredEncoder as getEntryRegisteredEncoder, index$1_getEntrySize as getEntrySize, index$1_getInitConfigCodec as getInitConfigCodec, index$1_getInitConfigDecoder as getInitConfigDecoder, index$1_getInitConfigDiscriminatorBytes as getInitConfigDiscriminatorBytes, index$1_getInitConfigEncoder as getInitConfigEncoder, index$1_getInitConfigSize as getInitConfigSize, index$1_getLaunchCodec as getLaunchCodec, index$1_getLaunchDecoder as getLaunchDecoder, index$1_getLaunchDiscriminatorBytes as getLaunchDiscriminatorBytes, index$1_getLaunchEncoder as getLaunchEncoder, index$1_getLaunchSize as getLaunchSize, index$1_getMarketCodec as getMarketCodec, index$1_getMarketCreatedCodec as getMarketCreatedCodec, index$1_getMarketCreatedDecoder as getMarketCreatedDecoder, index$1_getMarketCreatedEncoder as getMarketCreatedEncoder, index$1_getMarketDecoder as getMarketDecoder, index$1_getMarketDiscriminatorBytes as getMarketDiscriminatorBytes, index$1_getMarketEncoder as getMarketEncoder, index$1_getMarketResolvedCodec as getMarketResolvedCodec, index$1_getMarketResolvedDecoder as getMarketResolvedDecoder, index$1_getMarketResolvedEncoder as getMarketResolvedEncoder, index$1_getMarketSize as getMarketSize, index$1_getMigrateEntryArgsCodec as getMigrateEntryArgsCodec, index$1_getMigrateEntryArgsDecoder as getMigrateEntryArgsDecoder, index$1_getMigrateEntryArgsEncoder as getMigrateEntryArgsEncoder, index$1_getMigrateEntryDiscriminatorBytes as getMigrateEntryDiscriminatorBytes, index$1_getMigrateEntryInstruction as getMigrateEntryInstruction, index$1_getMigrateEntryInstructionAsync as getMigrateEntryInstructionAsync, index$1_getMigrateEntryInstructionDataCodec as getMigrateEntryInstructionDataCodec, index$1_getMigrateEntryInstructionDataDecoder as getMigrateEntryInstructionDataDecoder, index$1_getMigrateEntryInstructionDataEncoder as getMigrateEntryInstructionDataEncoder, getOracleStateCodec$1 as getOracleStateCodec, getOracleStateDecoder$1 as getOracleStateDecoder, getOracleStateDiscriminatorBytes$1 as getOracleStateDiscriminatorBytes, getOracleStateEncoder$1 as getOracleStateEncoder, getOracleStateSize$1 as getOracleStateSize, index$1_getPayloadBufCodec as getPayloadBufCodec, index$1_getPayloadBufDecoder as getPayloadBufDecoder, index$1_getPayloadBufEncoder as getPayloadBufEncoder, index$1_getPredictionEntryAddress as getPredictionEntryAddress, index$1_getPredictionEntryByMintAddress as getPredictionEntryByMintAddress, index$1_getPredictionMarketAddress as getPredictionMarketAddress, index$1_getPredictionMarketAuthorityAddress as getPredictionMarketAuthorityAddress, index$1_getPredictionMigratorErrorMessage as getPredictionMigratorErrorMessage, index$1_getPredictionPotVaultAddress as getPredictionPotVaultAddress, index$1_getPreviewPayoutIfWinnerArgsCodec as getPreviewPayoutIfWinnerArgsCodec, index$1_getPreviewPayoutIfWinnerArgsDecoder as getPreviewPayoutIfWinnerArgsDecoder, index$1_getPreviewPayoutIfWinnerArgsEncoder as getPreviewPayoutIfWinnerArgsEncoder, index$1_getPreviewPayoutIfWinnerDiscriminatorBytes as getPreviewPayoutIfWinnerDiscriminatorBytes, index$1_getPreviewPayoutIfWinnerInstruction as getPreviewPayoutIfWinnerInstruction, index$1_getPreviewPayoutIfWinnerInstructionDataCodec as getPreviewPayoutIfWinnerInstructionDataCodec, index$1_getPreviewPayoutIfWinnerInstructionDataDecoder as getPreviewPayoutIfWinnerInstructionDataDecoder, index$1_getPreviewPayoutIfWinnerInstructionDataEncoder as getPreviewPayoutIfWinnerInstructionDataEncoder, index$1_getRegisterEntryArgsCodec as getRegisterEntryArgsCodec, index$1_getRegisterEntryArgsDecoder as getRegisterEntryArgsDecoder, index$1_getRegisterEntryArgsEncoder as getRegisterEntryArgsEncoder, index$1_getRegisterEntryDiscriminatorBytes as getRegisterEntryDiscriminatorBytes, index$1_getRegisterEntryInstruction as getRegisterEntryInstruction, index$1_getRegisterEntryInstructionAsync as getRegisterEntryInstructionAsync, index$1_getRegisterEntryInstructionDataCodec as getRegisterEntryInstructionDataCodec, index$1_getRegisterEntryInstructionDataDecoder as getRegisterEntryInstructionDataDecoder, index$1_getRegisterEntryInstructionDataEncoder as getRegisterEntryInstructionDataEncoder, index$1_getRewardsClaimedCodec as getRewardsClaimedCodec, index$1_getRewardsClaimedDecoder as getRewardsClaimedDecoder, index$1_getRewardsClaimedEncoder as getRewardsClaimedEncoder, index$1_identifyPredictionMigratorAccount as identifyPredictionMigratorAccount, index$1_identifyPredictionMigratorInstruction as identifyPredictionMigratorInstruction, index$1_isPredictionMigratorError as isPredictionMigratorError, index$1_parseClaimInstruction as parseClaimInstruction, index$1_parseMigrateEntryInstruction as parseMigrateEntryInstruction, index$1_parsePredictionMigratorInstruction as parsePredictionMigratorInstruction, index$1_parsePreviewPayoutIfWinnerInstruction as parsePreviewPayoutIfWinnerInstruction, index$1_parseRegisterEntryInstruction as parseRegisterEntryInstruction, index$1_predictionMigratorProgram as predictionMigratorProgram };
6019
+ export { type index$1_AccumulatorUpdated as AccumulatorUpdated, type index$1_AccumulatorUpdatedArgs as AccumulatorUpdatedArgs, index$1_CLAIM_DISCRIMINATOR as CLAIM_DISCRIMINATOR, index$1_CLAIM_RECEIPT_DISCRIMINATOR as CLAIM_RECEIPT_DISCRIMINATOR, type index$1_ClaimAsyncInput as ClaimAsyncInput, type index$1_ClaimInput as ClaimInput, type index$1_ClaimInstruction as ClaimInstruction, type index$1_ClaimInstructionData as ClaimInstructionData, type index$1_ClaimInstructionDataArgs as ClaimInstructionDataArgs, type index$1_ClaimReceipt as ClaimReceipt, type index$1_ClaimReceiptArgs as ClaimReceiptArgs, index$1_ENTRY_BY_MINT_DISCRIMINATOR as ENTRY_BY_MINT_DISCRIMINATOR, index$1_ENTRY_DISCRIMINATOR as ENTRY_DISCRIMINATOR, type index$1_Entry as Entry, type index$1_EntryArgs as EntryArgs, type index$1_EntryByMint as EntryByMint, type index$1_EntryByMintArgs as EntryByMintArgs, type index$1_EntryMigrated as EntryMigrated, type index$1_EntryMigratedArgs as EntryMigratedArgs, type index$1_EntryRegistered as EntryRegistered, type index$1_EntryRegisteredArgs as EntryRegisteredArgs, index$1_INIT_CONFIG_DISCRIMINATOR as INIT_CONFIG_DISCRIMINATOR, type index$1_InitConfig as InitConfig, type index$1_InitConfigArgs as InitConfigArgs, index$1_LAUNCH_DISCRIMINATOR as LAUNCH_DISCRIMINATOR, type index$1_Launch as Launch, type index$1_LaunchArgs as LaunchArgs, index$1_MARKET_DISCRIMINATOR as MARKET_DISCRIMINATOR, index$1_MIGRATE_ENTRY_DISCRIMINATOR as MIGRATE_ENTRY_DISCRIMINATOR, type index$1_Market as Market, type index$1_MarketArgs as MarketArgs, type index$1_MarketCreated as MarketCreated, type index$1_MarketCreatedArgs as MarketCreatedArgs, type index$1_MarketResolved as MarketResolved, type index$1_MarketResolvedArgs as MarketResolvedArgs, type index$1_MigrateEntryArgs as MigrateEntryArgs, type index$1_MigrateEntryArgsArgs as MigrateEntryArgsArgs, type index$1_MigrateEntryAsyncInput as MigrateEntryAsyncInput, type index$1_MigrateEntryInput as MigrateEntryInput, type index$1_MigrateEntryInstruction as MigrateEntryInstruction, type index$1_MigrateEntryInstructionData as MigrateEntryInstructionData, type index$1_MigrateEntryInstructionDataArgs as MigrateEntryInstructionDataArgs, ORACLE_STATE_DISCRIMINATOR$1 as ORACLE_STATE_DISCRIMINATOR, type OracleState$1 as OracleState, type OracleStateArgs$1 as OracleStateArgs, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE as PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID as PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_INPUT as PREDICTION_MIGRATOR_ERROR__INVALID_INPUT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MARKET as PREDICTION_MIGRATOR_ERROR__INVALID_MARKET, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_MINT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE as PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_VAULT as PREDICTION_MIGRATOR_ERROR__INVALID_VAULT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT, index$1_PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED as PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED, index$1_PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW as PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW, index$1_PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED as PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED, index$1_PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH as PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH, index$1_PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED as PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED, index$1_PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY as PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY, index$1_PREDICTION_MIGRATOR_PROGRAM_ADDRESS as PREDICTION_MIGRATOR_PROGRAM_ADDRESS, index$1_PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR as PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR, type index$1_ParsedClaimInstruction as ParsedClaimInstruction, type index$1_ParsedMigrateEntryInstruction as ParsedMigrateEntryInstruction, type index$1_ParsedPredictionMigratorInstruction as ParsedPredictionMigratorInstruction, type index$1_ParsedPreviewPayoutIfWinnerInstruction as ParsedPreviewPayoutIfWinnerInstruction, type index$1_ParsedRegisterEntryInstruction as ParsedRegisterEntryInstruction, type index$1_PayloadBuf as PayloadBuf, type index$1_PayloadBufArgs as PayloadBufArgs, index$1_PredictionMigratorAccount as PredictionMigratorAccount, type index$1_PredictionMigratorError as PredictionMigratorError, index$1_PredictionMigratorInstruction as PredictionMigratorInstruction, type index$1_PredictionMigratorPlugin as PredictionMigratorPlugin, type index$1_PredictionMigratorPluginAccounts as PredictionMigratorPluginAccounts, type index$1_PredictionMigratorPluginInstructions as PredictionMigratorPluginInstructions, type index$1_PredictionMigratorPluginRequirements as PredictionMigratorPluginRequirements, type index$1_PreviewPayoutIfWinnerArgs as PreviewPayoutIfWinnerArgs, type index$1_PreviewPayoutIfWinnerArgsArgs as PreviewPayoutIfWinnerArgsArgs, type index$1_PreviewPayoutIfWinnerInput as PreviewPayoutIfWinnerInput, type index$1_PreviewPayoutIfWinnerInstruction as PreviewPayoutIfWinnerInstruction, type index$1_PreviewPayoutIfWinnerInstructionData as PreviewPayoutIfWinnerInstructionData, type index$1_PreviewPayoutIfWinnerInstructionDataArgs as PreviewPayoutIfWinnerInstructionDataArgs, index$1_REGISTER_ENTRY_DISCRIMINATOR as REGISTER_ENTRY_DISCRIMINATOR, type index$1_RegisterEntryArgs as RegisterEntryArgs, type index$1_RegisterEntryArgsArgs as RegisterEntryArgsArgs, type index$1_RegisterEntryAsyncInput as RegisterEntryAsyncInput, type index$1_RegisterEntryInput as RegisterEntryInput, type index$1_RegisterEntryInstruction as RegisterEntryInstruction, type index$1_RegisterEntryInstructionData as RegisterEntryInstructionData, type index$1_RegisterEntryInstructionDataArgs as RegisterEntryInstructionDataArgs, type index$1_RewardsClaimed as RewardsClaimed, type index$1_RewardsClaimedArgs as RewardsClaimedArgs, index$1_decodeClaimReceipt as decodeClaimReceipt, index$1_decodeEntry as decodeEntry, index$1_decodeEntryByMint as decodeEntryByMint, index$1_decodeInitConfig as decodeInitConfig, index$1_decodeLaunch as decodeLaunch, index$1_decodeMarket as decodeMarket, decodeOracleState$1 as decodeOracleState, index$1_fetchAllClaimReceipt as fetchAllClaimReceipt, index$1_fetchAllEntry as fetchAllEntry, index$1_fetchAllEntryByMint as fetchAllEntryByMint, index$1_fetchAllInitConfig as fetchAllInitConfig, index$1_fetchAllLaunch as fetchAllLaunch, index$1_fetchAllMarket as fetchAllMarket, index$1_fetchAllMaybeClaimReceipt as fetchAllMaybeClaimReceipt, index$1_fetchAllMaybeEntry as fetchAllMaybeEntry, index$1_fetchAllMaybeEntryByMint as fetchAllMaybeEntryByMint, index$1_fetchAllMaybeInitConfig as fetchAllMaybeInitConfig, index$1_fetchAllMaybeLaunch as fetchAllMaybeLaunch, index$1_fetchAllMaybeMarket as fetchAllMaybeMarket, fetchAllMaybeOracleState$1 as fetchAllMaybeOracleState, fetchAllOracleState$1 as fetchAllOracleState, index$1_fetchClaimReceipt as fetchClaimReceipt, index$1_fetchEntry as fetchEntry, index$1_fetchEntryByMint as fetchEntryByMint, index$1_fetchInitConfig as fetchInitConfig, index$1_fetchLaunch as fetchLaunch, index$1_fetchMarket as fetchMarket, index$1_fetchMaybeClaimReceipt as fetchMaybeClaimReceipt, index$1_fetchMaybeEntry as fetchMaybeEntry, index$1_fetchMaybeEntryByMint as fetchMaybeEntryByMint, index$1_fetchMaybeInitConfig as fetchMaybeInitConfig, index$1_fetchMaybeLaunch as fetchMaybeLaunch, index$1_fetchMaybeMarket as fetchMaybeMarket, fetchMaybeOracleState$1 as fetchMaybeOracleState, fetchOracleState$1 as fetchOracleState, index$1_getAccumulatorUpdatedCodec as getAccumulatorUpdatedCodec, index$1_getAccumulatorUpdatedDecoder as getAccumulatorUpdatedDecoder, index$1_getAccumulatorUpdatedEncoder as getAccumulatorUpdatedEncoder, index$1_getClaimDiscriminatorBytes as getClaimDiscriminatorBytes, index$1_getClaimInstruction as getClaimInstruction, index$1_getClaimInstructionAsync as getClaimInstructionAsync, index$1_getClaimInstructionDataCodec as getClaimInstructionDataCodec, index$1_getClaimInstructionDataDecoder as getClaimInstructionDataDecoder, index$1_getClaimInstructionDataEncoder as getClaimInstructionDataEncoder, index$1_getClaimReceiptCodec as getClaimReceiptCodec, index$1_getClaimReceiptDecoder as getClaimReceiptDecoder, index$1_getClaimReceiptDiscriminatorBytes as getClaimReceiptDiscriminatorBytes, index$1_getClaimReceiptEncoder as getClaimReceiptEncoder, index$1_getClaimReceiptSize as getClaimReceiptSize, index$1_getEntryByMintCodec as getEntryByMintCodec, index$1_getEntryByMintDecoder as getEntryByMintDecoder, index$1_getEntryByMintDiscriminatorBytes as getEntryByMintDiscriminatorBytes, index$1_getEntryByMintEncoder as getEntryByMintEncoder, index$1_getEntryByMintSize as getEntryByMintSize, index$1_getEntryCodec as getEntryCodec, index$1_getEntryDecoder as getEntryDecoder, index$1_getEntryDiscriminatorBytes as getEntryDiscriminatorBytes, index$1_getEntryEncoder as getEntryEncoder, index$1_getEntryMigratedCodec as getEntryMigratedCodec, index$1_getEntryMigratedDecoder as getEntryMigratedDecoder, index$1_getEntryMigratedEncoder as getEntryMigratedEncoder, index$1_getEntryRegisteredCodec as getEntryRegisteredCodec, index$1_getEntryRegisteredDecoder as getEntryRegisteredDecoder, index$1_getEntryRegisteredEncoder as getEntryRegisteredEncoder, index$1_getEntrySize as getEntrySize, index$1_getInitConfigCodec as getInitConfigCodec, index$1_getInitConfigDecoder as getInitConfigDecoder, index$1_getInitConfigDiscriminatorBytes as getInitConfigDiscriminatorBytes, index$1_getInitConfigEncoder as getInitConfigEncoder, index$1_getInitConfigSize as getInitConfigSize, index$1_getLaunchCodec as getLaunchCodec, index$1_getLaunchDecoder as getLaunchDecoder, index$1_getLaunchDiscriminatorBytes as getLaunchDiscriminatorBytes, index$1_getLaunchEncoder as getLaunchEncoder, index$1_getLaunchSize as getLaunchSize, index$1_getMarketCodec as getMarketCodec, index$1_getMarketCreatedCodec as getMarketCreatedCodec, index$1_getMarketCreatedDecoder as getMarketCreatedDecoder, index$1_getMarketCreatedEncoder as getMarketCreatedEncoder, index$1_getMarketDecoder as getMarketDecoder, index$1_getMarketDiscriminatorBytes as getMarketDiscriminatorBytes, index$1_getMarketEncoder as getMarketEncoder, index$1_getMarketResolvedCodec as getMarketResolvedCodec, index$1_getMarketResolvedDecoder as getMarketResolvedDecoder, index$1_getMarketResolvedEncoder as getMarketResolvedEncoder, index$1_getMarketSize as getMarketSize, index$1_getMigrateEntryArgsCodec as getMigrateEntryArgsCodec, index$1_getMigrateEntryArgsDecoder as getMigrateEntryArgsDecoder, index$1_getMigrateEntryArgsEncoder as getMigrateEntryArgsEncoder, index$1_getMigrateEntryDiscriminatorBytes as getMigrateEntryDiscriminatorBytes, index$1_getMigrateEntryInstruction as getMigrateEntryInstruction, index$1_getMigrateEntryInstructionAsync as getMigrateEntryInstructionAsync, index$1_getMigrateEntryInstructionDataCodec as getMigrateEntryInstructionDataCodec, index$1_getMigrateEntryInstructionDataDecoder as getMigrateEntryInstructionDataDecoder, index$1_getMigrateEntryInstructionDataEncoder as getMigrateEntryInstructionDataEncoder, getOracleStateCodec$1 as getOracleStateCodec, getOracleStateDecoder$1 as getOracleStateDecoder, getOracleStateDiscriminatorBytes$1 as getOracleStateDiscriminatorBytes, getOracleStateEncoder$1 as getOracleStateEncoder, getOracleStateSize$1 as getOracleStateSize, index$1_getPayloadBufCodec as getPayloadBufCodec, index$1_getPayloadBufDecoder as getPayloadBufDecoder, index$1_getPayloadBufEncoder as getPayloadBufEncoder, index$1_getPredictionEntryAddress as getPredictionEntryAddress, index$1_getPredictionEntryByMintAddress as getPredictionEntryByMintAddress, index$1_getPredictionMarketAddress as getPredictionMarketAddress, index$1_getPredictionMarketAuthorityAddress as getPredictionMarketAuthorityAddress, index$1_getPredictionMigratorErrorMessage as getPredictionMigratorErrorMessage, index$1_getPredictionPotVaultAddress as getPredictionPotVaultAddress, index$1_getPreviewPayoutIfWinnerArgsCodec as getPreviewPayoutIfWinnerArgsCodec, index$1_getPreviewPayoutIfWinnerArgsDecoder as getPreviewPayoutIfWinnerArgsDecoder, index$1_getPreviewPayoutIfWinnerArgsEncoder as getPreviewPayoutIfWinnerArgsEncoder, index$1_getPreviewPayoutIfWinnerDiscriminatorBytes as getPreviewPayoutIfWinnerDiscriminatorBytes, index$1_getPreviewPayoutIfWinnerInstruction as getPreviewPayoutIfWinnerInstruction, index$1_getPreviewPayoutIfWinnerInstructionDataCodec as getPreviewPayoutIfWinnerInstructionDataCodec, index$1_getPreviewPayoutIfWinnerInstructionDataDecoder as getPreviewPayoutIfWinnerInstructionDataDecoder, index$1_getPreviewPayoutIfWinnerInstructionDataEncoder as getPreviewPayoutIfWinnerInstructionDataEncoder, index$1_getRegisterEntryArgsCodec as getRegisterEntryArgsCodec, index$1_getRegisterEntryArgsDecoder as getRegisterEntryArgsDecoder, index$1_getRegisterEntryArgsEncoder as getRegisterEntryArgsEncoder, index$1_getRegisterEntryDiscriminatorBytes as getRegisterEntryDiscriminatorBytes, index$1_getRegisterEntryInstruction as getRegisterEntryInstruction, index$1_getRegisterEntryInstructionAsync as getRegisterEntryInstructionAsync, index$1_getRegisterEntryInstructionDataCodec as getRegisterEntryInstructionDataCodec, index$1_getRegisterEntryInstructionDataDecoder as getRegisterEntryInstructionDataDecoder, index$1_getRegisterEntryInstructionDataEncoder as getRegisterEntryInstructionDataEncoder, index$1_getRewardsClaimedCodec as getRewardsClaimedCodec, index$1_getRewardsClaimedDecoder as getRewardsClaimedDecoder, index$1_getRewardsClaimedEncoder as getRewardsClaimedEncoder, index$1_identifyPredictionMigratorAccount as identifyPredictionMigratorAccount, index$1_identifyPredictionMigratorInstruction as identifyPredictionMigratorInstruction, index$1_isPredictionMigratorError as isPredictionMigratorError, index$1_parseClaimInstruction as parseClaimInstruction, index$1_parseMigrateEntryInstruction as parseMigrateEntryInstruction, index$1_parsePredictionMigratorInstruction as parsePredictionMigratorInstruction, index$1_parsePreviewPayoutIfWinnerInstruction as parsePreviewPayoutIfWinnerInstruction, index$1_parseRegisterEntryInstruction as parseRegisterEntryInstruction, index$1_predictionMigratorProgram as predictionMigratorProgram };
6019
6020
  }
6020
6021
 
6021
6022
  /**
@@ -6087,11 +6088,9 @@ declare function getOracleStateSize(): number;
6087
6088
  declare const TRUSTED_ORACLE_ERROR__UNAUTHORIZED = 6000;
6088
6089
  /** AlreadyFinalized: Oracle already finalized */
6089
6090
  declare const TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED = 6001;
6090
- /** NotFinalized: Oracle not finalized */
6091
- declare const TRUSTED_ORACLE_ERROR__NOT_FINALIZED = 6002;
6092
6091
  /** InvalidWinningMint: Invalid winning mint */
6093
6092
  declare const TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT = 6003;
6094
- type TrustedOracleError = typeof TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED | typeof TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT | typeof TRUSTED_ORACLE_ERROR__NOT_FINALIZED | typeof TRUSTED_ORACLE_ERROR__UNAUTHORIZED;
6093
+ type TrustedOracleError = typeof TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED | typeof TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT | typeof TRUSTED_ORACLE_ERROR__UNAUTHORIZED;
6095
6094
  declare function getTrustedOracleErrorMessage(code: TrustedOracleError): string;
6096
6095
  declare function isTrustedOracleError<TProgramErrorCode extends TrustedOracleError>(error: unknown, transactionMessage: {
6097
6096
  instructions: Record<number, {
@@ -6300,7 +6299,6 @@ type index_ParsedInitializeOracleInstruction<TProgram extends string = typeof TR
6300
6299
  type index_ParsedTrustedOracleInstruction<TProgram extends string = 'HhUzN7VvonNUevATyugZUepzxpeEZMXQbV92X2xvsp5m'> = ParsedTrustedOracleInstruction<TProgram>;
6301
6300
  declare const index_TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED: typeof TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED;
6302
6301
  declare const index_TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT: typeof TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT;
6303
- declare const index_TRUSTED_ORACLE_ERROR__NOT_FINALIZED: typeof TRUSTED_ORACLE_ERROR__NOT_FINALIZED;
6304
6302
  declare const index_TRUSTED_ORACLE_ERROR__UNAUTHORIZED: typeof TRUSTED_ORACLE_ERROR__UNAUTHORIZED;
6305
6303
  declare const index_TRUSTED_ORACLE_PROGRAM_ADDRESS: typeof TRUSTED_ORACLE_PROGRAM_ADDRESS;
6306
6304
  type index_TrustedOracleAccount = TrustedOracleAccount;
@@ -6345,7 +6343,7 @@ declare const index_parseInitializeOracleInstruction: typeof parseInitializeOrac
6345
6343
  declare const index_parseTrustedOracleInstruction: typeof parseTrustedOracleInstruction;
6346
6344
  declare const index_trustedOracleProgram: typeof trustedOracleProgram;
6347
6345
  declare namespace index {
6348
- export { index_FINALIZE_DISCRIMINATOR as FINALIZE_DISCRIMINATOR, type index_FinalizeInput as FinalizeInput, type index_FinalizeInstruction as FinalizeInstruction, type index_FinalizeInstructionData as FinalizeInstructionData, type index_FinalizeInstructionDataArgs as FinalizeInstructionDataArgs, index_INITIALIZE_ORACLE_DISCRIMINATOR as INITIALIZE_ORACLE_DISCRIMINATOR, type index_InitializeOracleArgs as InitializeOracleArgs, type index_InitializeOracleArgsArgs as InitializeOracleArgsArgs, type index_InitializeOracleInput as InitializeOracleInput, type index_InitializeOracleInstruction as InitializeOracleInstruction, type index_InitializeOracleInstructionData as InitializeOracleInstructionData, type index_InitializeOracleInstructionDataArgs as InitializeOracleInstructionDataArgs, index_ORACLE_STATE_DISCRIMINATOR as ORACLE_STATE_DISCRIMINATOR, type index_OracleState as OracleState, type index_OracleStateArgs as OracleStateArgs, type index_ParsedFinalizeInstruction as ParsedFinalizeInstruction, type index_ParsedInitializeOracleInstruction as ParsedInitializeOracleInstruction, type index_ParsedTrustedOracleInstruction as ParsedTrustedOracleInstruction, index_TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED as TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED, index_TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT as TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT, index_TRUSTED_ORACLE_ERROR__NOT_FINALIZED as TRUSTED_ORACLE_ERROR__NOT_FINALIZED, index_TRUSTED_ORACLE_ERROR__UNAUTHORIZED as TRUSTED_ORACLE_ERROR__UNAUTHORIZED, index_TRUSTED_ORACLE_PROGRAM_ADDRESS as TRUSTED_ORACLE_PROGRAM_ADDRESS, index_TrustedOracleAccount as TrustedOracleAccount, type index_TrustedOracleError as TrustedOracleError, index_TrustedOracleInstruction as TrustedOracleInstruction, type index_TrustedOraclePlugin as TrustedOraclePlugin, type index_TrustedOraclePluginAccounts as TrustedOraclePluginAccounts, type index_TrustedOraclePluginInstructions as TrustedOraclePluginInstructions, type index_TrustedOraclePluginRequirements as TrustedOraclePluginRequirements, index_decodeOracleState as decodeOracleState, index_fetchAllMaybeOracleState as fetchAllMaybeOracleState, index_fetchAllOracleState as fetchAllOracleState, index_fetchMaybeOracleState as fetchMaybeOracleState, index_fetchOracleState as fetchOracleState, index_getFinalizeDiscriminatorBytes as getFinalizeDiscriminatorBytes, index_getFinalizeInstruction as getFinalizeInstruction, index_getFinalizeInstructionDataCodec as getFinalizeInstructionDataCodec, index_getFinalizeInstructionDataDecoder as getFinalizeInstructionDataDecoder, index_getFinalizeInstructionDataEncoder as getFinalizeInstructionDataEncoder, index_getInitializeOracleArgsCodec as getInitializeOracleArgsCodec, index_getInitializeOracleArgsDecoder as getInitializeOracleArgsDecoder, index_getInitializeOracleArgsEncoder as getInitializeOracleArgsEncoder, index_getInitializeOracleDiscriminatorBytes as getInitializeOracleDiscriminatorBytes, index_getInitializeOracleInstruction as getInitializeOracleInstruction, index_getInitializeOracleInstructionDataCodec as getInitializeOracleInstructionDataCodec, index_getInitializeOracleInstructionDataDecoder as getInitializeOracleInstructionDataDecoder, index_getInitializeOracleInstructionDataEncoder as getInitializeOracleInstructionDataEncoder, index_getOracleStateAddress as getOracleStateAddress, index_getOracleStateCodec as getOracleStateCodec, index_getOracleStateDecoder as getOracleStateDecoder, index_getOracleStateDiscriminatorBytes as getOracleStateDiscriminatorBytes, index_getOracleStateEncoder as getOracleStateEncoder, index_getOracleStateSize as getOracleStateSize, index_getTrustedOracleErrorMessage as getTrustedOracleErrorMessage, index_identifyTrustedOracleAccount as identifyTrustedOracleAccount, index_identifyTrustedOracleInstruction as identifyTrustedOracleInstruction, index_isTrustedOracleError as isTrustedOracleError, index_parseFinalizeInstruction as parseFinalizeInstruction, index_parseInitializeOracleInstruction as parseInitializeOracleInstruction, index_parseTrustedOracleInstruction as parseTrustedOracleInstruction, index_trustedOracleProgram as trustedOracleProgram };
6346
+ export { index_FINALIZE_DISCRIMINATOR as FINALIZE_DISCRIMINATOR, type index_FinalizeInput as FinalizeInput, type index_FinalizeInstruction as FinalizeInstruction, type index_FinalizeInstructionData as FinalizeInstructionData, type index_FinalizeInstructionDataArgs as FinalizeInstructionDataArgs, index_INITIALIZE_ORACLE_DISCRIMINATOR as INITIALIZE_ORACLE_DISCRIMINATOR, type index_InitializeOracleArgs as InitializeOracleArgs, type index_InitializeOracleArgsArgs as InitializeOracleArgsArgs, type index_InitializeOracleInput as InitializeOracleInput, type index_InitializeOracleInstruction as InitializeOracleInstruction, type index_InitializeOracleInstructionData as InitializeOracleInstructionData, type index_InitializeOracleInstructionDataArgs as InitializeOracleInstructionDataArgs, index_ORACLE_STATE_DISCRIMINATOR as ORACLE_STATE_DISCRIMINATOR, type index_OracleState as OracleState, type index_OracleStateArgs as OracleStateArgs, type index_ParsedFinalizeInstruction as ParsedFinalizeInstruction, type index_ParsedInitializeOracleInstruction as ParsedInitializeOracleInstruction, type index_ParsedTrustedOracleInstruction as ParsedTrustedOracleInstruction, index_TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED as TRUSTED_ORACLE_ERROR__ALREADY_FINALIZED, index_TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT as TRUSTED_ORACLE_ERROR__INVALID_WINNING_MINT, index_TRUSTED_ORACLE_ERROR__UNAUTHORIZED as TRUSTED_ORACLE_ERROR__UNAUTHORIZED, index_TRUSTED_ORACLE_PROGRAM_ADDRESS as TRUSTED_ORACLE_PROGRAM_ADDRESS, index_TrustedOracleAccount as TrustedOracleAccount, type index_TrustedOracleError as TrustedOracleError, index_TrustedOracleInstruction as TrustedOracleInstruction, type index_TrustedOraclePlugin as TrustedOraclePlugin, type index_TrustedOraclePluginAccounts as TrustedOraclePluginAccounts, type index_TrustedOraclePluginInstructions as TrustedOraclePluginInstructions, type index_TrustedOraclePluginRequirements as TrustedOraclePluginRequirements, index_decodeOracleState as decodeOracleState, index_fetchAllMaybeOracleState as fetchAllMaybeOracleState, index_fetchAllOracleState as fetchAllOracleState, index_fetchMaybeOracleState as fetchMaybeOracleState, index_fetchOracleState as fetchOracleState, index_getFinalizeDiscriminatorBytes as getFinalizeDiscriminatorBytes, index_getFinalizeInstruction as getFinalizeInstruction, index_getFinalizeInstructionDataCodec as getFinalizeInstructionDataCodec, index_getFinalizeInstructionDataDecoder as getFinalizeInstructionDataDecoder, index_getFinalizeInstructionDataEncoder as getFinalizeInstructionDataEncoder, index_getInitializeOracleArgsCodec as getInitializeOracleArgsCodec, index_getInitializeOracleArgsDecoder as getInitializeOracleArgsDecoder, index_getInitializeOracleArgsEncoder as getInitializeOracleArgsEncoder, index_getInitializeOracleDiscriminatorBytes as getInitializeOracleDiscriminatorBytes, index_getInitializeOracleInstruction as getInitializeOracleInstruction, index_getInitializeOracleInstructionDataCodec as getInitializeOracleInstructionDataCodec, index_getInitializeOracleInstructionDataDecoder as getInitializeOracleInstructionDataDecoder, index_getInitializeOracleInstructionDataEncoder as getInitializeOracleInstructionDataEncoder, index_getOracleStateAddress as getOracleStateAddress, index_getOracleStateCodec as getOracleStateCodec, index_getOracleStateDecoder as getOracleStateDecoder, index_getOracleStateDiscriminatorBytes as getOracleStateDiscriminatorBytes, index_getOracleStateEncoder as getOracleStateEncoder, index_getOracleStateSize as getOracleStateSize, index_getTrustedOracleErrorMessage as getTrustedOracleErrorMessage, index_identifyTrustedOracleAccount as identifyTrustedOracleAccount, index_identifyTrustedOracleInstruction as identifyTrustedOracleInstruction, index_isTrustedOracleError as isTrustedOracleError, index_parseFinalizeInstruction as parseFinalizeInstruction, index_parseInitializeOracleInstruction as parseInitializeOracleInstruction, index_parseTrustedOracleInstruction as parseTrustedOracleInstruction, index_trustedOracleProgram as trustedOracleProgram };
6349
6347
  }
6350
6348
 
6351
6349
  interface SolanaCpmmProgramAddresses {