@whetstone-research/doppler-sdk 1.0.14 → 1.0.16

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.
@@ -1,7 +1,8 @@
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, TransactionMessage, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, ClientWithRpc, GetMultipleAccountsApi, ClientWithPayer, ClientWithTransactionPlanning, ClientWithTransactionSending } 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$1, 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-DN8BrGPh.cjs';
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-DN8BrGPh.cjs';
4
4
  import { SelfFetchFunctions, SelfPlanAndSendFunctions } from '@solana/program-client-core';
5
+ import * as _solana_addresses from '@solana/addresses';
5
6
 
6
7
  /**
7
8
  * CPMM AMM program ID for the currently published Solana deployment.
@@ -48,7 +49,7 @@ declare const HF_AFTER_REMOVE_LIQ: number;
48
49
  /** Require an oracle account when invoking hooks */
49
50
  declare const HF_REQUIRE_ORACLE: number;
50
51
  /** Preserve readonly signer metas when forwarding remaining accounts to hooks */
51
- declare const HF_FORWARD_READONLY_SIGNERS: number;
52
+ declare const HF_FORWARD_READONLY_SIGNERS$1: number;
52
53
  /** Hook return value indicating "no change" to fee parameter */
53
54
  declare const HOOK_NO_CHANGE$1 = 65535;
54
55
  /**
@@ -130,7 +131,7 @@ declare const removeLiquidityArgsCodec: Codec<RemoveLiquidityArgs>;
130
131
  declare const collectFeesArgsCodec: Codec<CollectFeesArgs>;
131
132
  declare const collectProtocolFeesArgsCodec: Codec<CollectProtocolFeesArgs>;
132
133
  declare const createPositionArgsCodec: Codec<CreatePositionArgs>;
133
- declare const initializeConfigArgsCodec: Codec<InitializeConfigArgs$1>;
134
+ declare const initializeConfigArgsCodec: Codec<InitializeConfigArgs$2>;
134
135
  declare const initializePoolArgsCodec: Codec<InitializePoolArgs>;
135
136
  declare const initializeOracleArgsCodec: Codec<InitializeOracleArgs$1>;
136
137
  declare const setHookArgsCodec: Codec<SetHookArgs>;
@@ -152,7 +153,7 @@ declare function encodeCollectProtocolFeesArgs(args: CollectProtocolFeesArgs): U
152
153
  /** Encode CreatePosition args */
153
154
  declare function encodeCreatePositionArgs(args: CreatePositionArgs): Uint8Array;
154
155
  /** Encode InitializeConfig args */
155
- declare function encodeInitializeConfigArgs(args: InitializeConfigArgs$1): Uint8Array;
156
+ declare function encodeInitializeConfigArgs(args: InitializeConfigArgs$2): Uint8Array;
156
157
  /** Encode InitializePool args */
157
158
  declare function encodeInitializePoolArgs(args: InitializePoolArgs): Uint8Array;
158
159
  /** Encode InitializeOracle args */
@@ -1036,16 +1037,16 @@ declare function parseCreatePositionInstruction<TProgram extends string, TAccoun
1036
1037
  * @see https://github.com/codama-idl/codama
1037
1038
  */
1038
1039
 
1039
- declare const INITIALIZE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1040
- declare function getInitializeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
1041
- type InitializeConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1040
+ declare const INITIALIZE_CONFIG_DISCRIMINATOR$1: Uint8Array<ArrayBuffer>;
1041
+ declare function getInitializeConfigDiscriminatorBytes$1(): ReadonlyUint8Array<ArrayBuffer>;
1042
+ type InitializeConfigInstruction$1<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1042
1043
  TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
1043
1044
  TAccountProgramData extends string ? ReadonlyAccount<TAccountProgramData> : TAccountProgramData,
1044
1045
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1045
1046
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1046
1047
  ...TRemainingAccounts
1047
1048
  ]>;
1048
- type InitializeConfigInstructionData = {
1049
+ type InitializeConfigInstructionData$1 = {
1049
1050
  discriminator: ReadonlyUint8Array;
1050
1051
  admin: Address;
1051
1052
  numeraireMint: Address;
@@ -1056,7 +1057,7 @@ type InitializeConfigInstructionData = {
1056
1057
  protocolFeeBps: number;
1057
1058
  hookAllowlist: Array<Address>;
1058
1059
  };
1059
- type InitializeConfigInstructionDataArgs = {
1060
+ type InitializeConfigInstructionDataArgs$1 = {
1060
1061
  admin: Address;
1061
1062
  numeraireMint: Address;
1062
1063
  maxSwapFeeBps: number;
@@ -1066,44 +1067,44 @@ type InitializeConfigInstructionDataArgs = {
1066
1067
  protocolFeeBps: number;
1067
1068
  hookAllowlist: Array<Address>;
1068
1069
  };
1069
- declare function getInitializeConfigInstructionDataEncoder(): Encoder<InitializeConfigInstructionDataArgs>;
1070
- declare function getInitializeConfigInstructionDataDecoder(): Decoder<InitializeConfigInstructionData>;
1071
- declare function getInitializeConfigInstructionDataCodec(): Codec<InitializeConfigInstructionDataArgs, InitializeConfigInstructionData>;
1072
- type InitializeConfigAsyncInput<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1070
+ declare function getInitializeConfigInstructionDataEncoder$1(): Encoder<InitializeConfigInstructionDataArgs$1>;
1071
+ declare function getInitializeConfigInstructionDataDecoder$1(): Decoder<InitializeConfigInstructionData$1>;
1072
+ declare function getInitializeConfigInstructionDataCodec$1(): Codec<InitializeConfigInstructionDataArgs$1, InitializeConfigInstructionData$1>;
1073
+ type InitializeConfigAsyncInput$1<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1073
1074
  config?: Address<TAccountConfig>;
1074
1075
  programData: Address<TAccountProgramData>;
1075
1076
  payer: TransactionSigner<TAccountPayer>;
1076
1077
  systemProgram?: Address<TAccountSystemProgram>;
1077
- admin: InitializeConfigInstructionDataArgs['admin'];
1078
- numeraireMint: InitializeConfigInstructionDataArgs['numeraireMint'];
1079
- maxSwapFeeBps: InitializeConfigInstructionDataArgs['maxSwapFeeBps'];
1080
- maxFeeSplitBps: InitializeConfigInstructionDataArgs['maxFeeSplitBps'];
1081
- maxRouteHops: InitializeConfigInstructionDataArgs['maxRouteHops'];
1082
- protocolFeeEnabled: InitializeConfigInstructionDataArgs['protocolFeeEnabled'];
1083
- protocolFeeBps: InitializeConfigInstructionDataArgs['protocolFeeBps'];
1084
- hookAllowlist: InitializeConfigInstructionDataArgs['hookAllowlist'];
1085
- };
1086
- declare function getInitializeConfigInstructionAsync<TAccountConfig extends string, TAccountProgramData extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializeConfigAsyncInput<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>, config?: {
1078
+ admin: InitializeConfigInstructionDataArgs$1['admin'];
1079
+ numeraireMint: InitializeConfigInstructionDataArgs$1['numeraireMint'];
1080
+ maxSwapFeeBps: InitializeConfigInstructionDataArgs$1['maxSwapFeeBps'];
1081
+ maxFeeSplitBps: InitializeConfigInstructionDataArgs$1['maxFeeSplitBps'];
1082
+ maxRouteHops: InitializeConfigInstructionDataArgs$1['maxRouteHops'];
1083
+ protocolFeeEnabled: InitializeConfigInstructionDataArgs$1['protocolFeeEnabled'];
1084
+ protocolFeeBps: InitializeConfigInstructionDataArgs$1['protocolFeeBps'];
1085
+ hookAllowlist: InitializeConfigInstructionDataArgs$1['hookAllowlist'];
1086
+ };
1087
+ declare function getInitializeConfigInstructionAsync$1<TAccountConfig extends string, TAccountProgramData extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializeConfigAsyncInput$1<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>, config?: {
1087
1088
  programAddress?: TProgramAddress;
1088
- }): Promise<InitializeConfigInstruction<TProgramAddress, TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>>;
1089
- type InitializeConfigInput<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1089
+ }): Promise<InitializeConfigInstruction$1<TProgramAddress, TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>>;
1090
+ type InitializeConfigInput$1<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1090
1091
  config: Address<TAccountConfig>;
1091
1092
  programData: Address<TAccountProgramData>;
1092
1093
  payer: TransactionSigner<TAccountPayer>;
1093
1094
  systemProgram?: Address<TAccountSystemProgram>;
1094
- admin: InitializeConfigInstructionDataArgs['admin'];
1095
- numeraireMint: InitializeConfigInstructionDataArgs['numeraireMint'];
1096
- maxSwapFeeBps: InitializeConfigInstructionDataArgs['maxSwapFeeBps'];
1097
- maxFeeSplitBps: InitializeConfigInstructionDataArgs['maxFeeSplitBps'];
1098
- maxRouteHops: InitializeConfigInstructionDataArgs['maxRouteHops'];
1099
- protocolFeeEnabled: InitializeConfigInstructionDataArgs['protocolFeeEnabled'];
1100
- protocolFeeBps: InitializeConfigInstructionDataArgs['protocolFeeBps'];
1101
- hookAllowlist: InitializeConfigInstructionDataArgs['hookAllowlist'];
1102
- };
1103
- declare function getInitializeConfigInstruction<TAccountConfig extends string, TAccountProgramData extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializeConfigInput<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>, config?: {
1095
+ admin: InitializeConfigInstructionDataArgs$1['admin'];
1096
+ numeraireMint: InitializeConfigInstructionDataArgs$1['numeraireMint'];
1097
+ maxSwapFeeBps: InitializeConfigInstructionDataArgs$1['maxSwapFeeBps'];
1098
+ maxFeeSplitBps: InitializeConfigInstructionDataArgs$1['maxFeeSplitBps'];
1099
+ maxRouteHops: InitializeConfigInstructionDataArgs$1['maxRouteHops'];
1100
+ protocolFeeEnabled: InitializeConfigInstructionDataArgs$1['protocolFeeEnabled'];
1101
+ protocolFeeBps: InitializeConfigInstructionDataArgs$1['protocolFeeBps'];
1102
+ hookAllowlist: InitializeConfigInstructionDataArgs$1['hookAllowlist'];
1103
+ };
1104
+ declare function getInitializeConfigInstruction$1<TAccountConfig extends string, TAccountProgramData extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializeConfigInput$1<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>, config?: {
1104
1105
  programAddress?: TProgramAddress;
1105
- }): InitializeConfigInstruction<TProgramAddress, TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>;
1106
- type ParsedInitializeConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1106
+ }): InitializeConfigInstruction$1<TProgramAddress, TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>;
1107
+ type ParsedInitializeConfigInstruction$1<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1107
1108
  programAddress: Address<TProgram>;
1108
1109
  accounts: {
1109
1110
  config: TAccountMetas[0];
@@ -1111,9 +1112,9 @@ type ParsedInitializeConfigInstruction<TProgram extends string = typeof CPMM_PRO
1111
1112
  payer: TAccountMetas[2];
1112
1113
  systemProgram: TAccountMetas[3];
1113
1114
  };
1114
- data: InitializeConfigInstructionData;
1115
+ data: InitializeConfigInstructionData$1;
1115
1116
  };
1116
- declare function parseInitializeConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
1117
+ declare function parseInitializeConfigInstruction$1<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeConfigInstruction$1<TProgram, TAccountMetas>;
1117
1118
 
1118
1119
  /**
1119
1120
  * This code was AUTOGENERATED using the Codama library.
@@ -2158,7 +2159,7 @@ type ParsedWithdrawVaultExcessInstruction<TProgram extends string = typeof CPMM_
2158
2159
  };
2159
2160
  declare function parseWithdrawVaultExcessInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedWithdrawVaultExcessInstruction<TProgram, TAccountMetas>;
2160
2161
 
2161
- type RemainingAccount = Address | AccountMeta | AccountSignerMeta | TransactionSigner;
2162
+ type RemainingAccount$2 = Address | AccountMeta | AccountSignerMeta | TransactionSigner;
2162
2163
  /**
2163
2164
  * Helper to create swap instruction with simplified parameters
2164
2165
  */
