@whetstone-research/doppler-sdk 1.0.29 → 1.0.31
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.
- package/dist/evm/index.cjs +764 -402
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +1803 -382
- package/dist/evm/index.d.ts +1803 -382
- package/dist/evm/index.js +760 -404
- package/dist/evm/index.js.map +1 -1
- package/dist/solana/index.cjs +135 -106
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +4 -2
- package/dist/solana/index.d.ts +4 -2
- package/dist/solana/index.js +135 -107
- package/dist/solana/index.js.map +1 -1
- package/package.json +1 -1
package/dist/solana/index.d.cts
CHANGED
|
@@ -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.
|
|
@@ -4359,6 +4360,7 @@ interface SolanaCpmmDeployment extends SolanaCpmmProgramAddresses {
|
|
|
4359
4360
|
initializerConfig: Address;
|
|
4360
4361
|
}
|
|
4361
4362
|
declare const DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4363
|
+
declare const DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4362
4364
|
declare function deriveSolanaCpmmDeployment(programs?: SolanaCpmmProgramAddresses): Promise<SolanaCpmmDeployment>;
|
|
4363
4365
|
|
|
4364
4366
|
/**
|
|
@@ -5207,7 +5209,7 @@ declare const index$2_measureTransactionMessageSize: typeof measureTransactionMe
|
|
|
5207
5209
|
declare const index$2_measureTransactionMessageSizeWithLookupTable: typeof measureTransactionMessageSizeWithLookupTable;
|
|
5208
5210
|
declare const index$2_phaseLabel: typeof phaseLabel;
|
|
5209
5211
|
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 };
|
|
5212
|
+
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
5213
|
}
|
|
5212
5214
|
|
|
5213
5215
|
/**
|
|
@@ -7162,4 +7164,4 @@ declare function assertMigrationQuoteThreshold({ rpc, quoteVault, pendingQuoteFe
|
|
|
7162
7164
|
commitment?: 'processed' | 'confirmed' | 'finalized';
|
|
7163
7165
|
}): Promise<MigrationQuoteProgress>;
|
|
7164
7166
|
|
|
7165
|
-
export { type CreateLaunchAccountSigners, type CreateLaunchAddresses, type CreateLaunchCpmmMigrationConfig, type CreateLaunchCustomMigrationConfig, type CreateLaunchInput, type CreateLaunchMigrationConfig, type CreateLaunchResult, type CurveSwapExactInInput, type CurveSwapExactInResult, DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, type DeriveCreateLaunchAddressesInput, type LaunchMetadata, type LaunchSupply, type LaunchTokenPrograms, type MigrateLaunchInput, type MigrateLaunchResult, type MigrationQuoteProgress, type SolanaCpmmDeployment, type SolanaCpmmProgramAddresses, type SolanaRemainingAccount, type SwapExactInInput, type SwapExactInResult, type XykCurveConfig, assertMigrationQuoteThreshold, index$5 as cpmm, index$4 as cpmmHook, index$3 as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, index$2 as initializer, migrateLaunch, index$1 as predictionMigrator, swapExactIn, index as trustedOracle };
|
|
7167
|
+
export { type CreateLaunchAccountSigners, type CreateLaunchAddresses, type CreateLaunchCpmmMigrationConfig, type CreateLaunchCustomMigrationConfig, type CreateLaunchInput, type CreateLaunchMigrationConfig, type CreateLaunchResult, type CurveSwapExactInInput, type CurveSwapExactInResult, DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES, type DeriveCreateLaunchAddressesInput, type LaunchMetadata, type LaunchSupply, type LaunchTokenPrograms, type MigrateLaunchInput, type MigrateLaunchResult, type MigrationQuoteProgress, type SolanaCpmmDeployment, type SolanaCpmmProgramAddresses, type SolanaRemainingAccount, type SwapExactInInput, type SwapExactInResult, type XykCurveConfig, assertMigrationQuoteThreshold, index$5 as cpmm, index$4 as cpmmHook, index$3 as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, index$2 as initializer, migrateLaunch, index$1 as predictionMigrator, swapExactIn, index as trustedOracle };
|
package/dist/solana/index.d.ts
CHANGED
|
@@ -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.
|
|
@@ -4359,6 +4360,7 @@ interface SolanaCpmmDeployment extends SolanaCpmmProgramAddresses {
|
|
|
4359
4360
|
initializerConfig: Address;
|
|
4360
4361
|
}
|
|
4361
4362
|
declare const DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4363
|
+
declare const DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4362
4364
|
declare function deriveSolanaCpmmDeployment(programs?: SolanaCpmmProgramAddresses): Promise<SolanaCpmmDeployment>;
|
|
4363
4365
|
|
|
4364
4366
|
/**
|
|
@@ -5207,7 +5209,7 @@ declare const index$2_measureTransactionMessageSize: typeof measureTransactionMe
|
|
|
5207
5209
|
declare const index$2_measureTransactionMessageSizeWithLookupTable: typeof measureTransactionMessageSizeWithLookupTable;
|
|
5208
5210
|
declare const index$2_phaseLabel: typeof phaseLabel;
|
|
5209
5211
|
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 };
|
|
5212
|
+
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
5213
|
}
|
|
5212
5214
|
|
|
5213
5215
|
/**
|
|
@@ -7162,4 +7164,4 @@ declare function assertMigrationQuoteThreshold({ rpc, quoteVault, pendingQuoteFe
|
|
|
7162
7164
|
commitment?: 'processed' | 'confirmed' | 'finalized';
|
|
7163
7165
|
}): Promise<MigrationQuoteProgress>;
|
|
7164
7166
|
|
|
7165
|
-
export { type CreateLaunchAccountSigners, type CreateLaunchAddresses, type CreateLaunchCpmmMigrationConfig, type CreateLaunchCustomMigrationConfig, type CreateLaunchInput, type CreateLaunchMigrationConfig, type CreateLaunchResult, type CurveSwapExactInInput, type CurveSwapExactInResult, DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, type DeriveCreateLaunchAddressesInput, type LaunchMetadata, type LaunchSupply, type LaunchTokenPrograms, type MigrateLaunchInput, type MigrateLaunchResult, type MigrationQuoteProgress, type SolanaCpmmDeployment, type SolanaCpmmProgramAddresses, type SolanaRemainingAccount, type SwapExactInInput, type SwapExactInResult, type XykCurveConfig, assertMigrationQuoteThreshold, index$5 as cpmm, index$4 as cpmmHook, index$3 as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, index$2 as initializer, migrateLaunch, index$1 as predictionMigrator, swapExactIn, index as trustedOracle };
|
|
7167
|
+
export { type CreateLaunchAccountSigners, type CreateLaunchAddresses, type CreateLaunchCpmmMigrationConfig, type CreateLaunchCustomMigrationConfig, type CreateLaunchInput, type CreateLaunchMigrationConfig, type CreateLaunchResult, type CurveSwapExactInInput, type CurveSwapExactInResult, DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES, type DeriveCreateLaunchAddressesInput, type LaunchMetadata, type LaunchSupply, type LaunchTokenPrograms, type MigrateLaunchInput, type MigrateLaunchResult, type MigrationQuoteProgress, type SolanaCpmmDeployment, type SolanaCpmmProgramAddresses, type SolanaRemainingAccount, type SwapExactInInput, type SwapExactInResult, type XykCurveConfig, assertMigrationQuoteThreshold, index$5 as cpmm, index$4 as cpmmHook, index$3 as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, index$2 as initializer, migrateLaunch, index$1 as predictionMigrator, swapExactIn, index as trustedOracle };
|
package/dist/solana/index.js
CHANGED
|
@@ -883,13 +883,13 @@ function decodeCosignerConfig(encodedAccount) {
|
|
|
883
883
|
getCosignerConfigDecoder()
|
|
884
884
|
);
|
|
885
885
|
}
|
|
886
|
-
async function fetchCosignerConfig(rpc,
|
|
887
|
-
const maybeAccount = await fetchMaybeCosignerConfig(rpc,
|
|
886
|
+
async function fetchCosignerConfig(rpc, address7, config) {
|
|
887
|
+
const maybeAccount = await fetchMaybeCosignerConfig(rpc, address7, config);
|
|
888
888
|
assertAccountExists(maybeAccount);
|
|
889
889
|
return maybeAccount;
|
|
890
890
|
}
|
|
891
|
-
async function fetchMaybeCosignerConfig(rpc,
|
|
892
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
891
|
+
async function fetchMaybeCosignerConfig(rpc, address7, config) {
|
|
892
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
893
893
|
return decodeCosignerConfig(maybeAccount);
|
|
894
894
|
}
|
|
895
895
|
async function fetchAllCosignerConfig(rpc, addresses, config) {
|
|
@@ -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
|
|
2240
|
-
|
|
2241
|
-
[
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
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
|
|
2259
|
-
[
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
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()],
|
|
@@ -3405,13 +3418,13 @@ function decodeClaimReceipt(encodedAccount) {
|
|
|
3405
3418
|
getClaimReceiptDecoder()
|
|
3406
3419
|
);
|
|
3407
3420
|
}
|
|
3408
|
-
async function fetchClaimReceipt(rpc,
|
|
3409
|
-
const maybeAccount = await fetchMaybeClaimReceipt(rpc,
|
|
3421
|
+
async function fetchClaimReceipt(rpc, address7, config) {
|
|
3422
|
+
const maybeAccount = await fetchMaybeClaimReceipt(rpc, address7, config);
|
|
3410
3423
|
assertAccountExists(maybeAccount);
|
|
3411
3424
|
return maybeAccount;
|
|
3412
3425
|
}
|
|
3413
|
-
async function fetchMaybeClaimReceipt(rpc,
|
|
3414
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
3426
|
+
async function fetchMaybeClaimReceipt(rpc, address7, config) {
|
|
3427
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
3415
3428
|
return decodeClaimReceipt(maybeAccount);
|
|
3416
3429
|
}
|
|
3417
3430
|
async function fetchAllClaimReceipt(rpc, addresses, config) {
|
|
@@ -3475,13 +3488,13 @@ function decodeEntry(encodedAccount) {
|
|
|
3475
3488
|
getEntryDecoder()
|
|
3476
3489
|
);
|
|
3477
3490
|
}
|
|
3478
|
-
async function fetchEntry(rpc,
|
|
3479
|
-
const maybeAccount = await fetchMaybeEntry(rpc,
|
|
3491
|
+
async function fetchEntry(rpc, address7, config) {
|
|
3492
|
+
const maybeAccount = await fetchMaybeEntry(rpc, address7, config);
|
|
3480
3493
|
assertAccountExists(maybeAccount);
|
|
3481
3494
|
return maybeAccount;
|
|
3482
3495
|
}
|
|
3483
|
-
async function fetchMaybeEntry(rpc,
|
|
3484
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
3496
|
+
async function fetchMaybeEntry(rpc, address7, config) {
|
|
3497
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
3485
3498
|
return decodeEntry(maybeAccount);
|
|
3486
3499
|
}
|
|
3487
3500
|
async function fetchAllEntry(rpc, addresses, config) {
|
|
@@ -3543,13 +3556,13 @@ function decodeEntryByMint(encodedAccount) {
|
|
|
3543
3556
|
getEntryByMintDecoder()
|
|
3544
3557
|
);
|
|
3545
3558
|
}
|
|
3546
|
-
async function fetchEntryByMint(rpc,
|
|
3547
|
-
const maybeAccount = await fetchMaybeEntryByMint(rpc,
|
|
3559
|
+
async function fetchEntryByMint(rpc, address7, config) {
|
|
3560
|
+
const maybeAccount = await fetchMaybeEntryByMint(rpc, address7, config);
|
|
3548
3561
|
assertAccountExists(maybeAccount);
|
|
3549
3562
|
return maybeAccount;
|
|
3550
3563
|
}
|
|
3551
|
-
async function fetchMaybeEntryByMint(rpc,
|
|
3552
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
3564
|
+
async function fetchMaybeEntryByMint(rpc, address7, config) {
|
|
3565
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
3553
3566
|
return decodeEntryByMint(maybeAccount);
|
|
3554
3567
|
}
|
|
3555
3568
|
async function fetchAllEntryByMint(rpc, addresses, config) {
|
|
@@ -3578,39 +3591,48 @@ function getInitConfigDiscriminatorBytes() {
|
|
|
3578
3591
|
return fixEncoderSize(getBytesEncoder(), 8).encode(INIT_CONFIG_DISCRIMINATOR2);
|
|
3579
3592
|
}
|
|
3580
3593
|
function getInitConfigEncoder2() {
|
|
3581
|
-
return
|
|
3582
|
-
|
|
3583
|
-
[
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
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
|
|
3601
|
-
[
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
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());
|
|
@@ -3621,13 +3643,13 @@ function decodeInitConfig(encodedAccount) {
|
|
|
3621
3643
|
getInitConfigDecoder2()
|
|
3622
3644
|
);
|
|
3623
3645
|
}
|
|
3624
|
-
async function fetchInitConfig(rpc,
|
|
3625
|
-
const maybeAccount = await fetchMaybeInitConfig(rpc,
|
|
3646
|
+
async function fetchInitConfig(rpc, address7, config) {
|
|
3647
|
+
const maybeAccount = await fetchMaybeInitConfig(rpc, address7, config);
|
|
3626
3648
|
assertAccountExists(maybeAccount);
|
|
3627
3649
|
return maybeAccount;
|
|
3628
3650
|
}
|
|
3629
|
-
async function fetchMaybeInitConfig(rpc,
|
|
3630
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
3651
|
+
async function fetchMaybeInitConfig(rpc, address7, config) {
|
|
3652
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
3631
3653
|
return decodeInitConfig(maybeAccount);
|
|
3632
3654
|
}
|
|
3633
3655
|
async function fetchAllInitConfig(rpc, addresses, config) {
|
|
@@ -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
|
|
3664
|
+
function getInitConfigSize2() {
|
|
3643
3665
|
return 2123;
|
|
3644
3666
|
}
|
|
3645
3667
|
function getAccumulatorUpdatedEncoder() {
|
|
@@ -3927,13 +3949,13 @@ function decodeLaunch(encodedAccount) {
|
|
|
3927
3949
|
getLaunchDecoder2()
|
|
3928
3950
|
);
|
|
3929
3951
|
}
|
|
3930
|
-
async function fetchLaunch(rpc,
|
|
3931
|
-
const maybeAccount = await fetchMaybeLaunch(rpc,
|
|
3952
|
+
async function fetchLaunch(rpc, address7, config) {
|
|
3953
|
+
const maybeAccount = await fetchMaybeLaunch(rpc, address7, config);
|
|
3932
3954
|
assertAccountExists(maybeAccount);
|
|
3933
3955
|
return maybeAccount;
|
|
3934
3956
|
}
|
|
3935
|
-
async function fetchMaybeLaunch(rpc,
|
|
3936
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
3957
|
+
async function fetchMaybeLaunch(rpc, address7, config) {
|
|
3958
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
3937
3959
|
return decodeLaunch(maybeAccount);
|
|
3938
3960
|
}
|
|
3939
3961
|
async function fetchAllLaunch(rpc, addresses, config) {
|
|
@@ -4007,13 +4029,13 @@ function decodeMarket(encodedAccount) {
|
|
|
4007
4029
|
getMarketDecoder()
|
|
4008
4030
|
);
|
|
4009
4031
|
}
|
|
4010
|
-
async function fetchMarket(rpc,
|
|
4011
|
-
const maybeAccount = await fetchMaybeMarket(rpc,
|
|
4032
|
+
async function fetchMarket(rpc, address7, config) {
|
|
4033
|
+
const maybeAccount = await fetchMaybeMarket(rpc, address7, config);
|
|
4012
4034
|
assertAccountExists(maybeAccount);
|
|
4013
4035
|
return maybeAccount;
|
|
4014
4036
|
}
|
|
4015
|
-
async function fetchMaybeMarket(rpc,
|
|
4016
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
4037
|
+
async function fetchMaybeMarket(rpc, address7, config) {
|
|
4038
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
4017
4039
|
return decodeMarket(maybeAccount);
|
|
4018
4040
|
}
|
|
4019
4041
|
async function fetchAllMarket(rpc, addresses, config) {
|
|
@@ -4079,13 +4101,13 @@ function decodeOracleState2(encodedAccount) {
|
|
|
4079
4101
|
getOracleStateDecoder()
|
|
4080
4102
|
);
|
|
4081
4103
|
}
|
|
4082
|
-
async function fetchOracleState(rpc,
|
|
4083
|
-
const maybeAccount = await fetchMaybeOracleState(rpc,
|
|
4104
|
+
async function fetchOracleState(rpc, address7, config) {
|
|
4105
|
+
const maybeAccount = await fetchMaybeOracleState(rpc, address7, config);
|
|
4084
4106
|
assertAccountExists(maybeAccount);
|
|
4085
4107
|
return maybeAccount;
|
|
4086
4108
|
}
|
|
4087
|
-
async function fetchMaybeOracleState(rpc,
|
|
4088
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
4109
|
+
async function fetchMaybeOracleState(rpc, address7, config) {
|
|
4110
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
4089
4111
|
return decodeOracleState2(maybeAccount);
|
|
4090
4112
|
}
|
|
4091
4113
|
async function fetchAllOracleState(rpc, addresses, config) {
|
|
@@ -6259,8 +6281,8 @@ async function createSpotPoolInstruction(input) {
|
|
|
6259
6281
|
}
|
|
6260
6282
|
|
|
6261
6283
|
// src/solana/migrators/cpmmMigrator/client.ts
|
|
6262
|
-
async function fetchCpmmMigratorState(rpc,
|
|
6263
|
-
const response = await rpc.getAccountInfo(
|
|
6284
|
+
async function fetchCpmmMigratorState(rpc, address7) {
|
|
6285
|
+
const response = await rpc.getAccountInfo(address7, { encoding: "base64" }).send();
|
|
6264
6286
|
if (!response.value) return null;
|
|
6265
6287
|
return getCpmmMigratorStateDecoder().decode(
|
|
6266
6288
|
base64ToBytes(response.value.data[0])
|
|
@@ -6323,8 +6345,8 @@ async function buildCpmmMigrationRemainingAccounts({
|
|
|
6323
6345
|
{ address: migrationAuthority, role: AccountRole.READONLY },
|
|
6324
6346
|
{ address: adminBaseAta, role: AccountRole.WRITABLE },
|
|
6325
6347
|
{ address: adminQuoteAta, role: AccountRole.WRITABLE },
|
|
6326
|
-
...recipientAtas.map((
|
|
6327
|
-
address:
|
|
6348
|
+
...recipientAtas.map((address7) => ({
|
|
6349
|
+
address: address7,
|
|
6328
6350
|
role: AccountRole.WRITABLE
|
|
6329
6351
|
}))
|
|
6330
6352
|
],
|
|
@@ -6811,8 +6833,8 @@ function assertTransactionMessageFitsWithLookupTable(transactionMessage, lookupT
|
|
|
6811
6833
|
return assertTransactionMessageFits(compressedMessage, options);
|
|
6812
6834
|
}
|
|
6813
6835
|
var addressCodec6 = getAddressCodec();
|
|
6814
|
-
async function fetchLaunch2(rpc,
|
|
6815
|
-
const response = await rpc.getAccountInfo(
|
|
6836
|
+
async function fetchLaunch2(rpc, address7, config) {
|
|
6837
|
+
const response = await rpc.getAccountInfo(address7, {
|
|
6816
6838
|
encoding: "base64",
|
|
6817
6839
|
commitment: config?.commitment
|
|
6818
6840
|
}).send();
|
|
@@ -6999,7 +7021,7 @@ __export(predictionMigrator_exports, {
|
|
|
6999
7021
|
getInitConfigDecoder: () => getInitConfigDecoder2,
|
|
7000
7022
|
getInitConfigDiscriminatorBytes: () => getInitConfigDiscriminatorBytes,
|
|
7001
7023
|
getInitConfigEncoder: () => getInitConfigEncoder2,
|
|
7002
|
-
getInitConfigSize: () =>
|
|
7024
|
+
getInitConfigSize: () => getInitConfigSize2,
|
|
7003
7025
|
getLaunchCodec: () => getLaunchCodec2,
|
|
7004
7026
|
getLaunchDecoder: () => getLaunchDecoder2,
|
|
7005
7027
|
getLaunchDiscriminatorBytes: () => getLaunchDiscriminatorBytes,
|
|
@@ -7217,13 +7239,13 @@ function decodeOracleState3(encodedAccount) {
|
|
|
7217
7239
|
getOracleStateDecoder2()
|
|
7218
7240
|
);
|
|
7219
7241
|
}
|
|
7220
|
-
async function fetchOracleState2(rpc,
|
|
7221
|
-
const maybeAccount = await fetchMaybeOracleState2(rpc,
|
|
7242
|
+
async function fetchOracleState2(rpc, address7, config) {
|
|
7243
|
+
const maybeAccount = await fetchMaybeOracleState2(rpc, address7, config);
|
|
7222
7244
|
assertAccountExists(maybeAccount);
|
|
7223
7245
|
return maybeAccount;
|
|
7224
7246
|
}
|
|
7225
|
-
async function fetchMaybeOracleState2(rpc,
|
|
7226
|
-
const maybeAccount = await fetchEncodedAccount(rpc,
|
|
7247
|
+
async function fetchMaybeOracleState2(rpc, address7, config) {
|
|
7248
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address7, config);
|
|
7227
7249
|
return decodeOracleState3(maybeAccount);
|
|
7228
7250
|
}
|
|
7229
7251
|
async function fetchAllOracleState2(rpc, addresses, config) {
|
|
@@ -7884,14 +7906,20 @@ async function assertMigrationQuoteThreshold({
|
|
|
7884
7906
|
}
|
|
7885
7907
|
return progress;
|
|
7886
7908
|
}
|
|
7887
|
-
|
|
7888
|
-
// src/solana/deployment.ts
|
|
7889
7909
|
var DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES = {
|
|
7890
7910
|
cpmmProgram: CPMM_PROGRAM_ID,
|
|
7891
7911
|
initializerProgram: INITIALIZER_PROGRAM_ID,
|
|
7892
7912
|
cpmmMigratorProgram: CPMM_MIGRATOR_PROGRAM_ID,
|
|
7893
7913
|
cpmmHookProgram: CPMM_HOOK_PROGRAM_ID
|
|
7894
7914
|
};
|
|
7915
|
+
var DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES = {
|
|
7916
|
+
cpmmProgram: address("5pXzd9UiWrVxATCYWmgo5EbfxzXqHYhfSKGdCPXPz7vK"),
|
|
7917
|
+
initializerProgram: address("4carc9eePfE7jKUXdCAYMhcPf4awEFpZPrz1sTykdss1"),
|
|
7918
|
+
cpmmMigratorProgram: address(
|
|
7919
|
+
"H71WD4tsiCCipro4urykWHySH1ryvLTmqEdNbHTGwb3o"
|
|
7920
|
+
),
|
|
7921
|
+
cpmmHookProgram: address("BeyqffXEVgLpM3fQ1zjk8YnZzQN9sMVrCKtNKwSxNATr")
|
|
7922
|
+
};
|
|
7895
7923
|
async function deriveSolanaCpmmDeployment(programs = DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES) {
|
|
7896
7924
|
const [cpmmConfig] = await getConfigAddress(programs.cpmmProgram);
|
|
7897
7925
|
const [initializerConfig] = await getConfigAddress2(
|
|
@@ -7904,6 +7932,6 @@ async function deriveSolanaCpmmDeployment(programs = DOPPLER_SOLANA_DEVNET_PROGR
|
|
|
7904
7932
|
};
|
|
7905
7933
|
}
|
|
7906
7934
|
|
|
7907
|
-
export { DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, assertMigrationQuoteThreshold, cpmm_exports as cpmm, cpmmHook_exports as cpmmHook, cpmmMigrator_exports as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, initializer_exports as initializer, migrateLaunch, predictionMigrator_exports as predictionMigrator, swapExactIn, trustedOracle_exports as trustedOracle };
|
|
7935
|
+
export { DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES, DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES, assertMigrationQuoteThreshold, cpmm_exports as cpmm, cpmmHook_exports as cpmmHook, cpmmMigrator_exports as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, getMigrationQuoteProgress, initializer_exports as initializer, migrateLaunch, predictionMigrator_exports as predictionMigrator, swapExactIn, trustedOracle_exports as trustedOracle };
|
|
7908
7936
|
//# sourceMappingURL=index.js.map
|
|
7909
7937
|
//# sourceMappingURL=index.js.map
|