@whetstone-research/doppler-sdk 1.0.30 → 1.0.32
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/README.md +24 -0
- 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 +208 -135
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +150 -114
- package/dist/solana/index.d.ts +150 -114
- package/dist/solana/index.js +217 -145
- package/dist/solana/index.js.map +1 -1
- package/package.json +4 -1
package/dist/solana/index.d.ts
CHANGED
|
@@ -2991,30 +2991,30 @@ declare function getCosignerConfigSize(): number;
|
|
|
2991
2991
|
*/
|
|
2992
2992
|
|
|
2993
2993
|
/** InvalidInstructionData: Invalid instruction data */
|
|
2994
|
-
declare const
|
|
2994
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA = 6000;
|
|
2995
2995
|
/** InvalidScheduleData: Invalid schedule payload */
|
|
2996
|
-
declare const
|
|
2996
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA = 6001;
|
|
2997
2997
|
/** InvalidFee: Invalid fee */
|
|
2998
|
-
declare const
|
|
2998
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE = 6002;
|
|
2999
2999
|
/** InvalidDuration: Invalid fee duration */
|
|
3000
|
-
declare const
|
|
3000
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION = 6003;
|
|
3001
3001
|
/** ArithmeticOverflow: Arithmetic overflow */
|
|
3002
|
-
declare const
|
|
3002
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW = 6004;
|
|
3003
3003
|
/** InvalidAuthority: Invalid hook authority */
|
|
3004
|
-
declare const
|
|
3004
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY = 6005;
|
|
3005
3005
|
/** InvalidConfig: Invalid cosigner hook config */
|
|
3006
|
-
declare const
|
|
3006
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG = 6006;
|
|
3007
3007
|
/** InvalidCosigner: Invalid cosigner key */
|
|
3008
|
-
declare const
|
|
3008
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER = 6007;
|
|
3009
3009
|
/** CosignerAlreadyExists: Cosigner already exists */
|
|
3010
|
-
declare const
|
|
3010
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS = 6008;
|
|
3011
3011
|
/** CosignerNotFound: Cosigner not found */
|
|
3012
|
-
declare const
|
|
3012
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND = 6009;
|
|
3013
3013
|
/** CosignerListFull: Cosigner list is full */
|
|
3014
|
-
declare const
|
|
3015
|
-
type
|
|
3016
|
-
declare function
|
|
3017
|
-
declare function
|
|
3014
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL = 6010;
|
|
3015
|
+
type DopplerLaunchHookV1Error = typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA | typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA;
|
|
3016
|
+
declare function getDopplerLaunchHookV1ErrorMessage(code: DopplerLaunchHookV1Error): string;
|
|
3017
|
+
declare function isDopplerLaunchHookV1Error<TProgramErrorCode extends DopplerLaunchHookV1Error>(error: unknown, transactionMessage: {
|
|
3018
3018
|
instructions: Record<number, {
|
|
3019
3019
|
programAddress: Address;
|
|
3020
3020
|
}>;
|
|
@@ -3032,48 +3032,48 @@ declare function isCpmmHookError<TProgramErrorCode extends CpmmHookError>(error:
|
|
|
3032
3032
|
* @see https://github.com/codama-idl/codama
|
|
3033
3033
|
*/
|
|
3034
3034
|
|
|
3035
|
-
declare const
|
|
3036
|
-
declare enum
|
|
3035
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS: Address<"HVsPNZh98TgChUXHwKrUG47SUqvGQHxUy5wZwcQLFD4i">;
|
|
3036
|
+
declare enum DopplerLaunchHookV1Account {
|
|
3037
3037
|
CosignerConfig = 0
|
|
3038
3038
|
}
|
|
3039
|
-
declare function
|
|
3039
|
+
declare function identifyDopplerLaunchHookV1Account(account: {
|
|
3040
3040
|
data: ReadonlyUint8Array;
|
|
3041
|
-
} | ReadonlyUint8Array):
|
|
3042
|
-
declare enum
|
|
3041
|
+
} | ReadonlyUint8Array): DopplerLaunchHookV1Account;
|
|
3042
|
+
declare enum DopplerLaunchHookV1Instruction {
|
|
3043
3043
|
AddCosigner = 0,
|
|
3044
3044
|
InitializeConfig = 1,
|
|
3045
3045
|
RemoveCosigner = 2,
|
|
3046
3046
|
SetAuthority = 3
|
|
3047
3047
|
}
|
|
3048
|
-
declare function
|
|
3048
|
+
declare function identifyDopplerLaunchHookV1Instruction(instruction: {
|
|
3049
3049
|
data: ReadonlyUint8Array;
|
|
3050
|
-
} | ReadonlyUint8Array):
|
|
3051
|
-
type
|
|
3052
|
-
instructionType:
|
|
3050
|
+
} | ReadonlyUint8Array): DopplerLaunchHookV1Instruction;
|
|
3051
|
+
type ParsedDopplerLaunchHookV1Instruction<TProgram extends string = 'HVsPNZh98TgChUXHwKrUG47SUqvGQHxUy5wZwcQLFD4i'> = ({
|
|
3052
|
+
instructionType: DopplerLaunchHookV1Instruction.AddCosigner;
|
|
3053
3053
|
} & ParsedAddCosignerInstruction<TProgram>) | ({
|
|
3054
|
-
instructionType:
|
|
3054
|
+
instructionType: DopplerLaunchHookV1Instruction.InitializeConfig;
|
|
3055
3055
|
} & ParsedInitializeConfigInstruction<TProgram>) | ({
|
|
3056
|
-
instructionType:
|
|
3056
|
+
instructionType: DopplerLaunchHookV1Instruction.RemoveCosigner;
|
|
3057
3057
|
} & ParsedRemoveCosignerInstruction<TProgram>) | ({
|
|
3058
|
-
instructionType:
|
|
3058
|
+
instructionType: DopplerLaunchHookV1Instruction.SetAuthority;
|
|
3059
3059
|
} & ParsedSetAuthorityInstruction<TProgram>);
|
|
3060
|
-
declare function
|
|
3061
|
-
type
|
|
3062
|
-
accounts:
|
|
3063
|
-
instructions:
|
|
3060
|
+
declare function parseDopplerLaunchHookV1Instruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedDopplerLaunchHookV1Instruction<TProgram>;
|
|
3061
|
+
type DopplerLaunchHookV1Plugin = {
|
|
3062
|
+
accounts: DopplerLaunchHookV1PluginAccounts;
|
|
3063
|
+
instructions: DopplerLaunchHookV1PluginInstructions;
|
|
3064
3064
|
};
|
|
3065
|
-
type
|
|
3065
|
+
type DopplerLaunchHookV1PluginAccounts = {
|
|
3066
3066
|
cosignerConfig: ReturnType<typeof getCosignerConfigCodec> & SelfFetchFunctions<CosignerConfigArgs, CosignerConfig>;
|
|
3067
3067
|
};
|
|
3068
|
-
type
|
|
3068
|
+
type DopplerLaunchHookV1PluginInstructions = {
|
|
3069
3069
|
addCosigner: (input: AddCosignerAsyncInput) => ReturnType<typeof getAddCosignerInstructionAsync> & SelfPlanAndSendFunctions;
|
|
3070
3070
|
initializeConfig: (input: MakeOptional$1<InitializeConfigAsyncInput, 'payer'>) => ReturnType<typeof getInitializeConfigInstructionAsync> & SelfPlanAndSendFunctions;
|
|
3071
3071
|
removeCosigner: (input: RemoveCosignerAsyncInput) => ReturnType<typeof getRemoveCosignerInstructionAsync> & SelfPlanAndSendFunctions;
|
|
3072
3072
|
setAuthority: (input: SetAuthorityAsyncInput) => ReturnType<typeof getSetAuthorityInstructionAsync> & SelfPlanAndSendFunctions;
|
|
3073
3073
|
};
|
|
3074
|
-
type
|
|
3075
|
-
declare function
|
|
3076
|
-
|
|
3074
|
+
type DopplerLaunchHookV1PluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
|
|
3075
|
+
declare function dopplerLaunchHookV1Program(): <T extends DopplerLaunchHookV1PluginRequirements>(client: T) => T & {
|
|
3076
|
+
dopplerLaunchHookV1: DopplerLaunchHookV1Plugin;
|
|
3077
3077
|
};
|
|
3078
3078
|
type MakeOptional$1<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
3079
3079
|
|
|
@@ -3087,7 +3087,7 @@ type MakeOptional$1<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
|
3087
3087
|
|
|
3088
3088
|
declare const ADD_COSIGNER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3089
3089
|
declare function getAddCosignerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3090
|
-
type AddCosignerInstruction<TProgram extends string = typeof
|
|
3090
|
+
type AddCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3091
3091
|
TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
|
|
3092
3092
|
TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
|
|
3093
3093
|
...TRemainingAccounts
|
|
@@ -3107,7 +3107,7 @@ type AddCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAcco
|
|
|
3107
3107
|
config?: Address<TAccountConfig>;
|
|
3108
3108
|
cosigner: AddCosignerInstructionDataArgs['cosigner'];
|
|
3109
3109
|
};
|
|
3110
|
-
declare function getAddCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3110
|
+
declare function getAddCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: AddCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3111
3111
|
programAddress?: TProgramAddress;
|
|
3112
3112
|
}): Promise<AddCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
|
|
3113
3113
|
type AddCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
|
|
@@ -3115,10 +3115,10 @@ type AddCosignerInput<TAccountAdminAuthority extends string = string, TAccountCo
|
|
|
3115
3115
|
config: Address<TAccountConfig>;
|
|
3116
3116
|
cosigner: AddCosignerInstructionDataArgs['cosigner'];
|
|
3117
3117
|
};
|
|
3118
|
-
declare function getAddCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3118
|
+
declare function getAddCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: AddCosignerInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3119
3119
|
programAddress?: TProgramAddress;
|
|
3120
3120
|
}): AddCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
|
|
3121
|
-
type ParsedAddCosignerInstruction<TProgram extends string = typeof
|
|
3121
|
+
type ParsedAddCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3122
3122
|
programAddress: Address<TProgram>;
|
|
3123
3123
|
accounts: {
|
|
3124
3124
|
adminAuthority: TAccountMetas[0];
|
|
@@ -3138,7 +3138,7 @@ declare function parseAddCosignerInstruction<TProgram extends string, TAccountMe
|
|
|
3138
3138
|
|
|
3139
3139
|
declare const INITIALIZE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3140
3140
|
declare function getInitializeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3141
|
-
type InitializeConfigInstruction<TProgram extends string = typeof
|
|
3141
|
+
type InitializeConfigInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3142
3142
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
3143
3143
|
TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
|
|
3144
3144
|
TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
|
|
@@ -3164,7 +3164,7 @@ type InitializeConfigAsyncInput<TAccountPayer extends string = string, TAccountA
|
|
|
3164
3164
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
3165
3165
|
cosigners: InitializeConfigInstructionDataArgs['cosigners'];
|
|
3166
3166
|
};
|
|
3167
|
-
declare function getInitializeConfigInstructionAsync<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof
|
|
3167
|
+
declare function getInitializeConfigInstructionAsync<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: InitializeConfigAsyncInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>, config?: {
|
|
3168
3168
|
programAddress?: TProgramAddress;
|
|
3169
3169
|
}): Promise<InitializeConfigInstruction<TProgramAddress, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>>;
|
|
3170
3170
|
type InitializeConfigInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = {
|
|
@@ -3175,10 +3175,10 @@ type InitializeConfigInput<TAccountPayer extends string = string, TAccountAdminA
|
|
|
3175
3175
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
3176
3176
|
cosigners: InitializeConfigInstructionDataArgs['cosigners'];
|
|
3177
3177
|
};
|
|
3178
|
-
declare function getInitializeConfigInstruction<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof
|
|
3178
|
+
declare function getInitializeConfigInstruction<TAccountPayer extends string, TAccountAdminAuthority extends string, TAccountConfig extends string, TAccountProgramData extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: InitializeConfigInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>, config?: {
|
|
3179
3179
|
programAddress?: TProgramAddress;
|
|
3180
3180
|
}): InitializeConfigInstruction<TProgramAddress, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
|
|
3181
|
-
type ParsedInitializeConfigInstruction<TProgram extends string = typeof
|
|
3181
|
+
type ParsedInitializeConfigInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3182
3182
|
programAddress: Address<TProgram>;
|
|
3183
3183
|
accounts: {
|
|
3184
3184
|
payer: TAccountMetas[0];
|
|
@@ -3201,7 +3201,7 @@ declare function parseInitializeConfigInstruction<TProgram extends string, TAcco
|
|
|
3201
3201
|
|
|
3202
3202
|
declare const REMOVE_COSIGNER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3203
3203
|
declare function getRemoveCosignerDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3204
|
-
type RemoveCosignerInstruction<TProgram extends string = typeof
|
|
3204
|
+
type RemoveCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3205
3205
|
TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
|
|
3206
3206
|
TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
|
|
3207
3207
|
...TRemainingAccounts
|
|
@@ -3221,7 +3221,7 @@ type RemoveCosignerAsyncInput<TAccountAdminAuthority extends string = string, TA
|
|
|
3221
3221
|
config?: Address<TAccountConfig>;
|
|
3222
3222
|
cosigner: RemoveCosignerInstructionDataArgs['cosigner'];
|
|
3223
3223
|
};
|
|
3224
|
-
declare function getRemoveCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3224
|
+
declare function getRemoveCosignerInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: RemoveCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3225
3225
|
programAddress?: TProgramAddress;
|
|
3226
3226
|
}): Promise<RemoveCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
|
|
3227
3227
|
type RemoveCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
|
|
@@ -3229,10 +3229,10 @@ type RemoveCosignerInput<TAccountAdminAuthority extends string = string, TAccoun
|
|
|
3229
3229
|
config: Address<TAccountConfig>;
|
|
3230
3230
|
cosigner: RemoveCosignerInstructionDataArgs['cosigner'];
|
|
3231
3231
|
};
|
|
3232
|
-
declare function getRemoveCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3232
|
+
declare function getRemoveCosignerInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: RemoveCosignerInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3233
3233
|
programAddress?: TProgramAddress;
|
|
3234
3234
|
}): RemoveCosignerInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
|
|
3235
|
-
type ParsedRemoveCosignerInstruction<TProgram extends string = typeof
|
|
3235
|
+
type ParsedRemoveCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3236
3236
|
programAddress: Address<TProgram>;
|
|
3237
3237
|
accounts: {
|
|
3238
3238
|
adminAuthority: TAccountMetas[0];
|
|
@@ -3252,7 +3252,7 @@ declare function parseRemoveCosignerInstruction<TProgram extends string, TAccoun
|
|
|
3252
3252
|
|
|
3253
3253
|
declare const SET_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3254
3254
|
declare function getSetAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3255
|
-
type SetAuthorityInstruction<TProgram extends string = typeof
|
|
3255
|
+
type SetAuthorityInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3256
3256
|
TAccountAdminAuthority extends string ? ReadonlySignerAccount<TAccountAdminAuthority> & AccountSignerMeta<TAccountAdminAuthority> : TAccountAdminAuthority,
|
|
3257
3257
|
TAccountConfig extends string ? WritableAccount<TAccountConfig> : TAccountConfig,
|
|
3258
3258
|
...TRemainingAccounts
|
|
@@ -3272,7 +3272,7 @@ type SetAuthorityAsyncInput<TAccountAdminAuthority extends string = string, TAcc
|
|
|
3272
3272
|
config?: Address<TAccountConfig>;
|
|
3273
3273
|
adminAuthorityArg: SetAuthorityInstructionDataArgs['adminAuthority'];
|
|
3274
3274
|
};
|
|
3275
|
-
declare function getSetAuthorityInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3275
|
+
declare function getSetAuthorityInstructionAsync<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: SetAuthorityAsyncInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3276
3276
|
programAddress?: TProgramAddress;
|
|
3277
3277
|
}): Promise<SetAuthorityInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>>;
|
|
3278
3278
|
type SetAuthorityInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = {
|
|
@@ -3280,10 +3280,10 @@ type SetAuthorityInput<TAccountAdminAuthority extends string = string, TAccountC
|
|
|
3280
3280
|
config: Address<TAccountConfig>;
|
|
3281
3281
|
adminAuthorityArg: SetAuthorityInstructionDataArgs['adminAuthority'];
|
|
3282
3282
|
};
|
|
3283
|
-
declare function getSetAuthorityInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof
|
|
3283
|
+
declare function getSetAuthorityInstruction<TAccountAdminAuthority extends string, TAccountConfig extends string, TProgramAddress extends Address = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS>(input: SetAuthorityInput<TAccountAdminAuthority, TAccountConfig>, config?: {
|
|
3284
3284
|
programAddress?: TProgramAddress;
|
|
3285
3285
|
}): SetAuthorityInstruction<TProgramAddress, TAccountAdminAuthority, TAccountConfig>;
|
|
3286
|
-
type ParsedSetAuthorityInstruction<TProgram extends string = typeof
|
|
3286
|
+
type ParsedSetAuthorityInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3287
3287
|
programAddress: Address<TProgram>;
|
|
3288
3288
|
accounts: {
|
|
3289
3289
|
adminAuthority: TAccountMetas[0];
|
|
@@ -3341,10 +3341,37 @@ declare function getSetAuthorityArgsEncoder(): FixedSizeEncoder<SetAuthorityArgs
|
|
|
3341
3341
|
declare function getSetAuthorityArgsDecoder(): FixedSizeDecoder<SetAuthorityArgs>;
|
|
3342
3342
|
declare function getSetAuthorityArgsCodec(): FixedSizeCodec<SetAuthorityArgsArgs, SetAuthorityArgs>;
|
|
3343
3343
|
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3344
|
+
declare const resolvedManagedCosignerGateBrand: unique symbol;
|
|
3345
|
+
type ResolveManagedCosignerGateInput = {
|
|
3346
|
+
/**
|
|
3347
|
+
* Unix timestamp after which swaps no longer require the managed cosigner.
|
|
3348
|
+
* Omit or set to null for an indefinite gate.
|
|
3349
|
+
*/
|
|
3350
|
+
expiresAt?: bigint | number | null;
|
|
3351
|
+
programId?: Address;
|
|
3352
|
+
};
|
|
3353
|
+
type ResolvedManagedCosignerGate = {
|
|
3354
|
+
readonly programId: Address;
|
|
3355
|
+
readonly config: Address;
|
|
3356
|
+
readonly cosigner: Address;
|
|
3357
|
+
readonly activeCosigners: readonly Address[];
|
|
3358
|
+
readonly expiresAt?: bigint | number | null;
|
|
3359
|
+
readonly [resolvedManagedCosignerGateBrand]: true;
|
|
3360
|
+
};
|
|
3361
|
+
declare function isResolvedManagedCosignerGate(value: unknown): value is ResolvedManagedCosignerGate;
|
|
3362
|
+
/**
|
|
3363
|
+
* Resolves a Doppler-managed cosigner gate for launch construction.
|
|
3364
|
+
*
|
|
3365
|
+
* Each launch commits one signer account for deterministic swap account
|
|
3366
|
+
* reconstruction. The first active config entry is the deployment's canonical
|
|
3367
|
+
* signer for newly created launches.
|
|
3368
|
+
*/
|
|
3369
|
+
declare function resolveManagedCosignerGate(rpc: Rpc<GetAccountInfoApi>, input?: ResolveManagedCosignerGateInput): Promise<ResolvedManagedCosignerGate>;
|
|
3370
|
+
|
|
3371
|
+
/** Default Doppler launch hook v1 program for devnet deployments. */
|
|
3372
|
+
declare const DEVNET_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID: Address;
|
|
3373
|
+
declare const DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID: Address;
|
|
3374
|
+
declare const SEED_DOPPLER_LAUNCH_HOOK_V1_CONFIG = "cosigner_hook_config";
|
|
3348
3375
|
declare const MAX_COSIGNERS = 32;
|
|
3349
3376
|
declare const GATE_EXPIRY_DISABLED = 0;
|
|
3350
3377
|
declare const GATE_EXPIRY_UNIX_TIMESTAMP = 1;
|
|
@@ -3397,11 +3424,11 @@ type DynamicFeeScheduleArgs = {
|
|
|
3397
3424
|
endFeeBps: number;
|
|
3398
3425
|
durationSeconds: bigint | number;
|
|
3399
3426
|
};
|
|
3400
|
-
type
|
|
3427
|
+
type DopplerLaunchHookV1PayloadArgs = {
|
|
3401
3428
|
schedule?: DynamicFeeScheduleArgs | null;
|
|
3402
3429
|
gateExpiry?: CosignerGateExpiryArgs | null;
|
|
3403
3430
|
};
|
|
3404
|
-
type
|
|
3431
|
+
type DopplerLaunchHookV1RemainingAccounts = {
|
|
3405
3432
|
signedHookRemainingAccounts: RemainingAccount[];
|
|
3406
3433
|
unsignedHookRemainingAccounts: Address[];
|
|
3407
3434
|
hookRemainingAccountsHash: Uint8Array;
|
|
@@ -3411,46 +3438,33 @@ declare function validateDynamicFeeScheduleArgs(schedule: DynamicFeeScheduleArgs
|
|
|
3411
3438
|
durationSeconds: bigint;
|
|
3412
3439
|
};
|
|
3413
3440
|
declare function encodeDynamicFeeSchedule(schedule: DynamicFeeScheduleArgs): Uint8Array;
|
|
3414
|
-
declare function
|
|
3441
|
+
declare function encodeDopplerLaunchHookV1Payload(args?: DopplerLaunchHookV1PayloadArgs): Uint8Array;
|
|
3415
3442
|
declare function encodeDynamicFeeCosignerGatePayload(args: {
|
|
3416
3443
|
value: bigint | number;
|
|
3417
3444
|
mode: Exclude<CosignerGateExpiryArgs['mode'], typeof GATE_EXPIRY_DISABLED>;
|
|
3418
3445
|
cosigner: Address;
|
|
3419
3446
|
}): Uint8Array;
|
|
3420
|
-
declare function
|
|
3447
|
+
declare function getDopplerLaunchHookV1RemainingAccounts({ namespace, config, cosigner, }: {
|
|
3421
3448
|
namespace: Address;
|
|
3422
3449
|
config?: Address;
|
|
3423
3450
|
cosigner?: AddressOrTransactionSigner;
|
|
3424
|
-
}):
|
|
3425
|
-
declare function
|
|
3451
|
+
}): DopplerLaunchHookV1RemainingAccounts;
|
|
3452
|
+
declare function getDopplerLaunchHookV1RemainingAccountAddresses({ namespace, config, cosigner, }: {
|
|
3426
3453
|
namespace: Address;
|
|
3427
3454
|
config?: Address;
|
|
3428
3455
|
cosigner?: AddressOrTransactionSigner;
|
|
3429
3456
|
}): Address[];
|
|
3430
3457
|
declare function isDynamicFeeSchedulePayload(payload: ReadonlyUint8Array): boolean;
|
|
3431
3458
|
|
|
3432
|
-
declare function
|
|
3459
|
+
declare function getDopplerLaunchHookV1ConfigAddress(programId?: Address): Promise<ProgramDerivedAddress>;
|
|
3433
3460
|
|
|
3434
3461
|
declare const index$4_ADD_COSIGNER_DISCRIMINATOR: typeof ADD_COSIGNER_DISCRIMINATOR;
|
|
3435
3462
|
type index$4_AddCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = AddCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3436
3463
|
type index$4_AddCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = AddCosignerInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3437
|
-
type index$4_AddCosignerInstruction<TProgram extends string = typeof
|
|
3464
|
+
type index$4_AddCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = AddCosignerInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
|
|
3438
3465
|
type index$4_AddCosignerInstructionData = AddCosignerInstructionData;
|
|
3439
3466
|
type index$4_AddCosignerInstructionDataArgs = AddCosignerInstructionDataArgs;
|
|
3440
3467
|
declare const index$4_COSIGNER_CONFIG_DISCRIMINATOR: typeof COSIGNER_CONFIG_DISCRIMINATOR;
|
|
3441
|
-
declare const index$4_CPMM_HOOK_ERROR__ARITHMETIC_OVERFLOW: typeof CPMM_HOOK_ERROR__ARITHMETIC_OVERFLOW;
|
|
3442
|
-
declare const index$4_CPMM_HOOK_ERROR__COSIGNER_ALREADY_EXISTS: typeof CPMM_HOOK_ERROR__COSIGNER_ALREADY_EXISTS;
|
|
3443
|
-
declare const index$4_CPMM_HOOK_ERROR__COSIGNER_LIST_FULL: typeof CPMM_HOOK_ERROR__COSIGNER_LIST_FULL;
|
|
3444
|
-
declare const index$4_CPMM_HOOK_ERROR__COSIGNER_NOT_FOUND: typeof CPMM_HOOK_ERROR__COSIGNER_NOT_FOUND;
|
|
3445
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_AUTHORITY: typeof CPMM_HOOK_ERROR__INVALID_AUTHORITY;
|
|
3446
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_CONFIG: typeof CPMM_HOOK_ERROR__INVALID_CONFIG;
|
|
3447
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_COSIGNER: typeof CPMM_HOOK_ERROR__INVALID_COSIGNER;
|
|
3448
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_DURATION: typeof CPMM_HOOK_ERROR__INVALID_DURATION;
|
|
3449
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_FEE: typeof CPMM_HOOK_ERROR__INVALID_FEE;
|
|
3450
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_INSTRUCTION_DATA: typeof CPMM_HOOK_ERROR__INVALID_INSTRUCTION_DATA;
|
|
3451
|
-
declare const index$4_CPMM_HOOK_ERROR__INVALID_SCHEDULE_DATA: typeof CPMM_HOOK_ERROR__INVALID_SCHEDULE_DATA;
|
|
3452
|
-
declare const index$4_CPMM_HOOK_PROGRAM_ADDRESS: typeof CPMM_HOOK_PROGRAM_ADDRESS;
|
|
3453
|
-
declare const index$4_CPMM_HOOK_PROGRAM_ID: typeof CPMM_HOOK_PROGRAM_ID;
|
|
3454
3468
|
type index$4_CosignerArg = CosignerArg;
|
|
3455
3469
|
type index$4_CosignerArgArgs = CosignerArgArgs;
|
|
3456
3470
|
type index$4_CosignerConfig = CosignerConfig;
|
|
@@ -3459,23 +3473,36 @@ type index$4_CosignerGateClock = CosignerGateClock;
|
|
|
3459
3473
|
type index$4_CosignerGateExpiry = CosignerGateExpiry;
|
|
3460
3474
|
type index$4_CosignerGateExpiryArgs = CosignerGateExpiryArgs;
|
|
3461
3475
|
type index$4_CosignerGateStatus = CosignerGateStatus;
|
|
3462
|
-
|
|
3463
|
-
declare const index$
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
declare const index$
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
declare const index$
|
|
3476
|
+
declare const index$4_DEVNET_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID: typeof DEVNET_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID;
|
|
3477
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW;
|
|
3478
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS;
|
|
3479
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL;
|
|
3480
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND;
|
|
3481
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY;
|
|
3482
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG;
|
|
3483
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER;
|
|
3484
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION;
|
|
3485
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE;
|
|
3486
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA;
|
|
3487
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA: typeof DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA;
|
|
3488
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS: typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS;
|
|
3489
|
+
declare const index$4_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID: typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID;
|
|
3474
3490
|
declare const index$4_DYNAMIC_FEE_SCHEDULE_HEADER_LEN: typeof DYNAMIC_FEE_SCHEDULE_HEADER_LEN;
|
|
3475
3491
|
declare const index$4_DYNAMIC_FEE_SCHEDULE_LEN: typeof DYNAMIC_FEE_SCHEDULE_LEN;
|
|
3476
3492
|
declare const index$4_DYNAMIC_FEE_SCHEDULE_MAGIC: typeof DYNAMIC_FEE_SCHEDULE_MAGIC;
|
|
3477
3493
|
declare const index$4_DYNAMIC_FEE_SCHEDULE_MAX_BPS: typeof DYNAMIC_FEE_SCHEDULE_MAX_BPS;
|
|
3478
3494
|
declare const index$4_DYNAMIC_FEE_SCHEDULE_VERSION: typeof DYNAMIC_FEE_SCHEDULE_VERSION;
|
|
3495
|
+
type index$4_DopplerLaunchHookV1Account = DopplerLaunchHookV1Account;
|
|
3496
|
+
declare const index$4_DopplerLaunchHookV1Account: typeof DopplerLaunchHookV1Account;
|
|
3497
|
+
type index$4_DopplerLaunchHookV1Error = DopplerLaunchHookV1Error;
|
|
3498
|
+
type index$4_DopplerLaunchHookV1Instruction = DopplerLaunchHookV1Instruction;
|
|
3499
|
+
declare const index$4_DopplerLaunchHookV1Instruction: typeof DopplerLaunchHookV1Instruction;
|
|
3500
|
+
type index$4_DopplerLaunchHookV1PayloadArgs = DopplerLaunchHookV1PayloadArgs;
|
|
3501
|
+
type index$4_DopplerLaunchHookV1Plugin = DopplerLaunchHookV1Plugin;
|
|
3502
|
+
type index$4_DopplerLaunchHookV1PluginAccounts = DopplerLaunchHookV1PluginAccounts;
|
|
3503
|
+
type index$4_DopplerLaunchHookV1PluginInstructions = DopplerLaunchHookV1PluginInstructions;
|
|
3504
|
+
type index$4_DopplerLaunchHookV1PluginRequirements = DopplerLaunchHookV1PluginRequirements;
|
|
3505
|
+
type index$4_DopplerLaunchHookV1RemainingAccounts = DopplerLaunchHookV1RemainingAccounts;
|
|
3479
3506
|
type index$4_DynamicFeeScheduleArgs = DynamicFeeScheduleArgs;
|
|
3480
3507
|
declare const index$4_GATE_EXPIRY_DISABLED: typeof GATE_EXPIRY_DISABLED;
|
|
3481
3508
|
declare const index$4_GATE_EXPIRY_HEADER_LEN: typeof GATE_EXPIRY_HEADER_LEN;
|
|
@@ -3486,35 +3513,37 @@ declare const index$4_GATE_EXPIRY_UNIX_TIMESTAMP: typeof GATE_EXPIRY_UNIX_TIMEST
|
|
|
3486
3513
|
declare const index$4_INITIALIZE_CONFIG_DISCRIMINATOR: typeof INITIALIZE_CONFIG_DISCRIMINATOR;
|
|
3487
3514
|
type index$4_InitializeConfigAsyncInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigAsyncInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
|
|
3488
3515
|
type index$4_InitializeConfigInput<TAccountPayer extends string = string, TAccountAdminAuthority extends string = string, TAccountConfig extends string = string, TAccountProgramData extends string = string, TAccountSystemProgram extends string = string> = InitializeConfigInput<TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram>;
|
|
3489
|
-
type index$4_InitializeConfigInstruction<TProgram extends string = typeof
|
|
3516
|
+
type index$4_InitializeConfigInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TAccountProgramData extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = InitializeConfigInstruction<TProgram, TAccountPayer, TAccountAdminAuthority, TAccountConfig, TAccountProgramData, TAccountSystemProgram, TRemainingAccounts>;
|
|
3490
3517
|
type index$4_InitializeConfigInstructionData = InitializeConfigInstructionData;
|
|
3491
3518
|
type index$4_InitializeConfigInstructionDataArgs = InitializeConfigInstructionDataArgs;
|
|
3492
3519
|
declare const index$4_MAX_COSIGNERS: typeof MAX_COSIGNERS;
|
|
3493
|
-
type index$4_ParsedAddCosignerInstruction<TProgram extends string = typeof
|
|
3494
|
-
type index$
|
|
3495
|
-
type index$4_ParsedInitializeConfigInstruction<TProgram extends string = typeof
|
|
3496
|
-
type index$4_ParsedRemoveCosignerInstruction<TProgram extends string = typeof
|
|
3497
|
-
type index$4_ParsedSetAuthorityInstruction<TProgram extends string = typeof
|
|
3520
|
+
type index$4_ParsedAddCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedAddCosignerInstruction<TProgram, TAccountMetas>;
|
|
3521
|
+
type index$4_ParsedDopplerLaunchHookV1Instruction<TProgram extends string = 'HVsPNZh98TgChUXHwKrUG47SUqvGQHxUy5wZwcQLFD4i'> = ParsedDopplerLaunchHookV1Instruction<TProgram>;
|
|
3522
|
+
type index$4_ParsedInitializeConfigInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedInitializeConfigInstruction<TProgram, TAccountMetas>;
|
|
3523
|
+
type index$4_ParsedRemoveCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedRemoveCosignerInstruction<TProgram, TAccountMetas>;
|
|
3524
|
+
type index$4_ParsedSetAuthorityInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = ParsedSetAuthorityInstruction<TProgram, TAccountMetas>;
|
|
3498
3525
|
declare const index$4_REMOVE_COSIGNER_DISCRIMINATOR: typeof REMOVE_COSIGNER_DISCRIMINATOR;
|
|
3499
3526
|
type index$4_RemoveCosignerAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = RemoveCosignerAsyncInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3500
3527
|
type index$4_RemoveCosignerInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = RemoveCosignerInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3501
|
-
type index$4_RemoveCosignerInstruction<TProgram extends string = typeof
|
|
3528
|
+
type index$4_RemoveCosignerInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = RemoveCosignerInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
|
|
3502
3529
|
type index$4_RemoveCosignerInstructionData = RemoveCosignerInstructionData;
|
|
3503
3530
|
type index$4_RemoveCosignerInstructionDataArgs = RemoveCosignerInstructionDataArgs;
|
|
3504
|
-
|
|
3531
|
+
type index$4_ResolveManagedCosignerGateInput = ResolveManagedCosignerGateInput;
|
|
3532
|
+
type index$4_ResolvedManagedCosignerGate = ResolvedManagedCosignerGate;
|
|
3533
|
+
declare const index$4_SEED_DOPPLER_LAUNCH_HOOK_V1_CONFIG: typeof SEED_DOPPLER_LAUNCH_HOOK_V1_CONFIG;
|
|
3505
3534
|
declare const index$4_SET_AUTHORITY_DISCRIMINATOR: typeof SET_AUTHORITY_DISCRIMINATOR;
|
|
3506
3535
|
type index$4_SetAuthorityArgs = SetAuthorityArgs;
|
|
3507
3536
|
type index$4_SetAuthorityArgsArgs = SetAuthorityArgsArgs;
|
|
3508
3537
|
type index$4_SetAuthorityAsyncInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = SetAuthorityAsyncInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3509
3538
|
type index$4_SetAuthorityInput<TAccountAdminAuthority extends string = string, TAccountConfig extends string = string> = SetAuthorityInput<TAccountAdminAuthority, TAccountConfig>;
|
|
3510
|
-
type index$4_SetAuthorityInstruction<TProgram extends string = typeof
|
|
3539
|
+
type index$4_SetAuthorityInstruction<TProgram extends string = typeof DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, TAccountAdminAuthority extends string | AccountMeta<string> = string, TAccountConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = SetAuthorityInstruction<TProgram, TAccountAdminAuthority, TAccountConfig, TRemainingAccounts>;
|
|
3511
3540
|
type index$4_SetAuthorityInstructionData = SetAuthorityInstructionData;
|
|
3512
3541
|
type index$4_SetAuthorityInstructionDataArgs = SetAuthorityInstructionDataArgs;
|
|
3513
|
-
declare const index$4_cpmmHookProgram: typeof cpmmHookProgram;
|
|
3514
3542
|
declare const index$4_decodeCosignerConfig: typeof decodeCosignerConfig;
|
|
3515
3543
|
declare const index$4_decodeCosignerGateExpiryPayload: typeof decodeCosignerGateExpiryPayload;
|
|
3544
|
+
declare const index$4_dopplerLaunchHookV1Program: typeof dopplerLaunchHookV1Program;
|
|
3516
3545
|
declare const index$4_encodeCosignerGateExpiryPayload: typeof encodeCosignerGateExpiryPayload;
|
|
3517
|
-
declare const index$
|
|
3546
|
+
declare const index$4_encodeDopplerLaunchHookV1Payload: typeof encodeDopplerLaunchHookV1Payload;
|
|
3518
3547
|
declare const index$4_encodeDynamicFeeCosignerGatePayload: typeof encodeDynamicFeeCosignerGatePayload;
|
|
3519
3548
|
declare const index$4_encodeDynamicFeeSchedule: typeof encodeDynamicFeeSchedule;
|
|
3520
3549
|
declare const index$4_fetchAllCosignerConfig: typeof fetchAllCosignerConfig;
|
|
@@ -3536,10 +3565,10 @@ declare const index$4_getCosignerConfigDiscriminatorBytes: typeof getCosignerCon
|
|
|
3536
3565
|
declare const index$4_getCosignerConfigEncoder: typeof getCosignerConfigEncoder;
|
|
3537
3566
|
declare const index$4_getCosignerConfigSize: typeof getCosignerConfigSize;
|
|
3538
3567
|
declare const index$4_getCosignerGateStatus: typeof getCosignerGateStatus;
|
|
3539
|
-
declare const index$
|
|
3540
|
-
declare const index$
|
|
3541
|
-
declare const index$
|
|
3542
|
-
declare const index$
|
|
3568
|
+
declare const index$4_getDopplerLaunchHookV1ConfigAddress: typeof getDopplerLaunchHookV1ConfigAddress;
|
|
3569
|
+
declare const index$4_getDopplerLaunchHookV1ErrorMessage: typeof getDopplerLaunchHookV1ErrorMessage;
|
|
3570
|
+
declare const index$4_getDopplerLaunchHookV1RemainingAccountAddresses: typeof getDopplerLaunchHookV1RemainingAccountAddresses;
|
|
3571
|
+
declare const index$4_getDopplerLaunchHookV1RemainingAccounts: typeof getDopplerLaunchHookV1RemainingAccounts;
|
|
3543
3572
|
declare const index$4_getInitializeConfigDiscriminatorBytes: typeof getInitializeConfigDiscriminatorBytes;
|
|
3544
3573
|
declare const index$4_getInitializeConfigInstruction: typeof getInitializeConfigInstruction;
|
|
3545
3574
|
declare const index$4_getInitializeConfigInstructionAsync: typeof getInitializeConfigInstructionAsync;
|
|
@@ -3561,19 +3590,21 @@ declare const index$4_getSetAuthorityInstructionAsync: typeof getSetAuthorityIns
|
|
|
3561
3590
|
declare const index$4_getSetAuthorityInstructionDataCodec: typeof getSetAuthorityInstructionDataCodec;
|
|
3562
3591
|
declare const index$4_getSetAuthorityInstructionDataDecoder: typeof getSetAuthorityInstructionDataDecoder;
|
|
3563
3592
|
declare const index$4_getSetAuthorityInstructionDataEncoder: typeof getSetAuthorityInstructionDataEncoder;
|
|
3564
|
-
declare const index$
|
|
3565
|
-
declare const index$
|
|
3593
|
+
declare const index$4_identifyDopplerLaunchHookV1Account: typeof identifyDopplerLaunchHookV1Account;
|
|
3594
|
+
declare const index$4_identifyDopplerLaunchHookV1Instruction: typeof identifyDopplerLaunchHookV1Instruction;
|
|
3566
3595
|
declare const index$4_isCosignerGateEnforced: typeof isCosignerGateEnforced;
|
|
3567
|
-
declare const index$
|
|
3596
|
+
declare const index$4_isDopplerLaunchHookV1Error: typeof isDopplerLaunchHookV1Error;
|
|
3568
3597
|
declare const index$4_isDynamicFeeSchedulePayload: typeof isDynamicFeeSchedulePayload;
|
|
3598
|
+
declare const index$4_isResolvedManagedCosignerGate: typeof isResolvedManagedCosignerGate;
|
|
3569
3599
|
declare const index$4_parseAddCosignerInstruction: typeof parseAddCosignerInstruction;
|
|
3570
|
-
declare const index$
|
|
3600
|
+
declare const index$4_parseDopplerLaunchHookV1Instruction: typeof parseDopplerLaunchHookV1Instruction;
|
|
3571
3601
|
declare const index$4_parseInitializeConfigInstruction: typeof parseInitializeConfigInstruction;
|
|
3572
3602
|
declare const index$4_parseRemoveCosignerInstruction: typeof parseRemoveCosignerInstruction;
|
|
3573
3603
|
declare const index$4_parseSetAuthorityInstruction: typeof parseSetAuthorityInstruction;
|
|
3604
|
+
declare const index$4_resolveManagedCosignerGate: typeof resolveManagedCosignerGate;
|
|
3574
3605
|
declare const index$4_validateDynamicFeeScheduleArgs: typeof validateDynamicFeeScheduleArgs;
|
|
3575
3606
|
declare namespace index$4 {
|
|
3576
|
-
export { index$4_ADD_COSIGNER_DISCRIMINATOR as ADD_COSIGNER_DISCRIMINATOR, type index$4_AddCosignerAsyncInput as AddCosignerAsyncInput, type index$4_AddCosignerInput as AddCosignerInput, type index$4_AddCosignerInstruction as AddCosignerInstruction, type index$4_AddCosignerInstructionData as AddCosignerInstructionData, type index$4_AddCosignerInstructionDataArgs as AddCosignerInstructionDataArgs, index$4_COSIGNER_CONFIG_DISCRIMINATOR as COSIGNER_CONFIG_DISCRIMINATOR, index$4_CPMM_HOOK_ERROR__ARITHMETIC_OVERFLOW as CPMM_HOOK_ERROR__ARITHMETIC_OVERFLOW, index$4_CPMM_HOOK_ERROR__COSIGNER_ALREADY_EXISTS as CPMM_HOOK_ERROR__COSIGNER_ALREADY_EXISTS, index$4_CPMM_HOOK_ERROR__COSIGNER_LIST_FULL as CPMM_HOOK_ERROR__COSIGNER_LIST_FULL, index$4_CPMM_HOOK_ERROR__COSIGNER_NOT_FOUND as CPMM_HOOK_ERROR__COSIGNER_NOT_FOUND, index$4_CPMM_HOOK_ERROR__INVALID_AUTHORITY as CPMM_HOOK_ERROR__INVALID_AUTHORITY, index$4_CPMM_HOOK_ERROR__INVALID_CONFIG as CPMM_HOOK_ERROR__INVALID_CONFIG, index$4_CPMM_HOOK_ERROR__INVALID_COSIGNER as CPMM_HOOK_ERROR__INVALID_COSIGNER, index$4_CPMM_HOOK_ERROR__INVALID_DURATION as CPMM_HOOK_ERROR__INVALID_DURATION, index$4_CPMM_HOOK_ERROR__INVALID_FEE as CPMM_HOOK_ERROR__INVALID_FEE, index$4_CPMM_HOOK_ERROR__INVALID_INSTRUCTION_DATA as CPMM_HOOK_ERROR__INVALID_INSTRUCTION_DATA, index$4_CPMM_HOOK_ERROR__INVALID_SCHEDULE_DATA as CPMM_HOOK_ERROR__INVALID_SCHEDULE_DATA, index$4_CPMM_HOOK_PROGRAM_ADDRESS as CPMM_HOOK_PROGRAM_ADDRESS, index$4_CPMM_HOOK_PROGRAM_ID as CPMM_HOOK_PROGRAM_ID, type index$4_CosignerArg as CosignerArg, type index$4_CosignerArgArgs as CosignerArgArgs, type index$4_CosignerConfig as CosignerConfig, type index$4_CosignerConfigArgs as CosignerConfigArgs, type index$4_CosignerGateClock as CosignerGateClock, type index$4_CosignerGateExpiry as CosignerGateExpiry, type index$4_CosignerGateExpiryArgs as CosignerGateExpiryArgs, type index$4_CosignerGateStatus as CosignerGateStatus, index$4_CpmmHookAccount as CpmmHookAccount, type index$4_CpmmHookError as CpmmHookError, index$4_CpmmHookInstruction as CpmmHookInstruction, type index$4_CpmmHookPayloadArgs as CpmmHookPayloadArgs, type index$4_CpmmHookPlugin as CpmmHookPlugin, type index$4_CpmmHookPluginAccounts as CpmmHookPluginAccounts, type index$4_CpmmHookPluginInstructions as CpmmHookPluginInstructions, type index$4_CpmmHookPluginRequirements as CpmmHookPluginRequirements, type index$4_CpmmHookRemainingAccounts as CpmmHookRemainingAccounts, index$4_DEVNET_CPMM_HOOK_PROGRAM_ID as DEVNET_CPMM_HOOK_PROGRAM_ID, index$4_DYNAMIC_FEE_SCHEDULE_HEADER_LEN as DYNAMIC_FEE_SCHEDULE_HEADER_LEN, index$4_DYNAMIC_FEE_SCHEDULE_LEN as DYNAMIC_FEE_SCHEDULE_LEN, index$4_DYNAMIC_FEE_SCHEDULE_MAGIC as DYNAMIC_FEE_SCHEDULE_MAGIC, index$4_DYNAMIC_FEE_SCHEDULE_MAX_BPS as DYNAMIC_FEE_SCHEDULE_MAX_BPS, index$4_DYNAMIC_FEE_SCHEDULE_VERSION as DYNAMIC_FEE_SCHEDULE_VERSION, type index$4_DynamicFeeScheduleArgs as DynamicFeeScheduleArgs, index$4_GATE_EXPIRY_DISABLED as GATE_EXPIRY_DISABLED, index$4_GATE_EXPIRY_HEADER_LEN as GATE_EXPIRY_HEADER_LEN, index$4_GATE_EXPIRY_PAYLOAD_LEN as GATE_EXPIRY_PAYLOAD_LEN, index$4_GATE_EXPIRY_PAYLOAD_VERSION as GATE_EXPIRY_PAYLOAD_VERSION, index$4_GATE_EXPIRY_SLOT as GATE_EXPIRY_SLOT, index$4_GATE_EXPIRY_UNIX_TIMESTAMP as GATE_EXPIRY_UNIX_TIMESTAMP, index$4_INITIALIZE_CONFIG_DISCRIMINATOR as INITIALIZE_CONFIG_DISCRIMINATOR, type InitializeConfigArgs$1 as InitializeConfigArgs, type InitializeConfigArgsArgs$1 as InitializeConfigArgsArgs, type index$4_InitializeConfigAsyncInput as InitializeConfigAsyncInput, type index$4_InitializeConfigInput as InitializeConfigInput, type index$4_InitializeConfigInstruction as InitializeConfigInstruction, type index$4_InitializeConfigInstructionData as InitializeConfigInstructionData, type index$4_InitializeConfigInstructionDataArgs as InitializeConfigInstructionDataArgs, index$4_MAX_COSIGNERS as MAX_COSIGNERS, type index$4_ParsedAddCosignerInstruction as ParsedAddCosignerInstruction, type index$4_ParsedCpmmHookInstruction as ParsedCpmmHookInstruction, type index$4_ParsedInitializeConfigInstruction as ParsedInitializeConfigInstruction, type index$4_ParsedRemoveCosignerInstruction as ParsedRemoveCosignerInstruction, type index$4_ParsedSetAuthorityInstruction as ParsedSetAuthorityInstruction, index$4_REMOVE_COSIGNER_DISCRIMINATOR as REMOVE_COSIGNER_DISCRIMINATOR, type index$4_RemoveCosignerAsyncInput as RemoveCosignerAsyncInput, type index$4_RemoveCosignerInput as RemoveCosignerInput, type index$4_RemoveCosignerInstruction as RemoveCosignerInstruction, type index$4_RemoveCosignerInstructionData as RemoveCosignerInstructionData, type index$4_RemoveCosignerInstructionDataArgs as RemoveCosignerInstructionDataArgs, index$4_SEED_CPMM_HOOK_CONFIG as SEED_CPMM_HOOK_CONFIG, index$4_SET_AUTHORITY_DISCRIMINATOR as SET_AUTHORITY_DISCRIMINATOR, type index$4_SetAuthorityArgs as SetAuthorityArgs, type index$4_SetAuthorityArgsArgs as SetAuthorityArgsArgs, type index$4_SetAuthorityAsyncInput as SetAuthorityAsyncInput, type index$4_SetAuthorityInput as SetAuthorityInput, type index$4_SetAuthorityInstruction as SetAuthorityInstruction, type index$4_SetAuthorityInstructionData as SetAuthorityInstructionData, type index$4_SetAuthorityInstructionDataArgs as SetAuthorityInstructionDataArgs, index$4_cpmmHookProgram as cpmmHookProgram, index$4_decodeCosignerConfig as decodeCosignerConfig, index$4_decodeCosignerGateExpiryPayload as decodeCosignerGateExpiryPayload, index$4_encodeCosignerGateExpiryPayload as encodeCosignerGateExpiryPayload, index$4_encodeCpmmHookPayload as encodeCpmmHookPayload, index$4_encodeDynamicFeeCosignerGatePayload as encodeDynamicFeeCosignerGatePayload, index$4_encodeDynamicFeeSchedule as encodeDynamicFeeSchedule, index$4_fetchAllCosignerConfig as fetchAllCosignerConfig, index$4_fetchAllMaybeCosignerConfig as fetchAllMaybeCosignerConfig, index$4_fetchCosignerConfig as fetchCosignerConfig, index$4_fetchMaybeCosignerConfig as fetchMaybeCosignerConfig, index$4_getAddCosignerDiscriminatorBytes as getAddCosignerDiscriminatorBytes, index$4_getAddCosignerInstruction as getAddCosignerInstruction, index$4_getAddCosignerInstructionAsync as getAddCosignerInstructionAsync, index$4_getAddCosignerInstructionDataCodec as getAddCosignerInstructionDataCodec, index$4_getAddCosignerInstructionDataDecoder as getAddCosignerInstructionDataDecoder, index$4_getAddCosignerInstructionDataEncoder as getAddCosignerInstructionDataEncoder, index$4_getCosignerArgCodec as getCosignerArgCodec, index$4_getCosignerArgDecoder as getCosignerArgDecoder, index$4_getCosignerArgEncoder as getCosignerArgEncoder, index$4_getCosignerConfigCodec as getCosignerConfigCodec, index$4_getCosignerConfigDecoder as getCosignerConfigDecoder, index$4_getCosignerConfigDiscriminatorBytes as getCosignerConfigDiscriminatorBytes, index$4_getCosignerConfigEncoder as getCosignerConfigEncoder, index$4_getCosignerConfigSize as getCosignerConfigSize, index$4_getCosignerGateStatus as getCosignerGateStatus, index$4_getCpmmHookConfigAddress as getCpmmHookConfigAddress, index$4_getCpmmHookErrorMessage as getCpmmHookErrorMessage, index$4_getCpmmHookRemainingAccountAddresses as getCpmmHookRemainingAccountAddresses, index$4_getCpmmHookRemainingAccounts as getCpmmHookRemainingAccounts, getInitializeConfigArgsCodec$1 as getInitializeConfigArgsCodec, getInitializeConfigArgsDecoder$1 as getInitializeConfigArgsDecoder, getInitializeConfigArgsEncoder$1 as getInitializeConfigArgsEncoder, index$4_getInitializeConfigDiscriminatorBytes as getInitializeConfigDiscriminatorBytes, index$4_getInitializeConfigInstruction as getInitializeConfigInstruction, index$4_getInitializeConfigInstructionAsync as getInitializeConfigInstructionAsync, index$4_getInitializeConfigInstructionDataCodec as getInitializeConfigInstructionDataCodec, index$4_getInitializeConfigInstructionDataDecoder as getInitializeConfigInstructionDataDecoder, index$4_getInitializeConfigInstructionDataEncoder as getInitializeConfigInstructionDataEncoder, index$4_getRemoveCosignerDiscriminatorBytes as getRemoveCosignerDiscriminatorBytes, index$4_getRemoveCosignerInstruction as getRemoveCosignerInstruction, index$4_getRemoveCosignerInstructionAsync as getRemoveCosignerInstructionAsync, index$4_getRemoveCosignerInstructionDataCodec as getRemoveCosignerInstructionDataCodec, index$4_getRemoveCosignerInstructionDataDecoder as getRemoveCosignerInstructionDataDecoder, index$4_getRemoveCosignerInstructionDataEncoder as getRemoveCosignerInstructionDataEncoder, index$4_getSetAuthorityArgsCodec as getSetAuthorityArgsCodec, index$4_getSetAuthorityArgsDecoder as getSetAuthorityArgsDecoder, index$4_getSetAuthorityArgsEncoder as getSetAuthorityArgsEncoder, index$4_getSetAuthorityDiscriminatorBytes as getSetAuthorityDiscriminatorBytes, index$4_getSetAuthorityInstruction as getSetAuthorityInstruction, index$4_getSetAuthorityInstructionAsync as getSetAuthorityInstructionAsync, index$4_getSetAuthorityInstructionDataCodec as getSetAuthorityInstructionDataCodec, index$4_getSetAuthorityInstructionDataDecoder as getSetAuthorityInstructionDataDecoder, index$4_getSetAuthorityInstructionDataEncoder as getSetAuthorityInstructionDataEncoder, index$4_identifyCpmmHookAccount as identifyCpmmHookAccount, index$4_identifyCpmmHookInstruction as identifyCpmmHookInstruction, index$4_isCosignerGateEnforced as isCosignerGateEnforced, index$4_isCpmmHookError as isCpmmHookError, index$4_isDynamicFeeSchedulePayload as isDynamicFeeSchedulePayload, index$4_parseAddCosignerInstruction as parseAddCosignerInstruction, index$4_parseCpmmHookInstruction as parseCpmmHookInstruction, index$4_parseInitializeConfigInstruction as parseInitializeConfigInstruction, index$4_parseRemoveCosignerInstruction as parseRemoveCosignerInstruction, index$4_parseSetAuthorityInstruction as parseSetAuthorityInstruction, index$4_validateDynamicFeeScheduleArgs as validateDynamicFeeScheduleArgs };
|
|
3607
|
+
export { index$4_ADD_COSIGNER_DISCRIMINATOR as ADD_COSIGNER_DISCRIMINATOR, type index$4_AddCosignerAsyncInput as AddCosignerAsyncInput, type index$4_AddCosignerInput as AddCosignerInput, type index$4_AddCosignerInstruction as AddCosignerInstruction, type index$4_AddCosignerInstructionData as AddCosignerInstructionData, type index$4_AddCosignerInstructionDataArgs as AddCosignerInstructionDataArgs, index$4_COSIGNER_CONFIG_DISCRIMINATOR as COSIGNER_CONFIG_DISCRIMINATOR, type index$4_CosignerArg as CosignerArg, type index$4_CosignerArgArgs as CosignerArgArgs, type index$4_CosignerConfig as CosignerConfig, type index$4_CosignerConfigArgs as CosignerConfigArgs, type index$4_CosignerGateClock as CosignerGateClock, type index$4_CosignerGateExpiry as CosignerGateExpiry, type index$4_CosignerGateExpiryArgs as CosignerGateExpiryArgs, type index$4_CosignerGateStatus as CosignerGateStatus, index$4_DEVNET_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID as DEVNET_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW as DOPPLER_LAUNCH_HOOK_V1_ERROR__ARITHMETIC_OVERFLOW, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS as DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_ALREADY_EXISTS, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL as DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_LIST_FULL, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND as DOPPLER_LAUNCH_HOOK_V1_ERROR__COSIGNER_NOT_FOUND, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_AUTHORITY, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_CONFIG, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_COSIGNER, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_DURATION, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_FEE, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_INSTRUCTION_DATA, index$4_DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA as DOPPLER_LAUNCH_HOOK_V1_ERROR__INVALID_SCHEDULE_DATA, index$4_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS as DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ADDRESS, index$4_DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID as DOPPLER_LAUNCH_HOOK_V1_PROGRAM_ID, index$4_DYNAMIC_FEE_SCHEDULE_HEADER_LEN as DYNAMIC_FEE_SCHEDULE_HEADER_LEN, index$4_DYNAMIC_FEE_SCHEDULE_LEN as DYNAMIC_FEE_SCHEDULE_LEN, index$4_DYNAMIC_FEE_SCHEDULE_MAGIC as DYNAMIC_FEE_SCHEDULE_MAGIC, index$4_DYNAMIC_FEE_SCHEDULE_MAX_BPS as DYNAMIC_FEE_SCHEDULE_MAX_BPS, index$4_DYNAMIC_FEE_SCHEDULE_VERSION as DYNAMIC_FEE_SCHEDULE_VERSION, index$4_DopplerLaunchHookV1Account as DopplerLaunchHookV1Account, type index$4_DopplerLaunchHookV1Error as DopplerLaunchHookV1Error, index$4_DopplerLaunchHookV1Instruction as DopplerLaunchHookV1Instruction, type index$4_DopplerLaunchHookV1PayloadArgs as DopplerLaunchHookV1PayloadArgs, type index$4_DopplerLaunchHookV1Plugin as DopplerLaunchHookV1Plugin, type index$4_DopplerLaunchHookV1PluginAccounts as DopplerLaunchHookV1PluginAccounts, type index$4_DopplerLaunchHookV1PluginInstructions as DopplerLaunchHookV1PluginInstructions, type index$4_DopplerLaunchHookV1PluginRequirements as DopplerLaunchHookV1PluginRequirements, type index$4_DopplerLaunchHookV1RemainingAccounts as DopplerLaunchHookV1RemainingAccounts, type index$4_DynamicFeeScheduleArgs as DynamicFeeScheduleArgs, index$4_GATE_EXPIRY_DISABLED as GATE_EXPIRY_DISABLED, index$4_GATE_EXPIRY_HEADER_LEN as GATE_EXPIRY_HEADER_LEN, index$4_GATE_EXPIRY_PAYLOAD_LEN as GATE_EXPIRY_PAYLOAD_LEN, index$4_GATE_EXPIRY_PAYLOAD_VERSION as GATE_EXPIRY_PAYLOAD_VERSION, index$4_GATE_EXPIRY_SLOT as GATE_EXPIRY_SLOT, index$4_GATE_EXPIRY_UNIX_TIMESTAMP as GATE_EXPIRY_UNIX_TIMESTAMP, index$4_INITIALIZE_CONFIG_DISCRIMINATOR as INITIALIZE_CONFIG_DISCRIMINATOR, type InitializeConfigArgs$1 as InitializeConfigArgs, type InitializeConfigArgsArgs$1 as InitializeConfigArgsArgs, type index$4_InitializeConfigAsyncInput as InitializeConfigAsyncInput, type index$4_InitializeConfigInput as InitializeConfigInput, type index$4_InitializeConfigInstruction as InitializeConfigInstruction, type index$4_InitializeConfigInstructionData as InitializeConfigInstructionData, type index$4_InitializeConfigInstructionDataArgs as InitializeConfigInstructionDataArgs, index$4_MAX_COSIGNERS as MAX_COSIGNERS, type index$4_ParsedAddCosignerInstruction as ParsedAddCosignerInstruction, type index$4_ParsedDopplerLaunchHookV1Instruction as ParsedDopplerLaunchHookV1Instruction, type index$4_ParsedInitializeConfigInstruction as ParsedInitializeConfigInstruction, type index$4_ParsedRemoveCosignerInstruction as ParsedRemoveCosignerInstruction, type index$4_ParsedSetAuthorityInstruction as ParsedSetAuthorityInstruction, index$4_REMOVE_COSIGNER_DISCRIMINATOR as REMOVE_COSIGNER_DISCRIMINATOR, type index$4_RemoveCosignerAsyncInput as RemoveCosignerAsyncInput, type index$4_RemoveCosignerInput as RemoveCosignerInput, type index$4_RemoveCosignerInstruction as RemoveCosignerInstruction, type index$4_RemoveCosignerInstructionData as RemoveCosignerInstructionData, type index$4_RemoveCosignerInstructionDataArgs as RemoveCosignerInstructionDataArgs, type index$4_ResolveManagedCosignerGateInput as ResolveManagedCosignerGateInput, type index$4_ResolvedManagedCosignerGate as ResolvedManagedCosignerGate, index$4_SEED_DOPPLER_LAUNCH_HOOK_V1_CONFIG as SEED_DOPPLER_LAUNCH_HOOK_V1_CONFIG, index$4_SET_AUTHORITY_DISCRIMINATOR as SET_AUTHORITY_DISCRIMINATOR, type index$4_SetAuthorityArgs as SetAuthorityArgs, type index$4_SetAuthorityArgsArgs as SetAuthorityArgsArgs, type index$4_SetAuthorityAsyncInput as SetAuthorityAsyncInput, type index$4_SetAuthorityInput as SetAuthorityInput, type index$4_SetAuthorityInstruction as SetAuthorityInstruction, type index$4_SetAuthorityInstructionData as SetAuthorityInstructionData, type index$4_SetAuthorityInstructionDataArgs as SetAuthorityInstructionDataArgs, index$4_decodeCosignerConfig as decodeCosignerConfig, index$4_decodeCosignerGateExpiryPayload as decodeCosignerGateExpiryPayload, index$4_dopplerLaunchHookV1Program as dopplerLaunchHookV1Program, index$4_encodeCosignerGateExpiryPayload as encodeCosignerGateExpiryPayload, index$4_encodeDopplerLaunchHookV1Payload as encodeDopplerLaunchHookV1Payload, index$4_encodeDynamicFeeCosignerGatePayload as encodeDynamicFeeCosignerGatePayload, index$4_encodeDynamicFeeSchedule as encodeDynamicFeeSchedule, index$4_fetchAllCosignerConfig as fetchAllCosignerConfig, index$4_fetchAllMaybeCosignerConfig as fetchAllMaybeCosignerConfig, index$4_fetchCosignerConfig as fetchCosignerConfig, index$4_fetchMaybeCosignerConfig as fetchMaybeCosignerConfig, index$4_getAddCosignerDiscriminatorBytes as getAddCosignerDiscriminatorBytes, index$4_getAddCosignerInstruction as getAddCosignerInstruction, index$4_getAddCosignerInstructionAsync as getAddCosignerInstructionAsync, index$4_getAddCosignerInstructionDataCodec as getAddCosignerInstructionDataCodec, index$4_getAddCosignerInstructionDataDecoder as getAddCosignerInstructionDataDecoder, index$4_getAddCosignerInstructionDataEncoder as getAddCosignerInstructionDataEncoder, index$4_getCosignerArgCodec as getCosignerArgCodec, index$4_getCosignerArgDecoder as getCosignerArgDecoder, index$4_getCosignerArgEncoder as getCosignerArgEncoder, index$4_getCosignerConfigCodec as getCosignerConfigCodec, index$4_getCosignerConfigDecoder as getCosignerConfigDecoder, index$4_getCosignerConfigDiscriminatorBytes as getCosignerConfigDiscriminatorBytes, index$4_getCosignerConfigEncoder as getCosignerConfigEncoder, index$4_getCosignerConfigSize as getCosignerConfigSize, index$4_getCosignerGateStatus as getCosignerGateStatus, index$4_getDopplerLaunchHookV1ConfigAddress as getDopplerLaunchHookV1ConfigAddress, index$4_getDopplerLaunchHookV1ErrorMessage as getDopplerLaunchHookV1ErrorMessage, index$4_getDopplerLaunchHookV1RemainingAccountAddresses as getDopplerLaunchHookV1RemainingAccountAddresses, index$4_getDopplerLaunchHookV1RemainingAccounts as getDopplerLaunchHookV1RemainingAccounts, getInitializeConfigArgsCodec$1 as getInitializeConfigArgsCodec, getInitializeConfigArgsDecoder$1 as getInitializeConfigArgsDecoder, getInitializeConfigArgsEncoder$1 as getInitializeConfigArgsEncoder, index$4_getInitializeConfigDiscriminatorBytes as getInitializeConfigDiscriminatorBytes, index$4_getInitializeConfigInstruction as getInitializeConfigInstruction, index$4_getInitializeConfigInstructionAsync as getInitializeConfigInstructionAsync, index$4_getInitializeConfigInstructionDataCodec as getInitializeConfigInstructionDataCodec, index$4_getInitializeConfigInstructionDataDecoder as getInitializeConfigInstructionDataDecoder, index$4_getInitializeConfigInstructionDataEncoder as getInitializeConfigInstructionDataEncoder, index$4_getRemoveCosignerDiscriminatorBytes as getRemoveCosignerDiscriminatorBytes, index$4_getRemoveCosignerInstruction as getRemoveCosignerInstruction, index$4_getRemoveCosignerInstructionAsync as getRemoveCosignerInstructionAsync, index$4_getRemoveCosignerInstructionDataCodec as getRemoveCosignerInstructionDataCodec, index$4_getRemoveCosignerInstructionDataDecoder as getRemoveCosignerInstructionDataDecoder, index$4_getRemoveCosignerInstructionDataEncoder as getRemoveCosignerInstructionDataEncoder, index$4_getSetAuthorityArgsCodec as getSetAuthorityArgsCodec, index$4_getSetAuthorityArgsDecoder as getSetAuthorityArgsDecoder, index$4_getSetAuthorityArgsEncoder as getSetAuthorityArgsEncoder, index$4_getSetAuthorityDiscriminatorBytes as getSetAuthorityDiscriminatorBytes, index$4_getSetAuthorityInstruction as getSetAuthorityInstruction, index$4_getSetAuthorityInstructionAsync as getSetAuthorityInstructionAsync, index$4_getSetAuthorityInstructionDataCodec as getSetAuthorityInstructionDataCodec, index$4_getSetAuthorityInstructionDataDecoder as getSetAuthorityInstructionDataDecoder, index$4_getSetAuthorityInstructionDataEncoder as getSetAuthorityInstructionDataEncoder, index$4_identifyDopplerLaunchHookV1Account as identifyDopplerLaunchHookV1Account, index$4_identifyDopplerLaunchHookV1Instruction as identifyDopplerLaunchHookV1Instruction, index$4_isCosignerGateEnforced as isCosignerGateEnforced, index$4_isDopplerLaunchHookV1Error as isDopplerLaunchHookV1Error, index$4_isDynamicFeeSchedulePayload as isDynamicFeeSchedulePayload, index$4_isResolvedManagedCosignerGate as isResolvedManagedCosignerGate, index$4_parseAddCosignerInstruction as parseAddCosignerInstruction, index$4_parseDopplerLaunchHookV1Instruction as parseDopplerLaunchHookV1Instruction, index$4_parseInitializeConfigInstruction as parseInitializeConfigInstruction, index$4_parseRemoveCosignerInstruction as parseRemoveCosignerInstruction, index$4_parseSetAuthorityInstruction as parseSetAuthorityInstruction, index$4_resolveManagedCosignerGate as resolveManagedCosignerGate, index$4_validateDynamicFeeScheduleArgs as validateDynamicFeeScheduleArgs };
|
|
3577
3608
|
}
|
|
3578
3609
|
|
|
3579
3610
|
/**
|
|
@@ -4353,13 +4384,14 @@ interface SolanaCpmmProgramAddresses {
|
|
|
4353
4384
|
cpmmProgram: Address;
|
|
4354
4385
|
initializerProgram: Address;
|
|
4355
4386
|
cpmmMigratorProgram: Address;
|
|
4356
|
-
|
|
4387
|
+
dopplerLaunchHookV1Program: Address;
|
|
4357
4388
|
}
|
|
4358
4389
|
interface SolanaCpmmDeployment extends SolanaCpmmProgramAddresses {
|
|
4359
4390
|
cpmmConfig: Address;
|
|
4360
4391
|
initializerConfig: Address;
|
|
4361
4392
|
}
|
|
4362
4393
|
declare const DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4394
|
+
declare const DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES: SolanaCpmmProgramAddresses;
|
|
4363
4395
|
declare function deriveSolanaCpmmDeployment(programs?: SolanaCpmmProgramAddresses): Promise<SolanaCpmmDeployment>;
|
|
4364
4396
|
|
|
4365
4397
|
/**
|
|
@@ -4946,7 +4978,7 @@ type DeriveCreateLaunchAddressesInput = {
|
|
|
4946
4978
|
metadataAccount?: Address;
|
|
4947
4979
|
};
|
|
4948
4980
|
type CreateLaunchInput = {
|
|
4949
|
-
deployment?: Pick<SolanaCpmmDeployment, 'initializerConfig' | 'initializerProgram'> & Partial<Pick<SolanaCpmmDeployment, 'cpmmMigratorProgram' | 'cpmmProgram' | '
|
|
4981
|
+
deployment?: Pick<SolanaCpmmDeployment, 'initializerConfig' | 'initializerProgram'> & Partial<Pick<SolanaCpmmDeployment, 'cpmmMigratorProgram' | 'cpmmProgram' | 'dopplerLaunchHookV1Program'>>;
|
|
4950
4982
|
programId?: Address;
|
|
4951
4983
|
config?: Address;
|
|
4952
4984
|
namespace?: Address;
|
|
@@ -4958,8 +4990,11 @@ type CreateLaunchInput = {
|
|
|
4958
4990
|
supply: LaunchSupply;
|
|
4959
4991
|
curve: XykCurveConfig;
|
|
4960
4992
|
tokenPrograms?: Partial<LaunchTokenPrograms>;
|
|
4961
|
-
|
|
4962
|
-
|
|
4993
|
+
/**
|
|
4994
|
+
* Enables the Doppler-managed cosigner gate. Resolve this value with
|
|
4995
|
+
* `dopplerLaunchHookV1.resolveManagedCosignerGate` before constructing the launch.
|
|
4996
|
+
*/
|
|
4997
|
+
cosignerGate?: ResolvedManagedCosignerGate | null;
|
|
4963
4998
|
dynamicFee?: DynamicFeeScheduleArgs | null;
|
|
4964
4999
|
migration?: boolean | CreateLaunchMigrationConfig | null;
|
|
4965
5000
|
metadata?: LaunchMetadata | null;
|
|
@@ -4976,6 +5011,7 @@ type CreateLaunchResult = {
|
|
|
4976
5011
|
addresses: CreateLaunchAddresses;
|
|
4977
5012
|
instruction: Instruction;
|
|
4978
5013
|
cpmmMigration?: CpmmMigrationRemainingAccounts;
|
|
5014
|
+
cosignerGate?: ResolvedManagedCosignerGate;
|
|
4979
5015
|
};
|
|
4980
5016
|
declare const launchTokenPrograms: {
|
|
4981
5017
|
readonly splToken: () => LaunchTokenPrograms;
|
|
@@ -7035,7 +7071,7 @@ declare namespace index {
|
|
|
7035
7071
|
type SolanaRemainingAccount = Address | AccountMeta | AccountSignerMeta | TransactionSigner;
|
|
7036
7072
|
type AddressOrSigner = Address | TransactionSigner;
|
|
7037
7073
|
type CurveSwapExactInInput = {
|
|
7038
|
-
deployment?: Pick<SolanaCpmmDeployment, 'initializerProgram'> & Partial<Pick<SolanaCpmmDeployment, '
|
|
7074
|
+
deployment?: Pick<SolanaCpmmDeployment, 'initializerProgram'> & Partial<Pick<SolanaCpmmDeployment, 'dopplerLaunchHookV1Program'>>;
|
|
7039
7075
|
programId?: Address;
|
|
7040
7076
|
launch: Address;
|
|
7041
7077
|
launchAuthority: Address;
|
|
@@ -7163,4 +7199,4 @@ declare function assertMigrationQuoteThreshold({ rpc, quoteVault, pendingQuoteFe
|
|
|
7163
7199
|
commitment?: 'processed' | 'confirmed' | 'finalized';
|
|
7164
7200
|
}): Promise<MigrationQuoteProgress>;
|
|
7165
7201
|
|
|
7166
|
-
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$
|
|
7202
|
+
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$3 as cpmmMigrator, createLaunch, curveSwapExactIn, deriveSolanaCpmmDeployment, index$4 as dopplerLaunchHookV1, getMigrationQuoteProgress, index$2 as initializer, migrateLaunch, index$1 as predictionMigrator, swapExactIn, index as trustedOracle };
|