@@ -2177,7 +2178,7 @@ declare function createSwapInstruction(params: {
2177
2178
  minAmountOut: bigint;
2178
2179
  tradeDirection: TradeDirection;
2179
2180
  oracle?: Address;
2180
- remainingAccounts?: RemainingAccount[];
2181
+ remainingAccounts?: RemainingAccount$2[];
2181
2182
  updateOracle?: boolean;
2182
2183
  token0Program?: Address;
2183
2184
  token1Program?: Address;
@@ -2341,476 +2342,967 @@ declare function fetchConfigWithAddress(rpc: Rpc<GetAccountInfoApi>, programId?:
2341
2342
  account: AmmConfig;
2342
2343
  } | null>;
2343
2344
 
2344
- declare const index$4_ACCOUNT_DISCRIMINATORS: typeof ACCOUNT_DISCRIMINATORS;
2345
- declare const index$4_ACCOUNT_VERSION: typeof ACCOUNT_VERSION;
2346
- declare const index$4_ADD_LIQUIDITY_DISCRIMINATOR: typeof ADD_LIQUIDITY_DISCRIMINATOR;
2347
- declare const index$4_AddLiquidityArgs: typeof AddLiquidityArgs;
2348
- type index$4_AddLiquidityAsyncInput<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> = AddLiquidityAsyncInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2349
- declare const index$4_AddLiquidityEvent: typeof AddLiquidityEvent;
2350
- type index$4_AddLiquidityInput<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> = AddLiquidityInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2351
- type index$4_AddLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = AddLiquidityInstruction<TProgram, TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2352
- type index$4_AddLiquidityInstructionData = AddLiquidityInstructionData;
2353
- type index$4_AddLiquidityInstructionDataArgs = AddLiquidityInstructionDataArgs;
2354
- declare const index$4_AddLiquidityQuote: typeof AddLiquidityQuote;
2355
- declare const index$4_AdminTransferredEvent: typeof AdminTransferredEvent;
2356
- declare const index$4_AmmConfig: typeof AmmConfig;
2357
- declare const index$4_BPS_DENOM: typeof BPS_DENOM;
2358
- declare const index$4_CLOSE_POSITION_DISCRIMINATOR: typeof CLOSE_POSITION_DISCRIMINATOR;
2359
- declare const index$4_COLLECT_FEES_DISCRIMINATOR: typeof COLLECT_FEES_DISCRIMINATOR;
2360
- declare const index$4_COLLECT_PROTOCOL_FEES_DISCRIMINATOR: typeof COLLECT_PROTOCOL_FEES_DISCRIMINATOR;
2361
- declare const index$4_CPMM_ERROR_MESSAGES: typeof CPMM_ERROR_MESSAGES;
2362
- declare const index$4_CPMM_PROGRAM_ID: typeof CPMM_PROGRAM_ID;
2363
- declare const index$4_CREATE_POSITION_DISCRIMINATOR: typeof CREATE_POSITION_DISCRIMINATOR;
2364
- type index$4_ClosePositionInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountRentRecipient extends string = string> = ClosePositionInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountRentRecipient>;
2365
- type index$4_ClosePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountRentRecipient extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = ClosePositionInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountRentRecipient, TRemainingAccounts>;
2366
- type index$4_ClosePositionInstructionData = ClosePositionInstructionData;
2367
- type index$4_ClosePositionInstructionDataArgs = ClosePositionInstructionDataArgs;
2368
- declare const index$4_CollectFeesArgs: typeof CollectFeesArgs;
2369
- type index$4_CollectFeesAsyncInput<TAccountPool extends string = string, TAccountPosition 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> = CollectFeesAsyncInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program>;
2370
- declare const index$4_CollectFeesEvent: typeof CollectFeesEvent;
2371
- type index$4_CollectFeesInput<TAccountPool extends string = string, TAccountPosition 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> = CollectFeesInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program>;
2372
- type index$4_CollectFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = CollectFeesInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2373
- type index$4_CollectFeesInstructionData = CollectFeesInstructionData;
2374
- type index$4_CollectFeesInstructionDataArgs = CollectFeesInstructionDataArgs;
2375
- declare const index$4_CollectProtocolFeesArgs: typeof CollectProtocolFeesArgs;
2376
- type index$4_CollectProtocolFeesAsyncInput<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> = CollectProtocolFeesAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2377
- declare const index$4_CollectProtocolFeesEvent: typeof CollectProtocolFeesEvent;
2378
- type index$4_CollectProtocolFeesInput<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> = CollectProtocolFeesInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2379
- type index$4_CollectProtocolFeesInstruction<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>[] = []> = CollectProtocolFeesInstruction<TProgram, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2380
- type index$4_CollectProtocolFeesInstructionData = CollectProtocolFeesInstructionData;
2381
- type index$4_CollectProtocolFeesInstructionDataArgs = CollectProtocolFeesInstructionDataArgs;
2382
- type index$4_CpmmError = CpmmError;
2383
- declare const index$4_CpmmError: typeof CpmmError;
2384
- type index$4_CpmmErrorCode = CpmmErrorCode;
2385
- declare const index$4_CpmmErrorCode: typeof CpmmErrorCode;
2386
- declare const index$4_CreatePositionArgs: typeof CreatePositionArgs;
2387
- type index$4_CreatePositionAsyncInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = CreatePositionAsyncInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram>;
2388
- type index$4_CreatePositionInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = CreatePositionInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram>;
2389
- type index$4_CreatePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = CreatePositionInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>;
2390
- type index$4_CreatePositionInstructionData = CreatePositionInstructionData;
2391
- type index$4_CreatePositionInstructionDataArgs = CreatePositionInstructionDataArgs;
2392
- declare const index$4_CurveParams: typeof CurveParams;
2393
- declare const index$4_CurveParamsToMarketCapInput: typeof CurveParamsToMarketCapInput;
2394
- declare const index$4_FeesUpdatedEvent: typeof FeesUpdatedEvent;
2395
- declare const index$4_FetchOracleConfig: typeof FetchOracleConfig;
2396
- type index$4_FetchPoolsConfig = FetchPoolsConfig;
2397
- declare const index$4_FetchPositionsConfig: typeof FetchPositionsConfig;
2398
- declare const index$4_HF_AFTER_ADD_LIQ: typeof HF_AFTER_ADD_LIQ;
2399
- declare const index$4_HF_AFTER_REMOVE_LIQ: typeof HF_AFTER_REMOVE_LIQ;
2400
- declare const index$4_HF_BEFORE_ADD_LIQ: typeof HF_BEFORE_ADD_LIQ;
2401
- declare const index$4_HF_BEFORE_REMOVE_LIQ: typeof HF_BEFORE_REMOVE_LIQ;
2402
- declare const index$4_HF_FORWARD_READONLY_SIGNERS: typeof HF_FORWARD_READONLY_SIGNERS;
2403
- declare const index$4_HF_REQUIRE_ORACLE: typeof HF_REQUIRE_ORACLE;
2404
- declare const index$4_HookErrorEvent: typeof HookErrorEvent;
2405
- declare const index$4_HookInvokedEvent: typeof HookInvokedEvent;
2406
- declare const index$4_HookUpdatedEvent: typeof HookUpdatedEvent;
2345
+ declare const index$5_ACCOUNT_DISCRIMINATORS: typeof ACCOUNT_DISCRIMINATORS;
2346
+ declare const index$5_ACCOUNT_VERSION: typeof ACCOUNT_VERSION;
2347
+ declare const index$5_ADD_LIQUIDITY_DISCRIMINATOR: typeof ADD_LIQUIDITY_DISCRIMINATOR;
2348
+ declare const index$5_AddLiquidityArgs: typeof AddLiquidityArgs;
2349
+ type index$5_AddLiquidityAsyncInput<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> = AddLiquidityAsyncInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2350
+ declare const index$5_AddLiquidityEvent: typeof AddLiquidityEvent;
2351
+ type index$5_AddLiquidityInput<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> = AddLiquidityInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2352
+ type index$5_AddLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = AddLiquidityInstruction<TProgram, TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2353
+ type index$5_AddLiquidityInstructionData = AddLiquidityInstructionData;
2354
+ type index$5_AddLiquidityInstructionDataArgs = AddLiquidityInstructionDataArgs;
2355
+ declare const index$5_AddLiquidityQuote: typeof AddLiquidityQuote;
2356
+ declare const index$5_AdminTransferredEvent: typeof AdminTransferredEvent;
2357
+ declare const index$5_AmmConfig: typeof AmmConfig;
2358
+ declare const index$5_BPS_DENOM: typeof BPS_DENOM;
2359
+ declare const index$5_CLOSE_POSITION_DISCRIMINATOR: typeof CLOSE_POSITION_DISCRIMINATOR;
2360
+ declare const index$5_COLLECT_FEES_DISCRIMINATOR: typeof COLLECT_FEES_DISCRIMINATOR;
2361
+ declare const index$5_COLLECT_PROTOCOL_FEES_DISCRIMINATOR: typeof COLLECT_PROTOCOL_FEES_DISCRIMINATOR;
2362
+ declare const index$5_CPMM_ERROR_MESSAGES: typeof CPMM_ERROR_MESSAGES;
2363
+ declare const index$5_CPMM_PROGRAM_ID: typeof CPMM_PROGRAM_ID;
2364
+ declare const index$5_CREATE_POSITION_DISCRIMINATOR: typeof CREATE_POSITION_DISCRIMINATOR;
2365
+ type index$5_ClosePositionInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountRentRecipient extends string = string> = ClosePositionInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountRentRecipient>;
2366
+ type index$5_ClosePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountRentRecipient extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = ClosePositionInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountRentRecipient, TRemainingAccounts>;
2367
+ type index$5_ClosePositionInstructionData = ClosePositionInstructionData;
2368
+ type index$5_ClosePositionInstructionDataArgs = ClosePositionInstructionDataArgs;
2369
+ declare const index$5_CollectFeesArgs: typeof CollectFeesArgs;
2370
+ type index$5_CollectFeesAsyncInput<TAccountPool extends string = string, TAccountPosition 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> = CollectFeesAsyncInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program>;
2371
+ declare const index$5_CollectFeesEvent: typeof CollectFeesEvent;
2372
+ type index$5_CollectFeesInput<TAccountPool extends string = string, TAccountPosition 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> = CollectFeesInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program>;
2373
+ type index$5_CollectFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = CollectFeesInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2374
+ type index$5_CollectFeesInstructionData = CollectFeesInstructionData;
2375
+ type index$5_CollectFeesInstructionDataArgs = CollectFeesInstructionDataArgs;
2376
+ declare const index$5_CollectProtocolFeesArgs: typeof CollectProtocolFeesArgs;
2377
+ type index$5_CollectProtocolFeesAsyncInput<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> = CollectProtocolFeesAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2378
+ declare const index$5_CollectProtocolFeesEvent: typeof CollectProtocolFeesEvent;
2379
+ type index$5_CollectProtocolFeesInput<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> = CollectProtocolFeesInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program>;
2380
+ type index$5_CollectProtocolFeesInstruction<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>[] = []> = CollectProtocolFeesInstruction<TProgram, TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountRecipient0, TAccountRecipient1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2381
+ type index$5_CollectProtocolFeesInstructionData = CollectProtocolFeesInstructionData;
2382
+ type index$5_CollectProtocolFeesInstructionDataArgs = CollectProtocolFeesInstructionDataArgs;
2383
+ type index$5_CpmmError = CpmmError;
2384
+ declare const index$5_CpmmError: typeof CpmmError;
2385
+ type index$5_CpmmErrorCode = CpmmErrorCode;
2386
+ declare const index$5_CpmmErrorCode: typeof CpmmErrorCode;
2387
+ declare const index$5_CreatePositionArgs: typeof CreatePositionArgs;
2388
+ type index$5_CreatePositionAsyncInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = CreatePositionAsyncInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram>;
2389
+ type index$5_CreatePositionInput<TAccountPool extends string = string, TAccountPosition extends string = string, TAccountOwner extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = CreatePositionInput<TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram>;
2390
+ type index$5_CreatePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountOwner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = CreatePositionInstruction<TProgram, TAccountPool, TAccountPosition, TAccountOwner, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>;
2391
+ type index$5_CreatePositionInstructionData = CreatePositionInstructionData;
2392
+ type index$5_CreatePositionInstructionDataArgs = CreatePositionInstructionDataArgs;
2393
+ declare const index$5_CurveParams: typeof CurveParams;
2394
+ declare const index$5_CurveParamsToMarketCapInput: typeof CurveParamsToMarketCapInput;
2395
+ declare const index$5_FeesUpdatedEvent: typeof FeesUpdatedEvent;
2396
+ declare const index$5_FetchOracleConfig: typeof FetchOracleConfig;
2397
+ type index$5_FetchPoolsConfig = FetchPoolsConfig;
2398
+ declare const index$5_FetchPositionsConfig: typeof FetchPositionsConfig;
2399
+ declare const index$5_HF_AFTER_ADD_LIQ: typeof HF_AFTER_ADD_LIQ;
2400
+ declare const index$5_HF_AFTER_REMOVE_LIQ: typeof HF_AFTER_REMOVE_LIQ;
2401
+ declare const index$5_HF_BEFORE_ADD_LIQ: typeof HF_BEFORE_ADD_LIQ;
2402
+ declare const index$5_HF_BEFORE_REMOVE_LIQ: typeof HF_BEFORE_REMOVE_LIQ;
2403
+ declare const index$5_HF_REQUIRE_ORACLE: typeof HF_REQUIRE_ORACLE;
2404
+ declare const index$5_HookErrorEvent: typeof HookErrorEvent;
2405
+ declare const index$5_HookInvokedEvent: typeof HookInvokedEvent;
2406
+ declare const index$5_HookUpdatedEvent: typeof HookUpdatedEvent;
2407
+ declare const index$5_INITIALIZE_POOL_DISCRIMINATOR: typeof INITIALIZE_POOL_DISCRIMINATOR;
2408
+ declare const index$5_INSTRUCTION_DISCRIMINATORS: typeof INSTRUCTION_DISCRIMINATORS;
2409
+ 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>;
2410
+ declare const index$5_InitializePoolArgs: typeof InitializePoolArgs;
2411
+ 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>;
2412
+ 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>;
2413
+ 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>;
2414
+ type index$5_InitializePoolInstructionData = InitializePoolInstructionData;
2415
+ type index$5_InitializePoolInstructionDataArgs = InitializePoolInstructionDataArgs;
2416
+ declare const index$5_MAX_FEE_AMOUNT: typeof MAX_FEE_AMOUNT;
2417
+ declare const index$5_MAX_ORACLE_OBSERVATIONS: typeof MAX_ORACLE_OBSERVATIONS;
2418
+ declare const index$5_MarketCapToCurveParamsInput: typeof MarketCapToCurveParamsInput;
2419
+ declare const index$5_MarketCapValidationResult: typeof MarketCapValidationResult;
2420
+ declare const index$5_ORACLE_CONSULT_DISCRIMINATOR: typeof ORACLE_CONSULT_DISCRIMINATOR;
2421
+ declare const index$5_ORACLE_UPDATE_DISCRIMINATOR: typeof ORACLE_UPDATE_DISCRIMINATOR;
2422
+ declare const index$5_Observation: typeof Observation;
2423
+ declare const index$5_OracleConsultArgs: typeof OracleConsultArgs;
2424
+ type index$5_OracleConsultAsyncInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleConsultAsyncInput<TAccountPool, TAccountOracle>;
2425
+ type index$5_OracleConsultInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleConsultInput<TAccountPool, TAccountOracle>;
2426
+ type index$5_OracleConsultInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = OracleConsultInstruction<TProgram, TAccountPool, TAccountOracle, TRemainingAccounts>;
2427
+ type index$5_OracleConsultInstructionData = OracleConsultInstructionData;
2428
+ type index$5_OracleConsultInstructionDataArgs = OracleConsultInstructionDataArgs;
2429
+ declare const index$5_OracleInitializedEvent: typeof OracleInitializedEvent;
2430
+ type index$5_OracleUpdateAsyncInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleUpdateAsyncInput<TAccountPool, TAccountOracle>;
2431
+ type index$5_OracleUpdateInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleUpdateInput<TAccountPool, TAccountOracle>;
2432
+ type index$5_OracleUpdateInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = OracleUpdateInstruction<TProgram, TAccountPool, TAccountOracle, TRemainingAccounts>;
2433
+ type index$5_OracleUpdateInstructionData = OracleUpdateInstructionData;
2434
+ type index$5_OracleUpdateInstructionDataArgs = OracleUpdateInstructionDataArgs;
2435
+ declare const index$5_OracleUpdatedEvent: typeof OracleUpdatedEvent;
2436
+ declare const index$5_OracleWithAddress: typeof OracleWithAddress;
2437
+ declare const index$5_PAUSE_DISCRIMINATOR: typeof PAUSE_DISCRIMINATOR;
2438
+ declare const index$5_PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR: typeof PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR;
2439
+ type index$5_ParsedAddLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedAddLiquidityInstruction<TProgram, TAccountMetas>;
2440
+ type index$5_ParsedClosePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedClosePositionInstruction<TProgram, TAccountMetas>;
2441
+ type index$5_ParsedCollectFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCollectFeesInstruction<TProgram, TAccountMetas>;
2442
+ type index$5_ParsedCollectProtocolFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCollectProtocolFeesInstruction<TProgram, TAccountMetas>;
2443
+ type index$5_ParsedCreatePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCreatePositionInstruction<TProgram, TAccountMetas>;
2444
+ type index$5_ParsedInitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedInitializePoolInstruction<TProgram, TAccountMetas>;
2445
+ type index$5_ParsedOracleConsultInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedOracleConsultInstruction<TProgram, TAccountMetas>;
2446
+ type index$5_ParsedOracleUpdateInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedOracleUpdateInstruction<TProgram, TAccountMetas>;
2447
+ type index$5_ParsedPauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPauseInstruction<TProgram, TAccountMetas>;
2448
+ type index$5_ParsedPreviewSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPreviewSwapExactInInstruction<TProgram, TAccountMetas>;
2449
+ type index$5_ParsedQuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedQuoteToNumeraireInstruction<TProgram, TAccountMetas>;
2450
+ type index$5_ParsedRemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRemoveLiquidityInstruction<TProgram, TAccountMetas>;
2451
+ type index$5_ParsedSetFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetFeesInstruction<TProgram, TAccountMetas>;
2452
+ type index$5_ParsedSetHookInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetHookInstruction<TProgram, TAccountMetas>;
2453
+ type index$5_ParsedSetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetRouteInstruction<TProgram, TAccountMetas>;
2454
+ type index$5_ParsedSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSwapExactInInstruction<TProgram, TAccountMetas>;
2455
+ type index$5_ParsedTransferAdminInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedTransferAdminInstruction<TProgram, TAccountMetas>;
2456
+ type index$5_ParsedUnpauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedUnpauseInstruction<TProgram, TAccountMetas>;
2457
+ type index$5_ParsedUpdateConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedUpdateConfigInstruction<TProgram, TAccountMetas>;
2458
+ type index$5_ParsedWithdrawVaultExcessInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedWithdrawVaultExcessInstruction<TProgram, TAccountMetas>;
2459
+ type index$5_PauseInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = PauseInput<TAccountConfig, TAccountAdmin>;
2460
+ type index$5_PauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = PauseInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2461
+ type index$5_PauseInstructionData = PauseInstructionData;
2462
+ type index$5_PauseInstructionDataArgs = PauseInstructionDataArgs;
2463
+ declare const index$5_PausedEvent: typeof PausedEvent;
2464
+ declare const index$5_Pool: typeof Pool;
2465
+ declare const index$5_PoolInitializedEvent: typeof PoolInitializedEvent;
2466
+ type index$5_PoolWithAddress = PoolWithAddress;
2467
+ declare const index$5_Position: typeof Position;
2468
+ declare const index$5_PositionClosedEvent: typeof PositionClosedEvent;
2469
+ declare const index$5_PositionCreatedEvent: typeof PositionCreatedEvent;
2470
+ declare const index$5_PositionValue: typeof PositionValue;
2471
+ declare const index$5_PositionWithAddress: typeof PositionWithAddress;
2472
+ type index$5_PreviewSwapExactInInput<TAccountConfig extends string = string, TAccountPool extends string = string> = PreviewSwapExactInInput<TAccountConfig, TAccountPool>;
2473
+ type index$5_PreviewSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = PreviewSwapExactInInstruction<TProgram, TAccountConfig, TAccountPool, TRemainingAccounts>;
2474
+ type index$5_PreviewSwapExactInInstructionData = PreviewSwapExactInInstructionData;
2475
+ type index$5_PreviewSwapExactInInstructionDataArgs = PreviewSwapExactInInstructionDataArgs;
2476
+ declare const index$5_Q64_ONE: typeof Q64_ONE;
2477
+ declare const index$5_QUOTE_TO_NUMERAIRE_DISCRIMINATOR: typeof QUOTE_TO_NUMERAIRE_DISCRIMINATOR;
2478
+ declare const index$5_QuoteToNumeraireArgs: typeof QuoteToNumeraireArgs;
2479
+ type index$5_QuoteToNumeraireInput<TAccountConfig extends string = string, TAccountStartPool extends string = string> = QuoteToNumeraireInput<TAccountConfig, TAccountStartPool>;
2480
+ 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>;
2481
+ type index$5_QuoteToNumeraireInstructionData = QuoteToNumeraireInstructionData;
2482
+ type index$5_QuoteToNumeraireInstructionDataArgs = QuoteToNumeraireInstructionDataArgs;
2483
+ declare const index$5_REMOVE_LIQUIDITY_DISCRIMINATOR: typeof REMOVE_LIQUIDITY_DISCRIMINATOR;
2484
+ declare const index$5_RemoveLiquidityArgs: typeof RemoveLiquidityArgs;
2485
+ 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>;
2486
+ declare const index$5_RemoveLiquidityEvent: typeof RemoveLiquidityEvent;
2487
+ type index$5_RemoveLiquidityInput<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> = RemoveLiquidityInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2488
+ type index$5_RemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = RemoveLiquidityInstruction<TProgram, TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2489
+ type index$5_RemoveLiquidityInstructionData = RemoveLiquidityInstructionData;
2490
+ type index$5_RemoveLiquidityInstructionDataArgs = RemoveLiquidityInstructionDataArgs;
2491
+ declare const index$5_RemoveLiquidityQuote: typeof RemoveLiquidityQuote;
2492
+ declare const index$5_RouteUpdatedEvent: typeof RouteUpdatedEvent;
2493
+ declare const index$5_SEED_AUTHORITY: typeof SEED_AUTHORITY;
2494
+ declare const index$5_SEED_ORACLE: typeof SEED_ORACLE;
2495
+ declare const index$5_SEED_POOL: typeof SEED_POOL;
2496
+ declare const index$5_SEED_POSITION: typeof SEED_POSITION;
2497
+ declare const index$5_SEED_PROTOCOL_FEE_POSITION: typeof SEED_PROTOCOL_FEE_POSITION;
2498
+ declare const index$5_SET_FEES_DISCRIMINATOR: typeof SET_FEES_DISCRIMINATOR;
2499
+ declare const index$5_SET_HOOK_DISCRIMINATOR: typeof SET_HOOK_DISCRIMINATOR;
2500
+ declare const index$5_SET_ROUTE_DISCRIMINATOR: typeof SET_ROUTE_DISCRIMINATOR;
2501
+ declare const index$5_SWAP_EXACT_IN_DISCRIMINATOR: typeof SWAP_EXACT_IN_DISCRIMINATOR;
2502
+ declare const index$5_SetFeesArgs: typeof SetFeesArgs;
2503
+ type index$5_SetFeesInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAdmin extends string = string> = SetFeesInput<TAccountConfig, TAccountPool, TAccountAdmin>;
2504
+ type index$5_SetFeesInstruction<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>[] = []> = SetFeesInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAdmin, TRemainingAccounts>;
2505
+ type index$5_SetFeesInstructionData = SetFeesInstructionData;
2506
+ type index$5_SetFeesInstructionDataArgs = SetFeesInstructionDataArgs;
2507
+ declare const index$5_SetHookArgs: typeof SetHookArgs;
2508
+ type index$5_SetHookInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAdmin extends string = string> = SetHookInput<TAccountConfig, TAccountPool, TAccountAdmin>;
2509
+ 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>;
2510
+ type index$5_SetHookInstructionData = SetHookInstructionData;
2511
+ type index$5_SetHookInstructionDataArgs = SetHookInstructionDataArgs;
2512
+ declare const index$5_SetRouteArgs: typeof SetRouteArgs;
2513
+ 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>;
2514
+ 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>;
2515
+ type index$5_SetRouteInstructionData = SetRouteInstructionData;
2516
+ type index$5_SetRouteInstructionDataArgs = SetRouteInstructionDataArgs;
2517
+ declare const index$5_SwapEvent: typeof SwapEvent;
2518
+ declare const index$5_SwapExactInArgs: typeof SwapExactInArgs;
2519
+ 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>;
2520
+ type index$5_SwapExactInInput<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> = SwapExactInInput<TAccountConfig, TAccountPool, TAccountAuthority, TAccountVaultIn, TAccountVaultOut, TAccountToken0Mint, TAccountToken1Mint, TAccountUserIn, TAccountUserOut, TAccountTrader, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2521
+ type index$5_SwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVaultIn extends string | AccountMeta<string> = string, TAccountVaultOut extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountUserIn extends string | AccountMeta<string> = string, TAccountUserOut extends string | AccountMeta<string> = string, TAccountTrader extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SwapExactInInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAuthority, TAccountVaultIn, TAccountVaultOut, TAccountToken0Mint, TAccountToken1Mint, TAccountUserIn, TAccountUserOut, TAccountTrader, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2522
+ type index$5_SwapExactInInstructionData = SwapExactInInstructionData;
2523
+ type index$5_SwapExactInInstructionDataArgs = SwapExactInInstructionDataArgs;
2524
+ declare const index$5_SwapQuote: typeof SwapQuote;
2525
+ declare const index$5_SwapQuoteExactOut: typeof SwapQuoteExactOut;
2526
+ declare const index$5_TOKEN_METADATA_PROGRAM_ID: typeof TOKEN_METADATA_PROGRAM_ID;
2527
+ declare const index$5_TRANSFER_ADMIN_DISCRIMINATOR: typeof TRANSFER_ADMIN_DISCRIMINATOR;
2528
+ declare const index$5_TradeDirection: typeof TradeDirection;
2529
+ declare const index$5_TransferAdminArgs: typeof TransferAdminArgs;
2530
+ type index$5_TransferAdminInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = TransferAdminInput<TAccountConfig, TAccountAdmin>;
2531
+ type index$5_TransferAdminInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = TransferAdminInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2532
+ type index$5_TransferAdminInstructionData = TransferAdminInstructionData;
2533
+ type index$5_TransferAdminInstructionDataArgs = TransferAdminInstructionDataArgs;
2534
+ declare const index$5_TwapResult: typeof TwapResult;
2535
+ declare const index$5_UNPAUSE_DISCRIMINATOR: typeof UNPAUSE_DISCRIMINATOR;
2536
+ declare const index$5_UPDATE_CONFIG_DISCRIMINATOR: typeof UPDATE_CONFIG_DISCRIMINATOR;
2537
+ type index$5_UnpauseInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = UnpauseInput<TAccountConfig, TAccountAdmin>;
2538
+ type index$5_UnpauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = UnpauseInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2539
+ type index$5_UnpauseInstructionData = UnpauseInstructionData;
2540
+ type index$5_UnpauseInstructionDataArgs = UnpauseInstructionDataArgs;
2541
+ declare const index$5_UnpausedEvent: typeof UnpausedEvent;
2542
+ type index$5_UpdateConfigInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = UpdateConfigInput<TAccountConfig, TAccountAdmin>;
2543
+ type index$5_UpdateConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = UpdateConfigInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2544
+ type index$5_UpdateConfigInstructionData = UpdateConfigInstructionData;
2545
+ type index$5_UpdateConfigInstructionDataArgs = UpdateConfigInstructionDataArgs;
2546
+ declare const index$5_VaultExcessWithdrawnEvent: typeof VaultExcessWithdrawnEvent;
2547
+ declare const index$5_WITHDRAW_VAULT_EXCESS_DISCRIMINATOR: typeof WITHDRAW_VAULT_EXCESS_DISCRIMINATOR;
2548
+ type index$5_WithdrawVaultExcessAsyncInput<TAccountConfig extends string = string, TAccountPool 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, TAccountAdminAta0 extends string = string, TAccountAdminAta1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = WithdrawVaultExcessAsyncInput<TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program>;
2549
+ type index$5_WithdrawVaultExcessInput<TAccountConfig extends string = string, TAccountPool 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, TAccountAdminAta0 extends string = string, TAccountAdminAta1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = WithdrawVaultExcessInput<TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program>;
2550
+ type index$5_WithdrawVaultExcessInstruction<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, 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, TAccountAdminAta0 extends string | AccountMeta<string> = string, TAccountAdminAta1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = WithdrawVaultExcessInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2551
+ type index$5_WithdrawVaultExcessInstructionData = WithdrawVaultExcessInstructionData;
2552
+ type index$5_WithdrawVaultExcessInstructionDataArgs = WithdrawVaultExcessInstructionDataArgs;
2553
+ declare const index$5_addLiquidityArgsCodec: typeof addLiquidityArgsCodec;
2554
+ declare const index$5_ammConfigDataCodec: typeof ammConfigDataCodec;
2555
+ declare const index$5_areMintsOrdered: typeof areMintsOrdered;
2556
+ declare const index$5_calculateAccruedFees: typeof calculateAccruedFees;
2557
+ declare const index$5_calculateTwap: typeof calculateTwap;
2558
+ declare const index$5_calculateTwapNumber: typeof calculateTwapNumber;
2559
+ declare const index$5_ceilDiv: typeof ceilDiv;
2560
+ declare const index$5_collectFeesArgsCodec: typeof collectFeesArgsCodec;
2561
+ declare const index$5_collectProtocolFeesArgsCodec: typeof collectProtocolFeesArgsCodec;
2562
+ declare const index$5_comparePoolAndOraclePrices: typeof comparePoolAndOraclePrices;
2563
+ declare const index$5_computePrice0Q64: typeof computePrice0Q64;
2564
+ declare const index$5_computePrice1Q64: typeof computePrice1Q64;
2565
+ declare const index$5_consultTwap: typeof consultTwap;
2566
+ declare const index$5_createPositionArgsCodec: typeof createPositionArgsCodec;
2567
+ declare const index$5_createSwapInstruction: typeof createSwapInstruction;
2568
+ declare const index$5_curveParamsToMarketCap: typeof curveParamsToMarketCap;
2569
+ declare const index$5_decodeAmmConfig: typeof decodeAmmConfig;
2570
+ declare const index$5_decodePool: typeof decodePool;
2571
+ declare const index$5_decodePosition: typeof decodePosition;
2572
+ declare const index$5_encodeAddLiquidityArgs: typeof encodeAddLiquidityArgs;
2573
+ declare const index$5_encodeCollectFeesArgs: typeof encodeCollectFeesArgs;
2574
+ declare const index$5_encodeCollectProtocolFeesArgs: typeof encodeCollectProtocolFeesArgs;
2575
+ declare const index$5_encodeCreatePositionArgs: typeof encodeCreatePositionArgs;
2576
+ declare const index$5_encodeInitializeConfigArgs: typeof encodeInitializeConfigArgs;
2577
+ declare const index$5_encodeInitializeOracleArgs: typeof encodeInitializeOracleArgs;
2578
+ declare const index$5_encodeInitializePoolArgs: typeof encodeInitializePoolArgs;
2579
+ declare const index$5_encodeInstructionData: typeof encodeInstructionData;
2580
+ declare const index$5_encodeOracleConsultArgs: typeof encodeOracleConsultArgs;
2581
+ declare const index$5_encodeQuoteToNumeraireArgs: typeof encodeQuoteToNumeraireArgs;
2582
+ declare const index$5_encodeRemoveLiquidityArgs: typeof encodeRemoveLiquidityArgs;
2583
+ declare const index$5_encodeSetFeesArgs: typeof encodeSetFeesArgs;
2584
+ declare const index$5_encodeSetHookArgs: typeof encodeSetHookArgs;
2585
+ declare const index$5_encodeSetRouteArgs: typeof encodeSetRouteArgs;
2586
+ declare const index$5_encodeSwapExactInArgs: typeof encodeSwapExactInArgs;
2587
+ declare const index$5_encodeTransferAdminArgs: typeof encodeTransferAdminArgs;
2588
+ declare const index$5_fetchAllPools: typeof fetchAllPools;
2589
+ declare const index$5_fetchConfig: typeof fetchConfig;
2590
+ declare const index$5_fetchConfigWithAddress: typeof fetchConfigWithAddress;
2591
+ declare const index$5_fetchOracle: typeof fetchOracle;
2592
+ declare const index$5_fetchOraclesBatch: typeof fetchOraclesBatch;
2593
+ declare const index$5_fetchPool: typeof fetchPool;
2594
+ declare const index$5_fetchPoolPositions: typeof fetchPoolPositions;
2595
+ declare const index$5_fetchPoolsBatch: typeof fetchPoolsBatch;
2596
+ declare const index$5_fetchPosition: typeof fetchPosition;
2597
+ declare const index$5_fetchPositionByParams: typeof fetchPositionByParams;
2598
+ declare const index$5_fetchPositionsBatch: typeof fetchPositionsBatch;
2599
+ declare const index$5_fetchUserPositions: typeof fetchUserPositions;
2600
+ declare const index$5_filterActivePositions: typeof filterActivePositions;
2601
+ declare const index$5_filterPoolsByMint: typeof filterPoolsByMint;
2602
+ declare const index$5_getAddLiquidityDiscriminatorBytes: typeof getAddLiquidityDiscriminatorBytes;
2603
+ declare const index$5_getAddLiquidityInstruction: typeof getAddLiquidityInstruction;
2604
+ declare const index$5_getAddLiquidityInstructionAsync: typeof getAddLiquidityInstructionAsync;
2605
+ declare const index$5_getAddLiquidityInstructionDataCodec: typeof getAddLiquidityInstructionDataCodec;
2606
+ declare const index$5_getAddLiquidityInstructionDataDecoder: typeof getAddLiquidityInstructionDataDecoder;
2607
+ declare const index$5_getAddLiquidityInstructionDataEncoder: typeof getAddLiquidityInstructionDataEncoder;
2608
+ declare const index$5_getAddLiquidityQuote: typeof getAddLiquidityQuote;
2609
+ declare const index$5_getClosePositionDiscriminatorBytes: typeof getClosePositionDiscriminatorBytes;
2610
+ declare const index$5_getClosePositionInstruction: typeof getClosePositionInstruction;
2611
+ declare const index$5_getClosePositionInstructionDataCodec: typeof getClosePositionInstructionDataCodec;
2612
+ declare const index$5_getClosePositionInstructionDataDecoder: typeof getClosePositionInstructionDataDecoder;
2613
+ declare const index$5_getClosePositionInstructionDataEncoder: typeof getClosePositionInstructionDataEncoder;
2614
+ declare const index$5_getCollectFeesDiscriminatorBytes: typeof getCollectFeesDiscriminatorBytes;
2615
+ declare const index$5_getCollectFeesInstruction: typeof getCollectFeesInstruction;
2616
+ declare const index$5_getCollectFeesInstructionAsync: typeof getCollectFeesInstructionAsync;
2617
+ declare const index$5_getCollectFeesInstructionDataCodec: typeof getCollectFeesInstructionDataCodec;
2618
+ declare const index$5_getCollectFeesInstructionDataDecoder: typeof getCollectFeesInstructionDataDecoder;
2619
+ declare const index$5_getCollectFeesInstructionDataEncoder: typeof getCollectFeesInstructionDataEncoder;
2620
+ declare const index$5_getCollectProtocolFeesDiscriminatorBytes: typeof getCollectProtocolFeesDiscriminatorBytes;
2621
+ declare const index$5_getCollectProtocolFeesInstruction: typeof getCollectProtocolFeesInstruction;
2622
+ declare const index$5_getCollectProtocolFeesInstructionAsync: typeof getCollectProtocolFeesInstructionAsync;
2623
+ declare const index$5_getCollectProtocolFeesInstructionDataCodec: typeof getCollectProtocolFeesInstructionDataCodec;
2624
+ declare const index$5_getCollectProtocolFeesInstructionDataDecoder: typeof getCollectProtocolFeesInstructionDataDecoder;
2625
+ declare const index$5_getCollectProtocolFeesInstructionDataEncoder: typeof getCollectProtocolFeesInstructionDataEncoder;
2626
+ declare const index$5_getCreatePositionDiscriminatorBytes: typeof getCreatePositionDiscriminatorBytes;
2627
+ declare const index$5_getCreatePositionInstruction: typeof getCreatePositionInstruction;
2628
+ declare const index$5_getCreatePositionInstructionAsync: typeof getCreatePositionInstructionAsync;
2629
+ declare const index$5_getCreatePositionInstructionDataCodec: typeof getCreatePositionInstructionDataCodec;
2630
+ declare const index$5_getCreatePositionInstructionDataDecoder: typeof getCreatePositionInstructionDataDecoder;
2631
+ declare const index$5_getCreatePositionInstructionDataEncoder: typeof getCreatePositionInstructionDataEncoder;
2632
+ declare const index$5_getErrorMessage: typeof getErrorMessage;
2633
+ declare const index$5_getInitializeOracleInstructionAsync: typeof getInitializeOracleInstructionAsync;
2634
+ declare const index$5_getInitializePoolDiscriminatorBytes: typeof getInitializePoolDiscriminatorBytes;
2635
+ declare const index$5_getInitializePoolInstruction: typeof getInitializePoolInstruction;
2636
+ declare const index$5_getInitializePoolInstructionAsync: typeof getInitializePoolInstructionAsync;
2637
+ declare const index$5_getInitializePoolInstructionDataCodec: typeof getInitializePoolInstructionDataCodec;
2638
+ declare const index$5_getInitializePoolInstructionDataDecoder: typeof getInitializePoolInstructionDataDecoder;
2639
+ declare const index$5_getInitializePoolInstructionDataEncoder: typeof getInitializePoolInstructionDataEncoder;
2640
+ declare const index$5_getK: typeof getK;
2641
+ declare const index$5_getLiquidityAddresses: typeof getLiquidityAddresses;
2642
+ declare const index$5_getMetadataAddress: typeof getMetadataAddress;
2643
+ declare const index$5_getOracleAddress: typeof getOracleAddress;
2644
+ declare const index$5_getOracleAddressFromPool: typeof getOracleAddressFromPool;
2645
+ declare const index$5_getOracleAge: typeof getOracleAge;
2646
+ declare const index$5_getOracleBufferStats: typeof getOracleBufferStats;
2647
+ declare const index$5_getOracleConsultDiscriminatorBytes: typeof getOracleConsultDiscriminatorBytes;
2648
+ declare const index$5_getOracleConsultInstruction: typeof getOracleConsultInstruction;
2649
+ declare const index$5_getOracleConsultInstructionAsync: typeof getOracleConsultInstructionAsync;
2650
+ declare const index$5_getOracleConsultInstructionDataCodec: typeof getOracleConsultInstructionDataCodec;
2651
+ declare const index$5_getOracleConsultInstructionDataDecoder: typeof getOracleConsultInstructionDataDecoder;
2652
+ declare const index$5_getOracleConsultInstructionDataEncoder: typeof getOracleConsultInstructionDataEncoder;
2653
+ declare const index$5_getOracleDeviation: typeof getOracleDeviation;
2654
+ declare const index$5_getOracleForPool: typeof getOracleForPool;
2655
+ declare const index$5_getOracleSpotPrices: typeof getOracleSpotPrices;
2656
+ declare const index$5_getOracleUpdateDiscriminatorBytes: typeof getOracleUpdateDiscriminatorBytes;
2657
+ declare const index$5_getOracleUpdateInstruction: typeof getOracleUpdateInstruction;
2658
+ declare const index$5_getOracleUpdateInstructionAsync: typeof getOracleUpdateInstructionAsync;
2659
+ declare const index$5_getOracleUpdateInstructionDataCodec: typeof getOracleUpdateInstructionDataCodec;
2660
+ declare const index$5_getOracleUpdateInstructionDataDecoder: typeof getOracleUpdateInstructionDataDecoder;
2661
+ declare const index$5_getOracleUpdateInstructionDataEncoder: typeof getOracleUpdateInstructionDataEncoder;
2662
+ declare const index$5_getPauseDiscriminatorBytes: typeof getPauseDiscriminatorBytes;
2663
+ declare const index$5_getPauseInstruction: typeof getPauseInstruction;
2664
+ declare const index$5_getPauseInstructionDataCodec: typeof getPauseInstructionDataCodec;
2665
+ declare const index$5_getPauseInstructionDataDecoder: typeof getPauseInstructionDataDecoder;
2666
+ declare const index$5_getPauseInstructionDataEncoder: typeof getPauseInstructionDataEncoder;
2667
+ declare const index$5_getPendingFees: typeof getPendingFees;
2668
+ declare const index$5_getPoolAddress: typeof getPoolAddress;
2669
+ declare const index$5_getPoolAddressFromMints: typeof getPoolAddressFromMints;
2670
+ declare const index$5_getPoolAuthorityAddress: typeof getPoolAuthorityAddress;
2671
+ declare const index$5_getPoolByMints: typeof getPoolByMints;
2672
+ declare const index$5_getPoolInitAddresses: typeof getPoolInitAddresses;
2673
+ declare const index$5_getPoolVault0Address: typeof getPoolVault0Address;
2674
+ declare const index$5_getPoolVault1Address: typeof getPoolVault1Address;
2675
+ declare const index$5_getPositionAddress: typeof getPositionAddress;
2676
+ declare const index$5_getPositionAddressFromParams: typeof getPositionAddressFromParams;
2677
+ declare const index$5_getPositionValue: typeof getPositionValue;
2678
+ declare const index$5_getPreviewSwapExactInDiscriminatorBytes: typeof getPreviewSwapExactInDiscriminatorBytes;
2679
+ declare const index$5_getPreviewSwapExactInInstruction: typeof getPreviewSwapExactInInstruction;
2680
+ declare const index$5_getPreviewSwapExactInInstructionDataCodec: typeof getPreviewSwapExactInInstructionDataCodec;
2681
+ declare const index$5_getPreviewSwapExactInInstructionDataDecoder: typeof getPreviewSwapExactInInstructionDataDecoder;
2682
+ declare const index$5_getPreviewSwapExactInInstructionDataEncoder: typeof getPreviewSwapExactInInstructionDataEncoder;
2683
+ declare const index$5_getProtocolFeePositionAddress: typeof getProtocolFeePositionAddress;
2684
+ declare const index$5_getQuoteToNumeraireDiscriminatorBytes: typeof getQuoteToNumeraireDiscriminatorBytes;
2685
+ declare const index$5_getQuoteToNumeraireInstruction: typeof getQuoteToNumeraireInstruction;
2686
+ declare const index$5_getQuoteToNumeraireInstructionDataCodec: typeof getQuoteToNumeraireInstructionDataCodec;
2687
+ declare const index$5_getQuoteToNumeraireInstructionDataDecoder: typeof getQuoteToNumeraireInstructionDataDecoder;
2688
+ declare const index$5_getQuoteToNumeraireInstructionDataEncoder: typeof getQuoteToNumeraireInstructionDataEncoder;
2689
+ declare const index$5_getRemoveLiquidityDiscriminatorBytes: typeof getRemoveLiquidityDiscriminatorBytes;
2690
+ declare const index$5_getRemoveLiquidityInstruction: typeof getRemoveLiquidityInstruction;
2691
+ declare const index$5_getRemoveLiquidityInstructionAsync: typeof getRemoveLiquidityInstructionAsync;
2692
+ declare const index$5_getRemoveLiquidityInstructionDataCodec: typeof getRemoveLiquidityInstructionDataCodec;
2693
+ declare const index$5_getRemoveLiquidityInstructionDataDecoder: typeof getRemoveLiquidityInstructionDataDecoder;
2694
+ declare const index$5_getRemoveLiquidityInstructionDataEncoder: typeof getRemoveLiquidityInstructionDataEncoder;
2695
+ declare const index$5_getRemoveLiquidityQuote: typeof getRemoveLiquidityQuote;
2696
+ declare const index$5_getSetFeesDiscriminatorBytes: typeof getSetFeesDiscriminatorBytes;
2697
+ declare const index$5_getSetFeesInstruction: typeof getSetFeesInstruction;
2698
+ declare const index$5_getSetFeesInstructionDataCodec: typeof getSetFeesInstructionDataCodec;
2699
+ declare const index$5_getSetFeesInstructionDataDecoder: typeof getSetFeesInstructionDataDecoder;
2700
+ declare const index$5_getSetFeesInstructionDataEncoder: typeof getSetFeesInstructionDataEncoder;
2701
+ declare const index$5_getSetHookDiscriminatorBytes: typeof getSetHookDiscriminatorBytes;
2702
+ declare const index$5_getSetHookInstruction: typeof getSetHookInstruction;
2703
+ declare const index$5_getSetHookInstructionDataCodec: typeof getSetHookInstructionDataCodec;
2704
+ declare const index$5_getSetHookInstructionDataDecoder: typeof getSetHookInstructionDataDecoder;
2705
+ declare const index$5_getSetHookInstructionDataEncoder: typeof getSetHookInstructionDataEncoder;
2706
+ declare const index$5_getSetRouteDiscriminatorBytes: typeof getSetRouteDiscriminatorBytes;
2707
+ declare const index$5_getSetRouteInstruction: typeof getSetRouteInstruction;
2708
+ declare const index$5_getSetRouteInstructionDataCodec: typeof getSetRouteInstructionDataCodec;
2709
+ declare const index$5_getSetRouteInstructionDataDecoder: typeof getSetRouteInstructionDataDecoder;
2710
+ declare const index$5_getSetRouteInstructionDataEncoder: typeof getSetRouteInstructionDataEncoder;
2711
+ declare const index$5_getSpotPrice0: typeof getSpotPrice0;
2712
+ declare const index$5_getSpotPrice1: typeof getSpotPrice1;
2713
+ declare const index$5_getSwapAddresses: typeof getSwapAddresses;
2714
+ declare const index$5_getSwapExactInDiscriminatorBytes: typeof getSwapExactInDiscriminatorBytes;
2715
+ declare const index$5_getSwapExactInInstruction: typeof getSwapExactInInstruction;
2716
+ declare const index$5_getSwapExactInInstructionAsync: typeof getSwapExactInInstructionAsync;
2717
+ declare const index$5_getSwapExactInInstructionDataCodec: typeof getSwapExactInInstructionDataCodec;
2718
+ declare const index$5_getSwapExactInInstructionDataDecoder: typeof getSwapExactInInstructionDataDecoder;
2719
+ declare const index$5_getSwapExactInInstructionDataEncoder: typeof getSwapExactInInstructionDataEncoder;
2720
+ declare const index$5_getSwapQuote: typeof getSwapQuote;
2721
+ declare const index$5_getSwapQuoteExactOut: typeof getSwapQuoteExactOut;
2722
+ declare const index$5_getTransferAdminDiscriminatorBytes: typeof getTransferAdminDiscriminatorBytes;
2723
+ declare const index$5_getTransferAdminInstruction: typeof getTransferAdminInstruction;
2724
+ declare const index$5_getTransferAdminInstructionDataCodec: typeof getTransferAdminInstructionDataCodec;
2725
+ declare const index$5_getTransferAdminInstructionDataDecoder: typeof getTransferAdminInstructionDataDecoder;
2726
+ declare const index$5_getTransferAdminInstructionDataEncoder: typeof getTransferAdminInstructionDataEncoder;
2727
+ declare const index$5_getTvl: typeof getTvl;
2728
+ declare const index$5_getUnpauseDiscriminatorBytes: typeof getUnpauseDiscriminatorBytes;
2729
+ declare const index$5_getUnpauseInstruction: typeof getUnpauseInstruction;
2730
+ declare const index$5_getUnpauseInstructionDataCodec: typeof getUnpauseInstructionDataCodec;
2731
+ declare const index$5_getUnpauseInstructionDataDecoder: typeof getUnpauseInstructionDataDecoder;
2732
+ declare const index$5_getUnpauseInstructionDataEncoder: typeof getUnpauseInstructionDataEncoder;
2733
+ declare const index$5_getUpdateConfigDiscriminatorBytes: typeof getUpdateConfigDiscriminatorBytes;
2734
+ declare const index$5_getUpdateConfigInstruction: typeof getUpdateConfigInstruction;
2735
+ declare const index$5_getUpdateConfigInstructionDataCodec: typeof getUpdateConfigInstructionDataCodec;
2736
+ declare const index$5_getUpdateConfigInstructionDataDecoder: typeof getUpdateConfigInstructionDataDecoder;
2737
+ declare const index$5_getUpdateConfigInstructionDataEncoder: typeof getUpdateConfigInstructionDataEncoder;
2738
+ declare const index$5_getWithdrawVaultExcessDiscriminatorBytes: typeof getWithdrawVaultExcessDiscriminatorBytes;
2739
+ declare const index$5_getWithdrawVaultExcessInstruction: typeof getWithdrawVaultExcessInstruction;
2740
+ declare const index$5_getWithdrawVaultExcessInstructionAsync: typeof getWithdrawVaultExcessInstructionAsync;
2741
+ declare const index$5_getWithdrawVaultExcessInstructionDataCodec: typeof getWithdrawVaultExcessInstructionDataCodec;
2742
+ declare const index$5_getWithdrawVaultExcessInstructionDataDecoder: typeof getWithdrawVaultExcessInstructionDataDecoder;
2743
+ declare const index$5_getWithdrawVaultExcessInstructionDataEncoder: typeof getWithdrawVaultExcessInstructionDataEncoder;
2744
+ declare const index$5_initializeConfigArgsCodec: typeof initializeConfigArgsCodec;
2745
+ declare const index$5_initializeOracleArgsCodec: typeof initializeOracleArgsCodec;
2746
+ declare const index$5_initializePoolArgsCodec: typeof initializePoolArgsCodec;
2747
+ declare const index$5_isCpmmError: typeof isCpmmError;
2748
+ declare const index$5_isOracleStale: typeof isOracleStale;
2749
+ declare const index$5_isqrt: typeof isqrt;
2750
+ declare const index$5_marketCapToCurveParams: typeof marketCapToCurveParams;
2751
+ declare const index$5_marketCapToSingleCurveParams: typeof marketCapToSingleCurveParams;
2752
+ declare const index$5_marketCapToTokenPrice: typeof marketCapToTokenPrice;
2753
+ declare const index$5_maxBigInt: typeof maxBigInt;
2754
+ declare const index$5_minBigInt: typeof minBigInt;
2755
+ declare const index$5_numberToQ64: typeof numberToQ64;
2756
+ declare const index$5_observationCodec: typeof observationCodec;
2757
+ declare const index$5_oracleConsultArgsCodec: typeof oracleConsultArgsCodec;
2758
+ declare const index$5_oracleStateDataCodec: typeof oracleStateDataCodec;
2759
+ declare const index$5_parseAddLiquidityInstruction: typeof parseAddLiquidityInstruction;
2760
+ declare const index$5_parseClosePositionInstruction: typeof parseClosePositionInstruction;
2761
+ declare const index$5_parseCollectFeesInstruction: typeof parseCollectFeesInstruction;
2762
+ declare const index$5_parseCollectProtocolFeesInstruction: typeof parseCollectProtocolFeesInstruction;
2763
+ declare const index$5_parseCreatePositionInstruction: typeof parseCreatePositionInstruction;
2764
+ declare const index$5_parseErrorFromLogs: typeof parseErrorFromLogs;
2765
+ declare const index$5_parseInitializePoolInstruction: typeof parseInitializePoolInstruction;
2766
+ declare const index$5_parseOracleConsultInstruction: typeof parseOracleConsultInstruction;
2767
+ declare const index$5_parseOracleUpdateInstruction: typeof parseOracleUpdateInstruction;
2768
+ declare const index$5_parsePauseInstruction: typeof parsePauseInstruction;
2769
+ declare const index$5_parsePreviewSwapExactInInstruction: typeof parsePreviewSwapExactInInstruction;
2770
+ declare const index$5_parseQuoteToNumeraireInstruction: typeof parseQuoteToNumeraireInstruction;
2771
+ declare const index$5_parseRemoveLiquidityInstruction: typeof parseRemoveLiquidityInstruction;
2772
+ declare const index$5_parseSetFeesInstruction: typeof parseSetFeesInstruction;
2773
+ declare const index$5_parseSetHookInstruction: typeof parseSetHookInstruction;
2774
+ declare const index$5_parseSetRouteInstruction: typeof parseSetRouteInstruction;
2775
+ declare const index$5_parseSwapExactInInstruction: typeof parseSwapExactInInstruction;
2776
+ declare const index$5_parseTransferAdminInstruction: typeof parseTransferAdminInstruction;
2777
+ declare const index$5_parseUnpauseInstruction: typeof parseUnpauseInstruction;
2778
+ declare const index$5_parseUpdateConfigInstruction: typeof parseUpdateConfigInstruction;
2779
+ declare const index$5_parseWithdrawVaultExcessInstruction: typeof parseWithdrawVaultExcessInstruction;
2780
+ declare const index$5_poolDataCodec: typeof poolDataCodec;
2781
+ declare const index$5_poolExists: typeof poolExists;
2782
+ declare const index$5_positionDataCodec: typeof positionDataCodec;
2783
+ declare const index$5_q64Div: typeof q64Div;
2784
+ declare const index$5_q64Mul: typeof q64Mul;
2785
+ declare const index$5_q64ToNumber: typeof q64ToNumber;
2786
+ declare const index$5_quoteToNumeraireArgsCodec: typeof quoteToNumeraireArgsCodec;
2787
+ declare const index$5_ratioToNumber: typeof ratioToNumber;
2788
+ declare const index$5_removeLiquidityArgsCodec: typeof removeLiquidityArgsCodec;
2789
+ declare const index$5_setFeesArgsCodec: typeof setFeesArgsCodec;
2790
+ declare const index$5_setHookArgsCodec: typeof setHookArgsCodec;
2791
+ declare const index$5_setRouteArgsCodec: typeof setRouteArgsCodec;
2792
+ declare const index$5_sortMints: typeof sortMints;
2793
+ declare const index$5_sortPoolsByReserves: typeof sortPoolsByReserves;
2794
+ declare const index$5_sortPositionsByShares: typeof sortPositionsByShares;
2795
+ declare const index$5_swapExactInArgsCodec: typeof swapExactInArgsCodec;
2796
+ declare const index$5_transferAdminArgsCodec: typeof transferAdminArgsCodec;
2797
+ declare const index$5_validateMarketCapParameters: typeof validateMarketCapParameters;
2798
+ declare namespace index$5 {
2799
+ 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 };
2800
+ }
2801
+
2802
+ /**
2803
+ * This code was AUTOGENERATED using the Codama library.
2804
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2805
+ * to add features, then rerun Codama to update it.
2806
+ *
2807
+ * @see https://github.com/codama-idl/codama
2808
+ */
2809
+
2810
+ declare const COSIGNER_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2811
+ declare function getCosignerConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2812
+ type CosignerConfig = {
2813
+ discriminator: ReadonlyUint8Array;
2814
+ adminAuthority: Address;
2815
+ cosignerCount: number;
2816
+ bump: number;
2817
+ version: number;
2818
+ reserved: ReadonlyUint8Array;
2819
+ cosigners: Array<Address>;
2820
+ };
2821
+ type CosignerConfigArgs = {
2822
+ adminAuthority: Address;
2823
+ cosignerCount: number;
2824
+ bump: number;
2825
+ version: number;
2826
+ reserved: ReadonlyUint8Array;
2827
+ cosigners: Array<Address>;
2828
+ };
2829
+ /** Gets the encoder for {@link CosignerConfigArgs} account data. */
2830
+ declare function getCosignerConfigEncoder(): FixedSizeEncoder<CosignerConfigArgs>;
2831
+ /** Gets the decoder for {@link CosignerConfig} account data. */
2832
+ declare function getCosignerConfigDecoder(): FixedSizeDecoder<CosignerConfig>;
2833
+ /** Gets the codec for {@link CosignerConfig} account data. */
2834
+ declare function getCosignerConfigCodec(): FixedSizeCodec<CosignerConfigArgs, CosignerConfig>;
2835
+ declare function decodeCosignerConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<CosignerConfig, TAddress>;
2836
+ declare function decodeCosignerConfig<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<CosignerConfig, TAddress>;
2837
+ declare function fetchCosignerConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<CosignerConfig, TAddress>>;
2838
+ declare function fetchMaybeCosignerConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<CosignerConfig, TAddress>>;
2839
+ declare function fetchAllCosignerConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<CosignerConfig>[]>;
2840
+ declare function fetchAllMaybeCosignerConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<CosignerConfig>[]>;
2841
+ declare function getCosignerConfigSize(): number;
2842
+
2843
+ /**
2844
+ * This code was AUTOGENERATED using the Codama library.
2845
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2846
+ * to add features, then rerun Codama to update it.
2847
+ *
2848
+ * @see https://github.com/codama-idl/codama
2849
+ */
2850
+
2851
+ /** InvalidConfig: Invalid cosigner hook config */
2852
+ declare const COSIGNER_HOOK_ERROR__INVALID_CONFIG = 6000;
2853
+ /** InvalidAuthority: Invalid cosigner hook authority */
2854
+ declare const COSIGNER_HOOK_ERROR__INVALID_AUTHORITY = 6001;
2855
+ /** InvalidCosigner: Invalid cosigner key */
2856
+ declare const COSIGNER_HOOK_ERROR__INVALID_COSIGNER = 6002;
2857
+ /** CosignerAlreadyExists: Cosigner already exists */
2858
+ declare const COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS = 6003;
2859
+ /** CosignerNotFound: Cosigner not found */
2860
+ declare const COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND = 6004;
2861
+ /** CosignerListFull: Cosigner list is full */
2862
+ declare const COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL = 6005;
2863
+ type CosignerHookError = typeof COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS | typeof COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL | typeof COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND | typeof COSIGNER_HOOK_ERROR__INVALID_AUTHORITY | typeof COSIGNER_HOOK_ERROR__INVALID_CONFIG | typeof COSIGNER_HOOK_ERROR__INVALID_COSIGNER;
2864
+ declare function getCosignerHookErrorMessage(code: CosignerHookError): string;
2865
+ declare function isCosignerHookError<TProgramErrorCode extends CosignerHookError>(error: unknown, transactionMessage: {
2866
+ instructions: Record<number, {
2867
+ programAddress: Address;
2868
+ }>;
2869
+ }, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
2870
+ context: Readonly<{
2871
+ code: TProgramErrorCode;
2872
+ }>;
2873
+ }>;
2874
+
2875
+ /**
2876
+ * This code was AUTOGENERATED using the Codama library.
2877
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2878
+ * to add features, then rerun Codama to update it.
2879
+ *
2880
+ * @see https://github.com/codama-idl/codama
2881
+ */
2882
+
2883
+ declare const COSIGNER_HOOK_PROGRAM_ADDRESS: Address<"JDwnBoYE2NsmkQjQLHi1btQxeHirtJ9XjU1dM641QZt">;
2884
+ declare enum CosignerHookAccount {
2885
+ CosignerConfig = 0
2886
+ }
2887
+ declare function identifyCosignerHookAccount(account: {
2888
+ data: ReadonlyUint8Array;
2889
+ } | ReadonlyUint8Array): CosignerHookAccount;
2890
+ declare enum CosignerHookInstruction {
2891
+ AddCosigner = 0,
2892
+ InitializeConfig = 1,
2893
+ RemoveCosigner = 2,
2894
+ SetAuthority = 3
2895
+ }
2896
+ declare function identifyCosignerHookInstruction(instruction: {
2897
+ data: ReadonlyUint8Array;
2898
+ } | ReadonlyUint8Array): CosignerHookInstruction;
2899
+ type ParsedCosignerHookInstruction<TProgram extends string = 'JDwnBoYE2NsmkQjQLHi1btQxeHirtJ9XjU1dM641QZt'> = ({
2900
+ instructionType: CosignerHookInstruction.AddCosigner;
2901
+ } & ParsedAddCosignerInstruction<TProgram>) | ({
2902
+ instructionType: CosignerHookInstruction.InitializeConfig;
2903
+ } & ParsedInitializeConfigInstruction<TProgram>) | ({
2904
+ instructionType: CosignerHookInstruction.RemoveCosigner;
2905
+ } & ParsedRemoveCosignerInstruction<TProgram>) | ({
2906
+ instructionType: CosignerHookInstruction.SetAuthority;
2907
+ } & ParsedSetAuthorityInstruction<TProgram>);
2908
+ declare function parseCosignerHookInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedCosignerHookInstruction<TProgram>;
2909
+ type CosignerHookPlugin = {
2910
+ accounts: CosignerHookPluginAccounts;
2911
+ instructions: CosignerHookPluginInstructions;
2912
+ };
2913
+ type CosignerHookPluginAccounts = {
2914
+ cosignerConfig: ReturnType<typeof getCosignerConfigCodec> & SelfFetchFunctions<CosignerConfigArgs, CosignerConfig>;
2915
+ };
2916
+ type CosignerHookPluginInstructions = {
2917
+ addCosigner: (input: AddCosignerAsyncInput) => ReturnType<typeof getAddCosignerInstructionAsync> & SelfPlanAndSendFunctions;
2918
+ initializeConfig: (input: MakeOptional$1<InitializeConfigAsyncInput, 'payer'>) => ReturnType<typeof getInitializeConfigInstructionAsync> & SelfPlanAndSendFunctions;
2919
+ removeCosigner: (input: RemoveCosignerAsyncInput) => ReturnType<typeof getRemoveCosignerInstructionAsync> & SelfPlanAndSendFunctions;
2920
+ setAuthority: (input: SetAuthorityAsyncInput) => ReturnType<typeof getSetAuthorityInstructionAsync> & SelfPlanAndSendFunctions;
2921
+ };
2922
+ type CosignerHookPluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
2923
+ declare function cosignerHookProgram(): <T extends CosignerHookPluginRequirements>(client: T) => T & {
2924
+ cosignerHook: CosignerHookPlugin;
2925
+ };
2926
+ type MakeOptional$1<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
2927
+
2928
+ /**
2929
+ * This code was AUTOGENERATED using the Codama library.
2930
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2931
+ * to add features, then rerun Codama to update it.
2932
+ *
2933
+ * @see https://github.com/codama-idl/codama
2934
+ */
2935
+
2936
+ declare const ADD_COSIGNER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2937
+ declare function getAddCosignerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2938
+ type AddCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2939
+ TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
2940
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
2941
+ ...TRemainingAccounts
2942
+ ]>;
2943
+ type AddCosignerInstructionData = {
2944
+ discriminator: ReadonlyUint8Array;
2945
+ cosigner: Address;
2946
+ };
2947
+ type AddCosignerInstructionDataArgs = {
2948
+ cosigner: Address;
2949
+ };
2950
+ declare function getAddCosignerInstructionDataEncoder(): FixedSizeEncoder<AddCosignerInstructionDataArgs>;
2951
+ declare function getAddCosignerInstructionDataDecoder(): FixedSizeDecoder<AddCosignerInstructionData>;
2952
+ declare function getAddCosignerInstructionDataCodec(): FixedSizeCodec<AddCosignerInstructionDataArgs, AddCosignerInstructionData>;
2953
+ type AddCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
2954
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
2955
+ config?: Address<TAccountConfig>;
2956
+ cosigner: AddCosignerInstructionDataArgs['cosigner'];
2957
+ };
2958
+ declare function getAddCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: AddCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
2959
+ programAddress?: TProgramAddress;
2960
+ }): Promise<AddCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
2961
+ type AddCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
2962
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
2963
+ config: Address<TAccountConfig>;
2964
+ cosigner: AddCosignerInstructionDataArgs['cosigner'];
2965
+ };
2966
+ declare function getAddCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: AddCosignerInput<TAccountAdminAuthority, TAccountConfig>, config?: {
2967
+ programAddress?: TProgramAddress;
2968
+ }): AddCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
2969
+ type ParsedAddCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2970
+ programAddress: Address<TProgram>;
2971
+ accounts: {
2972
+ adminAuthority: TAccountMetas[0];
2973
+ config: TAccountMetas[1];
2974
+ };
2975
+ data: AddCosignerInstructionData;
2976
+ };
2977
+ declare function parseAddCosignerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddCosignerInstruction<TProgram, TAccountMetas>;
2978
+
2979
+ /**
2980
+ * This code was AUTOGENERATED using the Codama library.
2981
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2982
+ * to add features, then rerun Codama to update it.
2983
+ *
2984
+ * @see https://github.com/codama-idl/codama
2985
+ */
2986
+
2987
+ declare const INITIALIZE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2988
+ declare function getInitializeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2989
+ type InitializeConfigInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2990
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2991
+ TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
2992
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
2993
+ TAccountProgramData extends string ? ReadonlyAccount<TAccountProgramData> : TAccountProgramData,
2994
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2995
+ ...TRemainingAccounts
2996
+ ]>;
2997
+ type InitializeConfigInstructionData = {
2998
+ discriminator: ReadonlyUint8Array;
2999
+ cosigners: Array<Address>;
3000
+ };
3001
+ type InitializeConfigInstructionDataArgs = {
3002
+ cosigners: Array<Address>;
3003
+ };
3004
+ declare function getInitializeConfigInstructionDataEncoder(): Encoder<InitializeConfigInstructionDataArgs>;
3005
+ declare function getInitializeConfigInstructionDataDecoder(): Decoder<InitializeConfigInstructionData>;
3006
+ declare function getInitializeConfigInstructionDataCodec(): Codec<InitializeConfigInstructionDataArgs, InitializeConfigInstructionData>;
3007
+ type InitializeConfigAsyncInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = {
3008
+ payer: TransactionSigner<TAccountPayer>;
3009
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3010
+ config?: Address<TAccountConfig>;
3011
+ programData: Address<TAccountProgramData>;
3012
+ systemProgram?: Address<TAccountSystemProgram>;
3013
+ cosigners: InitializeConfigInstructionDataArgs['cosigners'];
3014
+ };
3015
+ declare function getInitializeConfigInstructionAsync<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: InitializeConfigAsyncInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>, config?: {
3016
+ programAddress?: TProgramAddress;
3017
+ }): Promise<InitializeConfigInstruction<TProgramAddress, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>>;
3018
+ type InitializeConfigInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = {
3019
+ payer: TransactionSigner<TAccountPayer>;
3020
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3021
+ config: Address<TAccountConfig>;
3022
+ programData: Address<TAccountProgramData>;
3023
+ systemProgram?: Address<TAccountSystemProgram>;
3024
+ cosigners: InitializeConfigInstructionDataArgs['cosigners'];
3025
+ };
3026
+ declare function getInitializeConfigInstruction<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: InitializeConfigInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>, config?: {
3027
+ programAddress?: TProgramAddress;
3028
+ }): InitializeConfigInstruction<TProgramAddress, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
3029
+ type ParsedInitializeConfigInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3030
+ programAddress: Address<TProgram>;
3031
+ accounts: {
3032
+ payer: TAccountMetas[0];
3033
+ adminAuthority: TAccountMetas[1];
3034
+ config: TAccountMetas[2];
3035
+ programData: TAccountMetas[3];
3036
+ systemProgram: TAccountMetas[4];
3037
+ };
3038
+ data: InitializeConfigInstructionData;
3039
+ };
3040
+ declare function parseInitializeConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
3041
+
3042
+ /**
3043
+ * This code was AUTOGENERATED using the Codama library.
3044
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3045
+ * to add features, then rerun Codama to update it.
3046
+ *
3047
+ * @see https://github.com/codama-idl/codama
3048
+ */
3049
+
3050
+ declare const REMOVE_COSIGNER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3051
+ declare function getRemoveCosignerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
3052
+ type RemoveCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3053
+ TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
3054
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
3055
+ ...TRemainingAccounts
3056
+ ]>;
3057
+ type RemoveCosignerInstructionData = {
3058
+ discriminator: ReadonlyUint8Array;
3059
+ cosigner: Address;
3060
+ };
3061
+ type RemoveCosignerInstructionDataArgs = {
3062
+ cosigner: Address;
3063
+ };
3064
+ declare function getRemoveCosignerInstructionDataEncoder(): FixedSizeEncoder<RemoveCosignerInstructionDataArgs>;
3065
+ declare function getRemoveCosignerInstructionDataDecoder(): FixedSizeDecoder<RemoveCosignerInstructionData>;
3066
+ declare function getRemoveCosignerInstructionDataCodec(): FixedSizeCodec<RemoveCosignerInstructionDataArgs, RemoveCosignerInstructionData>;
3067
+ type RemoveCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
3068
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3069
+ config?: Address<TAccountConfig>;
3070
+ cosigner: RemoveCosignerInstructionDataArgs['cosigner'];
3071
+ };
3072
+ declare function getRemoveCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: RemoveCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
3073
+ programAddress?: TProgramAddress;
3074
+ }): Promise<RemoveCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
3075
+ type RemoveCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
3076
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3077
+ config: Address<TAccountConfig>;
3078
+ cosigner: RemoveCosignerInstructionDataArgs['cosigner'];
3079
+ };
3080
+ declare function getRemoveCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: RemoveCosignerInput<TAccountAdminAuthority, TAccountConfig>, config?: {
3081
+ programAddress?: TProgramAddress;
3082
+ }): RemoveCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
3083
+ type ParsedRemoveCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3084
+ programAddress: Address<TProgram>;
3085
+ accounts: {
3086
+ adminAuthority: TAccountMetas[0];
3087
+ config: TAccountMetas[1];
3088
+ };
3089
+ data: RemoveCosignerInstructionData;
3090
+ };
3091
+ declare function parseRemoveCosignerInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveCosignerInstruction<TProgram, TAccountMetas>;
3092
+
3093
+ /**
3094
+ * This code was AUTOGENERATED using the Codama library.
3095
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3096
+ * to add features, then rerun Codama to update it.
3097
+ *
3098
+ * @see https://github.com/codama-idl/codama
3099
+ */
3100
+
3101
+ declare const SET_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3102
+ declare function getSetAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
3103
+ type SetAuthorityInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3104
+ TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
3105
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
3106
+ ...TRemainingAccounts
3107
+ ]>;
3108
+ type SetAuthorityInstructionData = {
3109
+ discriminator: ReadonlyUint8Array;
3110
+ adminAuthority: Address;
3111
+ };
3112
+ type SetAuthorityInstructionDataArgs = {
3113
+ adminAuthority: Address;
3114
+ };
3115
+ declare function getSetAuthorityInstructionDataEncoder(): FixedSizeEncoder<SetAuthorityInstructionDataArgs>;
3116
+ declare function getSetAuthorityInstructionDataDecoder(): FixedSizeDecoder<SetAuthorityInstructionData>;
3117
+ declare function getSetAuthorityInstructionDataCodec(): FixedSizeCodec<SetAuthorityInstructionDataArgs, SetAuthorityInstructionData>;
3118
+ type SetAuthorityAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
3119
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3120
+ config?: Address<TAccountConfig>;
3121
+ adminAuthorityArg: SetAuthorityInstructionDataArgs['adminAuthority'];
3122
+ };
3123
+ declare function getSetAuthorityInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: SetAuthorityAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
3124
+ programAddress?: TProgramAddress;
3125
+ }): Promise<SetAuthorityInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
3126
+ type SetAuthorityInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
3127
+ adminAuthority: TransactionSigner<TAccountAdminAuthority>;
3128
+ config: Address<TAccountConfig>;
3129
+ adminAuthorityArg: SetAuthorityInstructionDataArgs['adminAuthority'];
3130
+ };
3131
+ declare function getSetAuthorityInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof COSIGNER_HOOK_PROGRAM_ADDRESS>(input: SetAuthorityInput<TAccountAdminAuthority, TAccountConfig>, config?: {
3132
+ programAddress?: TProgramAddress;
3133
+ }): SetAuthorityInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
3134
+ type ParsedSetAuthorityInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3135
+ programAddress: Address<TProgram>;
3136
+ accounts: {
3137
+ adminAuthority: TAccountMetas[0];
3138
+ config: TAccountMetas[1];
3139
+ };
3140
+ data: SetAuthorityInstructionData;
3141
+ };
3142
+ declare function parseSetAuthorityInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetAuthorityInstruction<TProgram, TAccountMetas>;
3143
+
3144
+ /**
3145
+ * This code was AUTOGENERATED using the Codama library.
3146
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3147
+ * to add features, then rerun Codama to update it.
3148
+ *
3149
+ * @see https://github.com/codama-idl/codama
3150
+ */
3151
+
3152
+ type CosignerArg = {
3153
+ cosigner: Address;
3154
+ };
3155
+ type CosignerArgArgs = CosignerArg;
3156
+ declare function getCosignerArgEncoder(): FixedSizeEncoder<CosignerArgArgs>;
3157
+ declare function getCosignerArgDecoder(): FixedSizeDecoder<CosignerArg>;
3158
+ declare function getCosignerArgCodec(): FixedSizeCodec<CosignerArgArgs, CosignerArg>;
3159
+
3160
+ /**
3161
+ * This code was AUTOGENERATED using the Codama library.
3162
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3163
+ * to add features, then rerun Codama to update it.
3164
+ *
3165
+ * @see https://github.com/codama-idl/codama
3166
+ */
3167
+
3168
+ type InitializeConfigArgs$1 = {
3169
+ cosigners: Array<Address>;
3170
+ };
3171
+ type InitializeConfigArgsArgs$1 = InitializeConfigArgs$1;
3172
+ declare function getInitializeConfigArgsEncoder$1(): Encoder<InitializeConfigArgsArgs$1>;
3173
+ declare function getInitializeConfigArgsDecoder$1(): Decoder<InitializeConfigArgs$1>;
3174
+ declare function getInitializeConfigArgsCodec$1(): Codec<InitializeConfigArgsArgs$1, InitializeConfigArgs$1>;
3175
+
3176
+ /**
3177
+ * This code was AUTOGENERATED using the Codama library.
3178
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3179
+ * to add features, then rerun Codama to update it.
3180
+ *
3181
+ * @see https://github.com/codama-idl/codama
3182
+ */
3183
+
3184
+ type SetAuthorityArgs = {
3185
+ adminAuthority: Address;
3186
+ };
3187
+ type SetAuthorityArgsArgs = SetAuthorityArgs;
3188
+ declare function getSetAuthorityArgsEncoder(): FixedSizeEncoder<SetAuthorityArgsArgs>;
3189
+ declare function getSetAuthorityArgsDecoder(): FixedSizeDecoder<SetAuthorityArgs>;
3190
+ declare function getSetAuthorityArgsCodec(): FixedSizeCodec<SetAuthorityArgsArgs, SetAuthorityArgs>;
3191
+
3192
+ declare const COSIGNER_HOOK_PROGRAM_ID: _solana_addresses.Address<"JDwnBoYE2NsmkQjQLHi1btQxeHirtJ9XjU1dM641QZt">;
3193
+ declare const SEED_COSIGNER_HOOK_CONFIG = "cosigner_hook_config";
3194
+ declare const MAX_COSIGNERS = 32;
3195
+
3196
+ declare function getCosignerHookConfigAddress(programId?: Address): Promise<ProgramDerivedAddress>;
3197
+
3198
+ declare const index$4_ADD_COSIGNER_DISCRIMINATOR: typeof ADD_COSIGNER_DISCRIMINATOR;
3199
+ type index$4_AddCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = AddCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>;
3200
+ type index$4_AddCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = AddCosignerInput<TAccountAdminAuthority, TAccountConfig>;
3201
+ type index$4_AddCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = AddCosignerInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
3202
+ type index$4_AddCosignerInstructionData = AddCosignerInstructionData;
3203
+ type index$4_AddCosignerInstructionDataArgs = AddCosignerInstructionDataArgs;
3204
+ declare const index$4_COSIGNER_CONFIG_DISCRIMINATOR: typeof COSIGNER_CONFIG_DISCRIMINATOR;
3205
+ declare const index$4_COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS: typeof COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS;
3206
+ declare const index$4_COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL: typeof COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL;
3207
+ declare const index$4_COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND: typeof COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND;
3208
+ declare const index$4_COSIGNER_HOOK_ERROR__INVALID_AUTHORITY: typeof COSIGNER_HOOK_ERROR__INVALID_AUTHORITY;
3209
+ declare const index$4_COSIGNER_HOOK_ERROR__INVALID_CONFIG: typeof COSIGNER_HOOK_ERROR__INVALID_CONFIG;
3210
+ declare const index$4_COSIGNER_HOOK_ERROR__INVALID_COSIGNER: typeof COSIGNER_HOOK_ERROR__INVALID_COSIGNER;
3211
+ declare const index$4_COSIGNER_HOOK_PROGRAM_ADDRESS: typeof COSIGNER_HOOK_PROGRAM_ADDRESS;
3212
+ declare const index$4_COSIGNER_HOOK_PROGRAM_ID: typeof COSIGNER_HOOK_PROGRAM_ID;
3213
+ type index$4_CosignerArg = CosignerArg;
3214
+ type index$4_CosignerArgArgs = CosignerArgArgs;
3215
+ type index$4_CosignerConfig = CosignerConfig;
3216
+ type index$4_CosignerConfigArgs = CosignerConfigArgs;
3217
+ type index$4_CosignerHookAccount = CosignerHookAccount;
3218
+ declare const index$4_CosignerHookAccount: typeof CosignerHookAccount;
3219
+ type index$4_CosignerHookError = CosignerHookError;
3220
+ type index$4_CosignerHookInstruction = CosignerHookInstruction;
3221
+ declare const index$4_CosignerHookInstruction: typeof CosignerHookInstruction;
3222
+ type index$4_CosignerHookPlugin = CosignerHookPlugin;
3223
+ type index$4_CosignerHookPluginAccounts = CosignerHookPluginAccounts;
3224
+ type index$4_CosignerHookPluginInstructions = CosignerHookPluginInstructions;
3225
+ type index$4_CosignerHookPluginRequirements = CosignerHookPluginRequirements;
2407
3226
  declare const index$4_INITIALIZE_CONFIG_DISCRIMINATOR: typeof INITIALIZE_CONFIG_DISCRIMINATOR;
