@whetstone-research/doppler-sdk 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{chunk-TVBSIQIX.js → chunk-6TOPYGOG.js} +4 -3
  2. package/dist/chunk-6TOPYGOG.js.map +1 -0
  3. package/dist/{chunk-3BW6IVP3.cjs → chunk-AKLS6T3R.cjs} +4 -3
  4. package/dist/chunk-AKLS6T3R.cjs.map +1 -0
  5. package/dist/{chunk-NMTYI3TB.js → chunk-C2D7CIXP.js} +6 -4
  6. package/dist/{chunk-NMTYI3TB.js.map → chunk-C2D7CIXP.js.map} +1 -1
  7. package/dist/{chunk-W5TMS4RD.cjs → chunk-GUGN3EYX.cjs} +39 -37
  8. package/dist/{chunk-W5TMS4RD.cjs.map → chunk-GUGN3EYX.cjs.map} +1 -1
  9. package/dist/evm/index.cjs +10 -0
  10. package/dist/evm/index.cjs.map +1 -1
  11. package/dist/evm/index.d.cts +14 -1
  12. package/dist/evm/index.d.ts +14 -1
  13. package/dist/evm/index.js +10 -1
  14. package/dist/evm/index.js.map +1 -1
  15. package/dist/{oracle-DN8BrGPh.d.ts → oracle-7PmpwwPx.d.cts} +2 -0
  16. package/dist/{oracle-DN8BrGPh.d.cts → oracle-7PmpwwPx.d.ts} +2 -0
  17. package/dist/{pda-5D3GD5S6.js → pda-N6ULJYLG.js} +3 -3
  18. package/dist/pda-N6ULJYLG.js.map +1 -0
  19. package/dist/{pda-GNZYNRUH.cjs → pda-PZRHQJMK.cjs} +16 -16
  20. package/dist/pda-PZRHQJMK.cjs.map +1 -0
  21. package/dist/solana/index.cjs +866 -185
  22. package/dist/solana/index.cjs.map +1 -1
  23. package/dist/solana/index.d.cts +383 -24
  24. package/dist/solana/index.d.ts +383 -24
  25. package/dist/solana/index.js +707 -26
  26. package/dist/solana/index.js.map +1 -1
  27. package/dist/solana/react/index.cjs +47 -47
  28. package/dist/solana/react/index.d.cts +1 -1
  29. package/dist/solana/react/index.d.ts +1 -1
  30. package/dist/solana/react/index.js +3 -3
  31. package/package.json +1 -1
  32. package/dist/chunk-3BW6IVP3.cjs.map +0 -1
  33. package/dist/chunk-TVBSIQIX.js.map +0 -1
  34. package/dist/pda-5D3GD5S6.js.map +0 -1
  35. package/dist/pda-GNZYNRUH.cjs.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import * as _solana_kit from '@solana/kit';
2
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';
3
+ import { A as AmmConfig, P as Pool, a as Position, O as OracleState$2, S as SwapExactInArgs, b as AddLiquidityArgs, R as RemoveLiquidityArgs, C as CollectFeesArgs, c as CollectProtocolFeesArgs, d as CreatePositionArgs, I as InitializeConfigArgs$2, e as InitializePoolArgs, f as InitializeOracleArgs$1, g as SetHookArgs, h as SetFeesArgs, i as SetRouteArgs, T as TransferAdminArgs, j as OracleConsultArgs, Q as QuoteToNumeraireArgs, k as Observation, l as TradeDirection, m as SwapQuote, n as SwapQuoteExactOut, o as AddLiquidityQuote, p as RemoveLiquidityQuote, M as MarketCapValidationResult, q as MarketCapToCurveParamsInput, r as CurveParams, s as CurveParamsToMarketCapInput, G as GetProgramAccountsRpc, t as AddLiquidityEvent, u as AdminTransferredEvent, v as CollectFeesEvent, w as CollectProtocolFeesEvent, F as FeesUpdatedEvent, x as FetchOracleConfig, y as FetchPositionsConfig, H as HookErrorEvent, z as HookInvokedEvent, B as HookUpdatedEvent, D as OracleInitializedEvent, E as OracleUpdatedEvent, J as OracleWithAddress, K as PausedEvent, L as PoolInitializedEvent, N as PositionClosedEvent, U as PositionCreatedEvent, V as PositionValue, W as PositionWithAddress, X as RemoveLiquidityEvent, Y as RouteUpdatedEvent, Z as SwapEvent, _ as TwapResult, $ as UnpausedEvent, a0 as VaultExcessWithdrawnEvent, a1 as comparePoolAndOraclePrices, a2 as consultTwap, a3 as fetchOracle, a4 as fetchOraclesBatch, a5 as fetchPoolPositions, a6 as fetchPosition, a7 as fetchPositionByParams, a8 as fetchPositionsBatch, a9 as fetchUserPositions, aa as filterActivePositions, ab as getOracleAddressFromPool, ac as getOracleAge, ad as getOracleBufferStats, ae as getOracleDeviation, af as getOracleForPool, ag as getOracleSpotPrices, ah as getPositionAddressFromParams, ai as getPositionValue, aj as isOracleStale, ak as sortPositionsByShares } from '../oracle-7PmpwwPx.cjs';
4
4
  import { SelfFetchFunctions, SelfPlanAndSendFunctions } from '@solana/program-client-core';
5
5
  import * as _solana_addresses from '@solana/addresses';
6
6
 
7
7
  /**
8
- * CPMM AMM program ID for the currently published Solana deployment.
8
+ * @deprecated Use DEVNET_CPMM_PROGRAM_ID or pass an explicit deployment.
9
9
  */
10
10
  declare const CPMM_PROGRAM_ID: Address;
11
11
  /**
@@ -1222,6 +1222,8 @@ type InitializePoolInstructionData = {
1222
1222
  initialFeeSplitBps: number;
1223
1223
  liquidityMeasureTokenIndex: number;
1224
1224
  numeraireMintOverride: Option<Address>;
1225
+ hookProgram: Address;
1226
+ hookFlags: number;
1225
1227
  };
1226
1228
  type InitializePoolInstructionDataArgs = {
1227
1229
  mintA: Address;
@@ -1230,6 +1232,8 @@ type InitializePoolInstructionDataArgs = {
1230
1232
  initialFeeSplitBps: number;
1231
1233
  liquidityMeasureTokenIndex: number;
1232
1234
  numeraireMintOverride: OptionOrNullable<Address>;
1235
+ hookProgram: Address;
1236
+ hookFlags: number;
1233
1237
  };
1234
1238
  declare function getInitializePoolInstructionDataEncoder(): Encoder<InitializePoolInstructionDataArgs>;
1235
1239
  declare function getInitializePoolInstructionDataDecoder(): Decoder<InitializePoolInstructionData>;
@@ -1260,6 +1264,8 @@ type InitializePoolAsyncInput<TAccountConfig extends string = string, TAccountPo
1260
1264
  initialFeeSplitBps: InitializePoolInstructionDataArgs['initialFeeSplitBps'];
1261
1265
  liquidityMeasureTokenIndex: InitializePoolInstructionDataArgs['liquidityMeasureTokenIndex'];
1262
1266
  numeraireMintOverride: InitializePoolInstructionDataArgs['numeraireMintOverride'];
1267
+ hookProgram: InitializePoolInstructionDataArgs['hookProgram'];
1268
+ hookFlags: InitializePoolInstructionDataArgs['hookFlags'];
1263
1269
  };
1264
1270
  declare function getInitializePoolInstructionAsync<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolAsyncInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1265
1271
  programAddress?: TProgramAddress;
@@ -1290,6 +1296,8 @@ type InitializePoolInput<TAccountConfig extends string = string, TAccountPool ex
1290
1296
  initialFeeSplitBps: InitializePoolInstructionDataArgs['initialFeeSplitBps'];
1291
1297
  liquidityMeasureTokenIndex: InitializePoolInstructionDataArgs['liquidityMeasureTokenIndex'];
1292
1298
  numeraireMintOverride: InitializePoolInstructionDataArgs['numeraireMintOverride'];
1299
+ hookProgram: InitializePoolInstructionDataArgs['hookProgram'];
1300
+ hookFlags: InitializePoolInstructionDataArgs['hookFlags'];
1293
1301
  };
1294
1302
  declare function getInitializePoolInstruction<TAccountConfig extends string, TAccountPool extends string, TAccountProtocolFeePosition extends string, TAccountAuthority extends string, TAccountVault0 extends string, TAccountVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountPayer extends string, TAccountToken0Program extends string, TAccountToken1Program extends string, TAccountSystemProgram extends string, TAccountRent extends string, TAccountMigrationAuthority extends string, TProgramAddress extends Address = typeof CPMM_PROGRAM_ADDRESS>(input: InitializePoolInput<TAccountConfig, TAccountPool, TAccountProtocolFeePosition, TAccountAuthority, TAccountVault0, TAccountVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountPayer, TAccountToken0Program, TAccountToken1Program, TAccountSystemProgram, TAccountRent, TAccountMigrationAuthority>, config?: {
1295
1303
  programAddress?: TProgramAddress;
@@ -3329,6 +3337,7 @@ declare const PREDICTION_HOOK_PROGRAM_ID: Address;
3329
3337
  declare const SEED_CONFIG = "config";
3330
3338
  declare const SEED_LAUNCH = "launch";
3331
3339
  declare const SEED_LAUNCH_AUTHORITY = "launch_authority";
3340
+ declare const SEED_LAUNCH_FEE_STATE = "launch_fee_state";
3332
3341
  /**
3333
3342
  * Commitment hash for an empty remaining-accounts list — keccak256 of [0,0,0,0].
3334
3343
  * Pass this for hookRemainingAccountsHash and migratorRemainingAccountsHash
@@ -3366,6 +3375,7 @@ declare const INITIALIZER_INSTRUCTION_DISCRIMINATORS: {
3366
3375
  declare const INITIALIZER_ACCOUNT_DISCRIMINATORS: {
3367
3376
  readonly InitConfig: Uint8Array<ArrayBuffer>;
3368
3377
  readonly Launch: Uint8Array<ArrayBuffer>;
3378
+ readonly LaunchFeeState: Uint8Array<ArrayBuffer>;
3369
3379
  };
3370
3380
 
3371
3381
  /**
@@ -3376,7 +3386,7 @@ declare const INITIALIZER_ACCOUNT_DISCRIMINATORS: {
3376
3386
  * @see https://github.com/codama-idl/codama
3377
3387
  */
3378
3388
 
