@whetstone-research/doppler-sdk 1.0.29 → 1.0.30

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.
@@ -3675,6 +3675,7 @@ declare function getInitConfigEncoder$1(): FixedSizeEncoder<InitConfigArgs$1>;
3675
3675
  declare function getInitConfigDecoder$1(): FixedSizeDecoder<InitConfig$1>;
3676
3676
  /** Gets the codec for {@link InitConfig} account data. */
3677
3677
  declare function getInitConfigCodec$1(): FixedSizeCodec<InitConfigArgs$1, InitConfig$1>;
3678
+ declare function getInitConfigSize$1(): number;
3678
3679
 
3679
3680
  /**
3680
3681
  * This code was AUTOGENERATED using the Codama library.
@@ -5207,7 +5208,7 @@ declare const index$2_measureTransactionMessageSize: typeof measureTransactionMe
5207
5208
  declare const index$2_measureTransactionMessageSizeWithLookupTable: typeof measureTransactionMessageSizeWithLookupTable;
5208
5209
  declare const index$2_phaseLabel: typeof phaseLabel;
5209
5210
  declare namespace index$2 {
5210
- export { index$2_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$2_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$2_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$2_CURVE_KIND_XYK as CURVE_KIND_XYK, index$2_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$2_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$2_CreateLaunchAccountSigners as CreateLaunchAccountSigners, type index$2_CreateLaunchAddresses as CreateLaunchAddresses, type index$2_CreateLaunchCpmmMigrationConfig as CreateLaunchCpmmMigrationConfig, type index$2_CreateLaunchCustomMigrationConfig as CreateLaunchCustomMigrationConfig, type index$2_CreateLaunchInput as CreateLaunchInput, type index$2_CreateLaunchMigrationConfig as CreateLaunchMigrationConfig, type index$2_CreateLaunchResult as CreateLaunchResult, type index$2_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$2_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, type index$2_DeriveCreateLaunchAddressesInput as DeriveCreateLaunchAddressesInput, index$2_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$2_FeeBeneficiary as FeeBeneficiary, type index$2_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$2_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$2_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$2_FetchLaunchesConfig as FetchLaunchesConfig, index$2_HF_AFTER_CREATE as HF_AFTER_CREATE, index$2_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$2_HF_AFTER_SWAP as HF_AFTER_SWAP, index$2_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$2_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$2_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$2_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$2_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$2_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$2_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$2_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$2_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$2_InitializeConfigAccounts as InitializeConfigAccounts, type index$2_InitializeConfigArgs as InitializeConfigArgs, type index$2_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$2_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$2_InitializeLaunchArgs as InitializeLaunchArgs, type index$2_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$2_LaunchFeeState as LaunchFeeState, type index$2_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$2_LaunchMetadata as LaunchMetadata, type index$2_LaunchSupply as LaunchSupply, type index$2_LaunchTokenPrograms as LaunchTokenPrograms, type index$2_LaunchWithAddress as LaunchWithAddress, index$2_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$2_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$2_MAX_PAYLOAD as MAX_PAYLOAD, type index$2_MigrateLaunchAccounts as MigrateLaunchAccounts, index$2_PHASE_ABORTED as PHASE_ABORTED, index$2_PHASE_MIGRATED as PHASE_MIGRATED, index$2_PHASE_TRADING as PHASE_TRADING, index$2_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$2_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$2_PreviewMigrationResult as PreviewMigrationResult, type index$2_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$2_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$2_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$2_SEED_CONFIG as SEED_CONFIG, index$2_SEED_LAUNCH as SEED_LAUNCH, index$2_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$2_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, index$2_SOLANA_TRANSACTION_SIZE_LIMIT as SOLANA_TRANSACTION_SIZE_LIMIT, type index$2_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$2_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$2_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$2_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$2_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, type index$2_TransactionSizeAssertOptions as TransactionSizeAssertOptions, type index$2_TransactionSizeReport as TransactionSizeReport, type index$2_XykCurveConfig as XykCurveConfig, index$2_assertTransactionMessageFits as assertTransactionMessageFits, index$2_assertTransactionMessageFitsWithLookupTable as assertTransactionMessageFitsWithLookupTable, index$2_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$2_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$2_computeRemainingAccountsHash as computeRemainingAccountsHash, index$2_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$2_createInitializeConfigInstruction as createInitializeConfigInstruction, index$2_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$2_createLaunchId as createLaunchId, index$2_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$2_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$2_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$2_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$2_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$2_decodePreviewMigrationResult as decodePreviewMigrationResult, index$2_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$2_deriveCreateLaunchAddresses as deriveCreateLaunchAddresses, index$2_encodeU64LE as encodeU64LE, index$2_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$2_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$2_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$2_getConfigAddress as getConfigAddress, index$2_getCurveSwapFeeAmount as getCurveSwapFeeAmount, index$2_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, index$2_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$2_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$2_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$2_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$2_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$2_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$2_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$2_getLaunchAddress as getLaunchAddress, index$2_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$2_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$2_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$2_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$2_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$2_getProgramDataAddress as getProgramDataAddress, index$2_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$2_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$2_getTokenMetadataAddress as getTokenMetadataAddress, index$2_launchExists as launchExists, index$2_launchIdFromU64 as launchIdFromU64, index$2_launchTokenPrograms as launchTokenPrograms, index$2_measureTransactionMessageSize as measureTransactionMessageSize, index$2_measureTransactionMessageSizeWithLookupTable as measureTransactionMessageSizeWithLookupTable, index$2_phaseLabel as phaseLabel };
5211
+ export { index$2_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$2_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$2_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$2_CURVE_KIND_XYK as CURVE_KIND_XYK, index$2_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$2_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$2_CreateLaunchAccountSigners as CreateLaunchAccountSigners, type index$2_CreateLaunchAddresses as CreateLaunchAddresses, type index$2_CreateLaunchCpmmMigrationConfig as CreateLaunchCpmmMigrationConfig, type index$2_CreateLaunchCustomMigrationConfig as CreateLaunchCustomMigrationConfig, type index$2_CreateLaunchInput as CreateLaunchInput, type index$2_CreateLaunchMigrationConfig as CreateLaunchMigrationConfig, type index$2_CreateLaunchResult as CreateLaunchResult, type index$2_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$2_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, type index$2_DeriveCreateLaunchAddressesInput as DeriveCreateLaunchAddressesInput, index$2_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$2_FeeBeneficiary as FeeBeneficiary, type index$2_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$2_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$2_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$2_FetchLaunchesConfig as FetchLaunchesConfig, index$2_HF_AFTER_CREATE as HF_AFTER_CREATE, index$2_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$2_HF_AFTER_SWAP as HF_AFTER_SWAP, index$2_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$2_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$2_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$2_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$2_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$2_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$2_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$2_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$2_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$2_InitializeConfigAccounts as InitializeConfigAccounts, type index$2_InitializeConfigArgs as InitializeConfigArgs, type index$2_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$2_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$2_InitializeLaunchArgs as InitializeLaunchArgs, type index$2_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$2_LaunchFeeState as LaunchFeeState, type index$2_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$2_LaunchMetadata as LaunchMetadata, type index$2_LaunchSupply as LaunchSupply, type index$2_LaunchTokenPrograms as LaunchTokenPrograms, type index$2_LaunchWithAddress as LaunchWithAddress, index$2_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$2_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$2_MAX_PAYLOAD as MAX_PAYLOAD, type index$2_MigrateLaunchAccounts as MigrateLaunchAccounts, index$2_PHASE_ABORTED as PHASE_ABORTED, index$2_PHASE_MIGRATED as PHASE_MIGRATED, index$2_PHASE_TRADING as PHASE_TRADING, index$2_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$2_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$2_PreviewMigrationResult as PreviewMigrationResult, type index$2_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$2_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$2_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$2_SEED_CONFIG as SEED_CONFIG, index$2_SEED_LAUNCH as SEED_LAUNCH, index$2_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$2_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, index$2_SOLANA_TRANSACTION_SIZE_LIMIT as SOLANA_TRANSACTION_SIZE_LIMIT, type index$2_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$2_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$2_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$2_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$2_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, type index$2_TransactionSizeAssertOptions as TransactionSizeAssertOptions, type index$2_TransactionSizeReport as TransactionSizeReport, type index$2_XykCurveConfig as XykCurveConfig, index$2_assertTransactionMessageFits as assertTransactionMessageFits, index$2_assertTransactionMessageFitsWithLookupTable as assertTransactionMessageFitsWithLookupTable, index$2_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$2_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$2_computeRemainingAccountsHash as computeRemainingAccountsHash, index$2_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$2_createInitializeConfigInstruction as createInitializeConfigInstruction, index$2_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$2_createLaunchId as createLaunchId, index$2_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$2_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$2_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$2_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$2_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$2_decodePreviewMigrationResult as decodePreviewMigrationResult, index$2_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$2_deriveCreateLaunchAddresses as deriveCreateLaunchAddresses, index$2_encodeU64LE as encodeU64LE, index$2_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$2_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$2_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$2_getConfigAddress as getConfigAddress, index$2_getCurveSwapFeeAmount as getCurveSwapFeeAmount, index$2_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, getInitConfigSize$1 as getInitConfigSize, index$2_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$2_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$2_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$2_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$2_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$2_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$2_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$2_getLaunchAddress as getLaunchAddress, index$2_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$2_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$2_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$2_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$2_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$2_getProgramDataAddress as getProgramDataAddress, index$2_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$2_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$2_getTokenMetadataAddress as getTokenMetadataAddress, index$2_launchExists as launchExists, index$2_launchIdFromU64 as launchIdFromU64, index$2_launchTokenPrograms as launchTokenPrograms, index$2_measureTransactionMessageSize as measureTransactionMessageSize, index$2_measureTransactionMessageSizeWithLookupTable as measureTransactionMessageSizeWithLookupTable, index$2_phaseLabel as phaseLabel };
5211
5212
  }
5212
5213
 
5213
5214
  /**
@@ -3675,6 +3675,7 @@ declare function getInitConfigEncoder$1(): FixedSizeEncoder<InitConfigArgs$1>;
3675
3675
  declare function getInitConfigDecoder$1(): FixedSizeDecoder<InitConfig$1>;
3676
3676
  /** Gets the codec for {@link InitConfig} account data. */