2408
- declare const index$4_INITIALIZE_POOL_DISCRIMINATOR: typeof INITIALIZE_POOL_DISCRIMINATOR;
2409
- declare const index$4_INSTRUCTION_DISCRIMINATORS: typeof INSTRUCTION_DISCRIMINATORS;
2410
- type index$4_InitializeConfigAsyncInput<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigAsyncInput<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>;
2411
- type index$4_InitializeConfigInput<TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigInput<TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram>;
2412
- type index$4_InitializeConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = InitializeConfigInstruction<TProgram, TAccountConfig, TAccountProgramData, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>;
3227
+ type index$4_InitializeConfigAsyncInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigAsyncInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
3228
+ type index$4_InitializeConfigInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
3229
+ type index$4_InitializeConfigInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = InitializeConfigInstruction<TProgram, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram, TRemainingAccounts>;
2413
3230
  type index$4_InitializeConfigInstructionData = InitializeConfigInstructionData;
2414
3231
  type index$4_InitializeConfigInstructionDataArgs = InitializeConfigInstructionDataArgs;
2415
- type index$4_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>;
2416
- declare const index$4_InitializePoolArgs: typeof InitializePoolArgs;
2417
- type index$4_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>;
2418
- type index$4_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>;
2419
- type index$4_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>;
2420
- type index$4_InitializePoolInstructionData = InitializePoolInstructionData;
2421
- type index$4_InitializePoolInstructionDataArgs = InitializePoolInstructionDataArgs;
2422
- declare const index$4_MAX_FEE_AMOUNT: typeof MAX_FEE_AMOUNT;
2423
- declare const index$4_MAX_ORACLE_OBSERVATIONS: typeof MAX_ORACLE_OBSERVATIONS;
2424
- declare const index$4_MarketCapToCurveParamsInput: typeof MarketCapToCurveParamsInput;
2425
- declare const index$4_MarketCapValidationResult: typeof MarketCapValidationResult;
2426
- declare const index$4_ORACLE_CONSULT_DISCRIMINATOR: typeof ORACLE_CONSULT_DISCRIMINATOR;
2427
- declare const index$4_ORACLE_UPDATE_DISCRIMINATOR: typeof ORACLE_UPDATE_DISCRIMINATOR;
2428
- declare const index$4_Observation: typeof Observation;
2429
- declare const index$4_OracleConsultArgs: typeof OracleConsultArgs;
2430
- type index$4_OracleConsultAsyncInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleConsultAsyncInput<TAccountPool, TAccountOracle>;
2431
- type index$4_OracleConsultInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleConsultInput<TAccountPool, TAccountOracle>;
2432
- type index$4_OracleConsultInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = OracleConsultInstruction<TProgram, TAccountPool, TAccountOracle, TRemainingAccounts>;
2433
- type index$4_OracleConsultInstructionData = OracleConsultInstructionData;
2434
- type index$4_OracleConsultInstructionDataArgs = OracleConsultInstructionDataArgs;
2435
- declare const index$4_OracleInitializedEvent: typeof OracleInitializedEvent;
2436
- type index$4_OracleUpdateAsyncInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleUpdateAsyncInput<TAccountPool, TAccountOracle>;
2437
- type index$4_OracleUpdateInput<TAccountPool extends string = string, TAccountOracle extends string = string> = OracleUpdateInput<TAccountPool, TAccountOracle>;
2438
- type index$4_OracleUpdateInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = OracleUpdateInstruction<TProgram, TAccountPool, TAccountOracle, TRemainingAccounts>;
2439
- type index$4_OracleUpdateInstructionData = OracleUpdateInstructionData;
2440
- type index$4_OracleUpdateInstructionDataArgs = OracleUpdateInstructionDataArgs;
2441
- declare const index$4_OracleUpdatedEvent: typeof OracleUpdatedEvent;
2442
- declare const index$4_OracleWithAddress: typeof OracleWithAddress;
2443
- declare const index$4_PAUSE_DISCRIMINATOR: typeof PAUSE_DISCRIMINATOR;
2444
- declare const index$4_PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR: typeof PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR;
2445
- type index$4_ParsedAddLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedAddLiquidityInstruction<TProgram, TAccountMetas>;
2446
- type index$4_ParsedClosePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedClosePositionInstruction<TProgram, TAccountMetas>;
2447
- type index$4_ParsedCollectFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCollectFeesInstruction<TProgram, TAccountMetas>;
2448
- type index$4_ParsedCollectProtocolFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCollectProtocolFeesInstruction<TProgram, TAccountMetas>;
2449
- type index$4_ParsedCreatePositionInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedCreatePositionInstruction<TProgram, TAccountMetas>;
2450
- type index$4_ParsedInitializeConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
2451
- type index$4_ParsedInitializePoolInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedInitializePoolInstruction<TProgram, TAccountMetas>;
2452
- type index$4_ParsedOracleConsultInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedOracleConsultInstruction<TProgram, TAccountMetas>;
2453
- type index$4_ParsedOracleUpdateInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedOracleUpdateInstruction<TProgram, TAccountMetas>;
2454
- type index$4_ParsedPauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPauseInstruction<TProgram, TAccountMetas>;
2455
- type index$4_ParsedPreviewSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedPreviewSwapExactInInstruction<TProgram, TAccountMetas>;
2456
- type index$4_ParsedQuoteToNumeraireInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedQuoteToNumeraireInstruction<TProgram, TAccountMetas>;
2457
- type index$4_ParsedRemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRemoveLiquidityInstruction<TProgram, TAccountMetas>;
2458
- type index$4_ParsedSetFeesInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetFeesInstruction<TProgram, TAccountMetas>;
2459
- type index$4_ParsedSetHookInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetHookInstruction<TProgram, TAccountMetas>;
2460
- type index$4_ParsedSetRouteInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetRouteInstruction<TProgram, TAccountMetas>;
2461
- type index$4_ParsedSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSwapExactInInstruction<TProgram, TAccountMetas>;
2462
- type index$4_ParsedTransferAdminInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedTransferAdminInstruction<TProgram, TAccountMetas>;
2463
- type index$4_ParsedUnpauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedUnpauseInstruction<TProgram, TAccountMetas>;
2464
- type index$4_ParsedUpdateConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedUpdateConfigInstruction<TProgram, TAccountMetas>;
2465
- type index$4_ParsedWithdrawVaultExcessInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedWithdrawVaultExcessInstruction<TProgram, TAccountMetas>;
2466
- type index$4_PauseInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = PauseInput<TAccountConfig, TAccountAdmin>;
2467
- type index$4_PauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = PauseInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2468
- type index$4_PauseInstructionData = PauseInstructionData;
2469
- type index$4_PauseInstructionDataArgs = PauseInstructionDataArgs;
2470
- declare const index$4_PausedEvent: typeof PausedEvent;
2471
- declare const index$4_Pool: typeof Pool;
2472
- declare const index$4_PoolInitializedEvent: typeof PoolInitializedEvent;
2473
- type index$4_PoolWithAddress = PoolWithAddress;
2474
- declare const index$4_Position: typeof Position;
2475
- declare const index$4_PositionClosedEvent: typeof PositionClosedEvent;
2476
- declare const index$4_PositionCreatedEvent: typeof PositionCreatedEvent;
2477
- declare const index$4_PositionValue: typeof PositionValue;
2478
- declare const index$4_PositionWithAddress: typeof PositionWithAddress;
2479
- type index$4_PreviewSwapExactInInput<TAccountConfig extends string = string, TAccountPool extends string = string> = PreviewSwapExactInInput<TAccountConfig, TAccountPool>;
2480
- type index$4_PreviewSwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = PreviewSwapExactInInstruction<TProgram, TAccountConfig, TAccountPool, TRemainingAccounts>;
2481
- type index$4_PreviewSwapExactInInstructionData = PreviewSwapExactInInstructionData;
2482
- type index$4_PreviewSwapExactInInstructionDataArgs = PreviewSwapExactInInstructionDataArgs;
2483
- declare const index$4_Q64_ONE: typeof Q64_ONE;
2484
- declare const index$4_QUOTE_TO_NUMERAIRE_DISCRIMINATOR: typeof QUOTE_TO_NUMERAIRE_DISCRIMINATOR;
2485
- declare const index$4_QuoteToNumeraireArgs: typeof QuoteToNumeraireArgs;
2486
- type index$4_QuoteToNumeraireInput<TAccountConfig extends string = string, TAccountStartPool extends string = string> = QuoteToNumeraireInput<TAccountConfig, TAccountStartPool>;
2487
- type index$4_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>;
2488
- type index$4_QuoteToNumeraireInstructionData = QuoteToNumeraireInstructionData;
2489
- type index$4_QuoteToNumeraireInstructionDataArgs = QuoteToNumeraireInstructionDataArgs;
2490
- declare const index$4_REMOVE_LIQUIDITY_DISCRIMINATOR: typeof REMOVE_LIQUIDITY_DISCRIMINATOR;
2491
- declare const index$4_RemoveLiquidityArgs: typeof RemoveLiquidityArgs;
2492
- type index$4_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>;
2493
- declare const index$4_RemoveLiquidityEvent: typeof RemoveLiquidityEvent;
2494
- type index$4_RemoveLiquidityInput<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> = RemoveLiquidityInput<TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2495
- type index$4_RemoveLiquidityInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountPosition extends string | AccountMeta<string> = string, TAccountProtocolFeePosition extends string | AccountMeta<string> = string, TAccountOwner 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, TAccountUser0 extends string | AccountMeta<string> = string, TAccountUser1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = RemoveLiquidityInstruction<TProgram, TAccountConfig, TAccountPool, TAccountPosition, TAccountProtocolFeePosition, TAccountOwner, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountUser0, TAccountUser1, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2496
- type index$4_RemoveLiquidityInstructionData = RemoveLiquidityInstructionData;
2497
- type index$4_RemoveLiquidityInstructionDataArgs = RemoveLiquidityInstructionDataArgs;
2498
- declare const index$4_RemoveLiquidityQuote: typeof RemoveLiquidityQuote;
2499
- declare const index$4_RouteUpdatedEvent: typeof RouteUpdatedEvent;
2500
- declare const index$4_SEED_AUTHORITY: typeof SEED_AUTHORITY;
2501
- declare const index$4_SEED_ORACLE: typeof SEED_ORACLE;
2502
- declare const index$4_SEED_POOL: typeof SEED_POOL;
2503
- declare const index$4_SEED_POSITION: typeof SEED_POSITION;
2504
- declare const index$4_SEED_PROTOCOL_FEE_POSITION: typeof SEED_PROTOCOL_FEE_POSITION;
2505
- declare const index$4_SET_FEES_DISCRIMINATOR: typeof SET_FEES_DISCRIMINATOR;
2506
- declare const index$4_SET_HOOK_DISCRIMINATOR: typeof SET_HOOK_DISCRIMINATOR;
2507
- declare const index$4_SET_ROUTE_DISCRIMINATOR: typeof SET_ROUTE_DISCRIMINATOR;
2508
- declare const index$4_SWAP_EXACT_IN_DISCRIMINATOR: typeof SWAP_EXACT_IN_DISCRIMINATOR;
2509
- declare const index$4_SetFeesArgs: typeof SetFeesArgs;
2510
- type index$4_SetFeesInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAdmin extends string = string> = SetFeesInput<TAccountConfig, TAccountPool, TAccountAdmin>;
2511
- type index$4_SetFeesInstruction<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>[] = []> = SetFeesInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAdmin, TRemainingAccounts>;
2512
- type index$4_SetFeesInstructionData = SetFeesInstructionData;
2513
- type index$4_SetFeesInstructionDataArgs = SetFeesInstructionDataArgs;
2514
- declare const index$4_SetHookArgs: typeof SetHookArgs;
2515
- type index$4_SetHookInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountAdmin extends string = string> = SetHookInput<TAccountConfig, TAccountPool, TAccountAdmin>;
2516
- type index$4_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>;
2517
- type index$4_SetHookInstructionData = SetHookInstructionData;
2518
- type index$4_SetHookInstructionDataArgs = SetHookInstructionDataArgs;
2519
- declare const index$4_SetRouteArgs: typeof SetRouteArgs;
2520
- type index$4_SetRouteInput<TAccountConfig extends string = string, TAccountPool extends string = string, TAccountNextPool extends string = string, TAccountAdmin extends string = string> = SetRouteInput<TAccountConfig, TAccountPool, TAccountNextPool, TAccountAdmin>;
2521
- type index$4_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>;
2522
- type index$4_SetRouteInstructionData = SetRouteInstructionData;
2523
- type index$4_SetRouteInstructionDataArgs = SetRouteInstructionDataArgs;
2524
- declare const index$4_SwapEvent: typeof SwapEvent;
2525
- declare const index$4_SwapExactInArgs: typeof SwapExactInArgs;
2526
- type index$4_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>;
2527
- type index$4_SwapExactInInput<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> = SwapExactInInput<TAccountConfig, TAccountPool, TAccountAuthority, TAccountVaultIn, TAccountVaultOut, TAccountToken0Mint, TAccountToken1Mint, TAccountUserIn, TAccountUserOut, TAccountTrader, TAccountToken0Program, TAccountToken1Program, TAccountOracle>;
2528
- type index$4_SwapExactInInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountVaultIn extends string | AccountMeta<string> = string, TAccountVaultOut extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountUserIn extends string | AccountMeta<string> = string, TAccountUserOut extends string | AccountMeta<string> = string, TAccountTrader extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TAccountOracle extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SwapExactInInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAuthority, TAccountVaultIn, TAccountVaultOut, TAccountToken0Mint, TAccountToken1Mint, TAccountUserIn, TAccountUserOut, TAccountTrader, TAccountToken0Program, TAccountToken1Program, TAccountOracle, TRemainingAccounts>;
2529
- type index$4_SwapExactInInstructionData = SwapExactInInstructionData;
2530
- type index$4_SwapExactInInstructionDataArgs = SwapExactInInstructionDataArgs;
2531
- declare const index$4_SwapQuote: typeof SwapQuote;
2532
- declare const index$4_SwapQuoteExactOut: typeof SwapQuoteExactOut;
2533
- declare const index$4_TOKEN_METADATA_PROGRAM_ID: typeof TOKEN_METADATA_PROGRAM_ID;
2534
- declare const index$4_TRANSFER_ADMIN_DISCRIMINATOR: typeof TRANSFER_ADMIN_DISCRIMINATOR;
2535
- declare const index$4_TradeDirection: typeof TradeDirection;
2536
- declare const index$4_TransferAdminArgs: typeof TransferAdminArgs;
2537
- type index$4_TransferAdminInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = TransferAdminInput<TAccountConfig, TAccountAdmin>;
2538
- type index$4_TransferAdminInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = TransferAdminInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2539
- type index$4_TransferAdminInstructionData = TransferAdminInstructionData;
2540
- type index$4_TransferAdminInstructionDataArgs = TransferAdminInstructionDataArgs;
2541
- declare const index$4_TwapResult: typeof TwapResult;
2542
- declare const index$4_UNPAUSE_DISCRIMINATOR: typeof UNPAUSE_DISCRIMINATOR;
2543
- declare const index$4_UPDATE_CONFIG_DISCRIMINATOR: typeof UPDATE_CONFIG_DISCRIMINATOR;
2544
- type index$4_UnpauseInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = UnpauseInput<TAccountConfig, TAccountAdmin>;
2545
- type index$4_UnpauseInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = UnpauseInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2546
- type index$4_UnpauseInstructionData = UnpauseInstructionData;
2547
- type index$4_UnpauseInstructionDataArgs = UnpauseInstructionDataArgs;
2548
- declare const index$4_UnpausedEvent: typeof UnpausedEvent;
2549
- type index$4_UpdateConfigInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = UpdateConfigInput<TAccountConfig, TAccountAdmin>;
2550
- type index$4_UpdateConfigInstruction<TProgram extends string = typeof CPMM_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = UpdateConfigInstruction<TProgram, TAccountConfig, TAccountAdmin, TRemainingAccounts>;
2551
- type index$4_UpdateConfigInstructionData = UpdateConfigInstructionData;
2552
- type index$4_UpdateConfigInstructionDataArgs = UpdateConfigInstructionDataArgs;
2553
- declare const index$4_VaultExcessWithdrawnEvent: typeof VaultExcessWithdrawnEvent;
2554
- declare const index$4_WITHDRAW_VAULT_EXCESS_DISCRIMINATOR: typeof WITHDRAW_VAULT_EXCESS_DISCRIMINATOR;
2555
- type index$4_WithdrawVaultExcessAsyncInput<TAccountConfig extends string = string, TAccountPool 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, TAccountAdminAta0 extends string = string, TAccountAdminAta1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = WithdrawVaultExcessAsyncInput<TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program>;
2556
- type index$4_WithdrawVaultExcessInput<TAccountConfig extends string = string, TAccountPool 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, TAccountAdminAta0 extends string = string, TAccountAdminAta1 extends string = string, TAccountToken0Program extends string = string, TAccountToken1Program extends string = string> = WithdrawVaultExcessInput<TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program>;
2557
- type index$4_WithdrawVaultExcessInstruction<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, 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, TAccountAdminAta0 extends string | AccountMeta<string> = string, TAccountAdminAta1 extends string | AccountMeta<string> = string, TAccountToken0Program extends string | AccountMeta<string> = string, TAccountToken1Program extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = WithdrawVaultExcessInstruction<TProgram, TAccountConfig, TAccountPool, TAccountAdmin, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountAdminAta0, TAccountAdminAta1, TAccountToken0Program, TAccountToken1Program, TRemainingAccounts>;
2558
- type index$4_WithdrawVaultExcessInstructionData = WithdrawVaultExcessInstructionData;
2559
- type index$4_WithdrawVaultExcessInstructionDataArgs = WithdrawVaultExcessInstructionDataArgs;
2560
- declare const index$4_addLiquidityArgsCodec: typeof addLiquidityArgsCodec;
2561
- declare const index$4_ammConfigDataCodec: typeof ammConfigDataCodec;
2562
- declare const index$4_areMintsOrdered: typeof areMintsOrdered;
2563
- declare const index$4_calculateAccruedFees: typeof calculateAccruedFees;
2564
- declare const index$4_calculateTwap: typeof calculateTwap;
2565
- declare const index$4_calculateTwapNumber: typeof calculateTwapNumber;
2566
- declare const index$4_ceilDiv: typeof ceilDiv;
2567
- declare const index$4_collectFeesArgsCodec: typeof collectFeesArgsCodec;
2568
- declare const index$4_collectProtocolFeesArgsCodec: typeof collectProtocolFeesArgsCodec;
2569
- declare const index$4_comparePoolAndOraclePrices: typeof comparePoolAndOraclePrices;
2570
- declare const index$4_computePrice0Q64: typeof computePrice0Q64;
2571
- declare const index$4_computePrice1Q64: typeof computePrice1Q64;
2572
- declare const index$4_consultTwap: typeof consultTwap;
2573
- declare const index$4_createPositionArgsCodec: typeof createPositionArgsCodec;
2574
- declare const index$4_createSwapInstruction: typeof createSwapInstruction;
2575
- declare const index$4_curveParamsToMarketCap: typeof curveParamsToMarketCap;
2576
- declare const index$4_decodeAmmConfig: typeof decodeAmmConfig;
2577
- declare const index$4_decodePool: typeof decodePool;
2578
- declare const index$4_decodePosition: typeof decodePosition;
2579
- declare const index$4_encodeAddLiquidityArgs: typeof encodeAddLiquidityArgs;
2580
- declare const index$4_encodeCollectFeesArgs: typeof encodeCollectFeesArgs;
2581
- declare const index$4_encodeCollectProtocolFeesArgs: typeof encodeCollectProtocolFeesArgs;
2582
- declare const index$4_encodeCreatePositionArgs: typeof encodeCreatePositionArgs;
2583
- declare const index$4_encodeInitializeConfigArgs: typeof encodeInitializeConfigArgs;
2584
- declare const index$4_encodeInitializeOracleArgs: typeof encodeInitializeOracleArgs;
2585
- declare const index$4_encodeInitializePoolArgs: typeof encodeInitializePoolArgs;
2586
- declare const index$4_encodeInstructionData: typeof encodeInstructionData;
2587
- declare const index$4_encodeOracleConsultArgs: typeof encodeOracleConsultArgs;
2588
- declare const index$4_encodeQuoteToNumeraireArgs: typeof encodeQuoteToNumeraireArgs;
2589
- declare const index$4_encodeRemoveLiquidityArgs: typeof encodeRemoveLiquidityArgs;
2590
- declare const index$4_encodeSetFeesArgs: typeof encodeSetFeesArgs;
2591
- declare const index$4_encodeSetHookArgs: typeof encodeSetHookArgs;
2592
- declare const index$4_encodeSetRouteArgs: typeof encodeSetRouteArgs;
2593
- declare const index$4_encodeSwapExactInArgs: typeof encodeSwapExactInArgs;
2594
- declare const index$4_encodeTransferAdminArgs: typeof encodeTransferAdminArgs;
2595
- declare const index$4_fetchAllPools: typeof fetchAllPools;
2596
- declare const index$4_fetchConfig: typeof fetchConfig;
2597
- declare const index$4_fetchConfigWithAddress: typeof fetchConfigWithAddress;
2598
- declare const index$4_fetchOracle: typeof fetchOracle;
2599
- declare const index$4_fetchOraclesBatch: typeof fetchOraclesBatch;
2600
- declare const index$4_fetchPool: typeof fetchPool;
2601
- declare const index$4_fetchPoolPositions: typeof fetchPoolPositions;
2602
- declare const index$4_fetchPoolsBatch: typeof fetchPoolsBatch;
2603
- declare const index$4_fetchPosition: typeof fetchPosition;
2604
- declare const index$4_fetchPositionByParams: typeof fetchPositionByParams;
2605
- declare const index$4_fetchPositionsBatch: typeof fetchPositionsBatch;
2606
- declare const index$4_fetchUserPositions: typeof fetchUserPositions;
2607
- declare const index$4_filterActivePositions: typeof filterActivePositions;
2608
- declare const index$4_filterPoolsByMint: typeof filterPoolsByMint;
2609
- declare const index$4_getAddLiquidityDiscriminatorBytes: typeof getAddLiquidityDiscriminatorBytes;
2610
- declare const index$4_getAddLiquidityInstruction: typeof getAddLiquidityInstruction;
2611
- declare const index$4_getAddLiquidityInstructionAsync: typeof getAddLiquidityInstructionAsync;
2612
- declare const index$4_getAddLiquidityInstructionDataCodec: typeof getAddLiquidityInstructionDataCodec;
2613
- declare const index$4_getAddLiquidityInstructionDataDecoder: typeof getAddLiquidityInstructionDataDecoder;
2614
- declare const index$4_getAddLiquidityInstructionDataEncoder: typeof getAddLiquidityInstructionDataEncoder;
2615
- declare const index$4_getAddLiquidityQuote: typeof getAddLiquidityQuote;
2616
- declare const index$4_getClosePositionDiscriminatorBytes: typeof getClosePositionDiscriminatorBytes;
2617
- declare const index$4_getClosePositionInstruction: typeof getClosePositionInstruction;
2618
- declare const index$4_getClosePositionInstructionDataCodec: typeof getClosePositionInstructionDataCodec;
2619
- declare const index$4_getClosePositionInstructionDataDecoder: typeof getClosePositionInstructionDataDecoder;
2620
- declare const index$4_getClosePositionInstructionDataEncoder: typeof getClosePositionInstructionDataEncoder;
2621
- declare const index$4_getCollectFeesDiscriminatorBytes: typeof getCollectFeesDiscriminatorBytes;
2622
- declare const index$4_getCollectFeesInstruction: typeof getCollectFeesInstruction;
2623
- declare const index$4_getCollectFeesInstructionAsync: typeof getCollectFeesInstructionAsync;
2624
- declare const index$4_getCollectFeesInstructionDataCodec: typeof getCollectFeesInstructionDataCodec;
2625
- declare const index$4_getCollectFeesInstructionDataDecoder: typeof getCollectFeesInstructionDataDecoder;
2626
- declare const index$4_getCollectFeesInstructionDataEncoder: typeof getCollectFeesInstructionDataEncoder;
2627
- declare const index$4_getCollectProtocolFeesDiscriminatorBytes: typeof getCollectProtocolFeesDiscriminatorBytes;
2628
- declare const index$4_getCollectProtocolFeesInstruction: typeof getCollectProtocolFeesInstruction;
2629
- declare const index$4_getCollectProtocolFeesInstructionAsync: typeof getCollectProtocolFeesInstructionAsync;
2630
- declare const index$4_getCollectProtocolFeesInstructionDataCodec: typeof getCollectProtocolFeesInstructionDataCodec;
2631
- declare const index$4_getCollectProtocolFeesInstructionDataDecoder: typeof getCollectProtocolFeesInstructionDataDecoder;
2632
- declare const index$4_getCollectProtocolFeesInstructionDataEncoder: typeof getCollectProtocolFeesInstructionDataEncoder;
2633
- declare const index$4_getCreatePositionDiscriminatorBytes: typeof getCreatePositionDiscriminatorBytes;
2634
- declare const index$4_getCreatePositionInstruction: typeof getCreatePositionInstruction;
2635
- declare const index$4_getCreatePositionInstructionAsync: typeof getCreatePositionInstructionAsync;
2636
- declare const index$4_getCreatePositionInstructionDataCodec: typeof getCreatePositionInstructionDataCodec;
2637
- declare const index$4_getCreatePositionInstructionDataDecoder: typeof getCreatePositionInstructionDataDecoder;
2638
- declare const index$4_getCreatePositionInstructionDataEncoder: typeof getCreatePositionInstructionDataEncoder;
2639
- declare const index$4_getErrorMessage: typeof getErrorMessage;
3232
+ declare const index$4_MAX_COSIGNERS: typeof MAX_COSIGNERS;
3233
+ type index$4_ParsedAddCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedAddCosignerInstruction<TProgram, TAccountMetas>;
3234
+ type index$4_ParsedCosignerHookInstruction<TProgram extends string = 'JDwnBoYE2NsmkQjQLHi1btQxeHirtJ9XjU1dM641QZt'> = ParsedCosignerHookInstruction<TProgram>;
3235
+ type index$4_ParsedInitializeConfigInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
3236
+ type index$4_ParsedRemoveCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRemoveCosignerInstruction<TProgram, TAccountMetas>;
3237
+ type index$4_ParsedSetAuthorityInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetAuthorityInstruction<TProgram, TAccountMetas>;
3238
+ declare const index$4_REMOVE_COSIGNER_DISCRIMINATOR: typeof REMOVE_COSIGNER_DISCRIMINATOR;
3239
+ type index$4_RemoveCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = RemoveCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>;
3240
+ type index$4_RemoveCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = RemoveCosignerInput<TAccountAdminAuthority, TAccountConfig>;
3241
+ type index$4_RemoveCosignerInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = RemoveCosignerInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
3242
+ type index$4_RemoveCosignerInstructionData = RemoveCosignerInstructionData;
3243
+ type index$4_RemoveCosignerInstructionDataArgs = RemoveCosignerInstructionDataArgs;
3244
+ declare const index$4_SEED_COSIGNER_HOOK_CONFIG: typeof SEED_COSIGNER_HOOK_CONFIG;
3245
+ declare const index$4_SET_AUTHORITY_DISCRIMINATOR: typeof SET_AUTHORITY_DISCRIMINATOR;
3246
+ type index$4_SetAuthorityArgs = SetAuthorityArgs;
3247
+ type index$4_SetAuthorityArgsArgs = SetAuthorityArgsArgs;
3248
+ type index$4_SetAuthorityAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = SetAuthorityAsyncInput<TAccountAdminAuthority, TAccountConfig>;
3249
+ type index$4_SetAuthorityInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = SetAuthorityInput<TAccountAdminAuthority, TAccountConfig>;
3250
+ type index$4_SetAuthorityInstruction<TProgram extends string = typeof COSIGNER_HOOK_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SetAuthorityInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
3251
+ type index$4_SetAuthorityInstructionData = SetAuthorityInstructionData;
3252
+ type index$4_SetAuthorityInstructionDataArgs = SetAuthorityInstructionDataArgs;
3253
+ declare const index$4_cosignerHookProgram: typeof cosignerHookProgram;
3254
+ declare const index$4_decodeCosignerConfig: typeof decodeCosignerConfig;
3255
+ declare const index$4_fetchAllCosignerConfig: typeof fetchAllCosignerConfig;
3256
+ declare const index$4_fetchAllMaybeCosignerConfig: typeof fetchAllMaybeCosignerConfig;
3257
+ declare const index$4_fetchCosignerConfig: typeof fetchCosignerConfig;
3258
+ declare const index$4_fetchMaybeCosignerConfig: typeof fetchMaybeCosignerConfig;
3259
+ declare const index$4_getAddCosignerDiscriminatorBytes: typeof getAddCosignerDiscriminatorBytes;
3260
+ declare const index$4_getAddCosignerInstruction: typeof getAddCosignerInstruction;
3261
+ declare const index$4_getAddCosignerInstructionAsync: typeof getAddCosignerInstructionAsync;
3262
+ declare const index$4_getAddCosignerInstructionDataCodec: typeof getAddCosignerInstructionDataCodec;
3263
+ declare const index$4_getAddCosignerInstructionDataDecoder: typeof getAddCosignerInstructionDataDecoder;
3264
+ declare const index$4_getAddCosignerInstructionDataEncoder: typeof getAddCosignerInstructionDataEncoder;
3265
+ declare const index$4_getCosignerArgCodec: typeof getCosignerArgCodec;
3266
+ declare const index$4_getCosignerArgDecoder: typeof getCosignerArgDecoder;
3267
+ declare const index$4_getCosignerArgEncoder: typeof getCosignerArgEncoder;
3268
+ declare const index$4_getCosignerConfigCodec: typeof getCosignerConfigCodec;
3269
+ declare const index$4_getCosignerConfigDecoder: typeof getCosignerConfigDecoder;
3270
+ declare const index$4_getCosignerConfigDiscriminatorBytes: typeof getCosignerConfigDiscriminatorBytes;
3271
+ declare const index$4_getCosignerConfigEncoder: typeof getCosignerConfigEncoder;
3272
+ declare const index$4_getCosignerConfigSize: typeof getCosignerConfigSize;
3273
+ declare const index$4_getCosignerHookConfigAddress: typeof getCosignerHookConfigAddress;
3274
+ declare const index$4_getCosignerHookErrorMessage: typeof getCosignerHookErrorMessage;
2640
3275
  declare const index$4_getInitializeConfigDiscriminatorBytes: typeof getInitializeConfigDiscriminatorBytes;