3379
- type InitConfig = {
3389
+ type InitConfig$1 = {
3380
3390
  discriminator: ReadonlyUint8Array;
3381
3391
  admin: Address;
3382
3392
  migratorAllowlistLen: number;
@@ -3385,9 +3395,12 @@ type InitConfig = {
3385
3395
  hookAllowlist: Array<Address>;
3386
3396
  bump: number;
3387
3397
  version: number;
3398
+ protocolFeeBps: number;
3399
+ minSwapFeeBps: number;
3400
+ maxSwapFeeBps: number;
3388
3401
  reserved: ReadonlyUint8Array;
3389
3402
  };
3390
- type InitConfigArgs = {
3403
+ type InitConfigArgs$1 = {
3391
3404
  admin: Address;
3392
3405
  migratorAllowlistLen: number;
3393
3406
  migratorAllowlist: Array<Address>;
@@ -3395,14 +3408,46 @@ type InitConfigArgs = {
3395
3408
  hookAllowlist: Array<Address>;
3396
3409
  bump: number;
3397
3410
  version: number;
3411
+ protocolFeeBps: number;
3412
+ minSwapFeeBps: number;
3413
+ maxSwapFeeBps: number;
3398
3414
  reserved: ReadonlyUint8Array;
3399
3415
  };
3400
3416
  /** Gets the encoder for {@link InitConfigArgs} account data. */
3401
- declare function getInitConfigEncoder(): FixedSizeEncoder<InitConfigArgs>;
3417
+ declare function getInitConfigEncoder$1(): FixedSizeEncoder<InitConfigArgs$1>;
3402
3418
  /** Gets the decoder for {@link InitConfig} account data. */
3403
- declare function getInitConfigDecoder(): FixedSizeDecoder<InitConfig>;
3419
+ declare function getInitConfigDecoder$1(): FixedSizeDecoder<InitConfig$1>;
3404
3420
  /** Gets the codec for {@link InitConfig} account data. */
3405
- declare function getInitConfigCodec(): FixedSizeCodec<InitConfigArgs, InitConfig>;
3421
+ declare function getInitConfigCodec$1(): FixedSizeCodec<InitConfigArgs$1, InitConfig$1>;
3422
+
3423
+ /**
3424
+ * This code was AUTOGENERATED using the Codama library.
3425
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3426
+ * to add features, then rerun Codama to update it.
3427
+ *
3428
+ * @see https://github.com/codama-idl/codama
3429
+ */
3430
+
3431
+ type FeeBeneficiary = {
3432
+ wallet: Address;
3433
+ shareBps: number;
3434
+ pad: ReadonlyUint8Array;
3435
+ };
3436
+ type FeeBeneficiaryArgs = FeeBeneficiary;
3437
+
3438
+ /**
3439
+ * This code was AUTOGENERATED using the Codama library.
3440
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3441
+ * to add features, then rerun Codama to update it.
3442
+ *
3443
+ * @see https://github.com/codama-idl/codama
3444
+ */
3445
+
3446
+ type FeeBeneficiaryInput = {
3447
+ wallet: Address;
3448
+ shareBps: number;
3449
+ };
3450
+ type FeeBeneficiaryInputArgs = FeeBeneficiaryInput;
3406
3451
 
3407
3452
  /**
3408
3453
  * This code was AUTOGENERATED using the Codama library.
@@ -3415,6 +3460,9 @@ declare function getInitConfigCodec(): FixedSizeCodec<InitConfigArgs, InitConfig
3415
3460
  type InitializeConfigArgs = {
3416
3461
  migratorAllowlist: Array<Address>;
3417
3462
  hookAllowlist: Array<Address>;
3463
+ protocolFeeBps: number;
3464
+ minSwapFeeBps: number;
3465
+ maxSwapFeeBps: number;
3418
3466
  };
3419
3467
  type InitializeConfigArgsArgs = InitializeConfigArgs;
3420
3468
  declare function getInitializeConfigArgsEncoder(): Encoder<InitializeConfigArgsArgs>;
@@ -3438,7 +3486,7 @@ type InitializeLaunchArgs = {
3438
3486
  baseForLiquidity: bigint;
3439
3487
  curveVirtualBase: bigint;
3440
3488
  curveVirtualQuote: bigint;
3441
- curveFeeBps: number;
3489
+ swapFeeBps: number;
3442
3490
  curveKind: number;
3443
3491
  curveParams: ReadonlyUint8Array;
3444
3492
  allowBuy: number;
@@ -3476,6 +3524,7 @@ type InitializeLaunchArgs = {
3476
3524
  metadataSymbol: string;
3477
3525
  /** Metadata JSON URI for on-chain metadata. */
3478
3526
  metadataUri: string;
3527
+ feeBeneficiaries: Array<FeeBeneficiaryInput>;
3479
3528
  };
3480
3529
  type InitializeLaunchArgsArgs = {
3481
3530
  namespace: Address;
@@ -3486,7 +3535,7 @@ type InitializeLaunchArgsArgs = {
3486
3535
  baseForLiquidity: number | bigint;
3487
3536
  curveVirtualBase: number | bigint;
3488
3537
  curveVirtualQuote: number | bigint;
3489
- curveFeeBps: number;
3538
+ swapFeeBps: number;
3490
3539
  curveKind: number;
3491
3540
  curveParams: ReadonlyUint8Array;
3492
3541
  allowBuy: number;
@@ -3524,6 +3573,7 @@ type InitializeLaunchArgsArgs = {
3524
3573
  metadataSymbol: string;
3525
3574
  /** Metadata JSON URI for on-chain metadata. */
3526
3575
  metadataUri: string;
3576
+ feeBeneficiaries: Array<FeeBeneficiaryInputArgs>;
3527
3577
  };
3528
3578
  declare function getInitializeLaunchArgsEncoder(): Encoder<InitializeLaunchArgsArgs>;
3529
3579
  declare function getInitializeLaunchArgsDecoder(): Decoder<InitializeLaunchArgs>;
@@ -3570,7 +3620,7 @@ type Launch$1 = {
3570
3620
  baseForCurve: bigint;
3571
3621
  curveVirtualBase: bigint;
3572
3622
  curveVirtualQuote: bigint;
3573
- curveFeeBps: number;
3623
+ swapFeeBps: number;
3574
3624
  pad1: ReadonlyUint8Array;
3575
3625
  allowBuy: number;
3576
3626
  allowSell: number;
@@ -3607,7 +3657,7 @@ type LaunchArgs$1 = {
3607
3657
  baseForCurve: number | bigint;
3608
3658
  curveVirtualBase: number | bigint;
3609
3659
  curveVirtualQuote: number | bigint;
3610
- curveFeeBps: number;
3660
+ swapFeeBps: number;
3611
3661
  pad1: ReadonlyUint8Array;
3612
3662
  allowBuy: number;
3613
3663
  allowSell: number;
@@ -3633,6 +3683,216 @@ declare function getLaunchDecoder$1(): FixedSizeDecoder<Launch$1>;
3633
3683
  /** Gets the codec for {@link Launch} account data. */
3634
3684
  declare function getLaunchCodec$1(): FixedSizeCodec<LaunchArgs$1, Launch$1>;
3635
3685
 
3686
+ /**
3687
+ * This code was AUTOGENERATED using the Codama library.
3688
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3689
+ * to add features, then rerun Codama to update it.
3690
+ *
3691
+ * @see https://github.com/codama-idl/codama
3692
+ */
3693
+
3694
+ type LaunchFeeState = {
3695
+ discriminator: ReadonlyUint8Array;
3696
+ launch: Address;
3697
+ protocolBeneficiary: Address;
3698
+ beneficiaryLen: number;
3699
+ bump: number;
3700
+ protocolFeeBps: number;
3701
+ swapFeeBps: number;
3702
+ version: number;
3703
+ pad0: ReadonlyUint8Array;
3704
+ beneficiaries: Array<FeeBeneficiary>;
3705
+ cumulatedBaseFees: bigint;
3706
+ cumulatedQuoteFees: bigint;
3707
+ distributedProtocolBaseFees: bigint;
3708
+ distributedProtocolQuoteFees: bigint;
3709
+ distributedBaseByBeneficiary: Array<bigint>;
3710
+ distributedQuoteByBeneficiary: Array<bigint>;
3711
+ reserved: ReadonlyUint8Array;
3712
+ };
3713
+ type LaunchFeeStateArgs = {
3714
+ launch: Address;
3715
+ protocolBeneficiary: Address;
3716
+ beneficiaryLen: number;
3717
+ bump: number;
3718
+ protocolFeeBps: number;
3719
+ swapFeeBps: number;
3720
+ version: number;
3721
+ pad0: ReadonlyUint8Array;
3722
+ beneficiaries: Array<FeeBeneficiaryArgs>;
3723
+ cumulatedBaseFees: number | bigint;
3724
+ cumulatedQuoteFees: number | bigint;
3725
+ distributedProtocolBaseFees: number | bigint;
3726
+ distributedProtocolQuoteFees: number | bigint;
3727
+ distributedBaseByBeneficiary: Array<number | bigint>;
3728
+ distributedQuoteByBeneficiary: Array<number | bigint>;
3729
+ reserved: ReadonlyUint8Array;
3730
+ };
3731
+ /** Gets the encoder for {@link LaunchFeeStateArgs} account data. */
3732
+ declare function getLaunchFeeStateEncoder(): FixedSizeEncoder<LaunchFeeStateArgs>;
3733
+ /** Gets the decoder for {@link LaunchFeeState} account data. */
3734
+ declare function getLaunchFeeStateDecoder(): FixedSizeDecoder<LaunchFeeState>;
3735
+ /** Gets the codec for {@link LaunchFeeState} account data. */
3736
+ declare function getLaunchFeeStateCodec(): FixedSizeCodec<LaunchFeeStateArgs, LaunchFeeState>;
3737
+
3738
+ /**
3739
+ * This code was AUTOGENERATED using the Codama library.
3740
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3741
+ * to add features, then rerun Codama to update it.
3742
+ *
3743
+ * @see https://github.com/codama-idl/codama
3744
+ */
3745
+
3746
+ declare const INITIALIZER_PROGRAM_ADDRESS: Address<"4h3Dqyo5qmteJoMxXt3tdtfXELDB6pdRTPU9mWruiKp1">;
3747
+
3748
+ /**
3749
+ * This code was AUTOGENERATED using the Codama library.
3750
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3751
+ * to add features, then rerun Codama to update it.
3752
+ *
3753
+ * @see https://github.com/codama-idl/codama
3754
+ */
3755
+
3756
+ type ClaimFeesInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountLaunchAuthority extends string | AccountMeta<string> = string, TAccountRecipient extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountRecipientBaseAta extends string | AccountMeta<string> = string, TAccountRecipientQuoteAta extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3757
+ TAccountLaunch extends string ? ReadonlyAccount<TAccountLaunch> : TAccountLaunch,
3758
+ TAccountLaunchFeeState extends string ? WritableAccount<TAccountLaunchFeeState> : TAccountLaunchFeeState,
3759
+ TAccountLaunchAuthority extends string ? ReadonlyAccount<TAccountLaunchAuthority> : TAccountLaunchAuthority,
3760
+ TAccountRecipient extends string ? ReadonlyAccount<TAccountRecipient> : TAccountRecipient,
3761
+ TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint,
3762
+ TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint,
3763
+ TAccountBaseVault extends string ? WritableAccount<TAccountBaseVault> : TAccountBaseVault,
3764
+ TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault,
3765
+ TAccountRecipientBaseAta extends string ? WritableAccount<TAccountRecipientBaseAta> : TAccountRecipientBaseAta,
3766
+ TAccountRecipientQuoteAta extends string ? WritableAccount<TAccountRecipientQuoteAta> : TAccountRecipientQuoteAta,
3767
+ TAccountBaseTokenProgram extends string ? ReadonlyAccount<TAccountBaseTokenProgram> : TAccountBaseTokenProgram,
3768
+ TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram,
3769
+ ...TRemainingAccounts
3770
+ ]>;
3771
+ type ClaimFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountRecipient extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = {
3772
+ launch: Address<TAccountLaunch>;
3773
+ launchFeeState?: Address<TAccountLaunchFeeState>;
3774
+ launchAuthority?: Address<TAccountLaunchAuthority>;
3775
+ recipient: Address<TAccountRecipient>;
3776
+ baseMint: Address<TAccountBaseMint>;
3777
+ quoteMint: Address<TAccountQuoteMint>;
3778
+ baseVault: Address<TAccountBaseVault>;
3779
+ quoteVault: Address<TAccountQuoteVault>;
3780
+ recipientBaseAta: Address<TAccountRecipientBaseAta>;
3781
+ recipientQuoteAta: Address<TAccountRecipientQuoteAta>;
3782
+ baseTokenProgram: Address<TAccountBaseTokenProgram>;
3783
+ quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
3784
+ };
3785
+ declare function getClaimFeesInstructionAsync<TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountLaunchAuthority extends string, TAccountRecipient extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountRecipientBaseAta extends string, TAccountRecipientQuoteAta extends string, TAccountBaseTokenProgram extends string, TAccountQuoteTokenProgram extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ClaimFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>, config?: {
3786
+ programAddress?: TProgramAddress;
3787
+ }): Promise<ClaimFeesInstruction<TProgramAddress, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>>;
3788
+
3789
+ /**
3790
+ * This code was AUTOGENERATED using the Codama library.
3791
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3792
+ * to add features, then rerun Codama to update it.
3793
+ *
3794
+ * @see https://github.com/codama-idl/codama
3795
+ */
3796
+
3797
+ type HarvestMigratedFeesInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountLaunchAuthority extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountLaunchLpPosition extends string | AccountMeta<string> = string, TAccountPoolAuthority extends string | AccountMeta<string> = string, TAccountPoolVault0 extends string | AccountMeta<string> = string, TAccountPoolVault1 extends string | AccountMeta<string> = string, TAccountToken0Mint extends string | AccountMeta<string> = string, TAccountToken1Mint extends string | AccountMeta<string> = string, TAccountCpmmProgram extends string | AccountMeta<string> = '9PSxVPoPfnbZ8Q1uQhgS6ZxvBjFboZtebNsu34umxkgQ', TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3798
+ TAccountLaunch extends string ? ReadonlyAccount<TAccountLaunch> : TAccountLaunch,
3799
+ TAccountLaunchFeeState extends string ? WritableAccount<TAccountLaunchFeeState> : TAccountLaunchFeeState,
3800
+ TAccountLaunchAuthority extends string ? ReadonlyAccount<TAccountLaunchAuthority> : TAccountLaunchAuthority,
3801
+ TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint,
3802
+ TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint,
3803
+ TAccountBaseVault extends string ? WritableAccount<TAccountBaseVault> : TAccountBaseVault,
3804
+ TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault,
3805
+ TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool,
3806
+ TAccountLaunchLpPosition extends string ? WritableAccount<TAccountLaunchLpPosition> : TAccountLaunchLpPosition,
3807
+ TAccountPoolAuthority extends string ? ReadonlyAccount<TAccountPoolAuthority> : TAccountPoolAuthority,
3808
+ TAccountPoolVault0 extends string ? WritableAccount<TAccountPoolVault0> : TAccountPoolVault0,
3809
+ TAccountPoolVault1 extends string ? WritableAccount<TAccountPoolVault1> : TAccountPoolVault1,
3810
+ TAccountToken0Mint extends string ? ReadonlyAccount<TAccountToken0Mint> : TAccountToken0Mint,
3811
+ TAccountToken1Mint extends string ? ReadonlyAccount<TAccountToken1Mint> : TAccountToken1Mint,
3812
+ TAccountCpmmProgram extends string ? ReadonlyAccount<TAccountCpmmProgram> : TAccountCpmmProgram,
3813
+ TAccountBaseTokenProgram extends string ? ReadonlyAccount<TAccountBaseTokenProgram> : TAccountBaseTokenProgram,
3814
+ TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram,
3815
+ ...TRemainingAccounts
3816
+ ]>;
3817
+ type HarvestMigratedFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLaunchLpPosition extends string = string, TAccountPoolAuthority extends string = string, TAccountPoolVault0 extends string = string, TAccountPoolVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountCpmmProgram extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = {
3818
+ launch: Address<TAccountLaunch>;
3819
+ launchFeeState?: Address<TAccountLaunchFeeState>;
3820
+ launchAuthority?: Address<TAccountLaunchAuthority>;
3821
+ baseMint: Address<TAccountBaseMint>;
3822
+ quoteMint: Address<TAccountQuoteMint>;
3823
+ baseVault: Address<TAccountBaseVault>;
3824
+ quoteVault: Address<TAccountQuoteVault>;
3825
+ pool: Address<TAccountPool>;
3826
+ launchLpPosition: Address<TAccountLaunchLpPosition>;
3827
+ poolAuthority: Address<TAccountPoolAuthority>;
3828
+ poolVault0: Address<TAccountPoolVault0>;
3829
+ poolVault1: Address<TAccountPoolVault1>;
3830
+ token0Mint: Address<TAccountToken0Mint>;
3831
+ token1Mint: Address<TAccountToken1Mint>;
3832
+ cpmmProgram?: Address<TAccountCpmmProgram>;
3833
+ baseTokenProgram: Address<TAccountBaseTokenProgram>;
3834
+ quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
3835
+ };
3836
+ declare function getHarvestMigratedFeesInstructionAsync<TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountLaunchAuthority extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountPool extends string, TAccountLaunchLpPosition extends string, TAccountPoolAuthority extends string, TAccountPoolVault0 extends string, TAccountPoolVault1 extends string, TAccountToken0Mint extends string, TAccountToken1Mint extends string, TAccountCpmmProgram extends string, TAccountBaseTokenProgram extends string, TAccountQuoteTokenProgram extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: HarvestMigratedFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLaunchLpPosition, TAccountPoolAuthority, TAccountPoolVault0, TAccountPoolVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountCpmmProgram, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>, config?: {
3837
+ programAddress?: TProgramAddress;
3838
+ }): Promise<HarvestMigratedFeesInstruction<TProgramAddress, TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLaunchLpPosition, TAccountPoolAuthority, TAccountPoolVault0, TAccountPoolVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountCpmmProgram, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>>;
3839
+
3840
+ /**
3841
+ * This code was AUTOGENERATED using the Codama library.
3842
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3843
+ * to add features, then rerun Codama to update it.
3844
+ *
3845
+ * @see https://github.com/codama-idl/codama
3846
+ */
3847
+
3848
+ type ReplaceFeeBeneficiaryInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountLaunch extends string | AccountMeta<string> = string, TAccountLaunchFeeState extends string | AccountMeta<string> = string, TAccountCurrentBeneficiary extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3849
+ TAccountLaunch extends string ? ReadonlyAccount<TAccountLaunch> : TAccountLaunch,
3850
+ TAccountLaunchFeeState extends string ? WritableAccount<TAccountLaunchFeeState> : TAccountLaunchFeeState,
3851
+ TAccountCurrentBeneficiary extends string ? ReadonlySignerAccount<TAccountCurrentBeneficiary> & AccountSignerMeta<TAccountCurrentBeneficiary> : TAccountCurrentBeneficiary,
3852
+ ...TRemainingAccounts
3853
+ ]>;
3854
+ type ReplaceFeeBeneficiaryInstructionDataArgs = {
3855
+ newBeneficiary: Address;
3856
+ };
3857
+ type ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = {
3858
+ launch: Address<TAccountLaunch>;
3859
+ launchFeeState?: Address<TAccountLaunchFeeState>;
3860
+ currentBeneficiary: TransactionSigner<TAccountCurrentBeneficiary>;
3861
+ newBeneficiary: ReplaceFeeBeneficiaryInstructionDataArgs['newBeneficiary'];
3862
+ };
3863
+ declare function getReplaceFeeBeneficiaryInstructionAsync<TAccountLaunch extends string, TAccountLaunchFeeState extends string, TAccountCurrentBeneficiary extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>, config?: {
3864
+ programAddress?: TProgramAddress;
3865
+ }): Promise<ReplaceFeeBeneficiaryInstruction<TProgramAddress, TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>>;
3866
+
3867
+ /**
3868
+ * This code was AUTOGENERATED using the Codama library.
3869
+ * Please DO NOT EDIT THIS FILE, instead use visitors
3870
+ * to add features, then rerun Codama to update it.
3871
+ *
3872
+ * @see https://github.com/codama-idl/codama
3873
+ */
3874
+
3875
+ type SetFeePolicyInstruction<TProgram extends string = typeof INITIALIZER_PROGRAM_ADDRESS, TAccountConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3876
+ TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
3877
+ TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
3878
+ ...TRemainingAccounts
3879
+ ]>;
3880
+ type SetFeePolicyInstructionDataArgs = {
3881
+ protocolFeeBps: number;
3882
+ minSwapFeeBps: number;
3883
+ maxSwapFeeBps: number;
3884
+ };
3885
+ type SetFeePolicyAsyncInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = {
3886
+ config?: Address<TAccountConfig>;
3887
+ admin: TransactionSigner<TAccountAdmin>;
3888
+ protocolFeeBps: SetFeePolicyInstructionDataArgs['protocolFeeBps'];
3889
+ minSwapFeeBps: SetFeePolicyInstructionDataArgs['minSwapFeeBps'];
3890
+ maxSwapFeeBps: SetFeePolicyInstructionDataArgs['maxSwapFeeBps'];
3891
+ };
3892
+ declare function getSetFeePolicyInstructionAsync<TAccountConfig extends string, TAccountAdmin extends string, TProgramAddress extends Address = typeof INITIALIZER_PROGRAM_ADDRESS>(input: SetFeePolicyAsyncInput<TAccountConfig, TAccountAdmin>, config?: {
3893
+ programAddress?: TProgramAddress;
3894
+ }): Promise<SetFeePolicyInstruction<TProgramAddress, TAccountConfig, TAccountAdmin>>;
3895
+
3636
3896
  declare function encodeU64LE(value: bigint): Uint8Array;