3677
3677
  declare function getInitConfigCodec$1(): FixedSizeCodec<InitConfigArgs$1, InitConfig$1>;
3678
+ declare function getInitConfigSize$1(): number;
3678
3679
 
3679
3680
  /**
3680
3681
  * This code was AUTOGENERATED using the Codama library.
@@ -5207,7 +5208,7 @@ declare const index$2_measureTransactionMessageSize: typeof measureTransactionMe
5207
5208
  declare const index$2_measureTransactionMessageSizeWithLookupTable: typeof measureTransactionMessageSizeWithLookupTable;
5208
5209
  declare const index$2_phaseLabel: typeof phaseLabel;
5209
5210
  declare namespace index$2 {
5210
- export { index$2_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$2_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$2_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$2_CURVE_KIND_XYK as CURVE_KIND_XYK, index$2_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$2_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$2_CreateLaunchAccountSigners as CreateLaunchAccountSigners, type index$2_CreateLaunchAddresses as CreateLaunchAddresses, type index$2_CreateLaunchCpmmMigrationConfig as CreateLaunchCpmmMigrationConfig, type index$2_CreateLaunchCustomMigrationConfig as CreateLaunchCustomMigrationConfig, type index$2_CreateLaunchInput as CreateLaunchInput, type index$2_CreateLaunchMigrationConfig as CreateLaunchMigrationConfig, type index$2_CreateLaunchResult as CreateLaunchResult, type index$2_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$2_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, type index$2_DeriveCreateLaunchAddressesInput as DeriveCreateLaunchAddressesInput, index$2_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$2_FeeBeneficiary as FeeBeneficiary, type index$2_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$2_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$2_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$2_FetchLaunchesConfig as FetchLaunchesConfig, index$2_HF_AFTER_CREATE as HF_AFTER_CREATE, index$2_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$2_HF_AFTER_SWAP as HF_AFTER_SWAP, index$2_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$2_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$2_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$2_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$2_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$2_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$2_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$2_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$2_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$2_InitializeConfigAccounts as InitializeConfigAccounts, type index$2_InitializeConfigArgs as InitializeConfigArgs, type index$2_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$2_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$2_InitializeLaunchArgs as InitializeLaunchArgs, type index$2_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$2_LaunchFeeState as LaunchFeeState, type index$2_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$2_LaunchMetadata as LaunchMetadata, type index$2_LaunchSupply as LaunchSupply, type index$2_LaunchTokenPrograms as LaunchTokenPrograms, type index$2_LaunchWithAddress as LaunchWithAddress, index$2_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$2_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$2_MAX_PAYLOAD as MAX_PAYLOAD, type index$2_MigrateLaunchAccounts as MigrateLaunchAccounts, index$2_PHASE_ABORTED as PHASE_ABORTED, index$2_PHASE_MIGRATED as PHASE_MIGRATED, index$2_PHASE_TRADING as PHASE_TRADING, index$2_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$2_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$2_PreviewMigrationResult as PreviewMigrationResult, type index$2_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$2_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$2_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$2_SEED_CONFIG as SEED_CONFIG, index$2_SEED_LAUNCH as SEED_LAUNCH, index$2_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$2_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, index$2_SOLANA_TRANSACTION_SIZE_LIMIT as SOLANA_TRANSACTION_SIZE_LIMIT, type index$2_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$2_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$2_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$2_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$2_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, type index$2_TransactionSizeAssertOptions as TransactionSizeAssertOptions, type index$2_TransactionSizeReport as TransactionSizeReport, type index$2_XykCurveConfig as XykCurveConfig, index$2_assertTransactionMessageFits as assertTransactionMessageFits, index$2_assertTransactionMessageFitsWithLookupTable as assertTransactionMessageFitsWithLookupTable, index$2_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$2_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$2_computeRemainingAccountsHash as computeRemainingAccountsHash, index$2_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$2_createInitializeConfigInstruction as createInitializeConfigInstruction, index$2_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$2_createLaunchId as createLaunchId, index$2_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$2_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$2_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$2_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$2_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$2_decodePreviewMigrationResult as decodePreviewMigrationResult, index$2_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$2_deriveCreateLaunchAddresses as deriveCreateLaunchAddresses, index$2_encodeU64LE as encodeU64LE, index$2_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$2_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$2_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$2_getConfigAddress as getConfigAddress, index$2_getCurveSwapFeeAmount as getCurveSwapFeeAmount, index$2_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, index$2_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$2_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$2_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$2_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$2_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$2_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$2_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$2_getLaunchAddress as getLaunchAddress, index$2_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$2_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$2_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$2_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$2_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$2_getProgramDataAddress as getProgramDataAddress, index$2_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$2_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$2_getTokenMetadataAddress as getTokenMetadataAddress, index$2_launchExists as launchExists, index$2_launchIdFromU64 as launchIdFromU64, index$2_launchTokenPrograms as launchTokenPrograms, index$2_measureTransactionMessageSize as measureTransactionMessageSize, index$2_measureTransactionMessageSizeWithLookupTable as measureTransactionMessageSizeWithLookupTable, index$2_phaseLabel as phaseLabel };
5211
+ export { index$2_BPF_LOADER_UPGRADEABLE_PROGRAM_ID as BPF_LOADER_UPGRADEABLE_PROGRAM_ID, type index$2_BuildAddressLookupTableSetupInstructionsInput as BuildAddressLookupTableSetupInstructionsInput, type index$2_BuildAddressLookupTableSetupInstructionsResult as BuildAddressLookupTableSetupInstructionsResult, index$2_CURVE_KIND_XYK as CURVE_KIND_XYK, index$2_CURVE_PARAMS_FORMAT_XYK_V0 as CURVE_PARAMS_FORMAT_XYK_V0, type index$2_ClaimFeesAsyncInput as ClaimFeesAsyncInput, type index$2_CreateLaunchAccountSigners as CreateLaunchAccountSigners, type index$2_CreateLaunchAddresses as CreateLaunchAddresses, type index$2_CreateLaunchCpmmMigrationConfig as CreateLaunchCpmmMigrationConfig, type index$2_CreateLaunchCustomMigrationConfig as CreateLaunchCustomMigrationConfig, type index$2_CreateLaunchInput as CreateLaunchInput, type index$2_CreateLaunchMigrationConfig as CreateLaunchMigrationConfig, type index$2_CreateLaunchResult as CreateLaunchResult, type index$2_CurveSwapExactInAccounts as CurveSwapExactInAccounts, index$2_DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND as DEFAULT_LOOKUP_TABLE_ADDRESSES_PER_EXTEND, type index$2_DeriveCreateLaunchAddressesInput as DeriveCreateLaunchAddressesInput, index$2_EMPTY_REMAINING_ACCOUNTS_HASH as EMPTY_REMAINING_ACCOUNTS_HASH, type index$2_FeeBeneficiary as FeeBeneficiary, type index$2_FeeBeneficiaryArgs as FeeBeneficiaryArgs, type index$2_FeeBeneficiaryInput as FeeBeneficiaryInput, type index$2_FeeBeneficiaryInputArgs as FeeBeneficiaryInputArgs, type index$2_FetchLaunchesConfig as FetchLaunchesConfig, index$2_HF_AFTER_CREATE as HF_AFTER_CREATE, index$2_HF_AFTER_MIGRATE as HF_AFTER_MIGRATE, index$2_HF_AFTER_SWAP as HF_AFTER_SWAP, index$2_HF_BEFORE_CREATE as HF_BEFORE_CREATE, index$2_HF_BEFORE_MIGRATE as HF_BEFORE_MIGRATE, index$2_HF_BEFORE_SWAP as HF_BEFORE_SWAP, index$2_HF_FORWARD_READONLY_SIGNERS as HF_FORWARD_READONLY_SIGNERS, index$2_HOOK_NO_CHANGE as HOOK_NO_CHANGE, type index$2_HarvestMigratedFeesAsyncInput as HarvestMigratedFeesAsyncInput, index$2_INITIALIZER_ACCOUNT_DISCRIMINATORS as INITIALIZER_ACCOUNT_DISCRIMINATORS, index$2_INITIALIZER_INSTRUCTION_DISCRIMINATORS as INITIALIZER_INSTRUCTION_DISCRIMINATORS, index$2_INITIALIZER_PROGRAM_ID as INITIALIZER_PROGRAM_ID, type InitConfig$1 as InitConfig, type InitConfigArgs$1 as InitConfigArgs, type index$2_InitializeConfigAccounts as InitializeConfigAccounts, type index$2_InitializeConfigArgs as InitializeConfigArgs, type index$2_InitializeConfigArgsArgs as InitializeConfigArgsArgs, type index$2_InitializeLaunchAccounts as InitializeLaunchAccounts, type index$2_InitializeLaunchArgs as InitializeLaunchArgs, type index$2_InitializeLaunchArgsArgs as InitializeLaunchArgsArgs, type Launch$1 as Launch, type LaunchArgs$1 as LaunchArgs, type index$2_LaunchFeeState as LaunchFeeState, type index$2_LaunchFeeStateArgs as LaunchFeeStateArgs, type index$2_LaunchMetadata as LaunchMetadata, type index$2_LaunchSupply as LaunchSupply, type index$2_LaunchTokenPrograms as LaunchTokenPrograms, type index$2_LaunchWithAddress as LaunchWithAddress, index$2_MAX_HOOK_ALLOWLIST as MAX_HOOK_ALLOWLIST, index$2_MAX_MIGRATOR_ALLOWLIST as MAX_MIGRATOR_ALLOWLIST, index$2_MAX_PAYLOAD as MAX_PAYLOAD, type index$2_MigrateLaunchAccounts as MigrateLaunchAccounts, index$2_PHASE_ABORTED as PHASE_ABORTED, index$2_PHASE_MIGRATED as PHASE_MIGRATED, index$2_PHASE_TRADING as PHASE_TRADING, index$2_PREDICTION_HOOK_PROGRAM_ID as PREDICTION_HOOK_PROGRAM_ID, type PayloadBuf$1 as PayloadBuf, type index$2_PreviewMigrationAccounts as PreviewMigrationAccounts, type index$2_PreviewMigrationResult as PreviewMigrationResult, type index$2_PreviewSwapExactInAccounts as PreviewSwapExactInAccounts, type index$2_PreviewSwapExactInResult as PreviewSwapExactInResult, type index$2_ReplaceFeeBeneficiaryAsyncInput as ReplaceFeeBeneficiaryAsyncInput, index$2_SEED_CONFIG as SEED_CONFIG, index$2_SEED_LAUNCH as SEED_LAUNCH, index$2_SEED_LAUNCH_AUTHORITY as SEED_LAUNCH_AUTHORITY, index$2_SEED_LAUNCH_FEE_STATE as SEED_LAUNCH_FEE_STATE, index$2_SOLANA_TRANSACTION_SIZE_LIMIT as SOLANA_TRANSACTION_SIZE_LIMIT, type index$2_SetFeePolicyAsyncInput as SetFeePolicyAsyncInput, type index$2_SetHookAllowlistAccounts as SetHookAllowlistAccounts, type index$2_SetMigratorAllowlistAccounts as SetMigratorAllowlistAccounts, index$2_TRADE_DIRECTION_BUY as TRADE_DIRECTION_BUY, index$2_TRADE_DIRECTION_SELL as TRADE_DIRECTION_SELL, type index$2_TransactionSizeAssertOptions as TransactionSizeAssertOptions, type index$2_TransactionSizeReport as TransactionSizeReport, type index$2_XykCurveConfig as XykCurveConfig, index$2_assertTransactionMessageFits as assertTransactionMessageFits, index$2_assertTransactionMessageFitsWithLookupTable as assertTransactionMessageFitsWithLookupTable, index$2_buildAddressLookupTableSetupInstructions as buildAddressLookupTableSetupInstructions, index$2_compressTransactionMessageWithLookupTable as compressTransactionMessageWithLookupTable, index$2_computeRemainingAccountsHash as computeRemainingAccountsHash, index$2_createCurveSwapExactInInstruction as createCurveSwapExactInInstruction, index$2_createInitializeConfigInstruction as createInitializeConfigInstruction, index$2_createInitializeLaunchInstruction as createInitializeLaunchInstruction, index$2_createLaunchId as createLaunchId, index$2_createMigrateLaunchInstruction as createMigrateLaunchInstruction, index$2_createPreviewMigrationInstruction as createPreviewMigrationInstruction, index$2_createPreviewSwapExactInInstruction as createPreviewSwapExactInInstruction, index$2_createSetHookAllowlistInstruction as createSetHookAllowlistInstruction, index$2_createSetMigratorAllowlistInstruction as createSetMigratorAllowlistInstruction, index$2_decodePreviewMigrationResult as decodePreviewMigrationResult, index$2_decodePreviewSwapExactInResult as decodePreviewSwapExactInResult, index$2_deriveCreateLaunchAddresses as deriveCreateLaunchAddresses, index$2_encodeU64LE as encodeU64LE, index$2_fetchAllLaunches as fetchAllLaunches, fetchLaunch$1 as fetchLaunch, index$2_fetchLaunchesByAuthority as fetchLaunchesByAuthority, index$2_getClaimFeesInstructionAsync as getClaimFeesInstructionAsync, index$2_getConfigAddress as getConfigAddress, index$2_getCurveSwapFeeAmount as getCurveSwapFeeAmount, index$2_getHarvestMigratedFeesInstructionAsync as getHarvestMigratedFeesInstructionAsync, getInitConfigCodec$1 as getInitConfigCodec, getInitConfigDecoder$1 as getInitConfigDecoder, getInitConfigEncoder$1 as getInitConfigEncoder, getInitConfigSize$1 as getInitConfigSize, index$2_getInitializeConfigArgsCodec as getInitializeConfigArgsCodec, index$2_getInitializeConfigArgsDecoder as getInitializeConfigArgsDecoder, index$2_getInitializeConfigArgsEncoder as getInitializeConfigArgsEncoder, index$2_getInitializeLaunchArgsCodec as getInitializeLaunchArgsCodec, index$2_getInitializeLaunchArgsDecoder as getInitializeLaunchArgsDecoder, index$2_getInitializeLaunchArgsEncoder as getInitializeLaunchArgsEncoder, index$2_getInstructionLookupTableAddresses as getInstructionLookupTableAddresses, index$2_getLaunchAddress as getLaunchAddress, index$2_getLaunchAuthorityAddress as getLaunchAuthorityAddress, getLaunchCodec$1 as getLaunchCodec, getLaunchDecoder$1 as getLaunchDecoder, getLaunchEncoder$1 as getLaunchEncoder, index$2_getLaunchFeeStateAddress as getLaunchFeeStateAddress, index$2_getLaunchFeeStateCodec as getLaunchFeeStateCodec, index$2_getLaunchFeeStateDecoder as getLaunchFeeStateDecoder, index$2_getLaunchFeeStateEncoder as getLaunchFeeStateEncoder, index$2_getProgramDataAddress as getProgramDataAddress, index$2_getReplaceFeeBeneficiaryInstructionAsync as getReplaceFeeBeneficiaryInstructionAsync, index$2_getSetFeePolicyInstructionAsync as getSetFeePolicyInstructionAsync, index$2_getTokenMetadataAddress as getTokenMetadataAddress, index$2_launchExists as launchExists, index$2_launchIdFromU64 as launchIdFromU64, index$2_launchTokenPrograms as launchTokenPrograms, index$2_measureTransactionMessageSize as measureTransactionMessageSize, index$2_measureTransactionMessageSizeWithLookupTable as measureTransactionMessageSizeWithLookupTable, index$2_phaseLabel as phaseLabel };
5211
5212
  }
5212
5213
 
5213
5214
  /**
@@ -2198,6 +2198,7 @@ __export(initializer_exports, {
2198
2198
  getInitConfigCodec: () => getInitConfigCodec,
2199
2199
  getInitConfigDecoder: () => getInitConfigDecoder,
2200
2200
  getInitConfigEncoder: () => getInitConfigEncoder,
2201
+ getInitConfigSize: () => getInitConfigSize,
2201
2202
  getInitializeConfigArgsCodec: () => getInitializeConfigArgsCodec2,
2202
2203
  getInitializeConfigArgsDecoder: () => getInitializeConfigArgsDecoder2,
2203
2204
  getInitializeConfigArgsEncoder: () => getInitializeConfigArgsEncoder2,
@@ -2236,43 +2237,55 @@ var INIT_CONFIG_DISCRIMINATOR = new Uint8Array([
2236
2237
  126
2237
2238
  ]);
2238
2239
  function getInitConfigEncoder() {
2239
- return transformEncoder(
2240
- getStructEncoder([
2241
- ["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
2242
- ["admin", getAddressEncoder()],
2243
- ["migratorAllowlistLen", getU8Encoder()],
2244
- ["migratorAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
2245
- ["hookAllowlistLen", getU8Encoder()],
2246
- ["hookAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
2247
- ["bump", getU8Encoder()],
2248
- ["version", getU8Encoder()],
2249
- ["protocolFeeBps", getU16Encoder()],
2250
- ["minSwapFeeBps", getU16Encoder()],
2251
- ["maxSwapFeeBps", getU16Encoder()],
2252
- ["reserved", fixEncoderSize(getBytesEncoder(), 24)]
2253
- ]),
2254
- (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR })
2240
+ return fixEncoderSize(
2241
+ transformEncoder(
2242
+ getStructEncoder([
2243
+ ["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
2244
+ ["admin", getAddressEncoder()],
2245
+ ["migratorAllowlistLen", getU8Encoder()],
2246
+ [
2247
+ "migratorAllowlist",
2248
+ getArrayEncoder(getAddressEncoder(), { size: 32 })
2249
+ ],
2250
+ ["hookAllowlistLen", getU8Encoder()],
2251
+ ["hookAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
2252
+ ["bump", getU8Encoder()],
2253
+ ["version", getU8Encoder()],
2254
+ ["protocolFeeBps", getU16Encoder()],
2255
+ ["minSwapFeeBps", getU16Encoder()],
2256
+ ["maxSwapFeeBps", getU16Encoder()],
2257
+ ["reserved", fixEncoderSize(getBytesEncoder(), 24)]
2258
+ ]),
2259
+ (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR })
2260
+ ),
2261
+ 2123
2255
2262
  );
2256
2263
  }
2257
2264
  function getInitConfigDecoder() {
2258
- return getStructDecoder([
2259
- ["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
2260
- ["admin", getAddressDecoder()],
2261
- ["migratorAllowlistLen", getU8Decoder()],
2262
- ["migratorAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
2263
- ["hookAllowlistLen", getU8Decoder()],
2264
- ["hookAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
2265
- ["bump", getU8Decoder()],
2266
- ["version", getU8Decoder()],
2267
- ["protocolFeeBps", getU16Decoder()],
2268
- ["minSwapFeeBps", getU16Decoder()],
2269
- ["maxSwapFeeBps", getU16Decoder()],
2270
- ["reserved", fixDecoderSize(getBytesDecoder(), 24)]
2271
- ]);
2265
+ return fixDecoderSize(
2266
+ getStructDecoder([
2267
+ ["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
2268
+ ["admin", getAddressDecoder()],
2269
+ ["migratorAllowlistLen", getU8Decoder()],
2270
+ ["migratorAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
2271
+ ["hookAllowlistLen", getU8Decoder()],
2272
+ ["hookAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
2273
+ ["bump", getU8Decoder()],
2274
+ ["version", getU8Decoder()],
2275
+ ["protocolFeeBps", getU16Decoder()],
2276
+ ["minSwapFeeBps", getU16Decoder()],
2277
+ ["maxSwapFeeBps", getU16Decoder()],
2278
+ ["reserved", fixDecoderSize(getBytesDecoder(), 24)]
2279
+ ]),
2280
+ 2123
2281
+ );
2272
2282
  }
2273
2283
  function getInitConfigCodec() {
2274
2284
  return combineCodec(getInitConfigEncoder(), getInitConfigDecoder());
2275
2285
  }
2286
+ function getInitConfigSize() {
2287
+ return 2123;
2288
+ }
2276
2289
  function getFeeBeneficiaryEncoder() {
2277
2290
  return getStructEncoder([
2278
2291
  ["wallet", getAddressEncoder()],
@@ -3578,39 +3591,48 @@ function getInitConfigDiscriminatorBytes() {
3578
3591
  return fixEncoderSize(getBytesEncoder(), 8).encode(INIT_CONFIG_DISCRIMINATOR2);
3579
3592
  }
3580
3593
  function getInitConfigEncoder2() {
3581
- return transformEncoder(
3582
- getStructEncoder([
3583
- ["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
3584
- ["admin", getAddressEncoder()],
3585
- ["migratorAllowlistLen", getU8Encoder()],
3586
- ["migratorAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
3587
- ["hookAllowlistLen", getU8Encoder()],
3588
- ["hookAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
3589
- ["bump", getU8Encoder()],
3590
- ["version", getU8Encoder()],
3591
- ["protocolFeeBps", getU16Encoder()],
3592
- ["minSwapFeeBps", getU16Encoder()],
3593
- ["maxSwapFeeBps", getU16Encoder()],
3594
- ["reserved", fixEncoderSize(getBytesEncoder(), 24)]
3595
- ]),
3596
- (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR2 })
3594
+ return fixEncoderSize(
3595
+ transformEncoder(
3596
+ getStructEncoder([
3597
+ ["discriminator", fixEncoderSize(getBytesEncoder(), 8)],
3598
+ ["admin", getAddressEncoder()],
3599
+ ["migratorAllowlistLen", getU8Encoder()],
3600
+ [
3601
+ "migratorAllowlist",
3602
+ getArrayEncoder(getAddressEncoder(), { size: 32 })
3603
+ ],
3604
+ ["hookAllowlistLen", getU8Encoder()],
3605
+ ["hookAllowlist", getArrayEncoder(getAddressEncoder(), { size: 32 })],
3606
+ ["bump", getU8Encoder()],
3607
+ ["version", getU8Encoder()],
3608
+ ["protocolFeeBps", getU16Encoder()],
3609
+ ["minSwapFeeBps", getU16Encoder()],
3610
+ ["maxSwapFeeBps", getU16Encoder()],
3611
+ ["reserved", fixEncoderSize(getBytesEncoder(), 24)]
3612
+ ]),
3613
+ (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR2 })
3614
+ ),
3615
+ 2123
3597
3616
  );
3598
3617
  }
3599
3618
  function getInitConfigDecoder2() {
3600
- return getStructDecoder([
3601
- ["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
3602
- ["admin", getAddressDecoder()],
3603
- ["migratorAllowlistLen", getU8Decoder()],
3604
- ["migratorAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
3605
- ["hookAllowlistLen", getU8Decoder()],
3606
- ["hookAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
3607
- ["bump", getU8Decoder()],
3608
- ["version", getU8Decoder()],
3609
- ["protocolFeeBps", getU16Decoder()],
3610
- ["minSwapFeeBps", getU16Decoder()],
3611
- ["maxSwapFeeBps", getU16Decoder()],
3612
- ["reserved", fixDecoderSize(getBytesDecoder(), 24)]
3613
- ]);
3619
+ return fixDecoderSize(
3620
+ getStructDecoder([
3621
+ ["discriminator", fixDecoderSize(getBytesDecoder(), 8)],
3622
+ ["admin", getAddressDecoder()],
3623
+ ["migratorAllowlistLen", getU8Decoder()],
3624
+ ["migratorAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
3625
+ ["hookAllowlistLen", getU8Decoder()],
3626
+ ["hookAllowlist", getArrayDecoder(getAddressDecoder(), { size: 32 })],
3627
+ ["bump", getU8Decoder()],
3628
+ ["version", getU8Decoder()],
3629
+ ["protocolFeeBps", getU16Decoder()],
3630
+ ["minSwapFeeBps", getU16Decoder()],
3631
+ ["maxSwapFeeBps", getU16Decoder()],
3632
+ ["reserved", fixDecoderSize(getBytesDecoder(), 24)]
3633
+ ]),
3634
+ 2123
3635
+ );
3614
3636
  }
3615
3637
  function getInitConfigCodec2() {
3616
3638
  return combineCodec(getInitConfigEncoder2(), getInitConfigDecoder2());
@@ -3639,7 +3661,7 @@ async function fetchAllMaybeInitConfig(rpc, addresses, config) {
3639
3661
  const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
3640
3662
  return maybeAccounts.map((maybeAccount) => decodeInitConfig(maybeAccount));
3641
3663
  }
3642
- function getInitConfigSize() {
3664
+ function getInitConfigSize2() {
3643
3665
  return 2123;
3644
3666
  }
3645
3667
  function getAccumulatorUpdatedEncoder() {
@@ -6999,7 +7021,7 @@ __export(predictionMigrator_exports, {
6999
7021
  getInitConfigDecoder: () => getInitConfigDecoder2,
7000
7022
  getInitConfigDiscriminatorBytes: () => getInitConfigDiscriminatorBytes,
7001
7023
  getInitConfigEncoder: () => getInitConfigEncoder2,
7002
- getInitConfigSize: () => getInitConfigSize,
7024
+ getInitConfigSize: () => getInitConfigSize2,
7003
7025
  getLaunchCodec: () => getLaunchCodec2,
7004
7026
  getLaunchDecoder: () => getLaunchDecoder2,
7005
7027
  getLaunchDiscriminatorBytes: () => getLaunchDiscriminatorBytes,