2641
3276
  declare const index$4_getInitializeConfigInstruction: typeof getInitializeConfigInstruction;
2642
3277
  declare const index$4_getInitializeConfigInstructionAsync: typeof getInitializeConfigInstructionAsync;
2643
3278
  declare const index$4_getInitializeConfigInstructionDataCodec: typeof getInitializeConfigInstructionDataCodec;
2644
3279
  declare const index$4_getInitializeConfigInstructionDataDecoder: typeof getInitializeConfigInstructionDataDecoder;
2645
3280
  declare const index$4_getInitializeConfigInstructionDataEncoder: typeof getInitializeConfigInstructionDataEncoder;
2646
- declare const index$4_getInitializeOracleInstructionAsync: typeof getInitializeOracleInstructionAsync;
2647
- declare const index$4_getInitializePoolDiscriminatorBytes: typeof getInitializePoolDiscriminatorBytes;
2648
- declare const index$4_getInitializePoolInstruction: typeof getInitializePoolInstruction;
2649
- declare const index$4_getInitializePoolInstructionAsync: typeof getInitializePoolInstructionAsync;
2650
- declare const index$4_getInitializePoolInstructionDataCodec: typeof getInitializePoolInstructionDataCodec;
2651
- declare const index$4_getInitializePoolInstructionDataDecoder: typeof getInitializePoolInstructionDataDecoder;
2652
- declare const index$4_getInitializePoolInstructionDataEncoder: typeof getInitializePoolInstructionDataEncoder;
2653
- declare const index$4_getK: typeof getK;
2654
- declare const index$4_getLiquidityAddresses: typeof getLiquidityAddresses;
2655
- declare const index$4_getMetadataAddress: typeof getMetadataAddress;
2656
- declare const index$4_getOracleAddress: typeof getOracleAddress;
2657
- declare const index$4_getOracleAddressFromPool: typeof getOracleAddressFromPool;
2658
- declare const index$4_getOracleAge: typeof getOracleAge;
2659
- declare const index$4_getOracleBufferStats: typeof getOracleBufferStats;
2660
- declare const index$4_getOracleConsultDiscriminatorBytes: typeof getOracleConsultDiscriminatorBytes;
2661
- declare const index$4_getOracleConsultInstruction: typeof getOracleConsultInstruction;
2662
- declare const index$4_getOracleConsultInstructionAsync: typeof getOracleConsultInstructionAsync;
2663
- declare const index$4_getOracleConsultInstructionDataCodec: typeof getOracleConsultInstructionDataCodec;
2664
- declare const index$4_getOracleConsultInstructionDataDecoder: typeof getOracleConsultInstructionDataDecoder;
2665
- declare const index$4_getOracleConsultInstructionDataEncoder: typeof getOracleConsultInstructionDataEncoder;
2666
- declare const index$4_getOracleDeviation: typeof getOracleDeviation;
2667
- declare const index$4_getOracleForPool: typeof getOracleForPool;
2668
- declare const index$4_getOracleSpotPrices: typeof getOracleSpotPrices;
2669
- declare const index$4_getOracleUpdateDiscriminatorBytes: typeof getOracleUpdateDiscriminatorBytes;
2670
- declare const index$4_getOracleUpdateInstruction: typeof getOracleUpdateInstruction;
2671
- declare const index$4_getOracleUpdateInstructionAsync: typeof getOracleUpdateInstructionAsync;
2672
- declare const index$4_getOracleUpdateInstructionDataCodec: typeof getOracleUpdateInstructionDataCodec;
2673
- declare const index$4_getOracleUpdateInstructionDataDecoder: typeof getOracleUpdateInstructionDataDecoder;
2674
- declare const index$4_getOracleUpdateInstructionDataEncoder: typeof getOracleUpdateInstructionDataEncoder;
2675
- declare const index$4_getPauseDiscriminatorBytes: typeof getPauseDiscriminatorBytes;
2676
- declare const index$4_getPauseInstruction: typeof getPauseInstruction;
2677
- declare const index$4_getPauseInstructionDataCodec: typeof getPauseInstructionDataCodec;
2678
- declare const index$4_getPauseInstructionDataDecoder: typeof getPauseInstructionDataDecoder;
2679
- declare const index$4_getPauseInstructionDataEncoder: typeof getPauseInstructionDataEncoder;
2680
- declare const index$4_getPendingFees: typeof getPendingFees;
2681
- declare const index$4_getPoolAddress: typeof getPoolAddress;
2682
- declare const index$4_getPoolAddressFromMints: typeof getPoolAddressFromMints;
2683
- declare const index$4_getPoolAuthorityAddress: typeof getPoolAuthorityAddress;
2684
- declare const index$4_getPoolByMints: typeof getPoolByMints;
2685
- declare const index$4_getPoolInitAddresses: typeof getPoolInitAddresses;
2686
- declare const index$4_getPoolVault0Address: typeof getPoolVault0Address;
2687
- declare const index$4_getPoolVault1Address: typeof getPoolVault1Address;
2688
- declare const index$4_getPositionAddress: typeof getPositionAddress;
2689
- declare const index$4_getPositionAddressFromParams: typeof getPositionAddressFromParams;
2690
- declare const index$4_getPositionValue: typeof getPositionValue;
2691
- declare const index$4_getPreviewSwapExactInDiscriminatorBytes: typeof getPreviewSwapExactInDiscriminatorBytes;
2692
- declare const index$4_getPreviewSwapExactInInstruction: typeof getPreviewSwapExactInInstruction;
2693
- declare const index$4_getPreviewSwapExactInInstructionDataCodec: typeof getPreviewSwapExactInInstructionDataCodec;
2694
- declare const index$4_getPreviewSwapExactInInstructionDataDecoder: typeof getPreviewSwapExactInInstructionDataDecoder;
2695
- declare const index$4_getPreviewSwapExactInInstructionDataEncoder: typeof getPreviewSwapExactInInstructionDataEncoder;
2696
- declare const index$4_getProtocolFeePositionAddress: typeof getProtocolFeePositionAddress;
2697
- declare const index$4_getQuoteToNumeraireDiscriminatorBytes: typeof getQuoteToNumeraireDiscriminatorBytes;
2698
- declare const index$4_getQuoteToNumeraireInstruction: typeof getQuoteToNumeraireInstruction;
2699
- declare const index$4_getQuoteToNumeraireInstructionDataCodec: typeof getQuoteToNumeraireInstructionDataCodec;
2700
- declare const index$4_getQuoteToNumeraireInstructionDataDecoder: typeof getQuoteToNumeraireInstructionDataDecoder;
2701
- declare const index$4_getQuoteToNumeraireInstructionDataEncoder: typeof getQuoteToNumeraireInstructionDataEncoder;
2702
- declare const index$4_getRemoveLiquidityDiscriminatorBytes: typeof getRemoveLiquidityDiscriminatorBytes;
2703
- declare const index$4_getRemoveLiquidityInstruction: typeof getRemoveLiquidityInstruction;
2704
- declare const index$4_getRemoveLiquidityInstructionAsync: typeof getRemoveLiquidityInstructionAsync;
2705
- declare const index$4_getRemoveLiquidityInstructionDataCodec: typeof getRemoveLiquidityInstructionDataCodec;
2706
- declare const index$4_getRemoveLiquidityInstructionDataDecoder: typeof getRemoveLiquidityInstructionDataDecoder;
2707
- declare const index$4_getRemoveLiquidityInstructionDataEncoder: typeof getRemoveLiquidityInstructionDataEncoder;
2708
- declare const index$4_getRemoveLiquidityQuote: typeof getRemoveLiquidityQuote;
2709
- declare const index$4_getSetFeesDiscriminatorBytes: typeof getSetFeesDiscriminatorBytes;
2710
- declare const index$4_getSetFeesInstruction: typeof getSetFeesInstruction;
2711
- declare const index$4_getSetFeesInstructionDataCodec: typeof getSetFeesInstructionDataCodec;
2712
- declare const index$4_getSetFeesInstructionDataDecoder: typeof getSetFeesInstructionDataDecoder;
2713
- declare const index$4_getSetFeesInstructionDataEncoder: typeof getSetFeesInstructionDataEncoder;
2714
- declare const index$4_getSetHookDiscriminatorBytes: typeof getSetHookDiscriminatorBytes;
2715
- declare const index$4_getSetHookInstruction: typeof getSetHookInstruction;
2716
- declare const index$4_getSetHookInstructionDataCodec: typeof getSetHookInstructionDataCodec;
2717
- declare const index$4_getSetHookInstructionDataDecoder: typeof getSetHookInstructionDataDecoder;
2718
- declare const index$4_getSetHookInstructionDataEncoder: typeof getSetHookInstructionDataEncoder;
2719
- declare const index$4_getSetRouteDiscriminatorBytes: typeof getSetRouteDiscriminatorBytes;
2720
- declare const index$4_getSetRouteInstruction: typeof getSetRouteInstruction;
2721
- declare const index$4_getSetRouteInstructionDataCodec: typeof getSetRouteInstructionDataCodec;
2722
- declare const index$4_getSetRouteInstructionDataDecoder: typeof getSetRouteInstructionDataDecoder;
2723
- declare const index$4_getSetRouteInstructionDataEncoder: typeof getSetRouteInstructionDataEncoder;
2724
- declare const index$4_getSpotPrice0: typeof getSpotPrice0;
2725
- declare const index$4_getSpotPrice1: typeof getSpotPrice1;
2726
- declare const index$4_getSwapAddresses: typeof getSwapAddresses;
2727
- declare const index$4_getSwapExactInDiscriminatorBytes: typeof getSwapExactInDiscriminatorBytes;
2728
- declare const index$4_getSwapExactInInstruction: typeof getSwapExactInInstruction;
2729
- declare const index$4_getSwapExactInInstructionAsync: typeof getSwapExactInInstructionAsync;
2730
- declare const index$4_getSwapExactInInstructionDataCodec: typeof getSwapExactInInstructionDataCodec;
2731
- declare const index$4_getSwapExactInInstructionDataDecoder: typeof getSwapExactInInstructionDataDecoder;
2732
- declare const index$4_getSwapExactInInstructionDataEncoder: typeof getSwapExactInInstructionDataEncoder;
2733
- declare const index$4_getSwapQuote: typeof getSwapQuote;
2734
- declare const index$4_getSwapQuoteExactOut: typeof getSwapQuoteExactOut;
2735
- declare const index$4_getTransferAdminDiscriminatorBytes: typeof getTransferAdminDiscriminatorBytes;
2736
- declare const index$4_getTransferAdminInstruction: typeof getTransferAdminInstruction;
2737
- declare const index$4_getTransferAdminInstructionDataCodec: typeof getTransferAdminInstructionDataCodec;
2738
- declare const index$4_getTransferAdminInstructionDataDecoder: typeof getTransferAdminInstructionDataDecoder;
2739
- declare const index$4_getTransferAdminInstructionDataEncoder: typeof getTransferAdminInstructionDataEncoder;
2740
- declare const index$4_getTvl: typeof getTvl;
2741
- declare const index$4_getUnpauseDiscriminatorBytes: typeof getUnpauseDiscriminatorBytes;
2742
- declare const index$4_getUnpauseInstruction: typeof getUnpauseInstruction;
2743
- declare const index$4_getUnpauseInstructionDataCodec: typeof getUnpauseInstructionDataCodec;
2744
- declare const index$4_getUnpauseInstructionDataDecoder: typeof getUnpauseInstructionDataDecoder;
2745
- declare const index$4_getUnpauseInstructionDataEncoder: typeof getUnpauseInstructionDataEncoder;
2746
- declare const index$4_getUpdateConfigDiscriminatorBytes: typeof getUpdateConfigDiscriminatorBytes;
2747
- declare const index$4_getUpdateConfigInstruction: typeof getUpdateConfigInstruction;
2748
- declare const index$4_getUpdateConfigInstructionDataCodec: typeof getUpdateConfigInstructionDataCodec;
2749
- declare const index$4_getUpdateConfigInstructionDataDecoder: typeof getUpdateConfigInstructionDataDecoder;
2750
- declare const index$4_getUpdateConfigInstructionDataEncoder: typeof getUpdateConfigInstructionDataEncoder;
2751
- declare const index$4_getWithdrawVaultExcessDiscriminatorBytes: typeof getWithdrawVaultExcessDiscriminatorBytes;
2752
- declare const index$4_getWithdrawVaultExcessInstruction: typeof getWithdrawVaultExcessInstruction;
2753
- declare const index$4_getWithdrawVaultExcessInstructionAsync: typeof getWithdrawVaultExcessInstructionAsync;
2754
- declare const index$4_getWithdrawVaultExcessInstructionDataCodec: typeof getWithdrawVaultExcessInstructionDataCodec;
2755
- declare const index$4_getWithdrawVaultExcessInstructionDataDecoder: typeof getWithdrawVaultExcessInstructionDataDecoder;
2756
- declare const index$4_getWithdrawVaultExcessInstructionDataEncoder: typeof getWithdrawVaultExcessInstructionDataEncoder;
2757
- declare const index$4_initializeConfigArgsCodec: typeof initializeConfigArgsCodec;
2758
- declare const index$4_initializeOracleArgsCodec: typeof initializeOracleArgsCodec;
2759
- declare const index$4_initializePoolArgsCodec: typeof initializePoolArgsCodec;
2760
- declare const index$4_isCpmmError: typeof isCpmmError;
2761
- declare const index$4_isOracleStale: typeof isOracleStale;
2762
- declare const index$4_isqrt: typeof isqrt;
2763
- declare const index$4_marketCapToCurveParams: typeof marketCapToCurveParams;
2764
- declare const index$4_marketCapToSingleCurveParams: typeof marketCapToSingleCurveParams;
2765
- declare const index$4_marketCapToTokenPrice: typeof marketCapToTokenPrice;
2766
- declare const index$4_maxBigInt: typeof maxBigInt;
2767
- declare const index$4_minBigInt: typeof minBigInt;
2768
- declare const index$4_numberToQ64: typeof numberToQ64;
2769
- declare const index$4_observationCodec: typeof observationCodec;
2770
- declare const index$4_oracleConsultArgsCodec: typeof oracleConsultArgsCodec;
2771
- declare const index$4_oracleStateDataCodec: typeof oracleStateDataCodec;
2772
- declare const index$4_parseAddLiquidityInstruction: typeof parseAddLiquidityInstruction;
2773
- declare const index$4_parseClosePositionInstruction: typeof parseClosePositionInstruction;
2774
- declare const index$4_parseCollectFeesInstruction: typeof parseCollectFeesInstruction;
2775
- declare const index$4_parseCollectProtocolFeesInstruction: typeof parseCollectProtocolFeesInstruction;
2776
- declare const index$4_parseCreatePositionInstruction: typeof parseCreatePositionInstruction;
2777
- declare const index$4_parseErrorFromLogs: typeof parseErrorFromLogs;
3281
+ declare const index$4_getRemoveCosignerDiscriminatorBytes: typeof getRemoveCosignerDiscriminatorBytes;
3282
+ declare const index$4_getRemoveCosignerInstruction: typeof getRemoveCosignerInstruction;
3283
+ declare const index$4_getRemoveCosignerInstructionAsync: typeof getRemoveCosignerInstructionAsync;
3284
+ declare const index$4_getRemoveCosignerInstructionDataCodec: typeof getRemoveCosignerInstructionDataCodec;
3285
+ declare const index$4_getRemoveCosignerInstructionDataDecoder: typeof getRemoveCosignerInstructionDataDecoder;
3286
+ declare const index$4_getRemoveCosignerInstructionDataEncoder: typeof getRemoveCosignerInstructionDataEncoder;
3287
+ declare const index$4_getSetAuthorityArgsCodec: typeof getSetAuthorityArgsCodec;
3288
+ declare const index$4_getSetAuthorityArgsDecoder: typeof getSetAuthorityArgsDecoder;
3289
+ declare const index$4_getSetAuthorityArgsEncoder: typeof getSetAuthorityArgsEncoder;
3290
+ declare const index$4_getSetAuthorityDiscriminatorBytes: typeof getSetAuthorityDiscriminatorBytes;
3291
+ declare const index$4_getSetAuthorityInstruction: typeof getSetAuthorityInstruction;
3292
+ declare const index$4_getSetAuthorityInstructionAsync: typeof getSetAuthorityInstructionAsync;
3293
+ declare const index$4_getSetAuthorityInstructionDataCodec: typeof getSetAuthorityInstructionDataCodec;
3294
+ declare const index$4_getSetAuthorityInstructionDataDecoder: typeof getSetAuthorityInstructionDataDecoder;
3295
+ declare const index$4_getSetAuthorityInstructionDataEncoder: typeof getSetAuthorityInstructionDataEncoder;
3296
+ declare const index$4_identifyCosignerHookAccount: typeof identifyCosignerHookAccount;
3297
+ declare const index$4_identifyCosignerHookInstruction: typeof identifyCosignerHookInstruction;
3298
+ declare const index$4_isCosignerHookError: typeof isCosignerHookError;
3299
+ declare const index$4_parseAddCosignerInstruction: typeof parseAddCosignerInstruction;
3300
+ declare const index$4_parseCosignerHookInstruction: typeof parseCosignerHookInstruction;
2778
3301
  declare const index$4_parseInitializeConfigInstruction: typeof parseInitializeConfigInstruction;