3637
3897
  /**
3638
3898
  * Derive the InitConfig PDA address.
@@ -3654,6 +3914,11 @@ declare function getLaunchAddress(namespace: Address, launchId: Uint8Array, prog
3654
3914
  * Seeds: ['launch_authority', launch]
3655
3915
  */
3656
3916
  declare function getLaunchAuthorityAddress(launch: Address, programId?: Address): Promise<ProgramDerivedAddress>;
3917
+ /**
3918
+ * Derive the LaunchFeeState PDA address.
3919
+ * Seeds: ['launch_fee_state', launch]
3920
+ */
3921
+ declare function getLaunchFeeStateAddress(launch: Address, programId?: Address): Promise<ProgramDerivedAddress>;
3657
3922
  /**
3658
3923
  * Convenience helper for the common pattern: embed a u64 into a 32-byte launch_id.
3659
3924
  */
@@ -3688,9 +3953,13 @@ declare function createSetHookAllowlistInstruction(accounts: SetHookAllowlistAcc
3688
3953
  * - migratorProgram is omitted — it is derived from accounts.migratorProgram
3689
3954
  * so callers do not need to repeat it in both the accounts object and args.
3690
3955
  */
3691
- type InitializeLaunchParams = Omit<InitializeLaunchArgsArgs, 'allowBuy' | 'allowSell' | 'hookProgram' | 'migratorProgram' | 'hookCreateRemainingAccountsLen' | 'hookCreateRemainingAccountsHash'> & {
3956
+ type InitializeLaunchParams = Omit<InitializeLaunchArgsArgs, 'allowBuy' | 'allowSell' | 'hookProgram' | 'migratorProgram' | 'hookCreateRemainingAccountsLen' | 'hookCreateRemainingAccountsHash' | 'swapFeeBps' | 'feeBeneficiaries'> & {
3692
3957
  allowBuy: boolean;
3693
3958
  allowSell: boolean;
3959
+ swapFeeBps?: number;
3960
+ /** @deprecated Use swapFeeBps. */
3961
+ curveFeeBps?: number;
3962
+ feeBeneficiaries?: InitializeLaunchArgsArgs['feeBeneficiaries'];
3694
3963
  hookProgram?: Address;
3695
3964
  hookCreateRemainingAccountsLen?: number;
3696
3965
  hookCreateRemainingAccountsHash?: ReadonlyUint8Array;
@@ -3713,6 +3982,7 @@ interface InitializeLaunchAccounts {
3713
3982
  quoteMint: Address;
3714
3983
  baseVault: AddressOrSigner$2;
3715
3984
  quoteVault: AddressOrSigner$2;
3985
+ launchFeeState?: Address;
3716
3986
  payer: AddressOrSigner$2;
3717
3987
  authority?: AddressOrSigner$2;
3718
3988
  hookProgram?: Address;
@@ -3750,6 +4020,7 @@ interface CurveSwapExactInAccounts {
3750
4020
  user: AddressOrSigner$1;
3751
4021
  /** Pass the actual hook program address, or omit to use System Program as a no-op placeholder. */
3752
4022
  hookProgram?: Address;
4023
+ launchFeeState: Address;
3753
4024
  baseTokenProgram?: Address;
3754
4025
  quoteTokenProgram?: Address;
3755
4026
  remainingAccounts?: RemainingAccount$1[];
@@ -3769,6 +4040,7 @@ interface MigrateLaunchAccounts {
3769
4040
  quoteMint: Address;
3770
4041
  baseVault: Address;
3771
4042
  quoteVault: Address;
4043
+ launchFeeState: Address;
3772
4044
  migratorProgram: Address;
3773
4045
  payer: AddressOrSigner;
3774
4046
  baseTokenProgram?: Address;
@@ -3785,6 +4057,7 @@ interface PreviewSwapExactInResult {
3785
4057
  }
3786
4058
  interface PreviewSwapExactInAccounts {
3787
4059
  launch: Address;
4060
+ launchFeeState: Address;
3788
4061
  baseVault: Address;
3789
4062
  quoteVault: Address;
3790
4063
  hookProgram?: Address;
@@ -3885,9 +4158,14 @@ type index$3_BuildAddressLookupTableSetupInstructionsResult = BuildAddressLookup
3885
4158
  declare const index$3_CPMM_HOOK_PROGRAM_ID: typeof CPMM_HOOK_PROGRAM_ID;
3886
4159
  declare const index$3_CURVE_KIND_XYK: typeof CURVE_KIND_XYK;
3887
4160
  declare const index$3_CURVE_PARAMS_FORMAT_XYK_V0: typeof CURVE_PARAMS_FORMAT_XYK_V0;
4161
+ type index$3_ClaimFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountRecipient extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountRecipientBaseAta extends string = string, TAccountRecipientQuoteAta extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = ClaimFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountRecipient, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountRecipientBaseAta, TAccountRecipientQuoteAta, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>;
3888
4162
  type index$3_CurveSwapExactInAccounts = CurveSwapExactInAccounts;
3889
4163
  declare const index$3_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND: typeof DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND;
3890
4164
  declare const index$3_EMPTY_REMAINING_ACCOUNTS_HASH: typeof EMPTY_REMAINING_ACCOUNTS_HASH;
4165
+ type index$3_FeeBeneficiary = FeeBeneficiary;
4166
+ type index$3_FeeBeneficiaryArgs = FeeBeneficiaryArgs;
4167
+ type index$3_FeeBeneficiaryInput = FeeBeneficiaryInput;
4168
+ type index$3_FeeBeneficiaryInputArgs = FeeBeneficiaryInputArgs;
3891
4169
  type index$3_FetchLaunchesConfig = FetchLaunchesConfig;
3892
4170
  declare const index$3_HF_AFTER_CREATE: typeof HF_AFTER_CREATE;
3893
4171
  declare const index$3_HF_AFTER_MIGRATE: typeof HF_AFTER_MIGRATE;
@@ -3897,17 +4175,18 @@ declare const index$3_HF_BEFORE_MIGRATE: typeof HF_BEFORE_MIGRATE;
3897
4175
  declare const index$3_HF_BEFORE_SWAP: typeof HF_BEFORE_SWAP;
3898
4176
  declare const index$3_HF_FORWARD_READONLY_SIGNERS: typeof HF_FORWARD_READONLY_SIGNERS;
3899
4177
  declare const index$3_HOOK_NO_CHANGE: typeof HOOK_NO_CHANGE;
4178
+ type index$3_HarvestMigratedFeesAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLaunchLpPosition extends string = string, TAccountPoolAuthority extends string = string, TAccountPoolVault0 extends string = string, TAccountPoolVault1 extends string = string, TAccountToken0Mint extends string = string, TAccountToken1Mint extends string = string, TAccountCpmmProgram extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string> = HarvestMigratedFeesAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLaunchLpPosition, TAccountPoolAuthority, TAccountPoolVault0, TAccountPoolVault1, TAccountToken0Mint, TAccountToken1Mint, TAccountCpmmProgram, TAccountBaseTokenProgram, TAccountQuoteTokenProgram>;
3900
4179
  declare const index$3_INITIALIZER_ACCOUNT_DISCRIMINATORS: typeof INITIALIZER_ACCOUNT_DISCRIMINATORS;
3901
4180
  declare const index$3_INITIALIZER_INSTRUCTION_DISCRIMINATORS: typeof INITIALIZER_INSTRUCTION_DISCRIMINATORS;
3902
4181
  declare const index$3_INITIALIZER_PROGRAM_ID: typeof INITIALIZER_PROGRAM_ID;
3903
- type index$3_InitConfig = InitConfig;
3904
- type index$3_InitConfigArgs = InitConfigArgs;
3905
4182
  type index$3_InitializeConfigAccounts = InitializeConfigAccounts;
3906
4183
  type index$3_InitializeConfigArgs = InitializeConfigArgs;
3907
4184
  type index$3_InitializeConfigArgsArgs = InitializeConfigArgsArgs;
3908
4185
  type index$3_InitializeLaunchAccounts = InitializeLaunchAccounts;
3909
4186
  type index$3_InitializeLaunchArgs = InitializeLaunchArgs;
3910
4187
  type index$3_InitializeLaunchArgsArgs = InitializeLaunchArgsArgs;
4188
+ type index$3_LaunchFeeState = LaunchFeeState;
4189
+ type index$3_LaunchFeeStateArgs = LaunchFeeStateArgs;
3911
4190
  type index$3_LaunchWithAddress = LaunchWithAddress;
3912
4191
  declare const index$3_MAX_HOOK_ALLOWLIST: typeof MAX_HOOK_ALLOWLIST;
3913
4192
  declare const index$3_MAX_MIGRATOR_ALLOWLIST: typeof MAX_MIGRATOR_ALLOWLIST;
@@ -3921,9 +4200,12 @@ type index$3_PreviewMigrationAccounts = PreviewMigrationAccounts;
3921
4200
  type index$3_PreviewMigrationResult = PreviewMigrationResult;
3922
4201
  type index$3_PreviewSwapExactInAccounts = PreviewSwapExactInAccounts;
3923
4202
  type index$3_PreviewSwapExactInResult = PreviewSwapExactInResult;
4203
+ type index$3_ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch extends string = string, TAccountLaunchFeeState extends string = string, TAccountCurrentBeneficiary extends string = string> = ReplaceFeeBeneficiaryAsyncInput<TAccountLaunch, TAccountLaunchFeeState, TAccountCurrentBeneficiary>;
3924
4204
  declare const index$3_SEED_CONFIG: typeof SEED_CONFIG;
3925
4205
  declare const index$3_SEED_LAUNCH: typeof SEED_LAUNCH;
3926
4206
  declare const index$3_SEED_LAUNCH_AUTHORITY: typeof SEED_LAUNCH_AUTHORITY;
4207
+ declare const index$3_SEED_LAUNCH_FEE_STATE: typeof SEED_LAUNCH_FEE_STATE;
4208
+ type index$3_SetFeePolicyAsyncInput<TAccountConfig extends string = string, TAccountAdmin extends string = string> = SetFeePolicyAsyncInput<TAccountConfig, TAccountAdmin>;
3927
4209
  type index$3_SetHookAllowlistAccounts = SetHookAllowlistAccounts;
3928
4210
  type index$3_SetMigratorAllowlistAccounts = SetMigratorAllowlistAccounts;
3929
4211
  declare const index$3_TRADE_DIRECTION_BUY: typeof TRADE_DIRECTION_BUY;
@@ -3944,10 +4226,9 @@ declare const index$3_decodePreviewSwapExactInResult: typeof decodePreviewSwapEx
3944
4226
  declare const index$3_encodeU64LE: typeof encodeU64LE;
3945
4227
  declare const index$3_fetchAllLaunches: typeof fetchAllLaunches;
3946
4228
  declare const index$3_fetchLaunchesByAuthority: typeof fetchLaunchesByAuthority;
4229
+ declare const index$3_getClaimFeesInstructionAsync: typeof getClaimFeesInstructionAsync;
3947
4230
  declare const index$3_getConfigAddress: typeof getConfigAddress;
3948
- declare const index$3_getInitConfigCodec: typeof getInitConfigCodec;
3949
- declare const index$3_getInitConfigDecoder: typeof getInitConfigDecoder;
3950
- declare const index$3_getInitConfigEncoder: typeof getInitConfigEncoder;
4231
+ declare const index$3_getHarvestMigratedFeesInstructionAsync: typeof getHarvestMigratedFeesInstructionAsync;
3951
4232
  declare const index$3_getInitializeConfigArgsCodec: typeof getInitializeConfigArgsCodec;
3952
4233
  declare const index$3_getInitializeConfigArgsDecoder: typeof getInitializeConfigArgsDecoder;
3953
4234
  declare const index$3_getInitializeConfigArgsEncoder: typeof getInitializeConfigArgsEncoder;
@@ -3957,13 +4238,19 @@ declare const index$3_getInitializeLaunchArgsEncoder: typeof getInitializeLaunch
3957
4238
  declare const index$3_getInstructionLookupTableAddresses: typeof getInstructionLookupTableAddresses;
3958
4239
  declare const index$3_getLaunchAddress: typeof getLaunchAddress;
3959
4240
  declare const index$3_getLaunchAuthorityAddress: typeof getLaunchAuthorityAddress;
4241
+ declare const index$3_getLaunchFeeStateAddress: typeof getLaunchFeeStateAddress;
4242
+ declare const index$3_getLaunchFeeStateCodec: typeof getLaunchFeeStateCodec;
4243
+ declare const index$3_getLaunchFeeStateDecoder: typeof getLaunchFeeStateDecoder;
4244
+ declare const index$3_getLaunchFeeStateEncoder: typeof getLaunchFeeStateEncoder;
3960
4245
  declare const index$3_getProgramDataAddress: typeof getProgramDataAddress;
4246
+ declare const index$3_getReplaceFeeBeneficiaryInstructionAsync: typeof getReplaceFeeBeneficiaryInstructionAsync;
4247
+ declare const index$3_getSetFeePolicyInstructionAsync: typeof getSetFeePolicyInstructionAsync;
3961
4248
  declare const index$3_getTokenMetadataAddress: typeof getTokenMetadataAddress;
3962
4249
  declare const index$3_launchExists: typeof launchExists;
3963
4250
  declare const index$3_launchIdFromU64: typeof launchIdFromU64;
3964
4251
  declare const index$3_phaseLabel: typeof phaseLabel;
3965
4252
  declare namespace index$3 {
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 };
4253
+ export { index$3_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$3_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$3_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$3_CPMM_HOOK_PROGRAM_ID as CPMM_HOOK_PROGRAM_ID, index$3_CURVE_KIND_XYK as CURVE_KIND_XYK, index$3_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$3_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$3_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$3_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, index$3_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$3_FeeBeneficiary as FeeBeneficiary, type index$3_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$3_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$3_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$3_FetchLaunchesConfig as FetchLaunchesConfig, index$3_HF_AFTER_CREATE as HF_AFTER_CREATE, index$3_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$3_HF_AFTER_SWAP as HF_AFTER_SWAP, index$3_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$3_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$3_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$3_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$3_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$3_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$3_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$3_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$3_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$3_InitializeConfigAccounts as InitializeConfigAccounts, type index$3_InitializeConfigArgs as InitializeConfigArgs, type index$3_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$3_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$3_InitializeLaunchArgs as InitializeLaunchArgs, type index$3_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$3_LaunchFeeState as LaunchFeeState, type index$3_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$3_LaunchWithAddress as LaunchWithAddress, index$3_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$3_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$3_MAX_PAYLOAD as MAX_PAYLOAD, type index$3_MigrateLaunchAccounts as MigrateLaunchAccounts, index$3_PHASE_ABORTED as PHASE_ABORTED, index$3_PHASE_MIGRATED as PHASE_MIGRATED, index$3_PHASE_TRADING as PHASE_TRADING, index$3_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$3_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$3_PreviewMigrationResult as PreviewMigrationResult, type index$3_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$3_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$3_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$3_SEED_CONFIG as SEED_CONFIG, index$3_SEED_LAUNCH as SEED_LAUNCH, index$3_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$3_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, type index$3_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$3_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$3_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$3_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$3_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, index$3_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$3_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$3_computeRemainingAccountsHash as computeRemainingAccountsHash, index$3_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$3_createInitializeConfigInstruction as createInitializeConfigInstruction, index$3_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$3_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$3_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$3_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$3_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$3_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$3_decodePreviewMigrationResult as decodePreviewMigrationResult, index$3_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$3_encodeU64LE as encodeU64LE, index$3_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$3_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$3_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$3_getConfigAddress as getConfigAddress, index$3_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, index$3_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$3_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$3_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$3_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$3_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$3_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$3_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$3_getLaunchAddress as getLaunchAddress, index$3_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$3_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$3_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$3_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$3_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$3_getProgramDataAddress as getProgramDataAddress, index$3_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$3_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$3_getTokenMetadataAddress as getTokenMetadataAddress, index$3_launchExists as launchExists, index$3_launchIdFromU64 as launchIdFromU64, index$3_phaseLabel as phaseLabel };
3967
4254
  }
3968
4255
 
3969
4256
  /**
@@ -4384,6 +4671,57 @@ declare function fetchAllEntryByMint(rpc: Parameters<typeof fetchEncodedAccounts
4384
4671
  declare function fetchAllMaybeEntryByMint(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<EntryByMint>[]>;
4385
4672
  declare function getEntryByMintSize(): number;
4386
4673
 
4674
+ /**
4675
+ * This code was AUTOGENERATED using the Codama library.
4676
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4677
+ * to add features, then rerun Codama to update it.
4678
+ *
4679
+ * @see https://github.com/codama-idl/codama
4680
+ */
4681
+
4682
+ declare const INIT_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
4683
+ declare function getInitConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
4684
+ type InitConfig = {
4685
+ discriminator: ReadonlyUint8Array;
4686
+ admin: Address;
4687
+ migratorAllowlistLen: number;
4688
+ migratorAllowlist: Array<Address>;
4689
+ hookAllowlistLen: number;
4690
+ hookAllowlist: Array<Address>;
4691
+ bump: number;
4692
+ version: number;
4693
+ protocolFeeBps: number;
4694
+ minSwapFeeBps: number;
4695
+ maxSwapFeeBps: number;
4696
+ reserved: ReadonlyUint8Array;
4697
+ };
4698
+ type InitConfigArgs = {
4699
+ admin: Address;
4700
+ migratorAllowlistLen: number;
4701
+ migratorAllowlist: Array<Address>;
4702
+ hookAllowlistLen: number;
4703
+ hookAllowlist: Array<Address>;
4704
+ bump: number;
4705
+ version: number;
4706
+ protocolFeeBps: number;
4707
+ minSwapFeeBps: number;
4708
+ maxSwapFeeBps: number;
4709
+ reserved: ReadonlyUint8Array;
4710
+ };
4711
+ /** Gets the encoder for {@link InitConfigArgs} account data. */
4712
+ declare function getInitConfigEncoder(): FixedSizeEncoder<InitConfigArgs>;
4713
+ /** Gets the decoder for {@link InitConfig} account data. */
4714
+ declare function getInitConfigDecoder(): FixedSizeDecoder<InitConfig>;
4715
+ /** Gets the codec for {@link InitConfig} account data. */
4716
+ declare function getInitConfigCodec(): FixedSizeCodec<InitConfigArgs, InitConfig>;
4717
+ declare function decodeInitConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<InitConfig, TAddress>;
4718
+ declare function decodeInitConfig<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<InitConfig, TAddress>;
4719
+ declare function fetchInitConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<InitConfig, TAddress>>;
4720
+ declare function fetchMaybeInitConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<InitConfig, TAddress>>;
4721
+ declare function fetchAllInitConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<InitConfig>[]>;
4722
+ declare function fetchAllMaybeInitConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<InitConfig>[]>;
4723
+ declare function getInitConfigSize(): number;
4724
+
4387
4725
  /**
4388
4726
  * This code was AUTOGENERATED using the Codama library.
4389
4727
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -4630,7 +4968,7 @@ type Launch = {
4630
4968
  baseForCurve: bigint;
4631
4969
  curveVirtualBase: bigint;
4632
4970
  curveVirtualQuote: bigint;
4633
- curveFeeBps: number;
4971
+ swapFeeBps: number;
4634
4972
  pad1: ReadonlyUint8Array;
4635
4973
  allowBuy: number;
4636
4974
  allowSell: number;
@@ -4667,7 +5005,7 @@ type LaunchArgs = {
4667
5005
  baseForCurve: number | bigint;
4668
5006
  curveVirtualBase: number | bigint;
4669
5007
  curveVirtualQuote: number | bigint;
4670
- curveFeeBps: number;
5008
+ swapFeeBps: number;
4671
5009
  pad1: ReadonlyUint8Array;
4672
5010
  allowBuy: number;
4673
5011
  allowSell: number;
@@ -4913,9 +5251,10 @@ declare enum PredictionMigratorAccount {
4913
5251
  ClaimReceipt = 0,
4914
5252
  Entry = 1,
4915
5253
  EntryByMint = 2,
4916
- Launch = 3,
4917
- Market = 4,
4918
- OracleState = 5
5254
+ InitConfig = 3,
5255
+ Launch = 4,
5256
+ Market = 5,
5257
+ OracleState = 6
4919
5258
  }
4920
5259
  declare function identifyPredictionMigratorAccount(account: {
4921
5260
  data: ReadonlyUint8Array;
@@ -4947,6 +5286,7 @@ type PredictionMigratorPluginAccounts = {
4947
5286
  claimReceipt: ReturnType<typeof getClaimReceiptCodec> & SelfFetchFunctions<ClaimReceiptArgs, ClaimReceipt>;
4948
5287
  entry: ReturnType<typeof getEntryCodec> & SelfFetchFunctions<EntryArgs, Entry>;
4949
5288
  entryByMint: ReturnType<typeof getEntryByMintCodec> & SelfFetchFunctions<EntryByMintArgs, EntryByMint>;
5289
+ initConfig: ReturnType<typeof getInitConfigCodec> & SelfFetchFunctions<InitConfigArgs, InitConfig>;
4950
5290
  launch: ReturnType<typeof getLaunchCodec> & SelfFetchFunctions<LaunchArgs, Launch>;
4951
5291
  market: ReturnType<typeof getMarketCodec> & SelfFetchFunctions<MarketArgs, Market>;
4952
5292
  oracleState: ReturnType<typeof getOracleStateCodec$1> & SelfFetchFunctions<OracleStateArgs$1, OracleState$1>;
@@ -5134,6 +5474,7 @@ declare function getMigrateEntryInstructionDataEncoder(): FixedSizeEncoder<Migra
5134
5474
  declare function getMigrateEntryInstructionDataDecoder(): FixedSizeDecoder<MigrateEntryInstructionData>;
5135
5475
  declare function getMigrateEntryInstructionDataCodec(): FixedSizeCodec<MigrateEntryInstructionDataArgs, MigrateEntryInstructionData>;
5136
5476
  type MigrateEntryAsyncInput<TAccountInitializerConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPayer extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountOracle extends string = string, TAccountMarket extends string = string, TAccountPotVault extends string = string, TAccountMarketAuthority extends string = string, TAccountEntry extends string = string, TAccountEntryByMint extends string = string> = {
5477
+ /** Standard initializer module-call prefix account. */
5137
5478
  initializerConfig: Address<TAccountInitializerConfig>;
5138
5479
  /** Launch account from initializer */
5139
5480
  launch: Address<TAccountLaunch>;
@@ -5161,6 +5502,7 @@ type MigrateEntryAsyncInput<TAccountInitializerConfig extends string = string, T
5161
5502
  market?: Address<TAccountMarket>;
5162
5503
  /** Pot vault for holding quote tokens */
5163
5504
  potVault: Address<TAccountPotVault>;
5505
+ /** Market authority PDA used as the pot vault owner. */
5164
5506
  marketAuthority?: Address<TAccountMarketAuthority>;
5165
5507
  /** Entry PDA */
5166
5508
  entry: Address<TAccountEntry>;
@@ -5172,6 +5514,7 @@ declare function getMigrateEntryInstructionAsync<TAccountInitializerConfig exten
5172
5514
  programAddress?: TProgramAddress;
5173
5515
  }): Promise<MigrateEntryInstruction<TProgramAddress, TAccountInitializerConfig, TAccountLaunch, TAccountLaunchAuthority, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPayer, TAccountBaseTokenProgram, TAccountQuoteTokenProgram, TAccountSystemProgram, TAccountRent, TAccountOracle, TAccountMarket, TAccountPotVault, TAccountMarketAuthority, TAccountEntry, TAccountEntryByMint>>;
5174
5516
  type MigrateEntryInput<TAccountInitializerConfig extends string = string, TAccountLaunch extends string = string, TAccountLaunchAuthority extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPayer extends string = string, TAccountBaseTokenProgram extends string = string, TAccountQuoteTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string, TAccountOracle extends string = string, TAccountMarket extends string = string, TAccountPotVault extends string = string, TAccountMarketAuthority extends string = string, TAccountEntry extends string = string, TAccountEntryByMint extends string = string> = {
5517
+ /** Standard initializer module-call prefix account. */
5175
5518
  initializerConfig: Address<TAccountInitializerConfig>;
5176
5519
  /** Launch account from initializer */
5177
5520
  launch: Address<TAccountLaunch>;
@@ -5199,6 +5542,7 @@ type MigrateEntryInput<TAccountInitializerConfig extends string = string, TAccou
5199
5542
  market: Address<TAccountMarket>;
5200
5543
  /** Pot vault for holding quote tokens */
5201
5544
  potVault: Address<TAccountPotVault>;
5545
+ /** Market authority PDA used as the pot vault owner. */
5202
5546
  marketAuthority: Address<TAccountMarketAuthority>;
5203
5547
  /** Entry PDA */
5204
5548
  entry: Address<TAccountEntry>;
@@ -5212,6 +5556,7 @@ declare function getMigrateEntryInstruction<TAccountInitializerConfig extends st
5212
5556
  type ParsedMigrateEntryInstruction<TProgram extends string = typeof PREDICTION_MIGRATOR_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
5213
5557
  programAddress: Address<TProgram>;
5214
5558
  accounts: {
5559
+ /** Standard initializer module-call prefix account. */
5215
5560
  initializerConfig: TAccountMetas[0];
5216
5561
  /** Launch account from initializer */
5217
5562
  launch: TAccountMetas[1];
@@ -5239,6 +5584,7 @@ type ParsedMigrateEntryInstruction<TProgram extends string = typeof PREDICTION_M
5239
5584
  market: TAccountMetas[13];
5240
5585
  /** Pot vault for holding quote tokens */
5241
5586
  potVault: TAccountMetas[14];
5587
+ /** Market authority PDA used as the pot vault owner. */
5242
5588
  marketAuthority: TAccountMetas[15];
5243
5589
  /** Entry PDA */
5244
5590
  entry: TAccountMetas[16];
@@ -5465,6 +5811,9 @@ type index$1_EntryMigrated = EntryMigrated;
5465
5811
  type index$1_EntryMigratedArgs = EntryMigratedArgs;
5466
5812
  type index$1_EntryRegistered = EntryRegistered;
5467
5813
  type index$1_EntryRegisteredArgs = EntryRegisteredArgs;
5814
+ declare const index$1_INIT_CONFIG_DISCRIMINATOR: typeof INIT_CONFIG_DISCRIMINATOR;
5815
+ type index$1_InitConfig = InitConfig;
5816
+ type index$1_InitConfigArgs = InitConfigArgs;
5468
5817
  declare const index$1_LAUNCH_DISCRIMINATOR: typeof LAUNCH_DISCRIMINATOR;
5469
5818
  type index$1_Launch = Launch;
5470
5819
  type index$1_LaunchArgs = LaunchArgs;
@@ -5540,26 +5889,31 @@ type index$1_RewardsClaimedArgs = RewardsClaimedArgs;
5540
5889
  declare const index$1_decodeClaimReceipt: typeof decodeClaimReceipt;
5541
5890
  declare const index$1_decodeEntry: typeof decodeEntry;
5542
5891
  declare const index$1_decodeEntryByMint: typeof decodeEntryByMint;
5892
+ declare const index$1_decodeInitConfig: typeof decodeInitConfig;
5543
5893
  declare const index$1_decodeLaunch: typeof decodeLaunch;
5544
5894
  declare const index$1_decodeMarket: typeof decodeMarket;
5545
5895
  declare const index$1_fetchAllClaimReceipt: typeof fetchAllClaimReceipt;
5546
5896
  declare const index$1_fetchAllEntry: typeof fetchAllEntry;
5547
5897
  declare const index$1_fetchAllEntryByMint: typeof fetchAllEntryByMint;
5898
+ declare const index$1_fetchAllInitConfig: typeof fetchAllInitConfig;
5548
5899
  declare const index$1_fetchAllLaunch: typeof fetchAllLaunch;
5549
5900
  declare const index$1_fetchAllMarket: typeof fetchAllMarket;
5550
5901
  declare const index$1_fetchAllMaybeClaimReceipt: typeof fetchAllMaybeClaimReceipt;
5551
5902
  declare const index$1_fetchAllMaybeEntry: typeof fetchAllMaybeEntry;
5552
5903
  declare const index$1_fetchAllMaybeEntryByMint: typeof fetchAllMaybeEntryByMint;
5904
+ declare const index$1_fetchAllMaybeInitConfig: typeof fetchAllMaybeInitConfig;
5553
5905
  declare const index$1_fetchAllMaybeLaunch: typeof fetchAllMaybeLaunch;
5554
5906
  declare const index$1_fetchAllMaybeMarket: typeof fetchAllMaybeMarket;
5555
5907
  declare const index$1_fetchClaimReceipt: typeof fetchClaimReceipt;
5556
5908
  declare const index$1_fetchEntry: typeof fetchEntry;
5557
5909
  declare const index$1_fetchEntryByMint: typeof fetchEntryByMint;
5910
+ declare const index$1_fetchInitConfig: typeof fetchInitConfig;
5558
5911
  declare const index$1_fetchLaunch: typeof fetchLaunch;
5559
5912
  declare const index$1_fetchMarket: typeof fetchMarket;
5560
5913
  declare const index$1_fetchMaybeClaimReceipt: typeof fetchMaybeClaimReceipt;
5561
5914
  declare const index$1_fetchMaybeEntry: typeof fetchMaybeEntry;
5562
5915
  declare const index$1_fetchMaybeEntryByMint: typeof fetchMaybeEntryByMint;
5916
+ declare const index$1_fetchMaybeInitConfig: typeof fetchMaybeInitConfig;
5563
5917
  declare const index$1_fetchMaybeLaunch: typeof fetchMaybeLaunch;
5564
5918
  declare const index$1_fetchMaybeMarket: typeof fetchMaybeMarket;
5565
5919
  declare const index$1_getAccumulatorUpdatedCodec: typeof getAccumulatorUpdatedCodec;
@@ -5592,6 +5946,11 @@ declare const index$1_getEntryRegisteredCodec: typeof getEntryRegisteredCodec;
5592
5946
  declare const index$1_getEntryRegisteredDecoder: typeof getEntryRegisteredDecoder;
5593
5947
  declare const index$1_getEntryRegisteredEncoder: typeof getEntryRegisteredEncoder;
5594
5948
  declare const index$1_getEntrySize: typeof getEntrySize;
5949
+ declare const index$1_getInitConfigCodec: typeof getInitConfigCodec;
5950
+ declare const index$1_getInitConfigDecoder: typeof getInitConfigDecoder;
5951
+ declare const index$1_getInitConfigDiscriminatorBytes: typeof getInitConfigDiscriminatorBytes;
5952
+ declare const index$1_getInitConfigEncoder: typeof getInitConfigEncoder;
5953
+ declare const index$1_getInitConfigSize: typeof getInitConfigSize;
5595
5954
  declare const index$1_getLaunchCodec: typeof getLaunchCodec;
5596
5955
  declare const index$1_getLaunchDecoder: typeof getLaunchDecoder;
5597
5956
  declare const index$1_getLaunchDiscriminatorBytes: typeof getLaunchDiscriminatorBytes;
@@ -5656,7 +6015,7 @@ declare const index$1_parsePreviewPayoutIfWinnerInstruction: typeof parsePreview
5656
6015
  declare const index$1_parseRegisterEntryInstruction: typeof parseRegisterEntryInstruction;
5657
6016
  declare const index$1_predictionMigratorProgram: typeof predictionMigratorProgram;
5658
6017
  declare namespace index$1 {
5659
- export { type index$1_AccumulatorUpdated as AccumulatorUpdated, type index$1_AccumulatorUpdatedArgs as AccumulatorUpdatedArgs, index$1_CLAIM_DISCRIMINATOR as CLAIM_DISCRIMINATOR, index$1_CLAIM_RECEIPT_DISCRIMINATOR as CLAIM_RECEIPT_DISCRIMINATOR, type index$1_ClaimAsyncInput as ClaimAsyncInput, type index$1_ClaimInput as ClaimInput, type index$1_ClaimInstruction as ClaimInstruction, type index$1_ClaimInstructionData as ClaimInstructionData, type index$1_ClaimInstructionDataArgs as ClaimInstructionDataArgs, type index$1_ClaimReceipt as ClaimReceipt, type index$1_ClaimReceiptArgs as ClaimReceiptArgs, index$1_ENTRY_BY_MINT_DISCRIMINATOR as ENTRY_BY_MINT_DISCRIMINATOR, index$1_ENTRY_DISCRIMINATOR as ENTRY_DISCRIMINATOR, type index$1_Entry as Entry, type index$1_EntryArgs as EntryArgs, type index$1_EntryByMint as EntryByMint, type index$1_EntryByMintArgs as EntryByMintArgs, type index$1_EntryMigrated as EntryMigrated, type index$1_EntryMigratedArgs as EntryMigratedArgs, type index$1_EntryRegistered as EntryRegistered, type index$1_EntryRegisteredArgs as EntryRegisteredArgs, index$1_LAUNCH_DISCRIMINATOR as LAUNCH_DISCRIMINATOR, type index$1_Launch as Launch, type index$1_LaunchArgs as LaunchArgs, index$1_MARKET_DISCRIMINATOR as MARKET_DISCRIMINATOR, index$1_MIGRATE_ENTRY_DISCRIMINATOR as MIGRATE_ENTRY_DISCRIMINATOR, type index$1_Market as Market, type index$1_MarketArgs as MarketArgs, type index$1_MarketCreated as MarketCreated, type index$1_MarketCreatedArgs as MarketCreatedArgs, type index$1_MarketResolved as MarketResolved, type index$1_MarketResolvedArgs as MarketResolvedArgs, type index$1_MigrateEntryArgs as MigrateEntryArgs, type index$1_MigrateEntryArgsArgs as MigrateEntryArgsArgs, type index$1_MigrateEntryAsyncInput as MigrateEntryAsyncInput, type index$1_MigrateEntryInput as MigrateEntryInput, type index$1_MigrateEntryInstruction as MigrateEntryInstruction, type index$1_MigrateEntryInstructionData as MigrateEntryInstructionData, type index$1_MigrateEntryInstructionDataArgs as MigrateEntryInstructionDataArgs, ORACLE_STATE_DISCRIMINATOR$1 as ORACLE_STATE_DISCRIMINATOR, type OracleState$1 as OracleState, type OracleStateArgs$1 as OracleStateArgs, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE as PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID as PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_INPUT as PREDICTION_MIGRATOR_ERROR__INVALID_INPUT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MARKET as PREDICTION_MIGRATOR_ERROR__INVALID_MARKET, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_MINT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE as PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_VAULT as PREDICTION_MIGRATOR_ERROR__INVALID_VAULT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT, index$1_PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED as PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED, index$1_PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW as PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW, index$1_PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS as PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS, index$1_PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED as PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED, index$1_PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH as PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH, index$1_PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED as PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED, index$1_PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY as PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY, index$1_PREDICTION_MIGRATOR_PROGRAM_ADDRESS as PREDICTION_MIGRATOR_PROGRAM_ADDRESS, index$1_PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR as PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR, type index$1_ParsedClaimInstruction as ParsedClaimInstruction, type index$1_ParsedMigrateEntryInstruction as ParsedMigrateEntryInstruction, type index$1_ParsedPredictionMigratorInstruction as ParsedPredictionMigratorInstruction, type index$1_ParsedPreviewPayoutIfWinnerInstruction as ParsedPreviewPayoutIfWinnerInstruction, type index$1_ParsedRegisterEntryInstruction as ParsedRegisterEntryInstruction, type index$1_PayloadBuf as PayloadBuf, type index$1_PayloadBufArgs as PayloadBufArgs, index$1_PredictionMigratorAccount as PredictionMigratorAccount, type index$1_PredictionMigratorError as PredictionMigratorError, index$1_PredictionMigratorInstruction as PredictionMigratorInstruction, type index$1_PredictionMigratorPlugin as PredictionMigratorPlugin, type index$1_PredictionMigratorPluginAccounts as PredictionMigratorPluginAccounts, type index$1_PredictionMigratorPluginInstructions as PredictionMigratorPluginInstructions, type index$1_PredictionMigratorPluginRequirements as PredictionMigratorPluginRequirements, type index$1_PreviewPayoutIfWinnerArgs as PreviewPayoutIfWinnerArgs, type index$1_PreviewPayoutIfWinnerArgsArgs as PreviewPayoutIfWinnerArgsArgs, type index$1_PreviewPayoutIfWinnerInput as PreviewPayoutIfWinnerInput, type index$1_PreviewPayoutIfWinnerInstruction as PreviewPayoutIfWinnerInstruction, type index$1_PreviewPayoutIfWinnerInstructionData as PreviewPayoutIfWinnerInstructionData, type index$1_PreviewPayoutIfWinnerInstructionDataArgs as PreviewPayoutIfWinnerInstructionDataArgs, index$1_REGISTER_ENTRY_DISCRIMINATOR as REGISTER_ENTRY_DISCRIMINATOR, type index$1_RegisterEntryArgs as RegisterEntryArgs, type index$1_RegisterEntryArgsArgs as RegisterEntryArgsArgs, type index$1_RegisterEntryAsyncInput as RegisterEntryAsyncInput, type index$1_RegisterEntryInput as RegisterEntryInput, type index$1_RegisterEntryInstruction as RegisterEntryInstruction, type index$1_RegisterEntryInstructionData as RegisterEntryInstructionData, type index$1_RegisterEntryInstructionDataArgs as RegisterEntryInstructionDataArgs, type index$1_RewardsClaimed as RewardsClaimed, type index$1_RewardsClaimedArgs as RewardsClaimedArgs, index$1_decodeClaimReceipt as decodeClaimReceipt, index$1_decodeEntry as decodeEntry, index$1_decodeEntryByMint as decodeEntryByMint, index$1_decodeLaunch as decodeLaunch, index$1_decodeMarket as decodeMarket, decodeOracleState$1 as decodeOracleState, index$1_fetchAllClaimReceipt as fetchAllClaimReceipt, index$1_fetchAllEntry as fetchAllEntry, index$1_fetchAllEntryByMint as fetchAllEntryByMint, index$1_fetchAllLaunch as fetchAllLaunch, index$1_fetchAllMarket as fetchAllMarket, index$1_fetchAllMaybeClaimReceipt as fetchAllMaybeClaimReceipt, index$1_fetchAllMaybeEntry as fetchAllMaybeEntry, index$1_fetchAllMaybeEntryByMint as fetchAllMaybeEntryByMint, index$1_fetchAllMaybeLaunch as fetchAllMaybeLaunch, index$1_fetchAllMaybeMarket as fetchAllMaybeMarket, fetchAllMaybeOracleState$1 as fetchAllMaybeOracleState, fetchAllOracleState$1 as fetchAllOracleState, index$1_fetchClaimReceipt as fetchClaimReceipt, index$1_fetchEntry as fetchEntry, index$1_fetchEntryByMint as fetchEntryByMint, index$1_fetchLaunch as fetchLaunch, index$1_fetchMarket as fetchMarket, index$1_fetchMaybeClaimReceipt as fetchMaybeClaimReceipt, index$1_fetchMaybeEntry as fetchMaybeEntry, index$1_fetchMaybeEntryByMint as fetchMaybeEntryByMint, index$1_fetchMaybeLaunch as fetchMaybeLaunch, index$1_fetchMaybeMarket as fetchMaybeMarket, fetchMaybeOracleState$1 as fetchMaybeOracleState, fetchOracleState$1 as fetchOracleState, index$1_getAccumulatorUpdatedCodec as getAccumulatorUpdatedCodec, index$1_getAccumulatorUpdatedDecoder as getAccumulatorUpdatedDecoder, index$1_getAccumulatorUpdatedEncoder as getAccumulatorUpdatedEncoder, index$1_getClaimDiscriminatorBytes as getClaimDiscriminatorBytes, index$1_getClaimInstruction as getClaimInstruction, index$1_getClaimInstructionAsync as getClaimInstructionAsync, index$1_getClaimInstructionDataCodec as getClaimInstructionDataCodec, index$1_getClaimInstructionDataDecoder as getClaimInstructionDataDecoder, index$1_getClaimInstructionDataEncoder as getClaimInstructionDataEncoder, index$1_getClaimReceiptCodec as getClaimReceiptCodec, index$1_getClaimReceiptDecoder as getClaimReceiptDecoder, index$1_getClaimReceiptDiscriminatorBytes as getClaimReceiptDiscriminatorBytes, index$1_getClaimReceiptEncoder as getClaimReceiptEncoder, index$1_getClaimReceiptSize as getClaimReceiptSize, index$1_getEntryByMintCodec as getEntryByMintCodec, index$1_getEntryByMintDecoder as getEntryByMintDecoder, index$1_getEntryByMintDiscriminatorBytes as getEntryByMintDiscriminatorBytes, index$1_getEntryByMintEncoder as getEntryByMintEncoder, index$1_getEntryByMintSize as getEntryByMintSize, index$1_getEntryCodec as getEntryCodec, index$1_getEntryDecoder as getEntryDecoder, index$1_getEntryDiscriminatorBytes as getEntryDiscriminatorBytes, index$1_getEntryEncoder as getEntryEncoder, index$1_getEntryMigratedCodec as getEntryMigratedCodec, index$1_getEntryMigratedDecoder as getEntryMigratedDecoder, index$1_getEntryMigratedEncoder as getEntryMigratedEncoder, index$1_getEntryRegisteredCodec as getEntryRegisteredCodec, index$1_getEntryRegisteredDecoder as getEntryRegisteredDecoder, index$1_getEntryRegisteredEncoder as getEntryRegisteredEncoder, index$1_getEntrySize as getEntrySize, index$1_getLaunchCodec as getLaunchCodec, index$1_getLaunchDecoder as getLaunchDecoder, index$1_getLaunchDiscriminatorBytes as getLaunchDiscriminatorBytes, index$1_getLaunchEncoder as getLaunchEncoder, index$1_getLaunchSize as getLaunchSize, index$1_getMarketCodec as getMarketCodec, index$1_getMarketCreatedCodec as getMarketCreatedCodec, index$1_getMarketCreatedDecoder as getMarketCreatedDecoder, index$1_getMarketCreatedEncoder as getMarketCreatedEncoder, index$1_getMarketDecoder as getMarketDecoder, index$1_getMarketDiscriminatorBytes as getMarketDiscriminatorBytes, index$1_getMarketEncoder as getMarketEncoder, index$1_getMarketResolvedCodec as getMarketResolvedCodec, index$1_getMarketResolvedDecoder as getMarketResolvedDecoder, index$1_getMarketResolvedEncoder as getMarketResolvedEncoder, index$1_getMarketSize as getMarketSize, index$1_getMigrateEntryArgsCodec as getMigrateEntryArgsCodec, index$1_getMigrateEntryArgsDecoder as getMigrateEntryArgsDecoder, index$1_getMigrateEntryArgsEncoder as getMigrateEntryArgsEncoder, index$1_getMigrateEntryDiscriminatorBytes as getMigrateEntryDiscriminatorBytes, index$1_getMigrateEntryInstruction as getMigrateEntryInstruction, index$1_getMigrateEntryInstructionAsync as getMigrateEntryInstructionAsync, index$1_getMigrateEntryInstructionDataCodec as getMigrateEntryInstructionDataCodec, index$1_getMigrateEntryInstructionDataDecoder as getMigrateEntryInstructionDataDecoder, index$1_getMigrateEntryInstructionDataEncoder as getMigrateEntryInstructionDataEncoder, getOracleStateCodec$1 as getOracleStateCodec, getOracleStateDecoder$1 as getOracleStateDecoder, getOracleStateDiscriminatorBytes$1 as getOracleStateDiscriminatorBytes, getOracleStateEncoder$1 as getOracleStateEncoder, getOracleStateSize$1 as getOracleStateSize, index$1_getPayloadBufCodec as getPayloadBufCodec, index$1_getPayloadBufDecoder as getPayloadBufDecoder, index$1_getPayloadBufEncoder as getPayloadBufEncoder, index$1_getPredictionEntryAddress as getPredictionEntryAddress, index$1_getPredictionEntryByMintAddress as getPredictionEntryByMintAddress, index$1_getPredictionMarketAddress as getPredictionMarketAddress, index$1_getPredictionMarketAuthorityAddress as getPredictionMarketAuthorityAddress, index$1_getPredictionMigratorErrorMessage as getPredictionMigratorErrorMessage, index$1_getPredictionPotVaultAddress as getPredictionPotVaultAddress, index$1_getPreviewPayoutIfWinnerArgsCodec as getPreviewPayoutIfWinnerArgsCodec, index$1_getPreviewPayoutIfWinnerArgsDecoder as getPreviewPayoutIfWinnerArgsDecoder, index$1_getPreviewPayoutIfWinnerArgsEncoder as getPreviewPayoutIfWinnerArgsEncoder, index$1_getPreviewPayoutIfWinnerDiscriminatorBytes as getPreviewPayoutIfWinnerDiscriminatorBytes, index$1_getPreviewPayoutIfWinnerInstruction as getPreviewPayoutIfWinnerInstruction, index$1_getPreviewPayoutIfWinnerInstructionDataCodec as getPreviewPayoutIfWinnerInstructionDataCodec, index$1_getPreviewPayoutIfWinnerInstructionDataDecoder as getPreviewPayoutIfWinnerInstructionDataDecoder, index$1_getPreviewPayoutIfWinnerInstructionDataEncoder as getPreviewPayoutIfWinnerInstructionDataEncoder, index$1_getRegisterEntryArgsCodec as getRegisterEntryArgsCodec, index$1_getRegisterEntryArgsDecoder as getRegisterEntryArgsDecoder, index$1_getRegisterEntryArgsEncoder as getRegisterEntryArgsEncoder, index$1_getRegisterEntryDiscriminatorBytes as getRegisterEntryDiscriminatorBytes, index$1_getRegisterEntryInstruction as getRegisterEntryInstruction, index$1_getRegisterEntryInstructionAsync as getRegisterEntryInstructionAsync, index$1_getRegisterEntryInstructionDataCodec as getRegisterEntryInstructionDataCodec, index$1_getRegisterEntryInstructionDataDecoder as getRegisterEntryInstructionDataDecoder, index$1_getRegisterEntryInstructionDataEncoder as getRegisterEntryInstructionDataEncoder, index$1_getRewardsClaimedCodec as getRewardsClaimedCodec, index$1_getRewardsClaimedDecoder as getRewardsClaimedDecoder, index$1_getRewardsClaimedEncoder as getRewardsClaimedEncoder, index$1_identifyPredictionMigratorAccount as identifyPredictionMigratorAccount, index$1_identifyPredictionMigratorInstruction as identifyPredictionMigratorInstruction, index$1_isPredictionMigratorError as isPredictionMigratorError, index$1_parseClaimInstruction as parseClaimInstruction, index$1_parseMigrateEntryInstruction as parseMigrateEntryInstruction, index$1_parsePredictionMigratorInstruction as parsePredictionMigratorInstruction, index$1_parsePreviewPayoutIfWinnerInstruction as parsePreviewPayoutIfWinnerInstruction, index$1_parseRegisterEntryInstruction as parseRegisterEntryInstruction, index$1_predictionMigratorProgram as predictionMigratorProgram };
6018
+ export { type index$1_AccumulatorUpdated as AccumulatorUpdated, type index$1_AccumulatorUpdatedArgs as AccumulatorUpdatedArgs, index$1_CLAIM_DISCRIMINATOR as CLAIM_DISCRIMINATOR, index$1_CLAIM_RECEIPT_DISCRIMINATOR as CLAIM_RECEIPT_DISCRIMINATOR, type index$1_ClaimAsyncInput as ClaimAsyncInput, type index$1_ClaimInput as ClaimInput, type index$1_ClaimInstruction as ClaimInstruction, type index$1_ClaimInstructionData as ClaimInstructionData, type index$1_ClaimInstructionDataArgs as ClaimInstructionDataArgs, type index$1_ClaimReceipt as ClaimReceipt, type index$1_ClaimReceiptArgs as ClaimReceiptArgs, index$1_ENTRY_BY_MINT_DISCRIMINATOR as ENTRY_BY_MINT_DISCRIMINATOR, index$1_ENTRY_DISCRIMINATOR as ENTRY_DISCRIMINATOR, type index$1_Entry as Entry, type index$1_EntryArgs as EntryArgs, type index$1_EntryByMint as EntryByMint, type index$1_EntryByMintArgs as EntryByMintArgs, type index$1_EntryMigrated as EntryMigrated, type index$1_EntryMigratedArgs as EntryMigratedArgs, type index$1_EntryRegistered as EntryRegistered, type index$1_EntryRegisteredArgs as EntryRegisteredArgs, index$1_INIT_CONFIG_DISCRIMINATOR as INIT_CONFIG_DISCRIMINATOR, type index$1_InitConfig as InitConfig, type index$1_InitConfigArgs as InitConfigArgs, index$1_LAUNCH_DISCRIMINATOR as LAUNCH_DISCRIMINATOR, type index$1_Launch as Launch, type index$1_LaunchArgs as LaunchArgs, index$1_MARKET_DISCRIMINATOR as MARKET_DISCRIMINATOR, index$1_MIGRATE_ENTRY_DISCRIMINATOR as MIGRATE_ENTRY_DISCRIMINATOR, type index$1_Market as Market, type index$1_MarketArgs as MarketArgs, type index$1_MarketCreated as MarketCreated, type index$1_MarketCreatedArgs as MarketCreatedArgs, type index$1_MarketResolved as MarketResolved, type index$1_MarketResolvedArgs as MarketResolvedArgs, type index$1_MigrateEntryArgs as MigrateEntryArgs, type index$1_MigrateEntryArgsArgs as MigrateEntryArgsArgs, type index$1_MigrateEntryAsyncInput as MigrateEntryAsyncInput, type index$1_MigrateEntryInput as MigrateEntryInput, type index$1_MigrateEntryInstruction as MigrateEntryInstruction, type index$1_MigrateEntryInstructionData as MigrateEntryInstructionData, type index$1_MigrateEntryInstructionDataArgs as MigrateEntryInstructionDataArgs, ORACLE_STATE_DISCRIMINATOR$1 as ORACLE_STATE_DISCRIMINATOR, type OracleState$1 as OracleState, type OracleStateArgs$1 as OracleStateArgs, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_ALREADY_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED as PREDICTION_MIGRATOR_ERROR__ENTRY_NOT_REGISTERED, index$1_PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE as PREDICTION_MIGRATOR_ERROR__INSUFFICIENT_BALANCE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID as PREDICTION_MIGRATOR_ERROR__INVALID_ENTRY_ID, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_INPUT as PREDICTION_MIGRATOR_ERROR__INVALID_INPUT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MARKET as PREDICTION_MIGRATOR_ERROR__INVALID_MARKET, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_MINT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE as PREDICTION_MIGRATOR_ERROR__INVALID_ORACLE, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_VAULT as PREDICTION_MIGRATOR_ERROR__INVALID_VAULT, index$1_PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT as PREDICTION_MIGRATOR_ERROR__INVALID_WINNER_MINT, index$1_PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED as PREDICTION_MIGRATOR_ERROR__MARKET_NOT_RESOLVED, index$1_PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW as PREDICTION_MIGRATOR_ERROR__MATH_OVERFLOW, index$1_PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS as PREDICTION_MIGRATOR_ERROR__NO_PENDING_REWARDS, index$1_PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED as PREDICTION_MIGRATOR_ERROR__ORACLE_NOT_FINALIZED, index$1_PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH as PREDICTION_MIGRATOR_ERROR__QUOTE_MINT_MISMATCH, index$1_PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED as PREDICTION_MIGRATOR_ERROR__UNAUTHORIZED, index$1_PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED as PREDICTION_MIGRATOR_ERROR__WINNING_ENTRY_NOT_MIGRATED, index$1_PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY as PREDICTION_MIGRATOR_ERROR__ZERO_CLAIMABLE_SUPPLY, index$1_PREDICTION_MIGRATOR_PROGRAM_ADDRESS as PREDICTION_MIGRATOR_PROGRAM_ADDRESS, index$1_PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR as PREVIEW_PAYOUT_IF_WINNER_DISCRIMINATOR, type index$1_ParsedClaimInstruction as ParsedClaimInstruction, type index$1_ParsedMigrateEntryInstruction as ParsedMigrateEntryInstruction, type index$1_ParsedPredictionMigratorInstruction as ParsedPredictionMigratorInstruction, type index$1_ParsedPreviewPayoutIfWinnerInstruction as ParsedPreviewPayoutIfWinnerInstruction, type index$1_ParsedRegisterEntryInstruction as ParsedRegisterEntryInstruction, type index$1_PayloadBuf as PayloadBuf, type index$1_PayloadBufArgs as PayloadBufArgs, index$1_PredictionMigratorAccount as PredictionMigratorAccount, type index$1_PredictionMigratorError as PredictionMigratorError, index$1_PredictionMigratorInstruction as PredictionMigratorInstruction, type index$1_PredictionMigratorPlugin as PredictionMigratorPlugin, type index$1_PredictionMigratorPluginAccounts as PredictionMigratorPluginAccounts, type index$1_PredictionMigratorPluginInstructions as PredictionMigratorPluginInstructions, type index$1_PredictionMigratorPluginRequirements as PredictionMigratorPluginRequirements, type index$1_PreviewPayoutIfWinnerArgs as PreviewPayoutIfWinnerArgs, type index$1_PreviewPayoutIfWinnerArgsArgs as PreviewPayoutIfWinnerArgsArgs, type index$1_PreviewPayoutIfWinnerInput as PreviewPayoutIfWinnerInput, type index$1_PreviewPayoutIfWinnerInstruction as PreviewPayoutIfWinnerInstruction, type index$1_PreviewPayoutIfWinnerInstructionData as PreviewPayoutIfWinnerInstructionData, type index$1_PreviewPayoutIfWinnerInstructionDataArgs as PreviewPayoutIfWinnerInstructionDataArgs, index$1_REGISTER_ENTRY_DISCRIMINATOR as REGISTER_ENTRY_DISCRIMINATOR, type index$1_RegisterEntryArgs as RegisterEntryArgs, type index$1_RegisterEntryArgsArgs as RegisterEntryArgsArgs, type index$1_RegisterEntryAsyncInput as RegisterEntryAsyncInput, type index$1_RegisterEntryInput as RegisterEntryInput, type index$1_RegisterEntryInstruction as RegisterEntryInstruction, type index$1_RegisterEntryInstructionData as RegisterEntryInstructionData, type index$1_RegisterEntryInstructionDataArgs as RegisterEntryInstructionDataArgs, type index$1_RewardsClaimed as RewardsClaimed, type index$1_RewardsClaimedArgs as RewardsClaimedArgs, index$1_decodeClaimReceipt as decodeClaimReceipt, index$1_decodeEntry as decodeEntry, index$1_decodeEntryByMint as decodeEntryByMint, index$1_decodeInitConfig as decodeInitConfig, index$1_decodeLaunch as decodeLaunch, index$1_decodeMarket as decodeMarket, decodeOracleState$1 as decodeOracleState, index$1_fetchAllClaimReceipt as fetchAllClaimReceipt, index$1_fetchAllEntry as fetchAllEntry, index$1_fetchAllEntryByMint as fetchAllEntryByMint, index$1_fetchAllInitConfig as fetchAllInitConfig, index$1_fetchAllLaunch as fetchAllLaunch, index$1_fetchAllMarket as fetchAllMarket, index$1_fetchAllMaybeClaimReceipt as fetchAllMaybeClaimReceipt, index$1_fetchAllMaybeEntry as fetchAllMaybeEntry, index$1_fetchAllMaybeEntryByMint as fetchAllMaybeEntryByMint, index$1_fetchAllMaybeInitConfig as fetchAllMaybeInitConfig, index$1_fetchAllMaybeLaunch as fetchAllMaybeLaunch, index$1_fetchAllMaybeMarket as fetchAllMaybeMarket, fetchAllMaybeOracleState$1 as fetchAllMaybeOracleState, fetchAllOracleState$1 as fetchAllOracleState, index$1_fetchClaimReceipt as fetchClaimReceipt, index$1_fetchEntry as fetchEntry, index$1_fetchEntryByMint as fetchEntryByMint, index$1_fetchInitConfig as fetchInitConfig, index$1_fetchLaunch as fetchLaunch, index$1_fetchMarket as fetchMarket, index$1_fetchMaybeClaimReceipt as fetchMaybeClaimReceipt, index$1_fetchMaybeEntry as fetchMaybeEntry, index$1_fetchMaybeEntryByMint as fetchMaybeEntryByMint, index$1_fetchMaybeInitConfig as fetchMaybeInitConfig, index$1_fetchMaybeLaunch as fetchMaybeLaunch, index$1_fetchMaybeMarket as fetchMaybeMarket, fetchMaybeOracleState$1 as fetchMaybeOracleState, fetchOracleState$1 as fetchOracleState, index$1_getAccumulatorUpdatedCodec as getAccumulatorUpdatedCodec, index$1_getAccumulatorUpdatedDecoder as getAccumulatorUpdatedDecoder, index$1_getAccumulatorUpdatedEncoder as getAccumulatorUpdatedEncoder, index$1_getClaimDiscriminatorBytes as getClaimDiscriminatorBytes, index$1_getClaimInstruction as getClaimInstruction, index$1_getClaimInstructionAsync as getClaimInstructionAsync, index$1_getClaimInstructionDataCodec as getClaimInstructionDataCodec, index$1_getClaimInstructionDataDecoder as getClaimInstructionDataDecoder, index$1_getClaimInstructionDataEncoder as getClaimInstructionDataEncoder, index$1_getClaimReceiptCodec as getClaimReceiptCodec, index$1_getClaimReceiptDecoder as getClaimReceiptDecoder, index$1_getClaimReceiptDiscriminatorBytes as getClaimReceiptDiscriminatorBytes, index$1_getClaimReceiptEncoder as getClaimReceiptEncoder, index$1_getClaimReceiptSize as getClaimReceiptSize, index$1_getEntryByMintCodec as getEntryByMintCodec, index$1_getEntryByMintDecoder as getEntryByMintDecoder, index$1_getEntryByMintDiscriminatorBytes as getEntryByMintDiscriminatorBytes, index$1_getEntryByMintEncoder as getEntryByMintEncoder, index$1_getEntryByMintSize as getEntryByMintSize, index$1_getEntryCodec as getEntryCodec, index$1_getEntryDecoder as getEntryDecoder, index$1_getEntryDiscriminatorBytes as getEntryDiscriminatorBytes, index$1_getEntryEncoder as getEntryEncoder, index$1_getEntryMigratedCodec as getEntryMigratedCodec, index$1_getEntryMigratedDecoder as getEntryMigratedDecoder, index$1_getEntryMigratedEncoder as getEntryMigratedEncoder, index$1_getEntryRegisteredCodec as getEntryRegisteredCodec, index$1_getEntryRegisteredDecoder as getEntryRegisteredDecoder, index$1_getEntryRegisteredEncoder as getEntryRegisteredEncoder, index$1_getEntrySize as getEntrySize, index$1_getInitConfigCodec as getInitConfigCodec, index$1_getInitConfigDecoder as getInitConfigDecoder, index$1_getInitConfigDiscriminatorBytes as getInitConfigDiscriminatorBytes, index$1_getInitConfigEncoder as getInitConfigEncoder, index$1_getInitConfigSize as getInitConfigSize, index$1_getLaunchCodec as getLaunchCodec, index$1_getLaunchDecoder as getLaunchDecoder, index$1_getLaunchDiscriminatorBytes as getLaunchDiscriminatorBytes, index$1_getLaunchEncoder as getLaunchEncoder, index$1_getLaunchSize as getLaunchSize, index$1_getMarketCodec as getMarketCodec, index$1_getMarketCreatedCodec as getMarketCreatedCodec, index$1_getMarketCreatedDecoder as getMarketCreatedDecoder, index$1_getMarketCreatedEncoder as getMarketCreatedEncoder, index$1_getMarketDecoder as getMarketDecoder, index$1_getMarketDiscriminatorBytes as getMarketDiscriminatorBytes, index$1_getMarketEncoder as getMarketEncoder, index$1_getMarketResolvedCodec as getMarketResolvedCodec, index$1_getMarketResolvedDecoder as getMarketResolvedDecoder, index$1_getMarketResolvedEncoder as getMarketResolvedEncoder, index$1_getMarketSize as getMarketSize, index$1_getMigrateEntryArgsCodec as getMigrateEntryArgsCodec, index$1_getMigrateEntryArgsDecoder as getMigrateEntryArgsDecoder, index$1_getMigrateEntryArgsEncoder as getMigrateEntryArgsEncoder, index$1_getMigrateEntryDiscriminatorBytes as getMigrateEntryDiscriminatorBytes, index$1_getMigrateEntryInstruction as getMigrateEntryInstruction, index$1_getMigrateEntryInstructionAsync as getMigrateEntryInstructionAsync, index$1_getMigrateEntryInstructionDataCodec as getMigrateEntryInstructionDataCodec, index$1_getMigrateEntryInstructionDataDecoder as getMigrateEntryInstructionDataDecoder, index$1_getMigrateEntryInstructionDataEncoder as getMigrateEntryInstructionDataEncoder, getOracleStateCodec$1 as getOracleStateCodec, getOracleStateDecoder$1 as getOracleStateDecoder, getOracleStateDiscriminatorBytes$1 as getOracleStateDiscriminatorBytes, getOracleStateEncoder$1 as getOracleStateEncoder, getOracleStateSize$1 as getOracleStateSize, index$1_getPayloadBufCodec as getPayloadBufCodec, index$1_getPayloadBufDecoder as getPayloadBufDecoder, index$1_getPayloadBufEncoder as getPayloadBufEncoder, index$1_getPredictionEntryAddress as getPredictionEntryAddress, index$1_getPredictionEntryByMintAddress as getPredictionEntryByMintAddress, index$1_getPredictionMarketAddress as getPredictionMarketAddress, index$1_getPredictionMarketAuthorityAddress as getPredictionMarketAuthorityAddress, index$1_getPredictionMigratorErrorMessage as getPredictionMigratorErrorMessage, index$1_getPredictionPotVaultAddress as getPredictionPotVaultAddress, index$1_getPreviewPayoutIfWinnerArgsCodec as getPreviewPayoutIfWinnerArgsCodec, index$1_getPreviewPayoutIfWinnerArgsDecoder as getPreviewPayoutIfWinnerArgsDecoder, index$1_getPreviewPayoutIfWinnerArgsEncoder as getPreviewPayoutIfWinnerArgsEncoder, index$1_getPreviewPayoutIfWinnerDiscriminatorBytes as getPreviewPayoutIfWinnerDiscriminatorBytes, index$1_getPreviewPayoutIfWinnerInstruction as getPreviewPayoutIfWinnerInstruction, index$1_getPreviewPayoutIfWinnerInstructionDataCodec as getPreviewPayoutIfWinnerInstructionDataCodec, index$1_getPreviewPayoutIfWinnerInstructionDataDecoder as getPreviewPayoutIfWinnerInstructionDataDecoder, index$1_getPreviewPayoutIfWinnerInstructionDataEncoder as getPreviewPayoutIfWinnerInstructionDataEncoder, index$1_getRegisterEntryArgsCodec as getRegisterEntryArgsCodec, index$1_getRegisterEntryArgsDecoder as getRegisterEntryArgsDecoder, index$1_getRegisterEntryArgsEncoder as getRegisterEntryArgsEncoder, index$1_getRegisterEntryDiscriminatorBytes as getRegisterEntryDiscriminatorBytes, index$1_getRegisterEntryInstruction as getRegisterEntryInstruction, index$1_getRegisterEntryInstructionAsync as getRegisterEntryInstructionAsync, index$1_getRegisterEntryInstructionDataCodec as getRegisterEntryInstructionDataCodec, index$1_getRegisterEntryInstructionDataDecoder as getRegisterEntryInstructionDataDecoder, index$1_getRegisterEntryInstructionDataEncoder as getRegisterEntryInstructionDataEncoder, index$1_getRewardsClaimedCodec as getRewardsClaimedCodec, index$1_getRewardsClaimedDecoder as getRewardsClaimedDecoder, index$1_getRewardsClaimedEncoder as getRewardsClaimedEncoder, index$1_identifyPredictionMigratorAccount as identifyPredictionMigratorAccount, index$1_identifyPredictionMigratorInstruction as identifyPredictionMigratorInstruction, index$1_isPredictionMigratorError as isPredictionMigratorError, index$1_parseClaimInstruction as parseClaimInstruction, index$1_parseMigrateEntryInstruction as parseMigrateEntryInstruction, index$1_parsePredictionMigratorInstruction as parsePredictionMigratorInstruction, index$1_parsePreviewPayoutIfWinnerInstruction as parsePreviewPayoutIfWinnerInstruction, index$1_parseRegisterEntryInstruction as parseRegisterEntryInstruction, index$1_predictionMigratorProgram as predictionMigratorProgram };
5660
6019
  }
5661
6020
 
5662
6021
  /**