2779
- declare const index$4_parseInitializePoolInstruction: typeof parseInitializePoolInstruction;
2780
- declare const index$4_parseOracleConsultInstruction: typeof parseOracleConsultInstruction;
2781
- declare const index$4_parseOracleUpdateInstruction: typeof parseOracleUpdateInstruction;
2782
- declare const index$4_parsePauseInstruction: typeof parsePauseInstruction;
2783
- declare const index$4_parsePreviewSwapExactInInstruction: typeof parsePreviewSwapExactInInstruction;
2784
- declare const index$4_parseQuoteToNumeraireInstruction: typeof parseQuoteToNumeraireInstruction;
2785
- declare const index$4_parseRemoveLiquidityInstruction: typeof parseRemoveLiquidityInstruction;
2786
- declare const index$4_parseSetFeesInstruction: typeof parseSetFeesInstruction;
2787
- declare const index$4_parseSetHookInstruction: typeof parseSetHookInstruction;
2788
- declare const index$4_parseSetRouteInstruction: typeof parseSetRouteInstruction;
2789
- declare const index$4_parseSwapExactInInstruction: typeof parseSwapExactInInstruction;
2790
- declare const index$4_parseTransferAdminInstruction: typeof parseTransferAdminInstruction;
2791
- declare const index$4_parseUnpauseInstruction: typeof parseUnpauseInstruction;
2792
- declare const index$4_parseUpdateConfigInstruction: typeof parseUpdateConfigInstruction;
2793
- declare const index$4_parseWithdrawVaultExcessInstruction: typeof parseWithdrawVaultExcessInstruction;
2794
- declare const index$4_poolDataCodec: typeof poolDataCodec;
2795
- declare const index$4_poolExists: typeof poolExists;
2796
- declare const index$4_positionDataCodec: typeof positionDataCodec;
2797
- declare const index$4_q64Div: typeof q64Div;
2798
- declare const index$4_q64Mul: typeof q64Mul;
2799
- declare const index$4_q64ToNumber: typeof q64ToNumber;
2800
- declare const index$4_quoteToNumeraireArgsCodec: typeof quoteToNumeraireArgsCodec;
2801
- declare const index$4_ratioToNumber: typeof ratioToNumber;
2802
- declare const index$4_removeLiquidityArgsCodec: typeof removeLiquidityArgsCodec;
2803
- declare const index$4_setFeesArgsCodec: typeof setFeesArgsCodec;
2804
- declare const index$4_setHookArgsCodec: typeof setHookArgsCodec;
2805
- declare const index$4_setRouteArgsCodec: typeof setRouteArgsCodec;
2806
- declare const index$4_sortMints: typeof sortMints;
2807
- declare const index$4_sortPoolsByReserves: typeof sortPoolsByReserves;
2808
- declare const index$4_sortPositionsByShares: typeof sortPositionsByShares;
2809
- declare const index$4_swapExactInArgsCodec: typeof swapExactInArgsCodec;
2810
- declare const index$4_transferAdminArgsCodec: typeof transferAdminArgsCodec;
2811
- declare const index$4_validateMarketCapParameters: typeof validateMarketCapParameters;
3302
+ declare const index$4_parseRemoveCosignerInstruction: typeof parseRemoveCosignerInstruction;
3303
+ declare const index$4_parseSetAuthorityInstruction: typeof parseSetAuthorityInstruction;
2812
3304
  declare namespace index$4 {
2813
- export { index$4_ACCOUNT_DISCRIMINATORS as ACCOUNT_DISCRIMINATORS, index$4_ACCOUNT_VERSION as ACCOUNT_VERSION, index$4_ADD_LIQUIDITY_DISCRIMINATOR as ADD_LIQUIDITY_DISCRIMINATOR, index$4_AddLiquidityArgs as AddLiquidityArgs, type index$4_AddLiquidityAsyncInput as AddLiquidityAsyncInput, index$4_AddLiquidityEvent as AddLiquidityEvent, type index$4_AddLiquidityInput as AddLiquidityInput, type index$4_AddLiquidityInstruction as AddLiquidityInstruction, type index$4_AddLiquidityInstructionData as AddLiquidityInstructionData, type index$4_AddLiquidityInstructionDataArgs as AddLiquidityInstructionDataArgs, index$4_AddLiquidityQuote as AddLiquidityQuote, index$4_AdminTransferredEvent as AdminTransferredEvent, index$4_AmmConfig as AmmConfig, index$4_BPS_DENOM as BPS_DENOM, index$4_CLOSE_POSITION_DISCRIMINATOR as CLOSE_POSITION_DISCRIMINATOR, index$4_COLLECT_FEES_DISCRIMINATOR as COLLECT_FEES_DISCRIMINATOR, index$4_COLLECT_PROTOCOL_FEES_DISCRIMINATOR as COLLECT_PROTOCOL_FEES_DISCRIMINATOR, index$4_CPMM_ERROR_MESSAGES as CPMM_ERROR_MESSAGES, index$4_CPMM_PROGRAM_ID as CPMM_PROGRAM_ID, index$4_CREATE_POSITION_DISCRIMINATOR as CREATE_POSITION_DISCRIMINATOR, type index$4_ClosePositionInput as ClosePositionInput, type index$4_ClosePositionInstruction as ClosePositionInstruction, type index$4_ClosePositionInstructionData as ClosePositionInstructionData, type index$4_ClosePositionInstructionDataArgs as ClosePositionInstructionDataArgs, index$4_CollectFeesArgs as CollectFeesArgs, type index$4_CollectFeesAsyncInput as CollectFeesAsyncInput, index$4_CollectFeesEvent as CollectFeesEvent, type index$4_CollectFeesInput as CollectFeesInput, type index$4_CollectFeesInstruction as CollectFeesInstruction, type index$4_CollectFeesInstructionData as CollectFeesInstructionData, type index$4_CollectFeesInstructionDataArgs as CollectFeesInstructionDataArgs, index$4_CollectProtocolFeesArgs as CollectProtocolFeesArgs, type index$4_CollectProtocolFeesAsyncInput as CollectProtocolFeesAsyncInput, index$4_CollectProtocolFeesEvent as CollectProtocolFeesEvent, type index$4_CollectProtocolFeesInput as CollectProtocolFeesInput, type index$4_CollectProtocolFeesInstruction as CollectProtocolFeesInstruction, type index$4_CollectProtocolFeesInstructionData as CollectProtocolFeesInstructionData, type index$4_CollectProtocolFeesInstructionDataArgs as CollectProtocolFeesInstructionDataArgs, index$4_CpmmError as CpmmError, index$4_CpmmErrorCode as CpmmErrorCode, index$4_CreatePositionArgs as CreatePositionArgs, type index$4_CreatePositionAsyncInput as CreatePositionAsyncInput, type index$4_CreatePositionInput as CreatePositionInput, type index$4_CreatePositionInstruction as CreatePositionInstruction, type index$4_CreatePositionInstructionData as CreatePositionInstructionData, type index$4_CreatePositionInstructionDataArgs as CreatePositionInstructionDataArgs, index$4_CurveParams as CurveParams, index$4_CurveParamsToMarketCapInput as CurveParamsToMarketCapInput, index$4_FeesUpdatedEvent as FeesUpdatedEvent, index$4_FetchOracleConfig as FetchOracleConfig, type index$4_FetchPoolsConfig as FetchPoolsConfig, index$4_FetchPositionsConfig as FetchPositionsConfig, index$4_HF_AFTER_ADD_LIQ as HF_AFTER_ADD_LIQ, index$4_HF_AFTER_REMOVE_LIQ as HF_AFTER_REMOVE_LIQ, HF_AFTER_SWAP$1 as HF_AFTER_SWAP, index$4_HF_BEFORE_ADD_LIQ as HF_BEFORE_ADD_LIQ, index$4_HF_BEFORE_REMOVE_LIQ as HF_BEFORE_REMOVE_LIQ, HF_BEFORE_SWAP$1 as HF_BEFORE_SWAP, index$4_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$4_HF_REQUIRE_ORACLE as HF_REQUIRE_ORACLE, HOOK_NO_CHANGE$1 as HOOK_NO_CHANGE, index$4_HookErrorEvent as HookErrorEvent, index$4_HookInvokedEvent as HookInvokedEvent, index$4_HookUpdatedEvent as HookUpdatedEvent, index$4_INITIALIZE_CONFIG_DISCRIMINATOR as INITIALIZE_CONFIG_DISCRIMINATOR, INITIALIZE_ORACLE_DISCRIMINATOR$1 as INITIALIZE_ORACLE_DISCRIMINATOR, index$4_INITIALIZE_POOL_DISCRIMINATOR as INITIALIZE_POOL_DISCRIMINATOR, index$4_INSTRUCTION_DISCRIMINATORS as INSTRUCTION_DISCRIMINATORS, InitializeConfigArgs$1 as InitializeConfigArgs, type index$4_InitializeConfigAsyncInput as InitializeConfigAsyncInput, type index$4_InitializeConfigInput as InitializeConfigInput, type index$4_InitializeConfigInstruction as InitializeConfigInstruction, type index$4_InitializeConfigInstructionData as InitializeConfigInstructionData, type index$4_InitializeConfigInstructionDataArgs as InitializeConfigInstructionDataArgs, InitializeOracleArgs$1 as InitializeOracleArgs, type index$4_InitializeOracleAsyncInput as InitializeOracleAsyncInput, type InitializeOracleInput$1 as InitializeOracleInput, type InitializeOracleInstruction$1 as InitializeOracleInstruction, type InitializeOracleInstructionData$1 as InitializeOracleInstructionData, type InitializeOracleInstructionDataArgs$1 as InitializeOracleInstructionDataArgs, index$4_InitializePoolArgs as InitializePoolArgs, type index$4_InitializePoolAsyncInput as InitializePoolAsyncInput, type index$4_InitializePoolInput as InitializePoolInput, type index$4_InitializePoolInstruction as InitializePoolInstruction, type index$4_InitializePoolInstructionData as InitializePoolInstructionData, type index$4_InitializePoolInstructionDataArgs as InitializePoolInstructionDataArgs, index$4_MAX_FEE_AMOUNT as MAX_FEE_AMOUNT, MAX_HOOK_ALLOWLIST$1 as MAX_HOOK_ALLOWLIST, index$4_MAX_ORACLE_OBSERVATIONS as MAX_ORACLE_OBSERVATIONS, index$4_MarketCapToCurveParamsInput as MarketCapToCurveParamsInput, index$4_MarketCapValidationResult as MarketCapValidationResult, index$4_ORACLE_CONSULT_DISCRIMINATOR as ORACLE_CONSULT_DISCRIMINATOR, index$4_ORACLE_UPDATE_DISCRIMINATOR as ORACLE_UPDATE_DISCRIMINATOR, index$4_Observation as Observation, index$4_OracleConsultArgs as OracleConsultArgs, type index$4_OracleConsultAsyncInput as OracleConsultAsyncInput, type index$4_OracleConsultInput as OracleConsultInput, type index$4_OracleConsultInstruction as OracleConsultInstruction, type index$4_OracleConsultInstructionData as OracleConsultInstructionData, type index$4_OracleConsultInstructionDataArgs as OracleConsultInstructionDataArgs, index$4_OracleInitializedEvent as OracleInitializedEvent, OracleState$2 as OracleState, type index$4_OracleUpdateAsyncInput as OracleUpdateAsyncInput, type index$4_OracleUpdateInput as OracleUpdateInput, type index$4_OracleUpdateInstruction as OracleUpdateInstruction, type index$4_OracleUpdateInstructionData as OracleUpdateInstructionData, type index$4_OracleUpdateInstructionDataArgs as OracleUpdateInstructionDataArgs, index$4_OracleUpdatedEvent as OracleUpdatedEvent, index$4_OracleWithAddress as OracleWithAddress, index$4_PAUSE_DISCRIMINATOR as PAUSE_DISCRIMINATOR, index$4_PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR as PREVIEW_SWAP_EXACT_IN_DISCRIMINATOR, type index$4_ParsedAddLiquidityInstruction as ParsedAddLiquidityInstruction, type index$4_ParsedClosePositionInstruction as ParsedClosePositionInstruction, type index$4_ParsedCollectFeesInstruction as ParsedCollectFeesInstruction, type index$4_ParsedCollectProtocolFeesInstruction as ParsedCollectProtocolFeesInstruction, type index$4_ParsedCreatePositionInstruction as ParsedCreatePositionInstruction, type index$4_ParsedInitializeConfigInstruction as ParsedInitializeConfigInstruction, type ParsedInitializeOracleInstruction$1 as ParsedInitializeOracleInstruction, type index$4_ParsedInitializePoolInstruction as ParsedInitializePoolInstruction, type index$4_ParsedOracleConsultInstruction as ParsedOracleConsultInstruction, type index$4_ParsedOracleUpdateInstruction as ParsedOracleUpdateInstruction, type index$4_ParsedPauseInstruction as ParsedPauseInstruction, type index$4_ParsedPreviewSwapExactInInstruction as ParsedPreviewSwapExactInInstruction, type index$4_ParsedQuoteToNumeraireInstruction as ParsedQuoteToNumeraireInstruction, type index$4_ParsedRemoveLiquidityInstruction as ParsedRemoveLiquidityInstruction, type index$4_ParsedSetFeesInstruction as ParsedSetFeesInstruction, type index$4_ParsedSetHookInstruction as ParsedSetHookInstruction, type index$4_ParsedSetRouteInstruction as ParsedSetRouteInstruction, type index$4_ParsedSwapExactInInstruction as ParsedSwapExactInInstruction, type index$4_ParsedTransferAdminInstruction as ParsedTransferAdminInstruction, type index$4_ParsedUnpauseInstruction as ParsedUnpauseInstruction, type index$4_ParsedUpdateConfigInstruction as ParsedUpdateConfigInstruction, type index$4_ParsedWithdrawVaultExcessInstruction as ParsedWithdrawVaultExcessInstruction, type index$4_PauseInput as PauseInput, type index$4_PauseInstruction as PauseInstruction, type index$4_PauseInstructionData as PauseInstructionData, type index$4_PauseInstructionDataArgs as PauseInstructionDataArgs, index$4_PausedEvent as PausedEvent, index$4_Pool as Pool, index$4_PoolInitializedEvent as PoolInitializedEvent, type index$4_PoolWithAddress as PoolWithAddress, index$4_Position as Position, index$4_PositionClosedEvent as PositionClosedEvent, index$4_PositionCreatedEvent as PositionCreatedEvent, index$4_PositionValue as PositionValue, index$4_PositionWithAddress as PositionWithAddress, type index$4_PreviewSwapExactInInput as PreviewSwapExactInInput, type index$4_PreviewSwapExactInInstruction as PreviewSwapExactInInstruction, type index$4_PreviewSwapExactInInstructionData as PreviewSwapExactInInstructionData, type index$4_PreviewSwapExactInInstructionDataArgs as PreviewSwapExactInInstructionDataArgs, index$4_Q64_ONE as Q64_ONE, index$4_QUOTE_TO_NUMERAIRE_DISCRIMINATOR as QUOTE_TO_NUMERAIRE_DISCRIMINATOR, index$4_QuoteToNumeraireArgs as QuoteToNumeraireArgs, type index$4_QuoteToNumeraireInput as QuoteToNumeraireInput, type index$4_QuoteToNumeraireInstruction as QuoteToNumeraireInstruction, type index$4_QuoteToNumeraireInstructionData as QuoteToNumeraireInstructionData, type index$4_QuoteToNumeraireInstructionDataArgs as QuoteToNumeraireInstructionDataArgs, index$4_REMOVE_LIQUIDITY_DISCRIMINATOR as REMOVE_LIQUIDITY_DISCRIMINATOR, index$4_RemoveLiquidityArgs as RemoveLiquidityArgs, type index$4_RemoveLiquidityAsyncInput as RemoveLiquidityAsyncInput, index$4_RemoveLiquidityEvent as RemoveLiquidityEvent, type index$4_RemoveLiquidityInput as RemoveLiquidityInput, type index$4_RemoveLiquidityInstruction as RemoveLiquidityInstruction, type index$4_RemoveLiquidityInstructionData as RemoveLiquidityInstructionData, type index$4_RemoveLiquidityInstructionDataArgs as RemoveLiquidityInstructionDataArgs, index$4_RemoveLiquidityQuote as RemoveLiquidityQuote, index$4_RouteUpdatedEvent as RouteUpdatedEvent, index$4_SEED_AUTHORITY as SEED_AUTHORITY, SEED_CONFIG$1 as SEED_CONFIG, index$4_SEED_ORACLE as SEED_ORACLE, index$4_SEED_POOL as SEED_POOL, index$4_SEED_POSITION as SEED_POSITION, index$4_SEED_PROTOCOL_FEE_POSITION as SEED_PROTOCOL_FEE_POSITION, index$4_SET_FEES_DISCRIMINATOR as SET_FEES_DISCRIMINATOR, index$4_SET_HOOK_DISCRIMINATOR as SET_HOOK_DISCRIMINATOR, index$4_SET_ROUTE_DISCRIMINATOR as SET_ROUTE_DISCRIMINATOR, index$4_SWAP_EXACT_IN_DISCRIMINATOR as SWAP_EXACT_IN_DISCRIMINATOR, index$4_SetFeesArgs as SetFeesArgs, type index$4_SetFeesInput as SetFeesInput, type index$4_SetFeesInstruction as SetFeesInstruction, type index$4_SetFeesInstructionData as SetFeesInstructionData, type index$4_SetFeesInstructionDataArgs as SetFeesInstructionDataArgs, index$4_SetHookArgs as SetHookArgs, type index$4_SetHookInput as SetHookInput, type index$4_SetHookInstruction as SetHookInstruction, type index$4_SetHookInstructionData as SetHookInstructionData, type index$4_SetHookInstructionDataArgs as SetHookInstructionDataArgs, index$4_SetRouteArgs as SetRouteArgs, type index$4_SetRouteInput as SetRouteInput, type index$4_SetRouteInstruction as SetRouteInstruction, type index$4_SetRouteInstructionData as SetRouteInstructionData, type index$4_SetRouteInstructionDataArgs as SetRouteInstructionDataArgs, index$4_SwapEvent as SwapEvent, index$4_SwapExactInArgs as SwapExactInArgs, type index$4_SwapExactInAsyncInput as SwapExactInAsyncInput, type index$4_SwapExactInInput as SwapExactInInput, type index$4_SwapExactInInstruction as SwapExactInInstruction, type index$4_SwapExactInInstructionData as SwapExactInInstructionData, type index$4_SwapExactInInstructionDataArgs as SwapExactInInstructionDataArgs, index$4_SwapQuote as SwapQuote, index$4_SwapQuoteExactOut as SwapQuoteExactOut, index$4_TOKEN_METADATA_PROGRAM_ID as TOKEN_METADATA_PROGRAM_ID, index$4_TRANSFER_ADMIN_DISCRIMINATOR as TRANSFER_ADMIN_DISCRIMINATOR, index$4_TradeDirection as TradeDirection, index$4_TransferAdminArgs as TransferAdminArgs, type index$4_TransferAdminInput as TransferAdminInput, type index$4_TransferAdminInstruction as TransferAdminInstruction, type index$4_TransferAdminInstructionData as TransferAdminInstructionData, type index$4_TransferAdminInstructionDataArgs as TransferAdminInstructionDataArgs, index$4_TwapResult as TwapResult, index$4_UNPAUSE_DISCRIMINATOR as UNPAUSE_DISCRIMINATOR, index$4_UPDATE_CONFIG_DISCRIMINATOR as UPDATE_CONFIG_DISCRIMINATOR, type index$4_UnpauseInput as UnpauseInput, type index$4_UnpauseInstruction as UnpauseInstruction, type index$4_UnpauseInstructionData as UnpauseInstructionData, type index$4_UnpauseInstructionDataArgs as UnpauseInstructionDataArgs, index$4_UnpausedEvent as UnpausedEvent, type index$4_UpdateConfigInput as UpdateConfigInput, type index$4_UpdateConfigInstruction as UpdateConfigInstruction, type index$4_UpdateConfigInstructionData as UpdateConfigInstructionData, type index$4_UpdateConfigInstructionDataArgs as UpdateConfigInstructionDataArgs, index$4_VaultExcessWithdrawnEvent as VaultExcessWithdrawnEvent, index$4_WITHDRAW_VAULT_EXCESS_DISCRIMINATOR as WITHDRAW_VAULT_EXCESS_DISCRIMINATOR, type index$4_WithdrawVaultExcessAsyncInput as WithdrawVaultExcessAsyncInput, type index$4_WithdrawVaultExcessInput as WithdrawVaultExcessInput, type index$4_WithdrawVaultExcessInstruction as WithdrawVaultExcessInstruction, type index$4_WithdrawVaultExcessInstructionData as WithdrawVaultExcessInstructionData, type index$4_WithdrawVaultExcessInstructionDataArgs as WithdrawVaultExcessInstructionDataArgs, index$4_addLiquidityArgsCodec as addLiquidityArgsCodec, index$4_ammConfigDataCodec as ammConfigDataCodec, index$4_areMintsOrdered as areMintsOrdered, index$4_calculateAccruedFees as calculateAccruedFees, index$4_calculateTwap as calculateTwap, index$4_calculateTwapNumber as calculateTwapNumber, index$4_ceilDiv as ceilDiv, index$4_collectFeesArgsCodec as collectFeesArgsCodec, index$4_collectProtocolFeesArgsCodec as collectProtocolFeesArgsCodec, index$4_comparePoolAndOraclePrices as comparePoolAndOraclePrices, index$4_computePrice0Q64 as computePrice0Q64, index$4_computePrice1Q64 as computePrice1Q64, index$4_consultTwap as consultTwap, getAddLiquidityInstruction as createAddLiquidityInstruction, getClosePositionInstruction as createClosePositionInstruction, getCollectFeesInstruction as createCollectFeesInstruction, getCollectProtocolFeesInstruction as createCollectProtocolFeesInstruction, getCreatePositionInstruction as createCreatePositionInstruction, getInitializeConfigInstruction as createInitializeConfigInstruction, getInitializeOracleInstruction$1 as createInitializeOracleInstruction, getInitializePoolInstruction as createInitializePoolInstruction, getOracleConsultInstruction as createOracleConsultInstruction, getOracleUpdateInstruction as createOracleUpdateInstruction, getPauseInstruction as createPauseInstruction, index$4_createPositionArgsCodec as createPositionArgsCodec, getQuoteToNumeraireInstruction as createQuoteToNumeraireInstruction, getRemoveLiquidityInstruction as createRemoveLiquidityInstruction, getSetFeesInstruction as createSetFeesInstruction, getSetHookInstruction as createSetHookInstruction, getSetRouteInstruction as createSetRouteInstruction, getSwapExactInInstruction as createSwapExactInInstruction, index$4_createSwapInstruction as createSwapInstruction, getTransferAdminInstruction as createTransferAdminInstruction, getUnpauseInstruction as createUnpauseInstruction, getWithdrawVaultExcessInstruction as createWithdrawVaultExcessInstruction, index$4_curveParamsToMarketCap as curveParamsToMarketCap, index$4_decodeAmmConfig as decodeAmmConfig, decodeOracleState$2 as decodeOracleState, index$4_decodePool as decodePool, index$4_decodePosition as decodePosition, index$4_encodeAddLiquidityArgs as encodeAddLiquidityArgs, index$4_encodeCollectFeesArgs as encodeCollectFeesArgs, index$4_encodeCollectProtocolFeesArgs as encodeCollectProtocolFeesArgs, index$4_encodeCreatePositionArgs as encodeCreatePositionArgs, index$4_encodeInitializeConfigArgs as encodeInitializeConfigArgs, index$4_encodeInitializeOracleArgs as encodeInitializeOracleArgs, index$4_encodeInitializePoolArgs as encodeInitializePoolArgs, index$4_encodeInstructionData as encodeInstructionData, index$4_encodeOracleConsultArgs as encodeOracleConsultArgs, index$4_encodeQuoteToNumeraireArgs as encodeQuoteToNumeraireArgs, index$4_encodeRemoveLiquidityArgs as encodeRemoveLiquidityArgs, index$4_encodeSetFeesArgs as encodeSetFeesArgs, index$4_encodeSetHookArgs as encodeSetHookArgs, index$4_encodeSetRouteArgs as encodeSetRouteArgs, index$4_encodeSwapExactInArgs as encodeSwapExactInArgs, index$4_encodeTransferAdminArgs as encodeTransferAdminArgs, index$4_fetchAllPools as fetchAllPools, index$4_fetchConfig as fetchConfig, index$4_fetchConfigWithAddress as fetchConfigWithAddress, index$4_fetchOracle as fetchOracle, index$4_fetchOraclesBatch as fetchOraclesBatch, index$4_fetchPool as fetchPool, index$4_fetchPoolPositions as fetchPoolPositions, index$4_fetchPoolsBatch as fetchPoolsBatch, index$4_fetchPosition as fetchPosition, index$4_fetchPositionByParams as fetchPositionByParams, index$4_fetchPositionsBatch as fetchPositionsBatch, index$4_fetchUserPositions as fetchUserPositions, index$4_filterActivePositions as filterActivePositions, index$4_filterPoolsByMint as filterPoolsByMint, index$4_getAddLiquidityDiscriminatorBytes as getAddLiquidityDiscriminatorBytes, index$4_getAddLiquidityInstruction as getAddLiquidityInstruction, index$4_getAddLiquidityInstructionAsync as getAddLiquidityInstructionAsync, index$4_getAddLiquidityInstructionDataCodec as getAddLiquidityInstructionDataCodec, index$4_getAddLiquidityInstructionDataDecoder as getAddLiquidityInstructionDataDecoder, index$4_getAddLiquidityInstructionDataEncoder as getAddLiquidityInstructionDataEncoder, index$4_getAddLiquidityQuote as getAddLiquidityQuote, index$4_getClosePositionDiscriminatorBytes as getClosePositionDiscriminatorBytes, index$4_getClosePositionInstruction as getClosePositionInstruction, index$4_getClosePositionInstructionDataCodec as getClosePositionInstructionDataCodec, index$4_getClosePositionInstructionDataDecoder as getClosePositionInstructionDataDecoder, index$4_getClosePositionInstructionDataEncoder as getClosePositionInstructionDataEncoder, index$4_getCollectFeesDiscriminatorBytes as getCollectFeesDiscriminatorBytes, index$4_getCollectFeesInstruction as getCollectFeesInstruction, index$4_getCollectFeesInstructionAsync as getCollectFeesInstructionAsync, index$4_getCollectFeesInstructionDataCodec as getCollectFeesInstructionDataCodec, index$4_getCollectFeesInstructionDataDecoder as getCollectFeesInstructionDataDecoder, index$4_getCollectFeesInstructionDataEncoder as getCollectFeesInstructionDataEncoder, index$4_getCollectProtocolFeesDiscriminatorBytes as getCollectProtocolFeesDiscriminatorBytes, index$4_getCollectProtocolFeesInstruction as getCollectProtocolFeesInstruction, index$4_getCollectProtocolFeesInstructionAsync as getCollectProtocolFeesInstructionAsync, index$4_getCollectProtocolFeesInstructionDataCodec as getCollectProtocolFeesInstructionDataCodec, index$4_getCollectProtocolFeesInstructionDataDecoder as getCollectProtocolFeesInstructionDataDecoder, index$4_getCollectProtocolFeesInstructionDataEncoder as getCollectProtocolFeesInstructionDataEncoder, getConfigAddress$1 as getConfigAddress, index$4_getCreatePositionDiscriminatorBytes as getCreatePositionDiscriminatorBytes, index$4_getCreatePositionInstruction as getCreatePositionInstruction, index$4_getCreatePositionInstructionAsync as getCreatePositionInstructionAsync, index$4_getCreatePositionInstructionDataCodec as getCreatePositionInstructionDataCodec, index$4_getCreatePositionInstructionDataDecoder as getCreatePositionInstructionDataDecoder, index$4_getCreatePositionInstructionDataEncoder as getCreatePositionInstructionDataEncoder, index$4_getErrorMessage as getErrorMessage, index$4_getInitializeConfigDiscriminatorBytes as getInitializeConfigDiscriminatorBytes, index$4_getInitializeConfigInstruction as getInitializeConfigInstruction, index$4_getInitializeConfigInstructionAsync as getInitializeConfigInstructionAsync, index$4_getInitializeConfigInstructionDataCodec as getInitializeConfigInstructionDataCodec, index$4_getInitializeConfigInstructionDataDecoder as getInitializeConfigInstructionDataDecoder, index$4_getInitializeConfigInstructionDataEncoder as getInitializeConfigInstructionDataEncoder, getInitializeOracleDiscriminatorBytes$1 as getInitializeOracleDiscriminatorBytes, getInitializeOracleInstruction$1 as getInitializeOracleInstruction, index$4_getInitializeOracleInstructionAsync as getInitializeOracleInstructionAsync, getInitializeOracleInstructionDataCodec$1 as getInitializeOracleInstructionDataCodec, getInitializeOracleInstructionDataDecoder$1 as getInitializeOracleInstructionDataDecoder, getInitializeOracleInstructionDataEncoder$1 as getInitializeOracleInstructionDataEncoder, index$4_getInitializePoolDiscriminatorBytes as getInitializePoolDiscriminatorBytes, index$4_getInitializePoolInstruction as getInitializePoolInstruction, index$4_getInitializePoolInstructionAsync as getInitializePoolInstructionAsync, index$4_getInitializePoolInstructionDataCodec as getInitializePoolInstructionDataCodec, index$4_getInitializePoolInstructionDataDecoder as getInitializePoolInstructionDataDecoder, index$4_getInitializePoolInstructionDataEncoder as getInitializePoolInstructionDataEncoder, index$4_getK as getK, index$4_getLiquidityAddresses as getLiquidityAddresses, index$4_getMetadataAddress as getMetadataAddress, index$4_getOracleAddress as getOracleAddress, index$4_getOracleAddressFromPool as getOracleAddressFromPool, index$4_getOracleAge as getOracleAge, index$4_getOracleBufferStats as getOracleBufferStats, index$4_getOracleConsultDiscriminatorBytes as getOracleConsultDiscriminatorBytes, index$4_getOracleConsultInstruction as getOracleConsultInstruction, index$4_getOracleConsultInstructionAsync as getOracleConsultInstructionAsync, index$4_getOracleConsultInstructionDataCodec as getOracleConsultInstructionDataCodec, index$4_getOracleConsultInstructionDataDecoder as getOracleConsultInstructionDataDecoder, index$4_getOracleConsultInstructionDataEncoder as getOracleConsultInstructionDataEncoder, index$4_getOracleDeviation as getOracleDeviation, index$4_getOracleForPool as getOracleForPool, index$4_getOracleSpotPrices as getOracleSpotPrices, index$4_getOracleUpdateDiscriminatorBytes as getOracleUpdateDiscriminatorBytes, index$4_getOracleUpdateInstruction as getOracleUpdateInstruction, index$4_getOracleUpdateInstructionAsync as getOracleUpdateInstructionAsync, index$4_getOracleUpdateInstructionDataCodec as getOracleUpdateInstructionDataCodec, index$4_getOracleUpdateInstructionDataDecoder as getOracleUpdateInstructionDataDecoder, index$4_getOracleUpdateInstructionDataEncoder as getOracleUpdateInstructionDataEncoder, index$4_getPauseDiscriminatorBytes as getPauseDiscriminatorBytes, index$4_getPauseInstruction as getPauseInstruction, index$4_getPauseInstructionDataCodec as getPauseInstructionDataCodec, index$4_getPauseInstructionDataDecoder as getPauseInstructionDataDecoder, index$4_getPauseInstructionDataEncoder as getPauseInstructionDataEncoder, index$4_getPendingFees as getPendingFees, index$4_getPoolAddress as getPoolAddress, index$4_getPoolAddressFromMints as getPoolAddressFromMints, index$4_getPoolAuthorityAddress as getPoolAuthorityAddress, index$4_getPoolByMints as getPoolByMints, index$4_getPoolInitAddresses as getPoolInitAddresses, index$4_getPoolVault0Address as getPoolVault0Address, index$4_getPoolVault1Address as getPoolVault1Address, index$4_getPositionAddress as getPositionAddress, index$4_getPositionAddressFromParams as getPositionAddressFromParams, index$4_getPositionValue as getPositionValue, index$4_getPreviewSwapExactInDiscriminatorBytes as getPreviewSwapExactInDiscriminatorBytes, index$4_getPreviewSwapExactInInstruction as getPreviewSwapExactInInstruction, index$4_getPreviewSwapExactInInstructionDataCodec as getPreviewSwapExactInInstructionDataCodec, index$4_getPreviewSwapExactInInstructionDataDecoder as getPreviewSwapExactInInstructionDataDecoder, index$4_getPreviewSwapExactInInstructionDataEncoder as getPreviewSwapExactInInstructionDataEncoder, index$4_getProtocolFeePositionAddress as getProtocolFeePositionAddress, index$4_getQuoteToNumeraireDiscriminatorBytes as getQuoteToNumeraireDiscriminatorBytes, index$4_getQuoteToNumeraireInstruction as getQuoteToNumeraireInstruction, index$4_getQuoteToNumeraireInstructionDataCodec as getQuoteToNumeraireInstructionDataCodec, index$4_getQuoteToNumeraireInstructionDataDecoder as getQuoteToNumeraireInstructionDataDecoder, index$4_getQuoteToNumeraireInstructionDataEncoder as getQuoteToNumeraireInstructionDataEncoder, index$4_getRemoveLiquidityDiscriminatorBytes as getRemoveLiquidityDiscriminatorBytes, index$4_getRemoveLiquidityInstruction as getRemoveLiquidityInstruction, index$4_getRemoveLiquidityInstructionAsync as getRemoveLiquidityInstructionAsync, index$4_getRemoveLiquidityInstructionDataCodec as getRemoveLiquidityInstructionDataCodec, index$4_getRemoveLiquidityInstructionDataDecoder as getRemoveLiquidityInstructionDataDecoder, index$4_getRemoveLiquidityInstructionDataEncoder as getRemoveLiquidityInstructionDataEncoder, index$4_getRemoveLiquidityQuote as getRemoveLiquidityQuote, index$4_getSetFeesDiscriminatorBytes as getSetFeesDiscriminatorBytes, index$4_getSetFeesInstruction as getSetFeesInstruction, index$4_getSetFeesInstructionDataCodec as getSetFeesInstructionDataCodec, index$4_getSetFeesInstructionDataDecoder as getSetFeesInstructionDataDecoder, index$4_getSetFeesInstructionDataEncoder as getSetFeesInstructionDataEncoder, index$4_getSetHookDiscriminatorBytes as getSetHookDiscriminatorBytes, index$4_getSetHookInstruction as getSetHookInstruction, index$4_getSetHookInstructionDataCodec as getSetHookInstructionDataCodec, index$4_getSetHookInstructionDataDecoder as getSetHookInstructionDataDecoder, index$4_getSetHookInstructionDataEncoder as getSetHookInstructionDataEncoder, index$4_getSetRouteDiscriminatorBytes as getSetRouteDiscriminatorBytes, index$4_getSetRouteInstruction as getSetRouteInstruction, index$4_getSetRouteInstructionDataCodec as getSetRouteInstructionDataCodec, index$4_getSetRouteInstructionDataDecoder as getSetRouteInstructionDataDecoder, index$4_getSetRouteInstructionDataEncoder as getSetRouteInstructionDataEncoder, index$4_getSpotPrice0 as getSpotPrice0, index$4_getSpotPrice1 as getSpotPrice1, index$4_getSwapAddresses as getSwapAddresses, index$4_getSwapExactInDiscriminatorBytes as getSwapExactInDiscriminatorBytes, index$4_getSwapExactInInstruction as getSwapExactInInstruction, index$4_getSwapExactInInstructionAsync as getSwapExactInInstructionAsync, index$4_getSwapExactInInstructionDataCodec as getSwapExactInInstructionDataCodec, index$4_getSwapExactInInstructionDataDecoder as getSwapExactInInstructionDataDecoder, index$4_getSwapExactInInstructionDataEncoder as getSwapExactInInstructionDataEncoder, index$4_getSwapQuote as getSwapQuote, index$4_getSwapQuoteExactOut as getSwapQuoteExactOut, index$4_getTransferAdminDiscriminatorBytes as getTransferAdminDiscriminatorBytes, index$4_getTransferAdminInstruction as getTransferAdminInstruction, index$4_getTransferAdminInstructionDataCodec as getTransferAdminInstructionDataCodec, index$4_getTransferAdminInstructionDataDecoder as getTransferAdminInstructionDataDecoder, index$4_getTransferAdminInstructionDataEncoder as getTransferAdminInstructionDataEncoder, index$4_getTvl as getTvl, index$4_getUnpauseDiscriminatorBytes as getUnpauseDiscriminatorBytes, index$4_getUnpauseInstruction as getUnpauseInstruction, index$4_getUnpauseInstructionDataCodec as getUnpauseInstructionDataCodec, index$4_getUnpauseInstructionDataDecoder as getUnpauseInstructionDataDecoder, index$4_getUnpauseInstructionDataEncoder as getUnpauseInstructionDataEncoder, index$4_getUpdateConfigDiscriminatorBytes as getUpdateConfigDiscriminatorBytes, index$4_getUpdateConfigInstruction as getUpdateConfigInstruction, index$4_getUpdateConfigInstructionDataCodec as getUpdateConfigInstructionDataCodec, index$4_getUpdateConfigInstructionDataDecoder as getUpdateConfigInstructionDataDecoder, index$4_getUpdateConfigInstructionDataEncoder as getUpdateConfigInstructionDataEncoder, index$4_getWithdrawVaultExcessDiscriminatorBytes as getWithdrawVaultExcessDiscriminatorBytes, index$4_getWithdrawVaultExcessInstruction as getWithdrawVaultExcessInstruction, index$4_getWithdrawVaultExcessInstructionAsync as getWithdrawVaultExcessInstructionAsync, index$4_getWithdrawVaultExcessInstructionDataCodec as getWithdrawVaultExcessInstructionDataCodec, index$4_getWithdrawVaultExcessInstructionDataDecoder as getWithdrawVaultExcessInstructionDataDecoder, index$4_getWithdrawVaultExcessInstructionDataEncoder as getWithdrawVaultExcessInstructionDataEncoder, index$4_initializeConfigArgsCodec as initializeConfigArgsCodec, index$4_initializeOracleArgsCodec as initializeOracleArgsCodec, index$4_initializePoolArgsCodec as initializePoolArgsCodec, index$4_isCpmmError as isCpmmError, index$4_isOracleStale as isOracleStale, index$4_isqrt as isqrt, index$4_marketCapToCurveParams as marketCapToCurveParams, index$4_marketCapToSingleCurveParams as marketCapToSingleCurveParams, index$4_marketCapToTokenPrice as marketCapToTokenPrice, index$4_maxBigInt as maxBigInt, index$4_minBigInt as minBigInt, index$4_numberToQ64 as numberToQ64, index$4_observationCodec as observationCodec, index$4_oracleConsultArgsCodec as oracleConsultArgsCodec, index$4_oracleStateDataCodec as oracleStateDataCodec, index$4_parseAddLiquidityInstruction as parseAddLiquidityInstruction, index$4_parseClosePositionInstruction as parseClosePositionInstruction, index$4_parseCollectFeesInstruction as parseCollectFeesInstruction, index$4_parseCollectProtocolFeesInstruction as parseCollectProtocolFeesInstruction, index$4_parseCreatePositionInstruction as parseCreatePositionInstruction, index$4_parseErrorFromLogs as parseErrorFromLogs, index$4_parseInitializeConfigInstruction as parseInitializeConfigInstruction, parseInitializeOracleInstruction$1 as parseInitializeOracleInstruction, index$4_parseInitializePoolInstruction as parseInitializePoolInstruction, index$4_parseOracleConsultInstruction as parseOracleConsultInstruction, index$4_parseOracleUpdateInstruction as parseOracleUpdateInstruction, index$4_parsePauseInstruction as parsePauseInstruction, index$4_parsePreviewSwapExactInInstruction as parsePreviewSwapExactInInstruction, index$4_parseQuoteToNumeraireInstruction as parseQuoteToNumeraireInstruction, index$4_parseRemoveLiquidityInstruction as parseRemoveLiquidityInstruction, index$4_parseSetFeesInstruction as parseSetFeesInstruction, index$4_parseSetHookInstruction as parseSetHookInstruction, index$4_parseSetRouteInstruction as parseSetRouteInstruction, index$4_parseSwapExactInInstruction as parseSwapExactInInstruction, index$4_parseTransferAdminInstruction as parseTransferAdminInstruction, index$4_parseUnpauseInstruction as parseUnpauseInstruction, index$4_parseUpdateConfigInstruction as parseUpdateConfigInstruction, index$4_parseWithdrawVaultExcessInstruction as parseWithdrawVaultExcessInstruction, index$4_poolDataCodec as poolDataCodec, index$4_poolExists as poolExists, index$4_positionDataCodec as positionDataCodec, index$4_q64Div as q64Div, index$4_q64Mul as q64Mul, index$4_q64ToNumber as q64ToNumber, index$4_quoteToNumeraireArgsCodec as quoteToNumeraireArgsCodec, index$4_ratioToNumber as ratioToNumber, index$4_removeLiquidityArgsCodec as removeLiquidityArgsCodec, index$4_setFeesArgsCodec as setFeesArgsCodec, index$4_setHookArgsCodec as setHookArgsCodec, index$4_setRouteArgsCodec as setRouteArgsCodec, index$4_sortMints as sortMints, index$4_sortPoolsByReserves as sortPoolsByReserves, index$4_sortPositionsByShares as sortPositionsByShares, index$4_swapExactInArgsCodec as swapExactInArgsCodec, index$4_transferAdminArgsCodec as transferAdminArgsCodec, index$4_validateMarketCapParameters as validateMarketCapParameters };
3305
+ export { index$4_ADD_COSIGNER_DISCRIMINATOR as ADD_COSIGNER_DISCRIMINATOR, type index$4_AddCosignerAsyncInput as AddCosignerAsyncInput, type index$4_AddCosignerInput as AddCosignerInput, type index$4_AddCosignerInstruction as AddCosignerInstruction, type index$4_AddCosignerInstructionData as AddCosignerInstructionData, type index$4_AddCosignerInstructionDataArgs as AddCosignerInstructionDataArgs, index$4_COSIGNER_CONFIG_DISCRIMINATOR as COSIGNER_CONFIG_DISCRIMINATOR, index$4_COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS as COSIGNER_HOOK_ERROR__COSIGNER_ALREADY_EXISTS, index$4_COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL as COSIGNER_HOOK_ERROR__COSIGNER_LIST_FULL, index$4_COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND as COSIGNER_HOOK_ERROR__COSIGNER_NOT_FOUND, index$4_COSIGNER_HOOK_ERROR__INVALID_AUTHORITY as COSIGNER_HOOK_ERROR__INVALID_AUTHORITY, index$4_COSIGNER_HOOK_ERROR__INVALID_CONFIG as COSIGNER_HOOK_ERROR__INVALID_CONFIG, index$4_COSIGNER_HOOK_ERROR__INVALID_COSIGNER as COSIGNER_HOOK_ERROR__INVALID_COSIGNER, index$4_COSIGNER_HOOK_PROGRAM_ADDRESS as COSIGNER_HOOK_PROGRAM_ADDRESS, index$4_COSIGNER_HOOK_PROGRAM_ID as COSIGNER_HOOK_PROGRAM_ID, type index$4_CosignerArg as CosignerArg, type index$4_CosignerArgArgs as CosignerArgArgs, type index$4_CosignerConfig as CosignerConfig, type index$4_CosignerConfigArgs as CosignerConfigArgs, index$4_CosignerHookAccount as CosignerHookAccount, type index$4_CosignerHookError as CosignerHookError, index$4_CosignerHookInstruction as CosignerHookInstruction, type index$4_CosignerHookPlugin as CosignerHookPlugin, type index$4_CosignerHookPluginAccounts as CosignerHookPluginAccounts, type index$4_CosignerHookPluginInstructions as CosignerHookPluginInstructions, type index$4_CosignerHookPluginRequirements as CosignerHookPluginRequirements, index$4_INITIALIZE_CONFIG_DISCRIMINATOR as INITIALIZE_CONFIG_DISCRIMINATOR, type InitializeConfigArgs$1 as InitializeConfigArgs, type InitializeConfigArgsArgs$1 as InitializeConfigArgsArgs, type index$4_InitializeConfigAsyncInput as InitializeConfigAsyncInput, type index$4_InitializeConfigInput as InitializeConfigInput, type index$4_InitializeConfigInstruction as InitializeConfigInstruction, type index$4_InitializeConfigInstructionData as InitializeConfigInstructionData, type index$4_InitializeConfigInstructionDataArgs as InitializeConfigInstructionDataArgs, index$4_MAX_COSIGNERS as MAX_COSIGNERS, type index$4_ParsedAddCosignerInstruction as ParsedAddCosignerInstruction, type index$4_ParsedCosignerHookInstruction as ParsedCosignerHookInstruction, type index$4_ParsedInitializeConfigInstruction as ParsedInitializeConfigInstruction, type index$4_ParsedRemoveCosignerInstruction as ParsedRemoveCosignerInstruction, type index$4_ParsedSetAuthorityInstruction as ParsedSetAuthorityInstruction, index$4_REMOVE_COSIGNER_DISCRIMINATOR as REMOVE_COSIGNER_DISCRIMINATOR, type index$4_RemoveCosignerAsyncInput as RemoveCosignerAsyncInput, type index$4_RemoveCosignerInput as RemoveCosignerInput, type index$4_RemoveCosignerInstruction as RemoveCosignerInstruction, type index$4_RemoveCosignerInstructionData as RemoveCosignerInstructionData, type index$4_RemoveCosignerInstructionDataArgs as RemoveCosignerInstructionDataArgs, index$4_SEED_COSIGNER_HOOK_CONFIG as SEED_COSIGNER_HOOK_CONFIG, index$4_SET_AUTHORITY_DISCRIMINATOR as SET_AUTHORITY_DISCRIMINATOR, type index$4_SetAuthorityArgs as SetAuthorityArgs, type index$4_SetAuthorityArgsArgs as SetAuthorityArgsArgs, type index$4_SetAuthorityAsyncInput as SetAuthorityAsyncInput, type index$4_SetAuthorityInput as SetAuthorityInput, type index$4_SetAuthorityInstruction as SetAuthorityInstruction, type index$4_SetAuthorityInstructionData as SetAuthorityInstructionData, type index$4_SetAuthorityInstructionDataArgs as SetAuthorityInstructionDataArgs, index$4_cosignerHookProgram as cosignerHookProgram, index$4_decodeCosignerConfig as decodeCosignerConfig, index$4_fetchAllCosignerConfig as fetchAllCosignerConfig, index$4_fetchAllMaybeCosignerConfig as fetchAllMaybeCosignerConfig, index$4_fetchCosignerConfig as fetchCosignerConfig, index$4_fetchMaybeCosignerConfig as fetchMaybeCosignerConfig, index$4_getAddCosignerDiscriminatorBytes as getAddCosignerDiscriminatorBytes, index$4_getAddCosignerInstruction as getAddCosignerInstruction, index$4_getAddCosignerInstructionAsync as getAddCosignerInstructionAsync, index$4_getAddCosignerInstructionDataCodec as getAddCosignerInstructionDataCodec, index$4_getAddCosignerInstructionDataDecoder as getAddCosignerInstructionDataDecoder, index$4_getAddCosignerInstructionDataEncoder as getAddCosignerInstructionDataEncoder, index$4_getCosignerArgCodec as getCosignerArgCodec, index$4_getCosignerArgDecoder as getCosignerArgDecoder, index$4_getCosignerArgEncoder as getCosignerArgEncoder, index$4_getCosignerConfigCodec as getCosignerConfigCodec, index$4_getCosignerConfigDecoder as getCosignerConfigDecoder, index$4_getCosignerConfigDiscriminatorBytes as getCosignerConfigDiscriminatorBytes, index$4_getCosignerConfigEncoder as getCosignerConfigEncoder, index$4_getCosignerConfigSize as getCosignerConfigSize, index$4_getCosignerHookConfigAddress as getCosignerHookConfigAddress, index$4_getCosignerHookErrorMessage as getCosignerHookErrorMessage, getInitializeConfigArgsCodec$1 as getInitializeConfigArgsCodec, getInitializeConfigArgsDecoder$1 as getInitializeConfigArgsDecoder, getInitializeConfigArgsEncoder$1 as getInitializeConfigArgsEncoder, index$4_getInitializeConfigDiscriminatorBytes as getInitializeConfigDiscriminatorBytes, index$4_getInitializeConfigInstruction as getInitializeConfigInstruction, index$4_getInitializeConfigInstructionAsync as getInitializeConfigInstructionAsync, index$4_getInitializeConfigInstructionDataCodec as getInitializeConfigInstructionDataCodec, index$4_getInitializeConfigInstructionDataDecoder as getInitializeConfigInstructionDataDecoder, index$4_getInitializeConfigInstructionDataEncoder as getInitializeConfigInstructionDataEncoder, index$4_getRemoveCosignerDiscriminatorBytes as getRemoveCosignerDiscriminatorBytes, index$4_getRemoveCosignerInstruction as getRemoveCosignerInstruction, index$4_getRemoveCosignerInstructionAsync as getRemoveCosignerInstructionAsync, index$4_getRemoveCosignerInstructionDataCodec as getRemoveCosignerInstructionDataCodec, index$4_getRemoveCosignerInstructionDataDecoder as getRemoveCosignerInstructionDataDecoder, index$4_getRemoveCosignerInstructionDataEncoder as getRemoveCosignerInstructionDataEncoder, index$4_getSetAuthorityArgsCodec as getSetAuthorityArgsCodec, index$4_getSetAuthorityArgsDecoder as getSetAuthorityArgsDecoder, index$4_getSetAuthorityArgsEncoder as getSetAuthorityArgsEncoder, index$4_getSetAuthorityDiscriminatorBytes as getSetAuthorityDiscriminatorBytes, index$4_getSetAuthorityInstruction as getSetAuthorityInstruction, index$4_getSetAuthorityInstructionAsync as getSetAuthorityInstructionAsync, index$4_getSetAuthorityInstructionDataCodec as getSetAuthorityInstructionDataCodec, index$4_getSetAuthorityInstructionDataDecoder as getSetAuthorityInstructionDataDecoder, index$4_getSetAuthorityInstructionDataEncoder as getSetAuthorityInstructionDataEncoder, index$4_identifyCosignerHookAccount as identifyCosignerHookAccount, index$4_identifyCosignerHookInstruction as identifyCosignerHookInstruction, index$4_isCosignerHookError as isCosignerHookError, index$4_parseAddCosignerInstruction as parseAddCosignerInstruction, index$4_parseCosignerHookInstruction as parseCosignerHookInstruction, index$4_parseInitializeConfigInstruction as parseInitializeConfigInstruction, index$4_parseRemoveCosignerInstruction as parseRemoveCosignerInstruction, index$4_parseSetAuthorityInstruction as parseSetAuthorityInstruction };
2814
3306
  }
2815
3307
 
2816
3308
  /**
@@ -2859,6 +3351,7 @@ declare const HF_BEFORE_CREATE: number;
2859
3351
  declare const HF_AFTER_CREATE: number;
2860
3352
  declare const HF_BEFORE_MIGRATE: number;
2861
3353
  declare const HF_AFTER_MIGRATE: number;
3354
+ declare const HF_FORWARD_READONLY_SIGNERS: number;
2862
3355
  declare const HOOK_NO_CHANGE = 65535;
2863
3356
  declare const INITIALIZER_INSTRUCTION_DISCRIMINATORS: {
2864
3357
  readonly initializeConfig: Uint8Array<ArrayBuffer>;
@@ -3243,6 +3736,7 @@ interface InitializeLaunchAccounts {
3243
3736
  declare function createInitializeLaunchInstruction(accounts: InitializeLaunchAccounts, args: InitializeLaunchParams, programId?: Address): Promise<Instruction>;
3244
3737
 
3245
3738
  type AddressOrSigner$1 = Address | TransactionSigner;
3739
+ type RemainingAccount$1 = Address | AccountMeta | AccountSignerMeta | TransactionSigner;
3246
3740
  interface CurveSwapExactInAccounts {
3247
3741
  config: Address;
3248
3742
  launch: Address;
@@ -3258,6 +3752,7 @@ interface CurveSwapExactInAccounts {
3258
3752
  hookProgram?: Address;
3259
3753
  baseTokenProgram?: Address;
3260
3754
  quoteTokenProgram?: Address;
3755
+ remainingAccounts?: RemainingAccount$1[];
3261
3756
  }
3262
3757
  declare function createCurveSwapExactInInstruction(accounts: CurveSwapExactInAccounts, args: {
3263
3758
  amountIn: bigint;
@@ -3283,6 +3778,7 @@ interface MigrateLaunchAccounts {
3283
3778
  }
3284
3779
  declare function createMigrateLaunchInstruction(accounts: MigrateLaunchAccounts, programId?: Address): Instruction;
3285
3780
 
3781
+ type RemainingAccount = Address | AccountMeta | AccountSignerMeta | TransactionSigner;
3286
3782
  interface PreviewSwapExactInResult {
3287
3783
  amountOut: bigint;
3288
3784
  feePaid: bigint;
@@ -3292,6 +3788,7 @@ interface PreviewSwapExactInAccounts {
3292
3788
  baseVault: Address;
3293
3789
  quoteVault: Address;
3294
3790
  hookProgram?: Address;
3791
+ remainingAccounts?: RemainingAccount[];
3295
3792
  }
3296
3793
  declare function createPreviewSwapExactInInstruction(accounts: PreviewSwapExactInAccounts, args: {
3297
3794
  amountIn: bigint;
@@ -3398,6 +3895,7 @@ declare const index$3_HF_AFTER_SWAP: typeof HF_AFTER_SWAP;
3398
3895
  declare const index$3_HF_BEFORE_CREATE: typeof HF_BEFORE_CREATE;
3399
3896
  declare const index$3_HF_BEFORE_MIGRATE: typeof HF_BEFORE_MIGRATE;
3400
3897
  declare const index$3_HF_BEFORE_SWAP: typeof HF_BEFORE_SWAP;
3898
+ declare const index$3_HF_FORWARD_READONLY_SIGNERS: typeof HF_FORWARD_READONLY_SIGNERS;
3401
3899
  declare const index$3_HOOK_NO_CHANGE: typeof HOOK_NO_CHANGE;
3402
3900
  declare const index$3_INITIALIZER_ACCOUNT_DISCRIMINATORS: typeof INITIALIZER_ACCOUNT_DISCRIMINATORS;
3403
3901
  declare const index$3_INITIALIZER_INSTRUCTION_DISCRIMINATORS: typeof INITIALIZER_INSTRUCTION_DISCRIMINATORS;
@@ -3465,7 +3963,7 @@ declare const index$3_launchExists: typeof launchExists;
3465
3963
  declare const index$3_launchIdFromU64: typeof launchIdFromU64;
3466
3964
  declare const index$3_phaseLabel: typeof phaseLabel;
3467
3965
  declare namespace index$3 {
3468
- 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_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_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_HOOK_NO_CHANGE as HOOK_NO_CHANGE, 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 index$3_InitConfig as InitConfig, type index$3_InitConfigArgs 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_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, index$3_SEED_CONFIG as SEED_CONFIG, index$3_SEED_LAUNCH as SEED_LAUNCH, index$3_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, 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_getConfigAddress as getConfigAddress, index$3_getInitConfigCodec as getInitConfigCodec, index$3_getInitConfigDecoder as getInitConfigDecoder, index$3_getInitConfigEncoder 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_getProgramDataAddress as getProgramDataAddress, index$3_getTokenMetadataAddress as getTokenMetadataAddress, index$3_launchExists as launchExists, index$3_launchIdFromU64 as launchIdFromU64, index$3_phaseLabel as phaseLabel };
3966
+ 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_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_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, 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 index$3_InitConfig as InitConfig, type index$3_InitConfigArgs 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_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, index$3_SEED_CONFIG as SEED_CONFIG, index$3_SEED_LAUNCH as SEED_LAUNCH, index$3_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, 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_getConfigAddress as getConfigAddress, index$3_getInitConfigCodec as getInitConfigCodec, index$3_getInitConfigDecoder as getInitConfigDecoder, index$3_getInitConfigEncoder 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_getProgramDataAddress as getProgramDataAddress, index$3_getTokenMetadataAddress as getTokenMetadataAddress, index$3_launchExists as launchExists, index$3_launchIdFromU64 as launchIdFromU64, index$3_phaseLabel as phaseLabel };
3469
3967
  }
3470
3968
 
3471
3969
  /**
@@ -3666,6 +4164,7 @@ interface CpmmMigrationRemainingAccountsInput {
3666
4164
  adminQuoteAta: Address;
3667
4165
  recipientAtas: Address[];
3668
4166
  cpmmProgram?: Address;
4167
+ cpmmMigratorProgram?: Address;
3669
4168
  }
3670
4169
  interface CpmmMigrationRemainingAccounts {
3671
4170
  addresses: Address[];
@@ -3681,7 +4180,7 @@ interface CpmmMigrationRemainingAccounts {
3681
4180
  launchLpPosition: Address;
3682
4181
  migrationAuthority: Address;
3683
4182
  }
3684
- declare function buildCpmmMigrationRemainingAccounts({ launch, baseMint, quoteMint, launchAuthority, adminBaseAta, adminQuoteAta, recipientAtas, cpmmProgram, }: CpmmMigrationRemainingAccountsInput): Promise<CpmmMigrationRemainingAccounts>;
4183
+ declare function buildCpmmMigrationRemainingAccounts({ launch, baseMint, quoteMint, launchAuthority, adminBaseAta, adminQuoteAta, recipientAtas, cpmmProgram, cpmmMigratorProgram, }: CpmmMigrationRemainingAccountsInput): Promise<CpmmMigrationRemainingAccounts>;
3685
4184
  declare function buildCpmmMigrationRemainingAccountsHash(input: CpmmMigrationRemainingAccountsInput): Promise<Uint8Array>;
3686
4185
 
3687
4186
  declare function encodeRegisterLaunchPayload(args: RegisterLaunchArgsArgs): Uint8Array;
@@ -5490,4 +5989,18 @@ declare namespace index {
5490
5989
  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 };
5491
5990
  }
5492
5991
 
5493
- export { index$4 as cpmm, index$2 as cpmmMigrator, index$3 as initializer, index$1 as predictionMigrator, index as trustedOracle };
5992
+ interface SolanaCpmmProgramAddresses {
5993
+ cpmmProgram: Address;
5994
+ initializerProgram: Address;
5995
+ cpmmMigratorProgram: Address;
5996
+ cpmmHookProgram: Address;
5997
+ cosignerHookProgram: Address;
5998
+ }
5999
+ interface SolanaCpmmDeployment extends SolanaCpmmProgramAddresses {
6000
+ cpmmConfig: Address;
6001
+ initializerConfig: Address;
6002
+ }
6003
+ declare const DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
6004
+ declare function deriveSolanaCpmmDeployment(programs?: SolanaCpmmProgramAddresses): Promise<SolanaCpmmDeployment>;
6005
+
6006
+ export { DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, type SolanaCpmmDeployment, type SolanaCpmmProgramAddresses, index$4 as cosignerHook, index$5 as cpmm, index$2 as cpmmMigrator, deriveSolanaCpmmDeployment, index$3 as initializer, index$1 as predictionMigrator, index as trustedOracle };