@revibase/core 0.8.2 → 0.8.3
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +148 -600
- package/dist/index.d.ts +148 -600
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _solana_kit from '@solana/kit';
|
|
2
|
-
import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, Encoder, Decoder, Codec,
|
|
2
|
+
import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, Encoder, Decoder, Codec, GetDiscriminatedUnionVariantContent, GetDiscriminatedUnionVariant, Option, OptionOrNullable, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, WritableAccount, WritableSignerAccount, AccountSignerMeta, ReadonlyAccount, TransactionSigner, ReadonlySignerAccount, AddressesByLookupTableAddress, CompiledTransactionMessage, CompiledTransactionMessageWithLifetime, AccountRole, Rpc } from '@solana/kit';
|
|
3
3
|
import { AuthenticationResponseJSON } from '@simplewebauthn/browser';
|
|
4
|
-
import { TreeInfo, AccountProofInput, NewAddressProofInput, PackedTreeInfos, Rpc } from '@lightprotocol/stateless.js';
|
|
5
4
|
import z from 'zod';
|
|
6
5
|
import * as _solana_rpc from '@solana/rpc';
|
|
7
6
|
|
|
@@ -59,24 +58,6 @@ declare function fetchAllGlobalCounter(rpc: Parameters<typeof fetchEncodedAccoun
|
|
|
59
58
|
declare function fetchAllMaybeGlobalCounter(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<GlobalCounter>[]>;
|
|
60
59
|
declare function getGlobalCounterSize(): number;
|
|
61
60
|
|
|
62
|
-
declare enum AccountState {
|
|
63
|
-
Initialized = 0,
|
|
64
|
-
Frozen = 1
|
|
65
|
-
}
|
|
66
|
-
type AccountStateArgs = AccountState;
|
|
67
|
-
declare function getAccountStateEncoder(): FixedSizeEncoder<AccountStateArgs>;
|
|
68
|
-
declare function getAccountStateDecoder(): FixedSizeDecoder<AccountState>;
|
|
69
|
-
declare function getAccountStateCodec(): FixedSizeCodec<AccountStateArgs, AccountState>;
|
|
70
|
-
|
|
71
|
-
type AdditionalMetadata = {
|
|
72
|
-
key: ReadonlyUint8Array;
|
|
73
|
-
value: ReadonlyUint8Array;
|
|
74
|
-
};
|
|
75
|
-
type AdditionalMetadataArgs = AdditionalMetadata;
|
|
76
|
-
declare function getAdditionalMetadataEncoder(): Encoder<AdditionalMetadataArgs>;
|
|
77
|
-
declare function getAdditionalMetadataDecoder(): Decoder<AdditionalMetadata>;
|
|
78
|
-
declare function getAdditionalMetadataCodec(): Codec<AdditionalMetadataArgs, AdditionalMetadata>;
|
|
79
|
-
|
|
80
61
|
type AddMemberArgs$1 = {
|
|
81
62
|
memberKey: MemberKey;
|
|
82
63
|
permissions: IPermissions;
|
|
@@ -99,130 +80,40 @@ declare function getCompiledInstructionEncoder(): Encoder<CompiledInstructionArg
|
|
|
99
80
|
declare function getCompiledInstructionDecoder(): Decoder<CompiledInstruction>;
|
|
100
81
|
declare function getCompiledInstructionCodec(): Codec<CompiledInstructionArgs, CompiledInstruction>;
|
|
101
82
|
|
|
102
|
-
type CompressedOnlyExtension = {
|
|
103
|
-
delegatedAmount: bigint;
|
|
104
|
-
withheldTransferFee: bigint;
|
|
105
|
-
isAta: number;
|
|
106
|
-
};
|
|
107
|
-
type CompressedOnlyExtensionArgs = {
|
|
108
|
-
delegatedAmount: number | bigint;
|
|
109
|
-
withheldTransferFee: number | bigint;
|
|
110
|
-
isAta: number;
|
|
111
|
-
};
|
|
112
|
-
declare function getCompressedOnlyExtensionEncoder(): FixedSizeEncoder<CompressedOnlyExtensionArgs>;
|
|
113
|
-
declare function getCompressedOnlyExtensionDecoder(): FixedSizeDecoder<CompressedOnlyExtension>;
|
|
114
|
-
declare function getCompressedOnlyExtensionCodec(): FixedSizeCodec<CompressedOnlyExtensionArgs, CompressedOnlyExtension>;
|
|
115
|
-
|
|
116
|
-
type CompressedProof = {
|
|
117
|
-
a: ReadonlyUint8Array;
|
|
118
|
-
b: ReadonlyUint8Array;
|
|
119
|
-
c: ReadonlyUint8Array;
|
|
120
|
-
};
|
|
121
|
-
type CompressedProofArgs = CompressedProof;
|
|
122
|
-
declare function getCompressedProofEncoder(): FixedSizeEncoder<CompressedProofArgs>;
|
|
123
|
-
declare function getCompressedProofDecoder(): FixedSizeDecoder<CompressedProof>;
|
|
124
|
-
declare function getCompressedProofCodec(): FixedSizeCodec<CompressedProofArgs, CompressedProof>;
|
|
125
|
-
|
|
126
|
-
type CompressedTokenArgs = {
|
|
127
|
-
version: number;
|
|
128
|
-
rootIndex: number;
|
|
129
|
-
amount: bigint;
|
|
130
|
-
merkleContext: PackedMerkleContext;
|
|
131
|
-
tlv: Option<Array<ExtensionStruct>>;
|
|
132
|
-
state: AccountState;
|
|
133
|
-
};
|
|
134
|
-
type CompressedTokenArgsArgs = {
|
|
135
|
-
version: number;
|
|
136
|
-
rootIndex: number;
|
|
137
|
-
amount: number | bigint;
|
|
138
|
-
merkleContext: PackedMerkleContextArgs;
|
|
139
|
-
tlv: OptionOrNullable<Array<ExtensionStructArgs>>;
|
|
140
|
-
state: AccountStateArgs;
|
|
141
|
-
};
|
|
142
|
-
declare function getCompressedTokenArgsEncoder(): Encoder<CompressedTokenArgsArgs>;
|
|
143
|
-
declare function getCompressedTokenArgsDecoder(): Decoder<CompressedTokenArgs>;
|
|
144
|
-
declare function getCompressedTokenArgsCodec(): Codec<CompressedTokenArgsArgs, CompressedTokenArgs>;
|
|
145
|
-
|
|
146
|
-
type CompressibleExtension = {
|
|
147
|
-
decimalsOption: number;
|
|
148
|
-
decimals: number;
|
|
149
|
-
compressionOnly: boolean;
|
|
150
|
-
isAta: number;
|
|
151
|
-
info: CompressionInfo;
|
|
152
|
-
};
|
|
153
|
-
type CompressibleExtensionArgs = {
|
|
154
|
-
decimalsOption: number;
|
|
155
|
-
decimals: number;
|
|
156
|
-
compressionOnly: boolean;
|
|
157
|
-
isAta: number;
|
|
158
|
-
info: CompressionInfoArgs;
|
|
159
|
-
};
|
|
160
|
-
declare function getCompressibleExtensionEncoder(): FixedSizeEncoder<CompressibleExtensionArgs>;
|
|
161
|
-
declare function getCompressibleExtensionDecoder(): FixedSizeDecoder<CompressibleExtension>;
|
|
162
|
-
declare function getCompressibleExtensionCodec(): FixedSizeCodec<CompressibleExtensionArgs, CompressibleExtension>;
|
|
163
|
-
|
|
164
|
-
type CompressionInfo = {
|
|
165
|
-
configAccountVersion: number;
|
|
166
|
-
compressToPubkey: number;
|
|
167
|
-
accountVersion: number;
|
|
168
|
-
lamportsPerWrite: number;
|
|
169
|
-
compressionAuthority: ReadonlyUint8Array;
|
|
170
|
-
rentSponsor: ReadonlyUint8Array;
|
|
171
|
-
lastClaimedSlot: bigint;
|
|
172
|
-
rentExemptionPaid: number;
|
|
173
|
-
reserved: number;
|
|
174
|
-
rentConfig: RentConfig;
|
|
175
|
-
};
|
|
176
|
-
type CompressionInfoArgs = {
|
|
177
|
-
configAccountVersion: number;
|
|
178
|
-
compressToPubkey: number;
|
|
179
|
-
accountVersion: number;
|
|
180
|
-
lamportsPerWrite: number;
|
|
181
|
-
compressionAuthority: ReadonlyUint8Array;
|
|
182
|
-
rentSponsor: ReadonlyUint8Array;
|
|
183
|
-
lastClaimedSlot: number | bigint;
|
|
184
|
-
rentExemptionPaid: number;
|
|
185
|
-
reserved: number;
|
|
186
|
-
rentConfig: RentConfigArgs;
|
|
187
|
-
};
|
|
188
|
-
declare function getCompressionInfoEncoder(): FixedSizeEncoder<CompressionInfoArgs>;
|
|
189
|
-
declare function getCompressionInfoDecoder(): FixedSizeDecoder<CompressionInfo>;
|
|
190
|
-
declare function getCompressionInfoCodec(): FixedSizeCodec<CompressionInfoArgs, CompressionInfo>;
|
|
191
|
-
|
|
192
83
|
type ConfigAction = {
|
|
193
|
-
__kind:
|
|
84
|
+
__kind: 'EditPermissions';
|
|
194
85
|
fields: readonly [Array<EditMemberArgs$1>];
|
|
195
86
|
} | {
|
|
196
|
-
__kind:
|
|
87
|
+
__kind: 'AddMembers';
|
|
197
88
|
fields: readonly [Array<AddMemberArgs$1>];
|
|
198
89
|
} | {
|
|
199
|
-
__kind:
|
|
90
|
+
__kind: 'RemoveMembers';
|
|
200
91
|
fields: readonly [Array<RemoveMemberArgs$1>];
|
|
201
92
|
} | {
|
|
202
|
-
__kind:
|
|
93
|
+
__kind: 'SetThreshold';
|
|
203
94
|
fields: readonly [number];
|
|
204
95
|
};
|
|
205
96
|
type ConfigActionArgs = {
|
|
206
|
-
__kind:
|
|
97
|
+
__kind: 'EditPermissions';
|
|
207
98
|
fields: readonly [Array<EditMemberArgsArgs>];
|
|
208
99
|
} | {
|
|
209
|
-
__kind:
|
|
100
|
+
__kind: 'AddMembers';
|
|
210
101
|
fields: readonly [Array<AddMemberArgsArgs>];
|
|
211
102
|
} | {
|
|
212
|
-
__kind:
|
|
103
|
+
__kind: 'RemoveMembers';
|
|
213
104
|
fields: readonly [Array<RemoveMemberArgsArgs>];
|
|
214
105
|
} | {
|
|
215
|
-
__kind:
|
|
106
|
+
__kind: 'SetThreshold';
|
|
216
107
|
fields: readonly [number];
|
|
217
108
|
};
|
|
218
109
|
declare function getConfigActionEncoder(): Encoder<ConfigActionArgs>;
|
|
219
110
|
declare function getConfigActionDecoder(): Decoder<ConfigAction>;
|
|
220
111
|
declare function getConfigActionCodec(): Codec<ConfigActionArgs, ConfigAction>;
|
|
221
|
-
declare function configAction(kind:
|
|
222
|
-
declare function configAction(kind:
|
|
223
|
-
declare function configAction(kind:
|
|
224
|
-
declare function configAction(kind:
|
|
225
|
-
declare function isConfigAction<K extends ConfigAction[
|
|
112
|
+
declare function configAction(kind: 'EditPermissions', data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, '__kind', 'EditPermissions'>['fields']): GetDiscriminatedUnionVariant<ConfigActionArgs, '__kind', 'EditPermissions'>;
|
|
113
|
+
declare function configAction(kind: 'AddMembers', data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, '__kind', 'AddMembers'>['fields']): GetDiscriminatedUnionVariant<ConfigActionArgs, '__kind', 'AddMembers'>;
|
|
114
|
+
declare function configAction(kind: 'RemoveMembers', data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, '__kind', 'RemoveMembers'>['fields']): GetDiscriminatedUnionVariant<ConfigActionArgs, '__kind', 'RemoveMembers'>;
|
|
115
|
+
declare function configAction(kind: 'SetThreshold', data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, '__kind', 'SetThreshold'>['fields']): GetDiscriminatedUnionVariant<ConfigActionArgs, '__kind', 'SetThreshold'>;
|
|
116
|
+
declare function isConfigAction<K extends ConfigAction['__kind']>(kind: K, value: ConfigAction): value is ConfigAction & {
|
|
226
117
|
__kind: K;
|
|
227
118
|
};
|
|
228
119
|
|
|
@@ -250,194 +141,6 @@ declare function getExpectedSignerEncoder(): Encoder<ExpectedSignerArgs>;
|
|
|
250
141
|
declare function getExpectedSignerDecoder(): Decoder<ExpectedSigner>;
|
|
251
142
|
declare function getExpectedSignerCodec(): Codec<ExpectedSignerArgs, ExpectedSigner>;
|
|
252
143
|
|
|
253
|
-
type ExtensionStruct = {
|
|
254
|
-
__kind: "Placeholder0";
|
|
255
|
-
} | {
|
|
256
|
-
__kind: "Placeholder1";
|
|
257
|
-
} | {
|
|
258
|
-
__kind: "Placeholder2";
|
|
259
|
-
} | {
|
|
260
|
-
__kind: "Placeholder3";
|
|
261
|
-
} | {
|
|
262
|
-
__kind: "Placeholder4";
|
|
263
|
-
} | {
|
|
264
|
-
__kind: "Placeholder5";
|
|
265
|
-
} | {
|
|
266
|
-
__kind: "Placeholder6";
|
|
267
|
-
} | {
|
|
268
|
-
__kind: "Placeholder7";
|
|
269
|
-
} | {
|
|
270
|
-
__kind: "Placeholder8";
|
|
271
|
-
} | {
|
|
272
|
-
__kind: "Placeholder9";
|
|
273
|
-
} | {
|
|
274
|
-
__kind: "Placeholder10";
|
|
275
|
-
} | {
|
|
276
|
-
__kind: "Placeholder11";
|
|
277
|
-
} | {
|
|
278
|
-
__kind: "Placeholder12";
|
|
279
|
-
} | {
|
|
280
|
-
__kind: "Placeholder13";
|
|
281
|
-
} | {
|
|
282
|
-
__kind: "Placeholder14";
|
|
283
|
-
} | {
|
|
284
|
-
__kind: "Placeholder15";
|
|
285
|
-
} | {
|
|
286
|
-
__kind: "Placeholder16";
|
|
287
|
-
} | {
|
|
288
|
-
__kind: "Placeholder17";
|
|
289
|
-
} | {
|
|
290
|
-
__kind: "Placeholder18";
|
|
291
|
-
} | {
|
|
292
|
-
__kind: "TokenMetadata";
|
|
293
|
-
fields: readonly [TokenMetadata];
|
|
294
|
-
} | {
|
|
295
|
-
__kind: "Placeholder20";
|
|
296
|
-
} | {
|
|
297
|
-
__kind: "Placeholder21";
|
|
298
|
-
} | {
|
|
299
|
-
__kind: "Placeholder22";
|
|
300
|
-
} | {
|
|
301
|
-
__kind: "Placeholder23";
|
|
302
|
-
} | {
|
|
303
|
-
__kind: "Placeholder24";
|
|
304
|
-
} | {
|
|
305
|
-
__kind: "Placeholder25";
|
|
306
|
-
} | {
|
|
307
|
-
__kind: "Placeholder26";
|
|
308
|
-
} | {
|
|
309
|
-
__kind: "PausableAccount";
|
|
310
|
-
fields: readonly [PausableAccountExtension];
|
|
311
|
-
} | {
|
|
312
|
-
__kind: "PermanentDelegateAccount";
|
|
313
|
-
fields: readonly [PermanentDelegateAccountExtension];
|
|
314
|
-
} | {
|
|
315
|
-
__kind: "TransferFeeAccount";
|
|
316
|
-
fields: readonly [TransferFeeAccountExtension];
|
|
317
|
-
} | {
|
|
318
|
-
__kind: "TransferHookAccount";
|
|
319
|
-
fields: readonly [TransferHookAccountExtension];
|
|
320
|
-
} | {
|
|
321
|
-
__kind: "CompressedOnly";
|
|
322
|
-
fields: readonly [CompressedOnlyExtension];
|
|
323
|
-
} | {
|
|
324
|
-
__kind: "Compressible";
|
|
325
|
-
fields: readonly [CompressibleExtension];
|
|
326
|
-
};
|
|
327
|
-
type ExtensionStructArgs = {
|
|
328
|
-
__kind: "Placeholder0";
|
|
329
|
-
} | {
|
|
330
|
-
__kind: "Placeholder1";
|
|
331
|
-
} | {
|
|
332
|
-
__kind: "Placeholder2";
|
|
333
|
-
} | {
|
|
334
|
-
__kind: "Placeholder3";
|
|
335
|
-
} | {
|
|
336
|
-
__kind: "Placeholder4";
|
|
337
|
-
} | {
|
|
338
|
-
__kind: "Placeholder5";
|
|
339
|
-
} | {
|
|
340
|
-
__kind: "Placeholder6";
|
|
341
|
-
} | {
|
|
342
|
-
__kind: "Placeholder7";
|
|
343
|
-
} | {
|
|
344
|
-
__kind: "Placeholder8";
|
|
345
|
-
} | {
|
|
346
|
-
__kind: "Placeholder9";
|
|
347
|
-
} | {
|
|
348
|
-
__kind: "Placeholder10";
|
|
349
|
-
} | {
|
|
350
|
-
__kind: "Placeholder11";
|
|
351
|
-
} | {
|
|
352
|
-
__kind: "Placeholder12";
|
|
353
|
-
} | {
|
|
354
|
-
__kind: "Placeholder13";
|
|
355
|
-
} | {
|
|
356
|
-
__kind: "Placeholder14";
|
|
357
|
-
} | {
|
|
358
|
-
__kind: "Placeholder15";
|
|
359
|
-
} | {
|
|
360
|
-
__kind: "Placeholder16";
|
|
361
|
-
} | {
|
|
362
|
-
__kind: "Placeholder17";
|
|
363
|
-
} | {
|
|
364
|
-
__kind: "Placeholder18";
|
|
365
|
-
} | {
|
|
366
|
-
__kind: "TokenMetadata";
|
|
367
|
-
fields: readonly [TokenMetadataArgs];
|
|
368
|
-
} | {
|
|
369
|
-
__kind: "Placeholder20";
|
|
370
|
-
} | {
|
|
371
|
-
__kind: "Placeholder21";
|
|
372
|
-
} | {
|
|
373
|
-
__kind: "Placeholder22";
|
|
374
|
-
} | {
|
|
375
|
-
__kind: "Placeholder23";
|
|
376
|
-
} | {
|
|
377
|
-
__kind: "Placeholder24";
|
|
378
|
-
} | {
|
|
379
|
-
__kind: "Placeholder25";
|
|
380
|
-
} | {
|
|
381
|
-
__kind: "Placeholder26";
|
|
382
|
-
} | {
|
|
383
|
-
__kind: "PausableAccount";
|
|
384
|
-
fields: readonly [PausableAccountExtensionArgs];
|
|
385
|
-
} | {
|
|
386
|
-
__kind: "PermanentDelegateAccount";
|
|
387
|
-
fields: readonly [PermanentDelegateAccountExtensionArgs];
|
|
388
|
-
} | {
|
|
389
|
-
__kind: "TransferFeeAccount";
|
|
390
|
-
fields: readonly [TransferFeeAccountExtensionArgs];
|
|
391
|
-
} | {
|
|
392
|
-
__kind: "TransferHookAccount";
|
|
393
|
-
fields: readonly [TransferHookAccountExtensionArgs];
|
|
394
|
-
} | {
|
|
395
|
-
__kind: "CompressedOnly";
|
|
396
|
-
fields: readonly [CompressedOnlyExtensionArgs];
|
|
397
|
-
} | {
|
|
398
|
-
__kind: "Compressible";
|
|
399
|
-
fields: readonly [CompressibleExtensionArgs];
|
|
400
|
-
};
|
|
401
|
-
declare function getExtensionStructEncoder(): Encoder<ExtensionStructArgs>;
|
|
402
|
-
declare function getExtensionStructDecoder(): Decoder<ExtensionStruct>;
|
|
403
|
-
declare function getExtensionStructCodec(): Codec<ExtensionStructArgs, ExtensionStruct>;
|
|
404
|
-
declare function extensionStruct(kind: "Placeholder0"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder0">;
|
|
405
|
-
declare function extensionStruct(kind: "Placeholder1"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder1">;
|
|
406
|
-
declare function extensionStruct(kind: "Placeholder2"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder2">;
|
|
407
|
-
declare function extensionStruct(kind: "Placeholder3"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder3">;
|
|
408
|
-
declare function extensionStruct(kind: "Placeholder4"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder4">;
|
|
409
|
-
declare function extensionStruct(kind: "Placeholder5"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder5">;
|
|
410
|
-
declare function extensionStruct(kind: "Placeholder6"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder6">;
|
|
411
|
-
declare function extensionStruct(kind: "Placeholder7"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder7">;
|
|
412
|
-
declare function extensionStruct(kind: "Placeholder8"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder8">;
|
|
413
|
-
declare function extensionStruct(kind: "Placeholder9"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder9">;
|
|
414
|
-
declare function extensionStruct(kind: "Placeholder10"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder10">;
|
|
415
|
-
declare function extensionStruct(kind: "Placeholder11"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder11">;
|
|
416
|
-
declare function extensionStruct(kind: "Placeholder12"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder12">;
|
|
417
|
-
declare function extensionStruct(kind: "Placeholder13"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder13">;
|
|
418
|
-
declare function extensionStruct(kind: "Placeholder14"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder14">;
|
|
419
|
-
declare function extensionStruct(kind: "Placeholder15"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder15">;
|
|
420
|
-
declare function extensionStruct(kind: "Placeholder16"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder16">;
|
|
421
|
-
declare function extensionStruct(kind: "Placeholder17"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder17">;
|
|
422
|
-
declare function extensionStruct(kind: "Placeholder18"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder18">;
|
|
423
|
-
declare function extensionStruct(kind: "TokenMetadata", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "TokenMetadata">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "TokenMetadata">;
|
|
424
|
-
declare function extensionStruct(kind: "Placeholder20"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder20">;
|
|
425
|
-
declare function extensionStruct(kind: "Placeholder21"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder21">;
|
|
426
|
-
declare function extensionStruct(kind: "Placeholder22"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder22">;
|
|
427
|
-
declare function extensionStruct(kind: "Placeholder23"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder23">;
|
|
428
|
-
declare function extensionStruct(kind: "Placeholder24"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder24">;
|
|
429
|
-
declare function extensionStruct(kind: "Placeholder25"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder25">;
|
|
430
|
-
declare function extensionStruct(kind: "Placeholder26"): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Placeholder26">;
|
|
431
|
-
declare function extensionStruct(kind: "PausableAccount", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "PausableAccount">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "PausableAccount">;
|
|
432
|
-
declare function extensionStruct(kind: "PermanentDelegateAccount", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "PermanentDelegateAccount">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "PermanentDelegateAccount">;
|
|
433
|
-
declare function extensionStruct(kind: "TransferFeeAccount", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "TransferFeeAccount">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "TransferFeeAccount">;
|
|
434
|
-
declare function extensionStruct(kind: "TransferHookAccount", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "TransferHookAccount">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "TransferHookAccount">;
|
|
435
|
-
declare function extensionStruct(kind: "CompressedOnly", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "CompressedOnly">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "CompressedOnly">;
|
|
436
|
-
declare function extensionStruct(kind: "Compressible", data: GetDiscriminatedUnionVariantContent<ExtensionStructArgs, "__kind", "Compressible">["fields"]): GetDiscriminatedUnionVariant<ExtensionStructArgs, "__kind", "Compressible">;
|
|
437
|
-
declare function isExtensionStruct<K extends ExtensionStruct["__kind"]>(kind: K, value: ExtensionStruct): value is ExtensionStruct & {
|
|
438
|
-
__kind: K;
|
|
439
|
-
};
|
|
440
|
-
|
|
441
144
|
type Member = {
|
|
442
145
|
pubkey: MemberKey;
|
|
443
146
|
role: number;
|
|
@@ -465,29 +168,6 @@ declare function getMemberKeyEncoder(): FixedSizeEncoder<MemberKeyArgs>;
|
|
|
465
168
|
declare function getMemberKeyDecoder(): FixedSizeDecoder<MemberKey>;
|
|
466
169
|
declare function getMemberKeyCodec(): FixedSizeCodec<MemberKeyArgs, MemberKey>;
|
|
467
170
|
|
|
468
|
-
type PackedMerkleContext = {
|
|
469
|
-
merkleTreePubkeyIndex: number;
|
|
470
|
-
queuePubkeyIndex: number;
|
|
471
|
-
leafIndex: number;
|
|
472
|
-
proveByIndex: boolean;
|
|
473
|
-
};
|
|
474
|
-
type PackedMerkleContextArgs = PackedMerkleContext;
|
|
475
|
-
declare function getPackedMerkleContextEncoder(): FixedSizeEncoder<PackedMerkleContextArgs>;
|
|
476
|
-
declare function getPackedMerkleContextDecoder(): FixedSizeDecoder<PackedMerkleContext>;
|
|
477
|
-
declare function getPackedMerkleContextCodec(): FixedSizeCodec<PackedMerkleContextArgs, PackedMerkleContext>;
|
|
478
|
-
|
|
479
|
-
type PausableAccountExtension = {};
|
|
480
|
-
type PausableAccountExtensionArgs = PausableAccountExtension;
|
|
481
|
-
declare function getPausableAccountExtensionEncoder(): FixedSizeEncoder<PausableAccountExtensionArgs>;
|
|
482
|
-
declare function getPausableAccountExtensionDecoder(): FixedSizeDecoder<PausableAccountExtension>;
|
|
483
|
-
declare function getPausableAccountExtensionCodec(): FixedSizeCodec<PausableAccountExtensionArgs, PausableAccountExtension>;
|
|
484
|
-
|
|
485
|
-
type PermanentDelegateAccountExtension = {};
|
|
486
|
-
type PermanentDelegateAccountExtensionArgs = PermanentDelegateAccountExtension;
|
|
487
|
-
declare function getPermanentDelegateAccountExtensionEncoder(): FixedSizeEncoder<PermanentDelegateAccountExtensionArgs>;
|
|
488
|
-
declare function getPermanentDelegateAccountExtensionDecoder(): FixedSizeDecoder<PermanentDelegateAccountExtension>;
|
|
489
|
-
declare function getPermanentDelegateAccountExtensionCodec(): FixedSizeCodec<PermanentDelegateAccountExtensionArgs, PermanentDelegateAccountExtension>;
|
|
490
|
-
|
|
491
171
|
type IPermissions = {
|
|
492
172
|
mask: number;
|
|
493
173
|
};
|
|
@@ -496,18 +176,6 @@ declare function getPermissionsEncoder(): FixedSizeEncoder<PermissionsArgs>;
|
|
|
496
176
|
declare function getPermissionsDecoder(): FixedSizeDecoder<IPermissions>;
|
|
497
177
|
declare function getPermissionsCodec(): FixedSizeCodec<PermissionsArgs, IPermissions>;
|
|
498
178
|
|
|
499
|
-
type ProofArgs = {
|
|
500
|
-
proof: Option<CompressedProof>;
|
|
501
|
-
lightCpiAccountsStartIndex: number;
|
|
502
|
-
};
|
|
503
|
-
type ProofArgsArgs = {
|
|
504
|
-
proof: OptionOrNullable<CompressedProofArgs>;
|
|
505
|
-
lightCpiAccountsStartIndex: number;
|
|
506
|
-
};
|
|
507
|
-
declare function getProofArgsEncoder(): Encoder<ProofArgsArgs>;
|
|
508
|
-
declare function getProofArgsDecoder(): Decoder<ProofArgs>;
|
|
509
|
-
declare function getProofArgsCodec(): Codec<ProofArgsArgs, ProofArgs>;
|
|
510
|
-
|
|
511
179
|
type RemoveMemberArgs$1 = {
|
|
512
180
|
memberKey: MemberKey;
|
|
513
181
|
};
|
|
@@ -518,18 +186,6 @@ declare function getRemoveMemberArgsEncoder(): FixedSizeEncoder<RemoveMemberArgs
|
|
|
518
186
|
declare function getRemoveMemberArgsDecoder(): FixedSizeDecoder<RemoveMemberArgs$1>;
|
|
519
187
|
declare function getRemoveMemberArgsCodec(): FixedSizeCodec<RemoveMemberArgsArgs, RemoveMemberArgs$1>;
|
|
520
188
|
|
|
521
|
-
type RentConfig = {
|
|
522
|
-
baseRent: number;
|
|
523
|
-
compressionCost: number;
|
|
524
|
-
lamportsPerBytePerEpoch: number;
|
|
525
|
-
maxFundedEpochs: number;
|
|
526
|
-
maxTopUp: number;
|
|
527
|
-
};
|
|
528
|
-
type RentConfigArgs = RentConfig;
|
|
529
|
-
declare function getRentConfigEncoder(): FixedSizeEncoder<RentConfigArgs>;
|
|
530
|
-
declare function getRentConfigDecoder(): FixedSizeDecoder<RentConfig>;
|
|
531
|
-
declare function getRentConfigCodec(): FixedSizeCodec<RentConfigArgs, RentConfig>;
|
|
532
|
-
|
|
533
189
|
type Secp256r1Pubkey = readonly [ReadonlyUint8Array];
|
|
534
190
|
type Secp256r1PubkeyArgs = Secp256r1Pubkey;
|
|
535
191
|
declare function getSecp256r1PubkeyEncoder(): FixedSizeEncoder<Secp256r1PubkeyArgs>;
|
|
@@ -580,35 +236,6 @@ declare function getSettingsIndexWithDelegateInfoEncoder(): FixedSizeEncoder<Set
|
|
|
580
236
|
declare function getSettingsIndexWithDelegateInfoDecoder(): FixedSizeDecoder<SettingsIndexWithDelegateInfo>;
|
|
581
237
|
declare function getSettingsIndexWithDelegateInfoCodec(): FixedSizeCodec<SettingsIndexWithDelegateInfoArgs, SettingsIndexWithDelegateInfo>;
|
|
582
238
|
|
|
583
|
-
type SplInterfacePdaArgs = {
|
|
584
|
-
index: number;
|
|
585
|
-
restricted: boolean;
|
|
586
|
-
};
|
|
587
|
-
type SplInterfacePdaArgsArgs = SplInterfacePdaArgs;
|
|
588
|
-
declare function getSplInterfacePdaArgsEncoder(): FixedSizeEncoder<SplInterfacePdaArgsArgs>;
|
|
589
|
-
declare function getSplInterfacePdaArgsDecoder(): FixedSizeDecoder<SplInterfacePdaArgs>;
|
|
590
|
-
declare function getSplInterfacePdaArgsCodec(): FixedSizeCodec<SplInterfacePdaArgsArgs, SplInterfacePdaArgs>;
|
|
591
|
-
|
|
592
|
-
type TokenMetadata = {
|
|
593
|
-
updateAuthority: Address;
|
|
594
|
-
mint: Address;
|
|
595
|
-
name: ReadonlyUint8Array;
|
|
596
|
-
symbol: ReadonlyUint8Array;
|
|
597
|
-
uri: ReadonlyUint8Array;
|
|
598
|
-
additionalMetadata: Array<AdditionalMetadata>;
|
|
599
|
-
};
|
|
600
|
-
type TokenMetadataArgs = {
|
|
601
|
-
updateAuthority: Address;
|
|
602
|
-
mint: Address;
|
|
603
|
-
name: ReadonlyUint8Array;
|
|
604
|
-
symbol: ReadonlyUint8Array;
|
|
605
|
-
uri: ReadonlyUint8Array;
|
|
606
|
-
additionalMetadata: Array<AdditionalMetadataArgs>;
|
|
607
|
-
};
|
|
608
|
-
declare function getTokenMetadataEncoder(): Encoder<TokenMetadataArgs>;
|
|
609
|
-
declare function getTokenMetadataDecoder(): Decoder<TokenMetadata>;
|
|
610
|
-
declare function getTokenMetadataCodec(): Codec<TokenMetadataArgs, TokenMetadata>;
|
|
611
|
-
|
|
612
239
|
type TransactionMessageAddressTableLookup = {
|
|
613
240
|
lookupTableAddressIndex: number;
|
|
614
241
|
writableIndexes: ReadonlyUint8Array;
|
|
@@ -620,46 +247,28 @@ declare function getTransactionMessageAddressTableLookupDecoder(): Decoder<Trans
|
|
|
620
247
|
declare function getTransactionMessageAddressTableLookupCodec(): Codec<TransactionMessageAddressTableLookupArgs, TransactionMessageAddressTableLookup>;
|
|
621
248
|
|
|
622
249
|
type TransactionSyncSigners = {
|
|
623
|
-
__kind:
|
|
250
|
+
__kind: 'Ed25519';
|
|
624
251
|
fields: readonly [number];
|
|
625
252
|
} | {
|
|
626
|
-
__kind:
|
|
253
|
+
__kind: 'Secp256r1';
|
|
627
254
|
fields: readonly [Secp256r1VerifyArgsWithDomainConfigIndex];
|
|
628
255
|
};
|
|
629
256
|
type TransactionSyncSignersArgs = {
|
|
630
|
-
__kind:
|
|
257
|
+
__kind: 'Ed25519';
|
|
631
258
|
fields: readonly [number];
|
|
632
259
|
} | {
|
|
633
|
-
__kind:
|
|
260
|
+
__kind: 'Secp256r1';
|
|
634
261
|
fields: readonly [Secp256r1VerifyArgsWithDomainConfigIndexArgs];
|
|
635
262
|
};
|
|
636
263
|
declare function getTransactionSyncSignersEncoder(): Encoder<TransactionSyncSignersArgs>;
|
|
637
264
|
declare function getTransactionSyncSignersDecoder(): Decoder<TransactionSyncSigners>;
|
|
638
265
|
declare function getTransactionSyncSignersCodec(): Codec<TransactionSyncSignersArgs, TransactionSyncSigners>;
|
|
639
|
-
declare function transactionSyncSigners(kind:
|
|
640
|
-
declare function transactionSyncSigners(kind:
|
|
641
|
-
declare function isTransactionSyncSigners<K extends TransactionSyncSigners[
|
|
266
|
+
declare function transactionSyncSigners(kind: 'Ed25519', data: GetDiscriminatedUnionVariantContent<TransactionSyncSignersArgs, '__kind', 'Ed25519'>['fields']): GetDiscriminatedUnionVariant<TransactionSyncSignersArgs, '__kind', 'Ed25519'>;
|
|
267
|
+
declare function transactionSyncSigners(kind: 'Secp256r1', data: GetDiscriminatedUnionVariantContent<TransactionSyncSignersArgs, '__kind', 'Secp256r1'>['fields']): GetDiscriminatedUnionVariant<TransactionSyncSignersArgs, '__kind', 'Secp256r1'>;
|
|
268
|
+
declare function isTransactionSyncSigners<K extends TransactionSyncSigners['__kind']>(kind: K, value: TransactionSyncSigners): value is TransactionSyncSigners & {
|
|
642
269
|
__kind: K;
|
|
643
270
|
};
|
|
644
271
|
|
|
645
|
-
type TransferFeeAccountExtension = {
|
|
646
|
-
withheldAmount: bigint;
|
|
647
|
-
};
|
|
648
|
-
type TransferFeeAccountExtensionArgs = {
|
|
649
|
-
withheldAmount: number | bigint;
|
|
650
|
-
};
|
|
651
|
-
declare function getTransferFeeAccountExtensionEncoder(): FixedSizeEncoder<TransferFeeAccountExtensionArgs>;
|
|
652
|
-
declare function getTransferFeeAccountExtensionDecoder(): FixedSizeDecoder<TransferFeeAccountExtension>;
|
|
653
|
-
declare function getTransferFeeAccountExtensionCodec(): FixedSizeCodec<TransferFeeAccountExtensionArgs, TransferFeeAccountExtension>;
|
|
654
|
-
|
|
655
|
-
type TransferHookAccountExtension = {
|
|
656
|
-
transferring: number;
|
|
657
|
-
};
|
|
658
|
-
type TransferHookAccountExtensionArgs = TransferHookAccountExtension;
|
|
659
|
-
declare function getTransferHookAccountExtensionEncoder(): FixedSizeEncoder<TransferHookAccountExtensionArgs>;
|
|
660
|
-
declare function getTransferHookAccountExtensionDecoder(): FixedSizeDecoder<TransferHookAccountExtension>;
|
|
661
|
-
declare function getTransferHookAccountExtensionCodec(): FixedSizeCodec<TransferHookAccountExtensionArgs, TransferHookAccountExtension>;
|
|
662
|
-
|
|
663
272
|
declare enum Transports {
|
|
664
273
|
Ble = 0,
|
|
665
274
|
Cable = 1,
|
|
@@ -853,27 +462,19 @@ declare const MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING = 6051;
|
|
|
853
462
|
declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED = 6052;
|
|
854
463
|
declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING = 6053;
|
|
855
464
|
declare const MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS = 6054;
|
|
856
|
-
declare const
|
|
857
|
-
declare const
|
|
858
|
-
declare const
|
|
859
|
-
declare const
|
|
860
|
-
declare const
|
|
861
|
-
declare const
|
|
862
|
-
declare const
|
|
863
|
-
declare const
|
|
864
|
-
declare const
|
|
865
|
-
declare const
|
|
866
|
-
declare const
|
|
867
|
-
declare const
|
|
868
|
-
|
|
869
|
-
declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH = 6068;
|
|
870
|
-
declare const MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY = 6069;
|
|
871
|
-
declare const MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG = 6070;
|
|
872
|
-
declare const MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG = 6071;
|
|
873
|
-
declare const MULTI_WALLET_ERROR__MISSING_DESTINATION_TOKEN_ACCOUNT = 6072;
|
|
874
|
-
declare const MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE = 6073;
|
|
875
|
-
declare const MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY = 6074;
|
|
876
|
-
type MultiWalletError = typeof MULTI_WALLET_ERROR__ALREADY_DELEGATED | typeof MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH | typeof MULTI_WALLET_ERROR__DUPLICATE_MEMBER | typeof MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED | typeof MULTI_WALLET_ERROR__EMPTY_MEMBERS | typeof MULTI_WALLET_ERROR__EXPECTED_ADMINISTRATOR_ROLE_MISMATCH | typeof MULTI_WALLET_ERROR__EXPECTED_MESSAGE_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__EXPECTED_TRANSACTION_MANAGER_ROLE_MISMATCH | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH | typeof MULTI_WALLET_ERROR__HASH_COMPUTATION_FAILED | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION | typeof MULTI_WALLET_ERROR__INVALID_ACCOUNT | typeof MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX | typeof MULTI_WALLET_ERROR__INVALID_ADMINISTRATOR_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_ARGUMENTS | typeof MULTI_WALLET_ERROR__INVALID_BUFFER | typeof MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT | typeof MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS | typeof MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS | typeof MULTI_WALLET_ERROR__INVALID_PERMANENT_MEMBER_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_INSTRUCTION | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_PUBLIC_KEY | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG | typeof MULTI_WALLET_ERROR__INVALID_SIGNATURE_OFFSETS | typeof MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER | typeof MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT | typeof MULTI_WALLET_ERROR__INVALID_THRESHOLD | typeof MULTI_WALLET_ERROR__INVALID_TOKEN_SOURCE_TYPE | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_PERMISSION | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE | typeof MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_USER_ROLE | typeof MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG | typeof MULTI_WALLET_ERROR__LIGHT_CPI_ACCOUNT_ERROR | typeof MULTI_WALLET_ERROR__MALFORMED_SIGNED_MESSAGE | typeof MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED | typeof MULTI_WALLET_ERROR__MEMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__MISSING_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_COMPRESSED_PROOF_ARGS | typeof MULTI_WALLET_ERROR__MISSING_COMPRESSED_TOKEN_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_DESTINATION_TOKEN_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR | typeof MULTI_WALLET_ERROR__MISSING_LIGHT_CPI_ACCOUNTS | typeof MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY | typeof MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE | typeof MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA | typeof MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY | typeof MULTI_WALLET_ERROR__NO_SIGNER_FOUND | typeof MULTI_WALLET_ERROR__ONLY_ONE_ADMINISTRATOR_ALLOWED | typeof MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED | typeof MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED | typeof MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS | typeof MULTI_WALLET_ERROR__PAYER_MISMATCH | typeof MULTI_WALLET_ERROR__PERMANENT_MEMBER | typeof MULTI_WALLET_ERROR__PROTECTED_ACCOUNT | typeof MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH | typeof MULTI_WALLET_ERROR__SIGNATURE_INDEX_OUT_OF_BOUNDS | typeof MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__TOO_MANY_MEMBERS | typeof MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED | typeof MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED | typeof MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING | typeof MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER | typeof MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY | typeof MULTI_WALLET_ERROR__UNEXPECTED_SIGNER;
|
|
465
|
+
declare const MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT = 6055;
|
|
466
|
+
declare const MULTI_WALLET_ERROR__MEMBER_NOT_FOUND = 6056;
|
|
467
|
+
declare const MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH = 6057;
|
|
468
|
+
declare const MULTI_WALLET_ERROR__PAYER_MISMATCH = 6058;
|
|
469
|
+
declare const MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR = 6059;
|
|
470
|
+
declare const MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX = 6060;
|
|
471
|
+
declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH = 6061;
|
|
472
|
+
declare const MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY = 6062;
|
|
473
|
+
declare const MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG = 6063;
|
|
474
|
+
declare const MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG = 6064;
|
|
475
|
+
declare const MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE = 6065;
|
|
476
|
+
declare const MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY = 6066;
|
|
477
|
+
type MultiWalletError = typeof MULTI_WALLET_ERROR__ALREADY_DELEGATED | typeof MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH | typeof MULTI_WALLET_ERROR__DUPLICATE_MEMBER | typeof MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED | typeof MULTI_WALLET_ERROR__EMPTY_MEMBERS | typeof MULTI_WALLET_ERROR__EXPECTED_ADMINISTRATOR_ROLE_MISMATCH | typeof MULTI_WALLET_ERROR__EXPECTED_MESSAGE_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__EXPECTED_TRANSACTION_MANAGER_ROLE_MISMATCH | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION | typeof MULTI_WALLET_ERROR__INVALID_ACCOUNT | typeof MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX | typeof MULTI_WALLET_ERROR__INVALID_ADMINISTRATOR_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_ARGUMENTS | typeof MULTI_WALLET_ERROR__INVALID_BUFFER | typeof MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT | typeof MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS | typeof MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS | typeof MULTI_WALLET_ERROR__INVALID_PERMANENT_MEMBER_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_INSTRUCTION | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_PUBLIC_KEY | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG | typeof MULTI_WALLET_ERROR__INVALID_SIGNATURE_OFFSETS | typeof MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER | typeof MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT | typeof MULTI_WALLET_ERROR__INVALID_THRESHOLD | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_PERMISSION | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE | typeof MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG | typeof MULTI_WALLET_ERROR__INVALID_USER_ROLE | typeof MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG | typeof MULTI_WALLET_ERROR__MALFORMED_SIGNED_MESSAGE | typeof MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED | typeof MULTI_WALLET_ERROR__MEMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__MISSING_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR | typeof MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY | typeof MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE | typeof MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY | typeof MULTI_WALLET_ERROR__NO_SIGNER_FOUND | typeof MULTI_WALLET_ERROR__ONLY_ONE_ADMINISTRATOR_ALLOWED | typeof MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED | typeof MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED | typeof MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS | typeof MULTI_WALLET_ERROR__PAYER_MISMATCH | typeof MULTI_WALLET_ERROR__PERMANENT_MEMBER | typeof MULTI_WALLET_ERROR__PROTECTED_ACCOUNT | typeof MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH | typeof MULTI_WALLET_ERROR__SIGNATURE_INDEX_OUT_OF_BOUNDS | typeof MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__TOO_MANY_MEMBERS | typeof MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED | typeof MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED | typeof MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING | typeof MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER | typeof MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY | typeof MULTI_WALLET_ERROR__UNEXPECTED_SIGNER;
|
|
877
478
|
declare function getMultiWalletErrorMessage(code: MultiWalletError): string;
|
|
878
479
|
declare function isMultiWalletError<TProgramErrorCode extends MultiWalletError>(error: unknown, transactionMessage: {
|
|
879
480
|
instructions: Record<number, {
|
|
@@ -920,7 +521,7 @@ declare enum MultiWalletInstruction {
|
|
|
920
521
|
declare function identifyMultiWalletInstruction(instruction: {
|
|
921
522
|
data: ReadonlyUint8Array;
|
|
922
523
|
} | ReadonlyUint8Array): MultiWalletInstruction;
|
|
923
|
-
type ParsedMultiWalletInstruction<TProgram extends string =
|
|
524
|
+
type ParsedMultiWalletInstruction<TProgram extends string = 'reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT'> = ({
|
|
924
525
|
instructionType: MultiWalletInstruction.ChangeConfig;
|
|
925
526
|
} & ParsedChangeConfigInstruction<TProgram>) | ({
|
|
926
527
|
instructionType: MultiWalletInstruction.CreateDomainConfig;
|
|
@@ -962,7 +563,7 @@ type ParsedMultiWalletInstruction<TProgram extends string = "reviR1xysEChySVSWGa
|
|
|
962
563
|
|
|
963
564
|
declare const CHANGE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
964
565
|
declare function getChangeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
965
|
-
type ChangeConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
566
|
+
type ChangeConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
966
567
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
967
568
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
968
569
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
@@ -994,9 +595,9 @@ type ChangeConfigInput<TAccountSettings extends string = string, TAccountPayer e
|
|
|
994
595
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
995
596
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
996
597
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
997
|
-
configActions: ChangeConfigInstructionDataArgs[
|
|
998
|
-
signers: ChangeConfigInstructionDataArgs[
|
|
999
|
-
remainingAccounts: ChangeConfigInstructionExtraArgs[
|
|
598
|
+
configActions: ChangeConfigInstructionDataArgs['configActions'];
|
|
599
|
+
signers: ChangeConfigInstructionDataArgs['signers'];
|
|
600
|
+
remainingAccounts: ChangeConfigInstructionExtraArgs['remainingAccounts'];
|
|
1000
601
|
};
|
|
1001
602
|
declare function getChangeConfigInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: ChangeConfigInput<TAccountSettings, TAccountPayer, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
|
|
1002
603
|
programAddress?: TProgramAddress;
|
|
@@ -1016,7 +617,7 @@ declare function parseChangeConfigInstruction<TProgram extends string, TAccountM
|
|
|
1016
617
|
|
|
1017
618
|
declare const CREATE_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1018
619
|
declare function getCreateDomainConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1019
|
-
type CreateDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
620
|
+
type CreateDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountUserAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1020
621
|
TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
1021
622
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1022
623
|
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
@@ -1048,9 +649,9 @@ type CreateDomainConfigAsyncInput<TAccountDomainConfig extends string = string,
|
|
|
1048
649
|
authority: TransactionSigner<TAccountAuthority>;
|
|
1049
650
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1050
651
|
userAccount?: Address<TAccountUserAccount>;
|
|
1051
|
-
rpId: CreateDomainConfigInstructionDataArgs[
|
|
1052
|
-
origins: CreateDomainConfigInstructionDataArgs[
|
|
1053
|
-
remainingAccounts: CreateDomainConfigInstructionExtraArgs[
|
|
652
|
+
rpId: CreateDomainConfigInstructionDataArgs['rpId'];
|
|
653
|
+
origins: CreateDomainConfigInstructionDataArgs['origins'];
|
|
654
|
+
remainingAccounts: CreateDomainConfigInstructionExtraArgs['remainingAccounts'];
|
|
1054
655
|
};
|
|
1055
656
|
declare function getCreateDomainConfigInstructionAsync<TAccountDomainConfig extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountUserAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainConfigAsyncInput<TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountUserAccount>, config?: {
|
|
1056
657
|
programAddress?: TProgramAddress;
|
|
@@ -1061,9 +662,9 @@ type CreateDomainConfigInput<TAccountDomainConfig extends string = string, TAcco
|
|
|
1061
662
|
authority: TransactionSigner<TAccountAuthority>;
|
|
1062
663
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1063
664
|
userAccount: Address<TAccountUserAccount>;
|
|
1064
|
-
rpId: CreateDomainConfigInstructionDataArgs[
|
|
1065
|
-
origins: CreateDomainConfigInstructionDataArgs[
|
|
1066
|
-
remainingAccounts: CreateDomainConfigInstructionExtraArgs[
|
|
665
|
+
rpId: CreateDomainConfigInstructionDataArgs['rpId'];
|
|
666
|
+
origins: CreateDomainConfigInstructionDataArgs['origins'];
|
|
667
|
+
remainingAccounts: CreateDomainConfigInstructionExtraArgs['remainingAccounts'];
|
|
1067
668
|
};
|
|
1068
669
|
declare function getCreateDomainConfigInstruction<TAccountDomainConfig extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountUserAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainConfigInput<TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountUserAccount>, config?: {
|
|
1069
670
|
programAddress?: TProgramAddress;
|
|
@@ -1083,7 +684,7 @@ declare function parseCreateDomainConfigInstruction<TProgram extends string, TAc
|
|
|
1083
684
|
|
|
1084
685
|
declare const CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1085
686
|
declare function getCreateDomainUserAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1086
|
-
type CreateDomainUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountTransactionManagerAccount extends string | AccountMeta<string> = string, TAccountSettings extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
687
|
+
type CreateDomainUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountTransactionManagerAccount extends string | AccountMeta<string> = string, TAccountSettings extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1087
688
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1088
689
|
TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
1089
690
|
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
@@ -1123,11 +724,11 @@ type CreateDomainUserAccountInput<TAccountPayer extends string = string, TAccoun
|
|
|
1123
724
|
transactionManagerAccount?: Address<TAccountTransactionManagerAccount>;
|
|
1124
725
|
settings?: Address<TAccountSettings>;
|
|
1125
726
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1126
|
-
member: CreateDomainUserAccountInstructionDataArgs[
|
|
1127
|
-
role: CreateDomainUserAccountInstructionDataArgs[
|
|
1128
|
-
credentialId: CreateDomainUserAccountInstructionDataArgs[
|
|
1129
|
-
transports: CreateDomainUserAccountInstructionDataArgs[
|
|
1130
|
-
remainingAccounts: CreateDomainUserAccountInstructionExtraArgs[
|
|
727
|
+
member: CreateDomainUserAccountInstructionDataArgs['member'];
|
|
728
|
+
role: CreateDomainUserAccountInstructionDataArgs['role'];
|
|
729
|
+
credentialId: CreateDomainUserAccountInstructionDataArgs['credentialId'];
|
|
730
|
+
transports: CreateDomainUserAccountInstructionDataArgs['transports'];
|
|
731
|
+
remainingAccounts: CreateDomainUserAccountInstructionExtraArgs['remainingAccounts'];
|
|
1131
732
|
};
|
|
1132
733
|
declare function getCreateDomainUserAccountInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountUserAccount extends string, TAccountTransactionManagerAccount extends string, TAccountSettings extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainUserAccountInput<TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountUserAccount, TAccountTransactionManagerAccount, TAccountSettings, TAccountSystemProgram>, config?: {
|
|
1133
734
|
programAddress?: TProgramAddress;
|
|
@@ -1149,7 +750,7 @@ declare function parseCreateDomainUserAccountInstruction<TProgram extends string
|
|
|
1149
750
|
|
|
1150
751
|
declare const CREATE_GLOBAL_COUNTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1151
752
|
declare function getCreateGlobalCounterDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1152
|
-
type CreateGlobalCounterInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountGlobalCounter extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
753
|
+
type CreateGlobalCounterInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountGlobalCounter extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1153
754
|
TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
|
|
1154
755
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1155
756
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
@@ -1172,7 +773,7 @@ type CreateGlobalCounterAsyncInput<TAccountGlobalCounter extends string = string
|
|
|
1172
773
|
globalCounter?: Address<TAccountGlobalCounter>;
|
|
1173
774
|
payer: TransactionSigner<TAccountPayer>;
|
|
1174
775
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1175
|
-
remainingAccounts: CreateGlobalCounterInstructionExtraArgs[
|
|
776
|
+
remainingAccounts: CreateGlobalCounterInstructionExtraArgs['remainingAccounts'];
|
|
1176
777
|
};
|
|
1177
778
|
declare function getCreateGlobalCounterInstructionAsync<TAccountGlobalCounter extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateGlobalCounterAsyncInput<TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>, config?: {
|
|
1178
779
|
programAddress?: TProgramAddress;
|
|
@@ -1181,7 +782,7 @@ type CreateGlobalCounterInput<TAccountGlobalCounter extends string = string, TAc
|
|
|
1181
782
|
globalCounter: Address<TAccountGlobalCounter>;
|
|
1182
783
|
payer: TransactionSigner<TAccountPayer>;
|
|
1183
784
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1184
|
-
remainingAccounts: CreateGlobalCounterInstructionExtraArgs[
|
|
785
|
+
remainingAccounts: CreateGlobalCounterInstructionExtraArgs['remainingAccounts'];
|
|
1185
786
|
};
|
|
1186
787
|
declare function getCreateGlobalCounterInstruction<TAccountGlobalCounter extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateGlobalCounterInput<TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>, config?: {
|
|
1187
788
|
programAddress?: TProgramAddress;
|
|
@@ -1199,7 +800,7 @@ declare function parseCreateGlobalCounterInstruction<TProgram extends string, TA
|
|
|
1199
800
|
|
|
1200
801
|
declare const CREATE_USER_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1201
802
|
declare function getCreateUserAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1202
|
-
type CreateUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
803
|
+
type CreateUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountUserAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1203
804
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1204
805
|
TAccountMember extends string ? ReadonlySignerAccount<TAccountMember> & AccountSignerMeta<TAccountMember> : TAccountMember,
|
|
1205
806
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
@@ -1229,9 +830,9 @@ type CreateUserAccountAsyncInput<TAccountPayer extends string = string, TAccount
|
|
|
1229
830
|
member: TransactionSigner<TAccountMember>;
|
|
1230
831
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1231
832
|
userAccount?: Address<TAccountUserAccount>;
|
|
1232
|
-
role: CreateUserAccountInstructionDataArgs[
|
|
1233
|
-
transactionManagerUrl: CreateUserAccountInstructionDataArgs[
|
|
1234
|
-
remainingAccounts: CreateUserAccountInstructionExtraArgs[
|
|
833
|
+
role: CreateUserAccountInstructionDataArgs['role'];
|
|
834
|
+
transactionManagerUrl: CreateUserAccountInstructionDataArgs['transactionManagerUrl'];
|
|
835
|
+
remainingAccounts: CreateUserAccountInstructionExtraArgs['remainingAccounts'];
|
|
1235
836
|
};
|
|
1236
837
|
declare function getCreateUserAccountInstructionAsync<TAccountPayer extends string, TAccountMember extends string, TAccountSystemProgram extends string, TAccountUserAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateUserAccountAsyncInput<TAccountPayer, TAccountMember, TAccountSystemProgram, TAccountUserAccount>, config?: {
|
|
1237
838
|
programAddress?: TProgramAddress;
|
|
@@ -1241,9 +842,9 @@ type CreateUserAccountInput<TAccountPayer extends string = string, TAccountMembe
|
|
|
1241
842
|
member: TransactionSigner<TAccountMember>;
|
|
1242
843
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1243
844
|
userAccount: Address<TAccountUserAccount>;
|
|
1244
|
-
role: CreateUserAccountInstructionDataArgs[
|
|
1245
|
-
transactionManagerUrl: CreateUserAccountInstructionDataArgs[
|
|
1246
|
-
remainingAccounts: CreateUserAccountInstructionExtraArgs[
|
|
845
|
+
role: CreateUserAccountInstructionDataArgs['role'];
|
|
846
|
+
transactionManagerUrl: CreateUserAccountInstructionDataArgs['transactionManagerUrl'];
|
|
847
|
+
remainingAccounts: CreateUserAccountInstructionExtraArgs['remainingAccounts'];
|
|
1247
848
|
};
|
|
1248
849
|
declare function getCreateUserAccountInstruction<TAccountPayer extends string, TAccountMember extends string, TAccountSystemProgram extends string, TAccountUserAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateUserAccountInput<TAccountPayer, TAccountMember, TAccountSystemProgram, TAccountUserAccount>, config?: {
|
|
1249
850
|
programAddress?: TProgramAddress;
|
|
@@ -1262,7 +863,7 @@ declare function parseCreateUserAccountInstruction<TProgram extends string, TAcc
|
|
|
1262
863
|
|
|
1263
864
|
declare const CREATE_WALLET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1264
865
|
declare function getCreateWalletDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1265
|
-
type CreateWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountInitialMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
866
|
+
type CreateWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountInitialMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountGlobalCounter extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountSettings extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1266
867
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1267
868
|
TAccountInitialMember extends string ? ReadonlySignerAccount<TAccountInitialMember> & AccountSignerMeta<TAccountInitialMember> : TAccountInitialMember,
|
|
1268
869
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
@@ -1294,8 +895,8 @@ type CreateWalletAsyncInput<TAccountPayer extends string = string, TAccountIniti
|
|
|
1294
895
|
globalCounter?: Address<TAccountGlobalCounter>;
|
|
1295
896
|
userAccount?: Address<TAccountUserAccount>;
|
|
1296
897
|
settings?: Address<TAccountSettings>;
|
|
1297
|
-
settingsIndex: CreateWalletInstructionDataArgs[
|
|
1298
|
-
remainingAccounts: CreateWalletInstructionExtraArgs[
|
|
898
|
+
settingsIndex: CreateWalletInstructionDataArgs['settingsIndex'];
|
|
899
|
+
remainingAccounts: CreateWalletInstructionExtraArgs['remainingAccounts'];
|
|
1299
900
|
};
|
|
1300
901
|
declare function getCreateWalletInstructionAsync<TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountGlobalCounter extends string, TAccountUserAccount extends string, TAccountSettings extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateWalletAsyncInput<TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountUserAccount, TAccountSettings>, config?: {
|
|
1301
902
|
programAddress?: TProgramAddress;
|
|
@@ -1307,8 +908,8 @@ type CreateWalletInput<TAccountPayer extends string = string, TAccountInitialMem
|
|
|
1307
908
|
globalCounter: Address<TAccountGlobalCounter>;
|
|
1308
909
|
userAccount: Address<TAccountUserAccount>;
|
|
1309
910
|
settings: Address<TAccountSettings>;
|
|
1310
|
-
settingsIndex: CreateWalletInstructionDataArgs[
|
|
1311
|
-
remainingAccounts: CreateWalletInstructionExtraArgs[
|
|
911
|
+
settingsIndex: CreateWalletInstructionDataArgs['settingsIndex'];
|
|
912
|
+
remainingAccounts: CreateWalletInstructionExtraArgs['remainingAccounts'];
|
|
1312
913
|
};
|
|
1313
914
|
declare function getCreateWalletInstruction<TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountGlobalCounter extends string, TAccountUserAccount extends string, TAccountSettings extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateWalletInput<TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountUserAccount, TAccountSettings>, config?: {
|
|
1314
915
|
programAddress?: TProgramAddress;
|
|
@@ -1353,8 +954,8 @@ type DisableDomainConfigInstructionExtraArgs = {
|
|
|
1353
954
|
type DisableDomainConfigInput<TAccountDomainConfig extends string = string, TAccountAdmin extends string = string> = {
|
|
1354
955
|
domainConfig: Address<TAccountDomainConfig>;
|
|
1355
956
|
admin: TransactionSigner<TAccountAdmin>;
|
|
1356
|
-
disable: DisableDomainConfigInstructionDataArgs[
|
|
1357
|
-
remainingAccounts: DisableDomainConfigInstructionExtraArgs[
|
|
957
|
+
disable: DisableDomainConfigInstructionDataArgs['disable'];
|
|
958
|
+
remainingAccounts: DisableDomainConfigInstructionExtraArgs['remainingAccounts'];
|
|
1358
959
|
};
|
|
1359
960
|
declare function getDisableDomainConfigInstruction<TAccountDomainConfig extends string, TAccountAdmin extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: DisableDomainConfigInput<TAccountDomainConfig, TAccountAdmin>, config?: {
|
|
1360
961
|
programAddress?: TProgramAddress;
|
|
@@ -1371,7 +972,7 @@ declare function parseDisableDomainConfigInstruction<TProgram extends string, TA
|
|
|
1371
972
|
|
|
1372
973
|
declare const EDIT_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1373
974
|
declare function getEditDomainConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1374
|
-
type EditDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountNewAuthority extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
975
|
+
type EditDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountNewAuthority extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1375
976
|
TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
1376
977
|
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
1377
978
|
TAccountNewAuthority extends string ? ReadonlySignerAccount<TAccountNewAuthority> & AccountSignerMeta<TAccountNewAuthority> : TAccountNewAuthority,
|
|
@@ -1401,8 +1002,8 @@ type EditDomainConfigInput<TAccountDomainConfig extends string = string, TAccoun
|
|
|
1401
1002
|
newAuthority?: TransactionSigner<TAccountNewAuthority>;
|
|
1402
1003
|
userAccount?: Address<TAccountUserAccount>;
|
|
1403
1004
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1404
|
-
newOrigins: EditDomainConfigInstructionDataArgs[
|
|
1405
|
-
remainingAccounts: EditDomainConfigInstructionExtraArgs[
|
|
1005
|
+
newOrigins: EditDomainConfigInstructionDataArgs['newOrigins'];
|
|
1006
|
+
remainingAccounts: EditDomainConfigInstructionExtraArgs['remainingAccounts'];
|
|
1406
1007
|
};
|
|
1407
1008
|
declare function getEditDomainConfigInstruction<TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountNewAuthority extends string, TAccountUserAccount extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditDomainConfigInput<TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountUserAccount, TAccountSystemProgram>, config?: {
|
|
1408
1009
|
programAddress?: TProgramAddress;
|
|
@@ -1446,8 +1047,8 @@ type EditTransactionManagerUrlInstructionExtraArgs = {
|
|
|
1446
1047
|
type EditTransactionManagerUrlAsyncInput<TAccountSigner extends string = string, TAccountTransactionManagerAccount extends string = string> = {
|
|
1447
1048
|
signer: TransactionSigner<TAccountSigner>;
|
|
1448
1049
|
transactionManagerAccount?: Address<TAccountTransactionManagerAccount>;
|
|
1449
|
-
transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs[
|
|
1450
|
-
remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs[
|
|
1050
|
+
transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs['transactionManagerUrl'];
|
|
1051
|
+
remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs['remainingAccounts'];
|
|
1451
1052
|
};
|
|
1452
1053
|
declare function getEditTransactionManagerUrlInstructionAsync<TAccountSigner extends string, TAccountTransactionManagerAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlAsyncInput<TAccountSigner, TAccountTransactionManagerAccount>, config?: {
|
|
1453
1054
|
programAddress?: TProgramAddress;
|
|
@@ -1455,8 +1056,8 @@ declare function getEditTransactionManagerUrlInstructionAsync<TAccountSigner ext
|
|
|
1455
1056
|
type EditTransactionManagerUrlInput<TAccountSigner extends string = string, TAccountTransactionManagerAccount extends string = string> = {
|
|
1456
1057
|
signer: TransactionSigner<TAccountSigner>;
|
|
1457
1058
|
transactionManagerAccount: Address<TAccountTransactionManagerAccount>;
|
|
1458
|
-
transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs[
|
|
1459
|
-
remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs[
|
|
1059
|
+
transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs['transactionManagerUrl'];
|
|
1060
|
+
remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs['remainingAccounts'];
|
|
1460
1061
|
};
|
|
1461
1062
|
declare function getEditTransactionManagerUrlInstruction<TAccountSigner extends string, TAccountTransactionManagerAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlInput<TAccountSigner, TAccountTransactionManagerAccount>, config?: {
|
|
1462
1063
|
programAddress?: TProgramAddress;
|
|
@@ -1473,7 +1074,7 @@ declare function parseEditTransactionManagerUrlInstruction<TProgram extends stri
|
|
|
1473
1074
|
|
|
1474
1075
|
declare const EDIT_USER_DELEGATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1475
1076
|
declare function getEditUserDelegateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1476
|
-
type EditUserDelegateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountFeePayer extends string | AccountMeta<string> = string, TAccountSigner extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountOldSettings extends string | AccountMeta<string> = string, TAccountNewSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1077
|
+
type EditUserDelegateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountFeePayer extends string | AccountMeta<string> = string, TAccountSigner extends string | AccountMeta<string> = string, TAccountUserAccount extends string | AccountMeta<string> = string, TAccountOldSettings extends string | AccountMeta<string> = string, TAccountNewSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountDomainConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1477
1078
|
TAccountFeePayer extends string ? WritableSignerAccount<TAccountFeePayer> & AccountSignerMeta<TAccountFeePayer> : TAccountFeePayer,
|
|
1478
1079
|
TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
1479
1080
|
TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
|
|
@@ -1511,9 +1112,9 @@ type EditUserDelegateInput<TAccountFeePayer extends string = string, TAccountSig
|
|
|
1511
1112
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1512
1113
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1513
1114
|
domainConfig?: Address<TAccountDomainConfig>;
|
|
1514
|
-
secp256r1VerifyArgs: EditUserDelegateInstructionDataArgs[
|
|
1515
|
-
delegateTo: EditUserDelegateInstructionDataArgs[
|
|
1516
|
-
remainingAccounts: EditUserDelegateInstructionExtraArgs[
|
|
1115
|
+
secp256r1VerifyArgs: EditUserDelegateInstructionDataArgs['secp256r1VerifyArgs'];
|
|
1116
|
+
delegateTo: EditUserDelegateInstructionDataArgs['delegateTo'];
|
|
1117
|
+
remainingAccounts: EditUserDelegateInstructionExtraArgs['remainingAccounts'];
|
|
1517
1118
|
};
|
|
1518
1119
|
declare function getEditUserDelegateInstruction<TAccountFeePayer extends string, TAccountSigner extends string, TAccountUserAccount extends string, TAccountOldSettings extends string, TAccountNewSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountDomainConfig extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditUserDelegateInput<TAccountFeePayer, TAccountSigner, TAccountUserAccount, TAccountOldSettings, TAccountNewSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig>, config?: {
|
|
1519
1120
|
programAddress?: TProgramAddress;
|
|
@@ -1536,7 +1137,7 @@ declare function parseEditUserDelegateInstruction<TProgram extends string, TAcco
|
|
|
1536
1137
|
|
|
1537
1138
|
declare const NATIVE_TRANSFER_INTENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1538
1139
|
declare function getNativeTransferIntentDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1539
|
-
type NativeTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1140
|
+
type NativeTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountSource extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1540
1141
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
1541
1142
|
TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
|
|
1542
1143
|
TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
|
|
@@ -1570,9 +1171,9 @@ type NativeTransferIntentAsyncInput<TAccountSettings extends string = string, TA
|
|
|
1570
1171
|
source?: Address<TAccountSource>;
|
|
1571
1172
|
destination: Address<TAccountDestination>;
|
|
1572
1173
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1573
|
-
amount: NativeTransferIntentInstructionDataArgs[
|
|
1574
|
-
signers: NativeTransferIntentInstructionDataArgs[
|
|
1575
|
-
remainingAccounts: NativeTransferIntentInstructionExtraArgs[
|
|
1174
|
+
amount: NativeTransferIntentInstructionDataArgs['amount'];
|
|
1175
|
+
signers: NativeTransferIntentInstructionDataArgs['signers'];
|
|
1176
|
+
remainingAccounts: NativeTransferIntentInstructionExtraArgs['remainingAccounts'];
|
|
1576
1177
|
};
|
|
1577
1178
|
declare function getNativeTransferIntentInstructionAsync<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountDestination extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: NativeTransferIntentAsyncInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
|
|
1578
1179
|
programAddress?: TProgramAddress;
|
|
@@ -1584,9 +1185,9 @@ type NativeTransferIntentInput<TAccountSettings extends string = string, TAccoun
|
|
|
1584
1185
|
source: Address<TAccountSource>;
|
|
1585
1186
|
destination: Address<TAccountDestination>;
|
|
1586
1187
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1587
|
-
amount: NativeTransferIntentInstructionDataArgs[
|
|
1588
|
-
signers: NativeTransferIntentInstructionDataArgs[
|
|
1589
|
-
remainingAccounts: NativeTransferIntentInstructionExtraArgs[
|
|
1188
|
+
amount: NativeTransferIntentInstructionDataArgs['amount'];
|
|
1189
|
+
signers: NativeTransferIntentInstructionDataArgs['signers'];
|
|
1190
|
+
remainingAccounts: NativeTransferIntentInstructionExtraArgs['remainingAccounts'];
|
|
1590
1191
|
};
|
|
1591
1192
|
declare function getNativeTransferIntentInstruction<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountDestination extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: NativeTransferIntentInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
|
|
1592
1193
|
programAddress?: TProgramAddress;
|
|
@@ -1607,40 +1208,28 @@ declare function parseNativeTransferIntentInstruction<TProgram extends string, T
|
|
|
1607
1208
|
|
|
1608
1209
|
declare const TOKEN_TRANSFER_INTENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1609
1210
|
declare function getTokenTransferIntentDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1610
|
-
type TokenTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1211
|
+
type TokenTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountSource extends string | AccountMeta<string> = string, TAccountSourceSplTokenAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountDestinationSplTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountMint extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1611
1212
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
1612
1213
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1613
1214
|
TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
|
|
1614
1215
|
TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
|
|
1615
1216
|
TAccountSource extends string ? ReadonlyAccount<TAccountSource> : TAccountSource,
|
|
1616
1217
|
TAccountSourceSplTokenAccount extends string ? WritableAccount<TAccountSourceSplTokenAccount> : TAccountSourceSplTokenAccount,
|
|
1617
|
-
TAccountSourceCtokenTokenAccount extends string ? WritableAccount<TAccountSourceCtokenTokenAccount> : TAccountSourceCtokenTokenAccount,
|
|
1618
1218
|
TAccountDestination extends string ? ReadonlyAccount<TAccountDestination> : TAccountDestination,
|
|
1619
1219
|
TAccountDestinationSplTokenAccount extends string ? WritableAccount<TAccountDestinationSplTokenAccount> : TAccountDestinationSplTokenAccount,
|
|
1620
|
-
TAccountDestinationCtokenTokenAccount extends string ? WritableAccount<TAccountDestinationCtokenTokenAccount> : TAccountDestinationCtokenTokenAccount,
|
|
1621
1220
|
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
1221
|
+
TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
|
|
1622
1222
|
TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint,
|
|
1623
1223
|
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
1624
|
-
TAccountCompressedTokenProgramAuthority extends string ? ReadonlyAccount<TAccountCompressedTokenProgramAuthority> : TAccountCompressedTokenProgramAuthority,
|
|
1625
|
-
TAccountSplInterfacePda extends string ? WritableAccount<TAccountSplInterfacePda> : TAccountSplInterfacePda,
|
|
1626
|
-
TAccountCompressibleConfig extends string ? ReadonlyAccount<TAccountCompressibleConfig> : TAccountCompressibleConfig,
|
|
1627
|
-
TAccountRentSponsor extends string ? WritableAccount<TAccountRentSponsor> : TAccountRentSponsor,
|
|
1628
|
-
TAccountCompressedTokenProgram extends string ? ReadonlyAccount<TAccountCompressedTokenProgram> : TAccountCompressedTokenProgram,
|
|
1629
1224
|
...TRemainingAccounts
|
|
1630
1225
|
]>;
|
|
1631
1226
|
type TokenTransferIntentInstructionData = {
|
|
1632
1227
|
discriminator: ReadonlyUint8Array;
|
|
1633
|
-
splInterfacePdaArgs: Option<SplInterfacePdaArgs>;
|
|
1634
1228
|
amount: bigint;
|
|
1635
|
-
sourceCompressedTokenAccounts: Array<CompressedTokenArgs>;
|
|
1636
|
-
compressedProofArgs: Option<ProofArgs>;
|
|
1637
1229
|
signers: Array<TransactionSyncSigners>;
|
|
1638
1230
|
};
|
|
1639
1231
|
type TokenTransferIntentInstructionDataArgs = {
|
|
1640
|
-
splInterfacePdaArgs: OptionOrNullable<SplInterfacePdaArgsArgs>;
|
|
1641
1232
|
amount: number | bigint;
|
|
1642
|
-
sourceCompressedTokenAccounts: Array<CompressedTokenArgsArgs>;
|
|
1643
|
-
compressedProofArgs: OptionOrNullable<ProofArgsArgs>;
|
|
1644
1233
|
signers: Array<TransactionSyncSignersArgs>;
|
|
1645
1234
|
};
|
|
1646
1235
|
declare function getTokenTransferIntentInstructionDataEncoder(): Encoder<TokenTransferIntentInstructionDataArgs>;
|
|
@@ -1652,64 +1241,46 @@ type TokenTransferIntentInstructionExtraArgs = {
|
|
|
1652
1241
|
role: number;
|
|
1653
1242
|
}>;
|
|
1654
1243
|
};
|
|
1655
|
-
type TokenTransferIntentAsyncInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string,
|
|
1244
|
+
type TokenTransferIntentAsyncInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationSplTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string> = {
|
|
1656
1245
|
settings: Address<TAccountSettings>;
|
|
1657
1246
|
payer: TransactionSigner<TAccountPayer>;
|
|
1658
1247
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1659
1248
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1660
1249
|
source?: Address<TAccountSource>;
|
|
1661
1250
|
sourceSplTokenAccount?: Address<TAccountSourceSplTokenAccount>;
|
|
1662
|
-
sourceCtokenTokenAccount?: Address<TAccountSourceCtokenTokenAccount>;
|
|
1663
1251
|
destination: Address<TAccountDestination>;
|
|
1664
1252
|
destinationSplTokenAccount?: Address<TAccountDestinationSplTokenAccount>;
|
|
1665
|
-
destinationCtokenTokenAccount?: Address<TAccountDestinationCtokenTokenAccount>;
|
|
1666
1253
|
tokenProgram?: Address<TAccountTokenProgram>;
|
|
1254
|
+
associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
|
|
1667
1255
|
mint: Address<TAccountMint>;
|
|
1668
1256
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
splInterfacePdaArgs: TokenTransferIntentInstructionDataArgs["splInterfacePdaArgs"];
|
|
1675
|
-
amount: TokenTransferIntentInstructionDataArgs["amount"];
|
|
1676
|
-
sourceCompressedTokenAccounts: TokenTransferIntentInstructionDataArgs["sourceCompressedTokenAccounts"];
|
|
1677
|
-
compressedProofArgs: TokenTransferIntentInstructionDataArgs["compressedProofArgs"];
|
|
1678
|
-
signers: TokenTransferIntentInstructionDataArgs["signers"];
|
|
1679
|
-
remainingAccounts: TokenTransferIntentInstructionExtraArgs["remainingAccounts"];
|
|
1680
|
-
};
|
|
1681
|
-
declare function getTokenTransferIntentInstructionAsync<TAccountSettings extends string, TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceSplTokenAccount extends string, TAccountSourceCtokenTokenAccount extends string, TAccountDestination extends string, TAccountDestinationSplTokenAccount extends string, TAccountDestinationCtokenTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountCompressedTokenProgramAuthority extends string, TAccountSplInterfacePda extends string, TAccountCompressibleConfig extends string, TAccountRentSponsor extends string, TAccountCompressedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentAsyncInput<TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>, config?: {
|
|
1257
|
+
amount: TokenTransferIntentInstructionDataArgs['amount'];
|
|
1258
|
+
signers: TokenTransferIntentInstructionDataArgs['signers'];
|
|
1259
|
+
remainingAccounts: TokenTransferIntentInstructionExtraArgs['remainingAccounts'];
|
|
1260
|
+
};
|
|
1261
|
+
declare function getTokenTransferIntentInstructionAsync<TAccountSettings extends string, TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceSplTokenAccount extends string, TAccountDestination extends string, TAccountDestinationSplTokenAccount extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentAsyncInput<TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountMint, TAccountSystemProgram>, config?: {
|
|
1682
1262
|
programAddress?: TProgramAddress;
|
|
1683
|
-
}): Promise<TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount,
|
|
1684
|
-
type TokenTransferIntentInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string,
|
|
1263
|
+
}): Promise<TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountMint, TAccountSystemProgram>>;
|
|
1264
|
+
type TokenTransferIntentInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationSplTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string> = {
|
|
1685
1265
|
settings: Address<TAccountSettings>;
|
|
1686
1266
|
payer: TransactionSigner<TAccountPayer>;
|
|
1687
1267
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1688
1268
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1689
1269
|
source: Address<TAccountSource>;
|
|
1690
1270
|
sourceSplTokenAccount: Address<TAccountSourceSplTokenAccount>;
|
|
1691
|
-
sourceCtokenTokenAccount: Address<TAccountSourceCtokenTokenAccount>;
|
|
1692
1271
|
destination: Address<TAccountDestination>;
|
|
1693
|
-
destinationSplTokenAccount
|
|
1694
|
-
destinationCtokenTokenAccount?: Address<TAccountDestinationCtokenTokenAccount>;
|
|
1272
|
+
destinationSplTokenAccount: Address<TAccountDestinationSplTokenAccount>;
|
|
1695
1273
|
tokenProgram?: Address<TAccountTokenProgram>;
|
|
1274
|
+
associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
|
|
1696
1275
|
mint: Address<TAccountMint>;
|
|
1697
1276
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
splInterfacePdaArgs: TokenTransferIntentInstructionDataArgs["splInterfacePdaArgs"];
|
|
1704
|
-
amount: TokenTransferIntentInstructionDataArgs["amount"];
|
|
1705
|
-
sourceCompressedTokenAccounts: TokenTransferIntentInstructionDataArgs["sourceCompressedTokenAccounts"];
|
|
1706
|
-
compressedProofArgs: TokenTransferIntentInstructionDataArgs["compressedProofArgs"];
|
|
1707
|
-
signers: TokenTransferIntentInstructionDataArgs["signers"];
|
|
1708
|
-
remainingAccounts: TokenTransferIntentInstructionExtraArgs["remainingAccounts"];
|
|
1709
|
-
};
|
|
1710
|
-
declare function getTokenTransferIntentInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceSplTokenAccount extends string, TAccountSourceCtokenTokenAccount extends string, TAccountDestination extends string, TAccountDestinationSplTokenAccount extends string, TAccountDestinationCtokenTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountCompressedTokenProgramAuthority extends string, TAccountSplInterfacePda extends string, TAccountCompressibleConfig extends string, TAccountRentSponsor extends string, TAccountCompressedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentInput<TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>, config?: {
|
|
1277
|
+
amount: TokenTransferIntentInstructionDataArgs['amount'];
|
|
1278
|
+
signers: TokenTransferIntentInstructionDataArgs['signers'];
|
|
1279
|
+
remainingAccounts: TokenTransferIntentInstructionExtraArgs['remainingAccounts'];
|
|
1280
|
+
};
|
|
1281
|
+
declare function getTokenTransferIntentInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceSplTokenAccount extends string, TAccountDestination extends string, TAccountDestinationSplTokenAccount extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentInput<TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountMint, TAccountSystemProgram>, config?: {
|
|
1711
1282
|
programAddress?: TProgramAddress;
|
|
1712
|
-
}): TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount,
|
|
1283
|
+
}): TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountMint, TAccountSystemProgram>;
|
|
1713
1284
|
type ParsedTokenTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
1714
1285
|
programAddress: Address<TProgram>;
|
|
1715
1286
|
accounts: {
|
|
@@ -1719,18 +1290,12 @@ type ParsedTokenTransferIntentInstruction<TProgram extends string = typeof MULTI
|
|
|
1719
1290
|
instructionsSysvar: TAccountMetas[3];
|
|
1720
1291
|
source: TAccountMetas[4];
|
|
1721
1292
|
sourceSplTokenAccount: TAccountMetas[5];
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
systemProgram: TAccountMetas[12];
|
|
1729
|
-
compressedTokenProgramAuthority: TAccountMetas[13];
|
|
1730
|
-
splInterfacePda?: TAccountMetas[14] | undefined;
|
|
1731
|
-
compressibleConfig: TAccountMetas[15];
|
|
1732
|
-
rentSponsor?: TAccountMetas[16] | undefined;
|
|
1733
|
-
compressedTokenProgram: TAccountMetas[17];
|
|
1293
|
+
destination: TAccountMetas[6];
|
|
1294
|
+
destinationSplTokenAccount: TAccountMetas[7];
|
|
1295
|
+
tokenProgram: TAccountMetas[8];
|
|
1296
|
+
associatedTokenProgram: TAccountMetas[9];
|
|
1297
|
+
mint: TAccountMetas[10];
|
|
1298
|
+
systemProgram: TAccountMetas[11];
|
|
1734
1299
|
};
|
|
1735
1300
|
data: TokenTransferIntentInstructionData;
|
|
1736
1301
|
};
|
|
@@ -1738,7 +1303,7 @@ declare function parseTokenTransferIntentInstruction<TProgram extends string, TA
|
|
|
1738
1303
|
|
|
1739
1304
|
declare const TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1740
1305
|
declare function getTransactionBufferCloseDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1741
|
-
type TransactionBufferCloseInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCloser extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1306
|
+
type TransactionBufferCloseInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCloser extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1742
1307
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
1743
1308
|
TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer,
|
|
1744
1309
|
TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
@@ -1772,8 +1337,8 @@ type TransactionBufferCloseInput<TAccountSettings extends string = string, TAcco
|
|
|
1772
1337
|
closer?: TransactionSigner<TAccountCloser>;
|
|
1773
1338
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1774
1339
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1775
|
-
secp256r1VerifyArgs: TransactionBufferCloseInstructionDataArgs[
|
|
1776
|
-
remainingAccounts: TransactionBufferCloseInstructionExtraArgs[
|
|
1340
|
+
secp256r1VerifyArgs: TransactionBufferCloseInstructionDataArgs['secp256r1VerifyArgs'];
|
|
1341
|
+
remainingAccounts: TransactionBufferCloseInstructionExtraArgs['remainingAccounts'];
|
|
1777
1342
|
};
|
|
1778
1343
|
declare function getTransactionBufferCloseInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCloser extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCloseInput<TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
|
|
1779
1344
|
programAddress?: TProgramAddress;
|
|
@@ -1795,7 +1360,7 @@ declare function parseTransactionBufferCloseInstruction<TProgram extends string,
|
|
|
1795
1360
|
|
|
1796
1361
|
declare const TRANSACTION_BUFFER_CREATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1797
1362
|
declare function getTransactionBufferCreateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1798
|
-
type TransactionBufferCreateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
1363
|
+
type TransactionBufferCreateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1799
1364
|
TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
|
|
1800
1365
|
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
1801
1366
|
TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
@@ -1843,14 +1408,14 @@ type TransactionBufferCreateInput<TAccountSettings extends string = string, TAcc
|
|
|
1843
1408
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
1844
1409
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1845
1410
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1846
|
-
bufferIndex: TransactionBufferCreateInstructionDataArgs[
|
|
1847
|
-
preauthorizeExecution: TransactionBufferCreateInstructionDataArgs[
|
|
1848
|
-
bufferExtendHashes: TransactionBufferCreateInstructionDataArgs[
|
|
1849
|
-
finalBufferHash: TransactionBufferCreateInstructionDataArgs[
|
|
1850
|
-
finalBufferSize: TransactionBufferCreateInstructionDataArgs[
|
|
1851
|
-
expectedSigners: TransactionBufferCreateInstructionDataArgs[
|
|
1852
|
-
secp256r1VerifyArgs: TransactionBufferCreateInstructionDataArgs[
|
|
1853
|
-
remainingAccounts: TransactionBufferCreateInstructionExtraArgs[
|
|
1411
|
+
bufferIndex: TransactionBufferCreateInstructionDataArgs['bufferIndex'];
|
|
1412
|
+
preauthorizeExecution: TransactionBufferCreateInstructionDataArgs['preauthorizeExecution'];
|
|
1413
|
+
bufferExtendHashes: TransactionBufferCreateInstructionDataArgs['bufferExtendHashes'];
|
|
1414
|
+
finalBufferHash: TransactionBufferCreateInstructionDataArgs['finalBufferHash'];
|
|
1415
|
+
finalBufferSize: TransactionBufferCreateInstructionDataArgs['finalBufferSize'];
|
|
1416
|
+
expectedSigners: TransactionBufferCreateInstructionDataArgs['expectedSigners'];
|
|
1417
|
+
secp256r1VerifyArgs: TransactionBufferCreateInstructionDataArgs['secp256r1VerifyArgs'];
|
|
1418
|
+
remainingAccounts: TransactionBufferCreateInstructionExtraArgs['remainingAccounts'];
|
|
1854
1419
|
};
|
|
1855
1420
|
declare function getTransactionBufferCreateInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCreator extends string, TAccountSystemProgram extends string, TAccountInstructionsSysvar extends string, TAccountSlotHashSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCreateInput<TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>, config?: {
|
|
1856
1421
|
programAddress?: TProgramAddress;
|
|
@@ -1873,7 +1438,7 @@ declare function parseTransactionBufferCreateInstruction<TProgram extends string
|
|
|
1873
1438
|
|
|
1874
1439
|
declare const TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1875
1440
|
declare function getTransactionBufferExecuteDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1876
|
-
type TransactionBufferExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountExecutor extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1441
|
+
type TransactionBufferExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountExecutor extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1877
1442
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
1878
1443
|
TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
1879
1444
|
TAccountExecutor extends string ? ReadonlySignerAccount<TAccountExecutor> & AccountSignerMeta<TAccountExecutor> : TAccountExecutor,
|
|
@@ -1905,8 +1470,8 @@ type TransactionBufferExecuteInput<TAccountSettings extends string = string, TAc
|
|
|
1905
1470
|
transactionBuffer: Address<TAccountTransactionBuffer>;
|
|
1906
1471
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
1907
1472
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
1908
|
-
secp256r1VerifyArgs: TransactionBufferExecuteInstructionDataArgs[
|
|
1909
|
-
remainingAccounts: TransactionBufferExecuteInstructionExtraArgs[
|
|
1473
|
+
secp256r1VerifyArgs: TransactionBufferExecuteInstructionDataArgs['secp256r1VerifyArgs'];
|
|
1474
|
+
remainingAccounts: TransactionBufferExecuteInstructionExtraArgs['remainingAccounts'];
|
|
1910
1475
|
};
|
|
1911
1476
|
declare function getTransactionBufferExecuteInstruction<TAccountSettings extends string, TAccountDomainConfig extends string, TAccountExecutor extends string, TAccountTransactionBuffer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExecuteInput<TAccountSettings, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
|
|
1912
1477
|
programAddress?: TProgramAddress;
|
|
@@ -1951,8 +1516,8 @@ type TransactionBufferExtendInstructionExtraArgs = {
|
|
|
1951
1516
|
type TransactionBufferExtendInput<TAccountSettings extends string = string, TAccountTransactionBuffer extends string = string> = {
|
|
1952
1517
|
settings: Address<TAccountSettings>;
|
|
1953
1518
|
transactionBuffer: Address<TAccountTransactionBuffer>;
|
|
1954
|
-
buffer: TransactionBufferExtendInstructionDataArgs[
|
|
1955
|
-
remainingAccounts: TransactionBufferExtendInstructionExtraArgs[
|
|
1519
|
+
buffer: TransactionBufferExtendInstructionDataArgs['buffer'];
|
|
1520
|
+
remainingAccounts: TransactionBufferExtendInstructionExtraArgs['remainingAccounts'];
|
|
1956
1521
|
};
|
|
1957
1522
|
declare function getTransactionBufferExtendInstruction<TAccountSettings extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExtendInput<TAccountSettings, TAccountTransactionBuffer>, config?: {
|
|
1958
1523
|
programAddress?: TProgramAddress;
|
|
@@ -1969,7 +1534,7 @@ declare function parseTransactionBufferExtendInstruction<TProgram extends string
|
|
|
1969
1534
|
|
|
1970
1535
|
declare const TRANSACTION_BUFFER_VOTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
1971
1536
|
declare function getTransactionBufferVoteDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
1972
|
-
type TransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountVoter extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> =
|
|
1537
|
+
type TransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountVoter extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
1973
1538
|
TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
|
|
1974
1539
|
TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
|
|
1975
1540
|
TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
|
|
@@ -2003,8 +1568,8 @@ type TransactionBufferVoteInput<TAccountSettings extends string = string, TAccou
|
|
|
2003
1568
|
systemProgram?: Address<TAccountSystemProgram>;
|
|
2004
1569
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
2005
1570
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
2006
|
-
secp256r1VerifyArgs: TransactionBufferVoteInstructionDataArgs[
|
|
2007
|
-
remainingAccounts: TransactionBufferVoteInstructionExtraArgs[
|
|
1571
|
+
secp256r1VerifyArgs: TransactionBufferVoteInstructionDataArgs['secp256r1VerifyArgs'];
|
|
1572
|
+
remainingAccounts: TransactionBufferVoteInstructionExtraArgs['remainingAccounts'];
|
|
2008
1573
|
};
|
|
2009
1574
|
declare function getTransactionBufferVoteInstruction<TAccountSettings extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountVoter extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferVoteInput<TAccountSettings, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
|
|
2010
1575
|
programAddress?: TProgramAddress;
|
|
@@ -2049,7 +1614,7 @@ type TransactionExecuteInput<TAccountSettings extends string = string, TAccountP
|
|
|
2049
1614
|
settings: Address<TAccountSettings>;
|
|
2050
1615
|
payer: Address<TAccountPayer>;
|
|
2051
1616
|
transactionBuffer: Address<TAccountTransactionBuffer>;
|
|
2052
|
-
remainingAccounts: TransactionExecuteInstructionExtraArgs[
|
|
1617
|
+
remainingAccounts: TransactionExecuteInstructionExtraArgs['remainingAccounts'];
|
|
2053
1618
|
};
|
|
2054
1619
|
declare function getTransactionExecuteInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteInput<TAccountSettings, TAccountPayer, TAccountTransactionBuffer>, config?: {
|
|
2055
1620
|
programAddress?: TProgramAddress;
|
|
@@ -2067,7 +1632,7 @@ declare function parseTransactionExecuteInstruction<TProgram extends string, TAc
|
|
|
2067
1632
|
|
|
2068
1633
|
declare const TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2069
1634
|
declare function getTransactionExecuteSyncDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2070
|
-
type TransactionExecuteSyncInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> =
|
|
1635
|
+
type TransactionExecuteSyncInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2071
1636
|
TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
|
|
2072
1637
|
TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
|
|
2073
1638
|
TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
|
|
@@ -2105,14 +1670,14 @@ type TransactionExecuteSyncInput<TAccountSettings extends string = string, TAcco
|
|
|
2105
1670
|
settings: Address<TAccountSettings>;
|
|
2106
1671
|
slotHashSysvar?: Address<TAccountSlotHashSysvar>;
|
|
2107
1672
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
2108
|
-
numSigners: TransactionExecuteSyncInstructionDataArgs[
|
|
2109
|
-
numWritableSigners: TransactionExecuteSyncInstructionDataArgs[
|
|
2110
|
-
numWritableNonSigners: TransactionExecuteSyncInstructionDataArgs[
|
|
2111
|
-
numAccountKeys: TransactionExecuteSyncInstructionDataArgs[
|
|
2112
|
-
instructions: TransactionExecuteSyncInstructionDataArgs[
|
|
2113
|
-
addressTableLookups: TransactionExecuteSyncInstructionDataArgs[
|
|
2114
|
-
signers: TransactionExecuteSyncInstructionDataArgs[
|
|
2115
|
-
remainingAccounts: TransactionExecuteSyncInstructionExtraArgs[
|
|
1673
|
+
numSigners: TransactionExecuteSyncInstructionDataArgs['numSigners'];
|
|
1674
|
+
numWritableSigners: TransactionExecuteSyncInstructionDataArgs['numWritableSigners'];
|
|
1675
|
+
numWritableNonSigners: TransactionExecuteSyncInstructionDataArgs['numWritableNonSigners'];
|
|
1676
|
+
numAccountKeys: TransactionExecuteSyncInstructionDataArgs['numAccountKeys'];
|
|
1677
|
+
instructions: TransactionExecuteSyncInstructionDataArgs['instructions'];
|
|
1678
|
+
addressTableLookups: TransactionExecuteSyncInstructionDataArgs['addressTableLookups'];
|
|
1679
|
+
signers: TransactionExecuteSyncInstructionDataArgs['signers'];
|
|
1680
|
+
remainingAccounts: TransactionExecuteSyncInstructionExtraArgs['remainingAccounts'];
|
|
2116
1681
|
};
|
|
2117
1682
|
declare function getTransactionExecuteSyncInstruction<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteSyncInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
|
|
2118
1683
|
programAddress?: TProgramAddress;
|
|
@@ -2844,38 +2409,25 @@ type TokenTransferIntentParams = {
|
|
|
2844
2409
|
mint: Address;
|
|
2845
2410
|
amount: number | bigint;
|
|
2846
2411
|
signers: (TransactionSigner | SignedSecp256r1Key)[];
|
|
2847
|
-
tokenProgram
|
|
2412
|
+
tokenProgram?: Address;
|
|
2848
2413
|
payer: TransactionSigner;
|
|
2849
|
-
splInterfacePdaArgs?: SplInterfacePdaArgsArgs;
|
|
2850
2414
|
};
|
|
2851
|
-
declare function tokenTransferIntent({ settings, destination, mint, signers, amount, payer, tokenProgram,
|
|
2852
|
-
declare function getVersionFromDiscriminator(discriminator: number[] | undefined): number;
|
|
2415
|
+
declare function tokenTransferIntent({ settings, destination, mint, signers, amount, payer, tokenProgram, }: TokenTransferIntentParams): Promise<Instruction[]>;
|
|
2853
2416
|
|
|
2854
2417
|
interface MapData {
|
|
2855
2418
|
index: number;
|
|
2856
2419
|
accountMeta: AccountMeta;
|
|
2857
2420
|
}
|
|
2858
2421
|
declare class PackedAccounts {
|
|
2859
|
-
systemAccounts: AccountMeta[];
|
|
2860
2422
|
nextPreIndex: number;
|
|
2861
2423
|
preMap: Map<string, MapData>;
|
|
2862
|
-
nextPackedIndex: number;
|
|
2863
|
-
packedMap: Map<string, MapData>;
|
|
2864
|
-
outputTreeIndex: number;
|
|
2865
2424
|
constructor();
|
|
2866
2425
|
addPreAccounts(accounts: (AccountMeta | AccountSignerMeta)[]): Map<string, MapData>;
|
|
2867
2426
|
getAccountRole(isSigner: boolean, isWritable: boolean): AccountRole;
|
|
2868
|
-
|
|
2869
|
-
insertOrGet(pubkey: string, accountMeta?: AccountMeta | AccountSignerMeta, isPacked?: boolean): number;
|
|
2870
|
-
packOutputTreeIndex(outputStateTreeInfo: TreeInfo): number;
|
|
2871
|
-
getOutputTreeIndex(): Promise<number>;
|
|
2872
|
-
packTreeInfos(accountProofInputs: AccountProofInput[], newAddressProofInputs: NewAddressProofInput[]): PackedTreeInfos;
|
|
2427
|
+
insertOrGet(pubkey: string, accountMeta?: AccountMeta | AccountSignerMeta): number;
|
|
2873
2428
|
hashSetAccountsToMetas(map: Map<string, MapData>): AccountMeta[];
|
|
2874
|
-
getOffsets(preAccountLength: number): [number, number];
|
|
2875
2429
|
toAccountMetas(): {
|
|
2876
2430
|
remainingAccounts: AccountMeta[];
|
|
2877
|
-
systemOffset: number;
|
|
2878
|
-
packedOffset: number;
|
|
2879
2431
|
};
|
|
2880
2432
|
}
|
|
2881
2433
|
|
|
@@ -3033,15 +2585,11 @@ declare function getTransactionBufferAddress(settings: Address, creator: Address
|
|
|
3033
2585
|
declare function getWalletAddressFromSettings(settings: Address): Promise<Address<string>>;
|
|
3034
2586
|
declare function getSettingsFromIndex(index: number | bigint): Promise<Address<string>>;
|
|
3035
2587
|
declare function getWalletAddressFromIndex(index: number | bigint): Promise<Address<string>>;
|
|
3036
|
-
declare function getLightCpiSigner(): Promise<Address<string>>;
|
|
3037
2588
|
|
|
3038
2589
|
declare function getSolanaRpcEndpoint(): string;
|
|
3039
|
-
declare function
|
|
3040
|
-
declare function
|
|
3041
|
-
declare function initialize({ rpcEndpoint, proverEndpoint, compressionApiEndpoint, }: {
|
|
2590
|
+
declare function getSolanaRpc(): Rpc<_solana_rpc.RequestAirdropApi & _solana_rpc.GetAccountInfoApi & _solana_rpc.GetBalanceApi & _solana_rpc.GetBlockApi & _solana_rpc.GetBlockCommitmentApi & _solana_rpc.GetBlockHeightApi & _solana_rpc.GetBlockProductionApi & _solana_rpc.GetBlocksApi & _solana_rpc.GetBlocksWithLimitApi & _solana_rpc.GetBlockTimeApi & _solana_rpc.GetClusterNodesApi & _solana_rpc.GetEpochInfoApi & _solana_rpc.GetEpochScheduleApi & _solana_rpc.GetFeeForMessageApi & _solana_rpc.GetFirstAvailableBlockApi & _solana_rpc.GetGenesisHashApi & _solana_rpc.GetHealthApi & _solana_rpc.GetHighestSnapshotSlotApi & _solana_rpc.GetIdentityApi & _solana_rpc.GetInflationGovernorApi & _solana_rpc.GetInflationRateApi & _solana_rpc.GetInflationRewardApi & _solana_rpc.GetLargestAccountsApi & _solana_rpc.GetLatestBlockhashApi & _solana_rpc.GetLeaderScheduleApi & _solana_rpc.GetMaxRetransmitSlotApi & _solana_rpc.GetMaxShredInsertSlotApi & _solana_rpc.GetMinimumBalanceForRentExemptionApi & _solana_rpc.GetMultipleAccountsApi & _solana_rpc.GetProgramAccountsApi & _solana_rpc.GetRecentPerformanceSamplesApi & _solana_rpc.GetRecentPrioritizationFeesApi & _solana_rpc.GetSignaturesForAddressApi & _solana_rpc.GetSignatureStatusesApi & _solana_rpc.GetSlotApi & _solana_rpc.GetSlotLeaderApi & _solana_rpc.GetSlotLeadersApi & _solana_rpc.GetStakeMinimumDelegationApi & _solana_rpc.GetSupplyApi & _solana_rpc.GetTokenAccountBalanceApi & _solana_rpc.GetTokenAccountsByDelegateApi & _solana_rpc.GetTokenAccountsByOwnerApi & _solana_rpc.GetTokenLargestAccountsApi & _solana_rpc.GetTokenSupplyApi & _solana_rpc.GetTransactionApi & _solana_rpc.GetTransactionCountApi & _solana_rpc.GetVersionApi & _solana_rpc.GetVoteAccountsApi & _solana_rpc.IsBlockhashValidApi & _solana_rpc.MinimumLedgerSlotApi & _solana_rpc.SendTransactionApi & _solana_rpc.SimulateTransactionApi>;
|
|
2591
|
+
declare function initialize({ rpcEndpoint, }: {
|
|
3042
2592
|
rpcEndpoint: string;
|
|
3043
|
-
proverEndpoint?: string;
|
|
3044
|
-
compressionApiEndpoint?: string;
|
|
3045
2593
|
}): void;
|
|
3046
2594
|
|
|
3047
2595
|
declare function convertPubkeyCoseToCompressed(publicKey: Uint8Array<ArrayBuffer>): string;
|
|
@@ -3123,4 +2671,4 @@ declare function fetchUserAccountByFilters(domainConfigAddress: Address, { membe
|
|
|
3123
2671
|
}): Promise<User | null>;
|
|
3124
2672
|
declare function fetchAllSettingsAccountByMember(member: Address | Secp256r1Key): Promise<Settings[]>;
|
|
3125
2673
|
|
|
3126
|
-
export { AccountState, type AccountStateArgs, type AddMemberArgs$1 as AddMemberArgs, type AddMemberArgsArgs, type AdditionalMetadata, type AdditionalMetadataArgs, AuthenticationContextSchema, type AuthenticationExtensionsClientOutputsJSON, type AuthenticatorAssertionResponseJSON, type Base64URLString$1 as Base64URLString, BaseResponseSchema, CHANGE_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR, CREATE_GLOBAL_COUNTER_DISCRIMINATOR, CREATE_USER_ACCOUNT_DISCRIMINATOR, CREATE_WALLET_DISCRIMINATOR, type ChangeConfigInput, type ChangeConfigInstruction, type ChangeConfigInstructionData, type ChangeConfigInstructionDataArgs, type ChangeConfigInstructionExtraArgs, type CompiledInstruction, type CompiledInstructionArgs, type CompleteMessageRequest, CompleteMessageRequestSchema, type CompleteTransactionRequest, CompleteTransactionRequestSchema, type CompressedOnlyExtension, type CompressedOnlyExtensionArgs, type CompressedProof, type CompressedProofArgs, type CompressedTokenArgs, type CompressedTokenArgsArgs, type CompressibleExtension, type CompressibleExtensionArgs, type CompressionInfo, type CompressionInfoArgs, type ConfigAction, type ConfigActionArgs, type ConfigurationArgs, type CreateDomainConfigAsyncInput, type CreateDomainConfigInput, type CreateDomainConfigInstruction, type CreateDomainConfigInstructionData, type CreateDomainConfigInstructionDataArgs, type CreateDomainConfigInstructionExtraArgs, type CreateDomainUserAccountInput, type CreateDomainUserAccountInstruction, type CreateDomainUserAccountInstructionData, type CreateDomainUserAccountInstructionDataArgs, type CreateDomainUserAccountInstructionExtraArgs, type CreateGlobalCounterAsyncInput, type CreateGlobalCounterInput, type CreateGlobalCounterInstruction, type CreateGlobalCounterInstructionData, type CreateGlobalCounterInstructionDataArgs, type CreateGlobalCounterInstructionExtraArgs, type CreateUserAccountAsyncInput, type CreateUserAccountInput, type CreateUserAccountInstruction, type CreateUserAccountInstructionData, type CreateUserAccountInstructionDataArgs, type CreateUserAccountInstructionExtraArgs, type CreateWalletAsyncInput, type CreateWalletInput, type CreateWalletInstruction, type CreateWalletInstructionData, type CreateWalletInstructionDataArgs, type CreateWalletInstructionExtraArgs, DISABLE_DOMAIN_CONFIG_DISCRIMINATOR, DOMAIN_CONFIG_DISCRIMINATOR, type DeviceProfile, DeviceProfileSchema, type DisableDomainConfigInput, type DisableDomainConfigInstruction, type DisableDomainConfigInstructionData, type DisableDomainConfigInstructionDataArgs, type DisableDomainConfigInstructionExtraArgs, type DomainConfig, type DomainConfigArgs, EDIT_DOMAIN_CONFIG_DISCRIMINATOR, EDIT_TRANSACTION_MANAGER_URL_DISCRIMINATOR, EDIT_USER_DELEGATE_DISCRIMINATOR, type EditDomainConfigInput, type EditDomainConfigInstruction, type EditDomainConfigInstructionData, type EditDomainConfigInstructionDataArgs, type EditDomainConfigInstructionExtraArgs, type EditMemberArgs$1 as EditMemberArgs, type EditMemberArgsArgs, type EditTransactionManagerUrlAsyncInput, type EditTransactionManagerUrlInput, type EditTransactionManagerUrlInstruction, type EditTransactionManagerUrlInstructionData, type EditTransactionManagerUrlInstructionDataArgs, type EditTransactionManagerUrlInstructionExtraArgs, type EditUserDelegateInput, type EditUserDelegateInstruction, type EditUserDelegateInstructionData, type EditUserDelegateInstructionDataArgs, type EditUserDelegateInstructionExtraArgs, type ExpectedSigner, type ExpectedSignerArgs, type ExtensionStruct, type ExtensionStructArgs, GLOBAL_COUNTER_DISCRIMINATOR, type GlobalCounter, type GlobalCounterArgs, type IKeyType, type IPermission, type IPermissions, KeyType, MULTI_WALLET_ERROR__ALREADY_DELEGATED, MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH, MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING, MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH, MULTI_WALLET_ERROR__DUPLICATE_MEMBER, MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED, MULTI_WALLET_ERROR__EMPTY_MEMBERS, MULTI_WALLET_ERROR__EXPECTED_ADMINISTRATOR_ROLE_MISMATCH, MULTI_WALLET_ERROR__EXPECTED_MESSAGE_HASH_MISMATCH, MULTI_WALLET_ERROR__EXPECTED_TRANSACTION_MANAGER_ROLE_MISMATCH, MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH, MULTI_WALLET_ERROR__HASH_COMPUTATION_FAILED, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION, MULTI_WALLET_ERROR__INVALID_ACCOUNT, MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX, MULTI_WALLET_ERROR__INVALID_ADMINISTRATOR_CONFIG, MULTI_WALLET_ERROR__INVALID_ARGUMENTS, MULTI_WALLET_ERROR__INVALID_BUFFER, MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT, MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS, MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS, MULTI_WALLET_ERROR__INVALID_PERMANENT_MEMBER_CONFIG, MULTI_WALLET_ERROR__INVALID_SECP256R1_INSTRUCTION, MULTI_WALLET_ERROR__INVALID_SECP256R1_PUBLIC_KEY, MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG, MULTI_WALLET_ERROR__INVALID_SIGNATURE_OFFSETS, MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER, MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT, MULTI_WALLET_ERROR__INVALID_THRESHOLD, MULTI_WALLET_ERROR__INVALID_TOKEN_SOURCE_TYPE, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_CONFIG, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_PERMISSION, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE, MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG, MULTI_WALLET_ERROR__INVALID_USER_ROLE, MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG, MULTI_WALLET_ERROR__LIGHT_CPI_ACCOUNT_ERROR, MULTI_WALLET_ERROR__MALFORMED_SIGNED_MESSAGE, MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED, MULTI_WALLET_ERROR__MEMBER_NOT_FOUND, MULTI_WALLET_ERROR__MISSING_ACCOUNT, MULTI_WALLET_ERROR__MISSING_COMPRESSED_PROOF_ARGS, MULTI_WALLET_ERROR__MISSING_COMPRESSED_TOKEN_ACCOUNT, MULTI_WALLET_ERROR__MISSING_DESTINATION_TOKEN_ACCOUNT, MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR, MULTI_WALLET_ERROR__MISSING_LIGHT_CPI_ACCOUNTS, MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY, MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE, MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA, MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY, MULTI_WALLET_ERROR__NO_SIGNER_FOUND, MULTI_WALLET_ERROR__ONLY_ONE_ADMINISTRATOR_ALLOWED, MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED, MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED, MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS, MULTI_WALLET_ERROR__PAYER_MISMATCH, MULTI_WALLET_ERROR__PERMANENT_MEMBER, MULTI_WALLET_ERROR__PROTECTED_ACCOUNT, MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH, MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH, MULTI_WALLET_ERROR__SIGNATURE_INDEX_OUT_OF_BOUNDS, MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND, MULTI_WALLET_ERROR__TOO_MANY_MEMBERS, MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED, MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED, MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING, MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER, MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY, MULTI_WALLET_ERROR__UNEXPECTED_SIGNER, MULTI_WALLET_PROGRAM_ADDRESS, type Member, type MemberArgs, type MemberKey, type MemberKeyArgs, type MessageAuthenticationResponse, MultiWalletAccount, type MultiWalletError, MultiWalletInstruction, NATIVE_TRANSFER_INTENT_DISCRIMINATOR, type NativeTransferIntentAsyncInput, type NativeTransferIntentInput, type NativeTransferIntentInstruction, type NativeTransferIntentInstructionData, type NativeTransferIntentInstructionDataArgs, type NativeTransferIntentInstructionExtraArgs, type NativeTransferIntentParams, type PackedMerkleContext, type PackedMerkleContextArgs, type ParsedChangeConfigInstruction, type ParsedCreateDomainConfigInstruction, type ParsedCreateDomainUserAccountInstruction, type ParsedCreateGlobalCounterInstruction, type ParsedCreateUserAccountInstruction, type ParsedCreateWalletInstruction, type ParsedDisableDomainConfigInstruction, type ParsedEditDomainConfigInstruction, type ParsedEditTransactionManagerUrlInstruction, type ParsedEditUserDelegateInstruction, type ParsedMultiWalletInstruction, type ParsedNativeTransferIntentInstruction, type ParsedSecp256r1VerifyInstruction, type ParsedTokenTransferIntentInstruction, type ParsedTransactionBufferCloseInstruction, type ParsedTransactionBufferCreateInstruction, type ParsedTransactionBufferExecuteInstruction, type ParsedTransactionBufferExtendInstruction, type ParsedTransactionBufferVoteInstruction, type ParsedTransactionExecuteInstruction, type ParsedTransactionExecuteSyncInstruction, type PausableAccountExtension, type PausableAccountExtensionArgs, type PermanentDelegateAccountExtension, type PermanentDelegateAccountExtensionArgs, Permission, type PermissionArgs, Permissions, type PermissionsArgs, type ProofArgs, type ProofArgsArgs, type RemoveMemberArgs$1 as RemoveMemberArgs, type RemoveMemberArgsArgs, type RentConfig, type RentConfigArgs, SETTINGS_DISCRIMINATOR, Secp256r1Key, type Secp256r1Pubkey, type Secp256r1PubkeyArgs, type Secp256r1SignatureOffsetsDataArgs, type Secp256r1VerifyArgs, type Secp256r1VerifyArgsArgs, type Secp256r1VerifyArgsWithDomainConfigIndex, type Secp256r1VerifyArgsWithDomainConfigIndexArgs, type Secp256r1VerifyInput, type Secp256r1VerifyInstruction, type Secp256r1VerifyInstructionData, type Secp256r1VerifyInstructionDataArgs, type Settings, type SettingsArgs, type SettingsIndexWithDelegateInfo, type SettingsIndexWithDelegateInfoArgs, SignedSecp256r1Key, type SplInterfacePdaArgs, type SplInterfacePdaArgsArgs, type StartMessageRequest, StartMessageRequestSchema, type StartTransactionRequest, StartTransactionRequestSchema, TOKEN_TRANSFER_INTENT_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_DISCRIMINATOR, TRANSACTION_BUFFER_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_DISCRIMINATOR, TRANSACTION_EXECUTE_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR, type TokenMetadata, type TokenMetadataArgs, type TokenTransferIntentAsyncInput, type TokenTransferIntentInput, type TokenTransferIntentInstruction, type TokenTransferIntentInstructionData, type TokenTransferIntentInstructionDataArgs, type TokenTransferIntentInstructionExtraArgs, type TokenTransferIntentParams, type TransactionActionType, TransactionActionTypeSchema, type TransactionAuthDetails, type TransactionAuthenticationResponse, type TransactionBuffer, type TransactionBufferArgs, type TransactionBufferCloseInput, type TransactionBufferCloseInstruction, type TransactionBufferCloseInstructionData, type TransactionBufferCloseInstructionDataArgs, type TransactionBufferCloseInstructionExtraArgs, type TransactionBufferCreateInput, type TransactionBufferCreateInstruction, type TransactionBufferCreateInstructionData, type TransactionBufferCreateInstructionDataArgs, type TransactionBufferCreateInstructionExtraArgs, type TransactionBufferExecuteInput, type TransactionBufferExecuteInstruction, type TransactionBufferExecuteInstructionData, type TransactionBufferExecuteInstructionDataArgs, type TransactionBufferExecuteInstructionExtraArgs, type TransactionBufferExtendInput, type TransactionBufferExtendInstruction, type TransactionBufferExtendInstructionData, type TransactionBufferExtendInstructionDataArgs, type TransactionBufferExtendInstructionExtraArgs, type TransactionBufferVoteInput, type TransactionBufferVoteInstruction, type TransactionBufferVoteInstructionData, type TransactionBufferVoteInstructionDataArgs, type TransactionBufferVoteInstructionExtraArgs, type TransactionDetails, TransactionDetailsSchema, type TransactionExecuteInput, type TransactionExecuteInstruction, type TransactionExecuteInstructionData, type TransactionExecuteInstructionDataArgs, type TransactionExecuteInstructionExtraArgs, type TransactionExecuteSyncInput, type TransactionExecuteSyncInstruction, type TransactionExecuteSyncInstructionData, type TransactionExecuteSyncInstructionDataArgs, type TransactionExecuteSyncInstructionExtraArgs, type TransactionManagerApprovalCallbacks, type TransactionManagerWebSocketSignOptions, type TransactionMessageAddressTableLookup, type TransactionMessageAddressTableLookupArgs, type TransactionPayload, TransactionPayloadSchema, type TransactionPayloadWithBase64MessageBytes, TransactionPayloadWithBase64MessageBytesSchema, type TransactionSyncSigners, type TransactionSyncSignersArgs, type TransferFeeAccountExtension, type TransferFeeAccountExtensionArgs, type TransferHookAccountExtension, type TransferHookAccountExtensionArgs, Transports, type TransportsArgs, USER_DISCRIMINATOR, type User, type UserArgs, type UserInfo, UserInfoSchema, UserRole, type UserRoleArgs, base64URLStringToBuffer, bufferToBase64URLString, changeConfig, closeTransactionBuffer, configAction, convertBase64StringToJWK, convertJWKToBase64String, convertMemberKeyToString, convertPubkeyCompressedToCose, convertPubkeyCoseToCompressed, createClientAuthorizationCompleteRequestChallenge, createClientAuthorizationStartRequestChallenge, createDomainConfig, createDomainUserAccounts, createGlobalCounter, createMessageChallenge, createTransactionBuffer, createTransactionChallenge, createTransactionManagerSigner, createUserAccounts, createWallet, decodeDomainConfig, decodeGlobalCounter, decodeSettings, decodeTransactionBuffer, decodeUser, deserializeConfigActions, disableDomainConfig, editDomainConfig, editTransactionManagerUrl, editUserDelegate, executeTransaction, executeTransactionBuffer, executeTransactionSync, extendTransactionBuffer, extensionStruct, fetchAllDomainConfig, fetchAllGlobalCounter, fetchAllMaybeDomainConfig, fetchAllMaybeGlobalCounter, fetchAllMaybeSettings, fetchAllMaybeTransactionBuffer, fetchAllMaybeUser, fetchAllSettings, fetchAllSettingsAccountByMember, fetchAllTransactionBuffer, fetchAllUser, fetchDomainConfig, fetchGlobalCounter, fetchMaybeDomainConfig, fetchMaybeGlobalCounter, fetchMaybeSettings, fetchMaybeTransactionBuffer, fetchMaybeUser, fetchSettings, fetchSignaturesFromTransactionManager, fetchTransactionBuffer, fetchUser, fetchUserAccountByFilters, getAccountStateCodec, getAccountStateDecoder, getAccountStateEncoder, getAddMemberArgsCodec, getAddMemberArgsDecoder, getAddMemberArgsEncoder, getAdditionalMetadataCodec, getAdditionalMetadataDecoder, getAdditionalMetadataEncoder, getChangeConfigDiscriminatorBytes, getChangeConfigInstruction, getChangeConfigInstructionDataCodec, getChangeConfigInstructionDataDecoder, getChangeConfigInstructionDataEncoder, getClientAndDeviceHash, getCompiledInstructionCodec, getCompiledInstructionDecoder, getCompiledInstructionEncoder, getCompressedOnlyExtensionCodec, getCompressedOnlyExtensionDecoder, getCompressedOnlyExtensionEncoder, getCompressedProofCodec, getCompressedProofDecoder, getCompressedProofEncoder, getCompressedTokenArgsCodec, getCompressedTokenArgsDecoder, getCompressedTokenArgsEncoder, getCompressibleExtensionCodec, getCompressibleExtensionDecoder, getCompressibleExtensionEncoder, getCompressionInfoCodec, getCompressionInfoDecoder, getCompressionInfoEncoder, getConfigActionCodec, getConfigActionDecoder, getConfigActionEncoder, getCreateDomainConfigDiscriminatorBytes, getCreateDomainConfigInstruction, getCreateDomainConfigInstructionAsync, getCreateDomainConfigInstructionDataCodec, getCreateDomainConfigInstructionDataDecoder, getCreateDomainConfigInstructionDataEncoder, getCreateDomainUserAccountDiscriminatorBytes, getCreateDomainUserAccountInstruction, getCreateDomainUserAccountInstructionDataCodec, getCreateDomainUserAccountInstructionDataDecoder, getCreateDomainUserAccountInstructionDataEncoder, getCreateGlobalCounterDiscriminatorBytes, getCreateGlobalCounterInstruction, getCreateGlobalCounterInstructionAsync, getCreateGlobalCounterInstructionDataCodec, getCreateGlobalCounterInstructionDataDecoder, getCreateGlobalCounterInstructionDataEncoder, getCreateUserAccountDiscriminatorBytes, getCreateUserAccountInstruction, getCreateUserAccountInstructionAsync, getCreateUserAccountInstructionDataCodec, getCreateUserAccountInstructionDataDecoder, getCreateUserAccountInstructionDataEncoder, getCreateWalletDiscriminatorBytes, getCreateWalletInstruction, getCreateWalletInstructionAsync, getCreateWalletInstructionDataCodec, getCreateWalletInstructionDataDecoder, getCreateWalletInstructionDataEncoder, getDeviceMessageHash, getDisableDomainConfigDiscriminatorBytes, getDisableDomainConfigInstruction, getDisableDomainConfigInstructionDataCodec, getDisableDomainConfigInstructionDataDecoder, getDisableDomainConfigInstructionDataEncoder, getDomainConfigAddress, getDomainConfigCodec, getDomainConfigDecoder, getDomainConfigDiscriminatorBytes, getDomainConfigEncoder, getDomainConfigSize, getEditDomainConfigDiscriminatorBytes, getEditDomainConfigInstruction, getEditDomainConfigInstructionDataCodec, getEditDomainConfigInstructionDataDecoder, getEditDomainConfigInstructionDataEncoder, getEditMemberArgsCodec, getEditMemberArgsDecoder, getEditMemberArgsEncoder, getEditTransactionManagerUrlDiscriminatorBytes, getEditTransactionManagerUrlInstruction, getEditTransactionManagerUrlInstructionAsync, getEditTransactionManagerUrlInstructionDataCodec, getEditTransactionManagerUrlInstructionDataDecoder, getEditTransactionManagerUrlInstructionDataEncoder, getEditUserDelegateDiscriminatorBytes, getEditUserDelegateInstruction, getEditUserDelegateInstructionDataCodec, getEditUserDelegateInstructionDataDecoder, getEditUserDelegateInstructionDataEncoder, getExpectedSignerCodec, getExpectedSignerDecoder, getExpectedSignerEncoder, getExtensionStructCodec, getExtensionStructDecoder, getExtensionStructEncoder, getGlobalCounterAddress, getGlobalCounterCodec, getGlobalCounterDecoder, getGlobalCounterDiscriminatorBytes, getGlobalCounterEncoder, getGlobalCounterSize, getLightCpiSigner, getLightProtocolRpc, getMemberCodec, getMemberDecoder, getMemberEncoder, getMemberKeyCodec, getMemberKeyDecoder, getMemberKeyEncoder, getMultiWalletErrorMessage, getNativeTransferIntentDiscriminatorBytes, getNativeTransferIntentInstruction, getNativeTransferIntentInstructionAsync, getNativeTransferIntentInstructionDataCodec, getNativeTransferIntentInstructionDataDecoder, getNativeTransferIntentInstructionDataEncoder, getOriginIndex, getPackedMerkleContextCodec, getPackedMerkleContextDecoder, getPackedMerkleContextEncoder, getPausableAccountExtensionCodec, getPausableAccountExtensionDecoder, getPausableAccountExtensionEncoder, getPermanentDelegateAccountExtensionCodec, getPermanentDelegateAccountExtensionDecoder, getPermanentDelegateAccountExtensionEncoder, getPermissionsCodec, getPermissionsDecoder, getPermissionsEncoder, getProofArgsCodec, getProofArgsDecoder, getProofArgsEncoder, getRemoveMemberArgsCodec, getRemoveMemberArgsDecoder, getRemoveMemberArgsEncoder, getRentConfigCodec, getRentConfigDecoder, getRentConfigEncoder, getSecp256r1MessageHash, getSecp256r1PubkeyCodec, getSecp256r1PubkeyDecoder, getSecp256r1PubkeyEncoder, getSecp256r1SignatureOffsetsDataDecoder, getSecp256r1SignatureOffsetsDataEncoder, getSecp256r1VerifyArgsCodec, getSecp256r1VerifyArgsDecoder, getSecp256r1VerifyArgsEncoder, getSecp256r1VerifyArgsWithDomainConfigIndexCodec, getSecp256r1VerifyArgsWithDomainConfigIndexDecoder, getSecp256r1VerifyArgsWithDomainConfigIndexEncoder, getSecp256r1VerifyInstruction, getSecp256r1VerifyInstructionDataCodec, getSecp256r1VerifyInstructionDataDecoder, getSecp256r1VerifyInstructionDataEncoder, getSettingsCodec, getSettingsDecoder, getSettingsDiscriminatorBytes, getSettingsEncoder, getSettingsFromIndex, getSettingsIndexWithDelegateInfoCodec, getSettingsIndexWithDelegateInfoDecoder, getSettingsIndexWithDelegateInfoEncoder, getSignedSecp256r1Key, getSolanaRpc, getSolanaRpcEndpoint, getSplInterfacePdaArgsCodec, getSplInterfacePdaArgsDecoder, getSplInterfacePdaArgsEncoder, getTokenMetadataCodec, getTokenMetadataDecoder, getTokenMetadataEncoder, getTokenTransferIntentDiscriminatorBytes, getTokenTransferIntentInstruction, getTokenTransferIntentInstructionAsync, getTokenTransferIntentInstructionDataCodec, getTokenTransferIntentInstructionDataDecoder, getTokenTransferIntentInstructionDataEncoder, getTransactionBufferAddress, getTransactionBufferCloseDiscriminatorBytes, getTransactionBufferCloseInstruction, getTransactionBufferCloseInstructionDataCodec, getTransactionBufferCloseInstructionDataDecoder, getTransactionBufferCloseInstructionDataEncoder, getTransactionBufferCodec, getTransactionBufferCreateDiscriminatorBytes, getTransactionBufferCreateInstruction, getTransactionBufferCreateInstructionDataCodec, getTransactionBufferCreateInstructionDataDecoder, getTransactionBufferCreateInstructionDataEncoder, getTransactionBufferDecoder, getTransactionBufferDiscriminatorBytes, getTransactionBufferEncoder, getTransactionBufferExecuteDiscriminatorBytes, getTransactionBufferExecuteInstruction, getTransactionBufferExecuteInstructionDataCodec, getTransactionBufferExecuteInstructionDataDecoder, getTransactionBufferExecuteInstructionDataEncoder, getTransactionBufferExtendDiscriminatorBytes, getTransactionBufferExtendInstruction, getTransactionBufferExtendInstructionDataCodec, getTransactionBufferExtendInstructionDataDecoder, getTransactionBufferExtendInstructionDataEncoder, getTransactionBufferVoteDiscriminatorBytes, getTransactionBufferVoteInstruction, getTransactionBufferVoteInstructionDataCodec, getTransactionBufferVoteInstructionDataDecoder, getTransactionBufferVoteInstructionDataEncoder, getTransactionExecuteDiscriminatorBytes, getTransactionExecuteInstruction, getTransactionExecuteInstructionDataCodec, getTransactionExecuteInstructionDataDecoder, getTransactionExecuteInstructionDataEncoder, getTransactionExecuteSyncDiscriminatorBytes, getTransactionExecuteSyncInstruction, getTransactionExecuteSyncInstructionDataCodec, getTransactionExecuteSyncInstructionDataDecoder, getTransactionExecuteSyncInstructionDataEncoder, getTransactionMessageAddressTableLookupCodec, getTransactionMessageAddressTableLookupDecoder, getTransactionMessageAddressTableLookupEncoder, getTransactionSyncSignersCodec, getTransactionSyncSignersDecoder, getTransactionSyncSignersEncoder, getTransferFeeAccountExtensionCodec, getTransferFeeAccountExtensionDecoder, getTransferFeeAccountExtensionEncoder, getTransferHookAccountExtensionCodec, getTransferHookAccountExtensionDecoder, getTransferHookAccountExtensionEncoder, getTransportsCodec, getTransportsDecoder, getTransportsEncoder, getUserAddress, getUserCodec, getUserDecoder, getUserDiscriminatorBytes, getUserEncoder, getUserRoleCodec, getUserRoleDecoder, getUserRoleEncoder, getVersionFromDiscriminator, getWalletAddressFromIndex, getWalletAddressFromSettings, identifyMultiWalletAccount, identifyMultiWalletInstruction, initialize, isConfigAction, isExtensionStruct, isMultiWalletError, isTransactionSyncSigners, nativeTransferIntent, parseChangeConfigInstruction, parseCreateDomainConfigInstruction, parseCreateDomainUserAccountInstruction, parseCreateGlobalCounterInstruction, parseCreateUserAccountInstruction, parseCreateWalletInstruction, parseDisableDomainConfigInstruction, parseEditDomainConfigInstruction, parseEditTransactionManagerUrlInstruction, parseEditUserDelegateInstruction, parseNativeTransferIntentInstruction, parseSecp256r1VerifyInstruction, parseTokenTransferIntentInstruction, parseTransactionBufferCloseInstruction, parseTransactionBufferCreateInstruction, parseTransactionBufferExecuteInstruction, parseTransactionBufferExtendInstruction, parseTransactionBufferVoteInstruction, parseTransactionExecuteInstruction, parseTransactionExecuteSyncInstruction, prepareChangeConfigArgs, prepareTransactionBundle, prepareTransactionMessage, prepareTransactionSync, retrieveTransactionManager, serializeConfigActions, tokenTransferIntent, transactionSyncSigners, vaultTransactionMessageDeserialize, vaultTransactionMessageSerialize, voteTransactionBuffer };
|
|
2674
|
+
export { type AddMemberArgs$1 as AddMemberArgs, type AddMemberArgsArgs, AuthenticationContextSchema, type AuthenticationExtensionsClientOutputsJSON, type AuthenticatorAssertionResponseJSON, type Base64URLString$1 as Base64URLString, BaseResponseSchema, CHANGE_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR, CREATE_GLOBAL_COUNTER_DISCRIMINATOR, CREATE_USER_ACCOUNT_DISCRIMINATOR, CREATE_WALLET_DISCRIMINATOR, type ChangeConfigInput, type ChangeConfigInstruction, type ChangeConfigInstructionData, type ChangeConfigInstructionDataArgs, type ChangeConfigInstructionExtraArgs, type CompiledInstruction, type CompiledInstructionArgs, type CompleteMessageRequest, CompleteMessageRequestSchema, type CompleteTransactionRequest, CompleteTransactionRequestSchema, type ConfigAction, type ConfigActionArgs, type ConfigurationArgs, type CreateDomainConfigAsyncInput, type CreateDomainConfigInput, type CreateDomainConfigInstruction, type CreateDomainConfigInstructionData, type CreateDomainConfigInstructionDataArgs, type CreateDomainConfigInstructionExtraArgs, type CreateDomainUserAccountInput, type CreateDomainUserAccountInstruction, type CreateDomainUserAccountInstructionData, type CreateDomainUserAccountInstructionDataArgs, type CreateDomainUserAccountInstructionExtraArgs, type CreateGlobalCounterAsyncInput, type CreateGlobalCounterInput, type CreateGlobalCounterInstruction, type CreateGlobalCounterInstructionData, type CreateGlobalCounterInstructionDataArgs, type CreateGlobalCounterInstructionExtraArgs, type CreateUserAccountAsyncInput, type CreateUserAccountInput, type CreateUserAccountInstruction, type CreateUserAccountInstructionData, type CreateUserAccountInstructionDataArgs, type CreateUserAccountInstructionExtraArgs, type CreateWalletAsyncInput, type CreateWalletInput, type CreateWalletInstruction, type CreateWalletInstructionData, type CreateWalletInstructionDataArgs, type CreateWalletInstructionExtraArgs, DISABLE_DOMAIN_CONFIG_DISCRIMINATOR, DOMAIN_CONFIG_DISCRIMINATOR, type DeviceProfile, DeviceProfileSchema, type DisableDomainConfigInput, type DisableDomainConfigInstruction, type DisableDomainConfigInstructionData, type DisableDomainConfigInstructionDataArgs, type DisableDomainConfigInstructionExtraArgs, type DomainConfig, type DomainConfigArgs, EDIT_DOMAIN_CONFIG_DISCRIMINATOR, EDIT_TRANSACTION_MANAGER_URL_DISCRIMINATOR, EDIT_USER_DELEGATE_DISCRIMINATOR, type EditDomainConfigInput, type EditDomainConfigInstruction, type EditDomainConfigInstructionData, type EditDomainConfigInstructionDataArgs, type EditDomainConfigInstructionExtraArgs, type EditMemberArgs$1 as EditMemberArgs, type EditMemberArgsArgs, type EditTransactionManagerUrlAsyncInput, type EditTransactionManagerUrlInput, type EditTransactionManagerUrlInstruction, type EditTransactionManagerUrlInstructionData, type EditTransactionManagerUrlInstructionDataArgs, type EditTransactionManagerUrlInstructionExtraArgs, type EditUserDelegateInput, type EditUserDelegateInstruction, type EditUserDelegateInstructionData, type EditUserDelegateInstructionDataArgs, type EditUserDelegateInstructionExtraArgs, type ExpectedSigner, type ExpectedSignerArgs, GLOBAL_COUNTER_DISCRIMINATOR, type GlobalCounter, type GlobalCounterArgs, type IKeyType, type IPermission, type IPermissions, KeyType, MULTI_WALLET_ERROR__ALREADY_DELEGATED, MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH, MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING, MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH, MULTI_WALLET_ERROR__DUPLICATE_MEMBER, MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED, MULTI_WALLET_ERROR__EMPTY_MEMBERS, MULTI_WALLET_ERROR__EXPECTED_ADMINISTRATOR_ROLE_MISMATCH, MULTI_WALLET_ERROR__EXPECTED_MESSAGE_HASH_MISMATCH, MULTI_WALLET_ERROR__EXPECTED_TRANSACTION_MANAGER_ROLE_MISMATCH, MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION, MULTI_WALLET_ERROR__INVALID_ACCOUNT, MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX, MULTI_WALLET_ERROR__INVALID_ADMINISTRATOR_CONFIG, MULTI_WALLET_ERROR__INVALID_ARGUMENTS, MULTI_WALLET_ERROR__INVALID_BUFFER, MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT, MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS, MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS, MULTI_WALLET_ERROR__INVALID_PERMANENT_MEMBER_CONFIG, MULTI_WALLET_ERROR__INVALID_SECP256R1_INSTRUCTION, MULTI_WALLET_ERROR__INVALID_SECP256R1_PUBLIC_KEY, MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG, MULTI_WALLET_ERROR__INVALID_SIGNATURE_OFFSETS, MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER, MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT, MULTI_WALLET_ERROR__INVALID_THRESHOLD, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_CONFIG, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MANAGER_PERMISSION, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE, MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG, MULTI_WALLET_ERROR__INVALID_USER_ROLE, MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG, MULTI_WALLET_ERROR__MALFORMED_SIGNED_MESSAGE, MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED, MULTI_WALLET_ERROR__MEMBER_NOT_FOUND, MULTI_WALLET_ERROR__MISSING_ACCOUNT, MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR, MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY, MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE, MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY, MULTI_WALLET_ERROR__NO_SIGNER_FOUND, MULTI_WALLET_ERROR__ONLY_ONE_ADMINISTRATOR_ALLOWED, MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED, MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED, MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS, MULTI_WALLET_ERROR__PAYER_MISMATCH, MULTI_WALLET_ERROR__PERMANENT_MEMBER, MULTI_WALLET_ERROR__PROTECTED_ACCOUNT, MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH, MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH, MULTI_WALLET_ERROR__SIGNATURE_INDEX_OUT_OF_BOUNDS, MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND, MULTI_WALLET_ERROR__TOO_MANY_MEMBERS, MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED, MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED, MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING, MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER, MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY, MULTI_WALLET_ERROR__UNEXPECTED_SIGNER, MULTI_WALLET_PROGRAM_ADDRESS, type Member, type MemberArgs, type MemberKey, type MemberKeyArgs, type MessageAuthenticationResponse, MultiWalletAccount, type MultiWalletError, MultiWalletInstruction, NATIVE_TRANSFER_INTENT_DISCRIMINATOR, type NativeTransferIntentAsyncInput, type NativeTransferIntentInput, type NativeTransferIntentInstruction, type NativeTransferIntentInstructionData, type NativeTransferIntentInstructionDataArgs, type NativeTransferIntentInstructionExtraArgs, type NativeTransferIntentParams, type ParsedChangeConfigInstruction, type ParsedCreateDomainConfigInstruction, type ParsedCreateDomainUserAccountInstruction, type ParsedCreateGlobalCounterInstruction, type ParsedCreateUserAccountInstruction, type ParsedCreateWalletInstruction, type ParsedDisableDomainConfigInstruction, type ParsedEditDomainConfigInstruction, type ParsedEditTransactionManagerUrlInstruction, type ParsedEditUserDelegateInstruction, type ParsedMultiWalletInstruction, type ParsedNativeTransferIntentInstruction, type ParsedSecp256r1VerifyInstruction, type ParsedTokenTransferIntentInstruction, type ParsedTransactionBufferCloseInstruction, type ParsedTransactionBufferCreateInstruction, type ParsedTransactionBufferExecuteInstruction, type ParsedTransactionBufferExtendInstruction, type ParsedTransactionBufferVoteInstruction, type ParsedTransactionExecuteInstruction, type ParsedTransactionExecuteSyncInstruction, Permission, type PermissionArgs, Permissions, type PermissionsArgs, type RemoveMemberArgs$1 as RemoveMemberArgs, type RemoveMemberArgsArgs, SETTINGS_DISCRIMINATOR, Secp256r1Key, type Secp256r1Pubkey, type Secp256r1PubkeyArgs, type Secp256r1SignatureOffsetsDataArgs, type Secp256r1VerifyArgs, type Secp256r1VerifyArgsArgs, type Secp256r1VerifyArgsWithDomainConfigIndex, type Secp256r1VerifyArgsWithDomainConfigIndexArgs, type Secp256r1VerifyInput, type Secp256r1VerifyInstruction, type Secp256r1VerifyInstructionData, type Secp256r1VerifyInstructionDataArgs, type Settings, type SettingsArgs, type SettingsIndexWithDelegateInfo, type SettingsIndexWithDelegateInfoArgs, SignedSecp256r1Key, type StartMessageRequest, StartMessageRequestSchema, type StartTransactionRequest, StartTransactionRequestSchema, TOKEN_TRANSFER_INTENT_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_DISCRIMINATOR, TRANSACTION_BUFFER_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_DISCRIMINATOR, TRANSACTION_EXECUTE_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR, type TokenTransferIntentAsyncInput, type TokenTransferIntentInput, type TokenTransferIntentInstruction, type TokenTransferIntentInstructionData, type TokenTransferIntentInstructionDataArgs, type TokenTransferIntentInstructionExtraArgs, type TokenTransferIntentParams, type TransactionActionType, TransactionActionTypeSchema, type TransactionAuthDetails, type TransactionAuthenticationResponse, type TransactionBuffer, type TransactionBufferArgs, type TransactionBufferCloseInput, type TransactionBufferCloseInstruction, type TransactionBufferCloseInstructionData, type TransactionBufferCloseInstructionDataArgs, type TransactionBufferCloseInstructionExtraArgs, type TransactionBufferCreateInput, type TransactionBufferCreateInstruction, type TransactionBufferCreateInstructionData, type TransactionBufferCreateInstructionDataArgs, type TransactionBufferCreateInstructionExtraArgs, type TransactionBufferExecuteInput, type TransactionBufferExecuteInstruction, type TransactionBufferExecuteInstructionData, type TransactionBufferExecuteInstructionDataArgs, type TransactionBufferExecuteInstructionExtraArgs, type TransactionBufferExtendInput, type TransactionBufferExtendInstruction, type TransactionBufferExtendInstructionData, type TransactionBufferExtendInstructionDataArgs, type TransactionBufferExtendInstructionExtraArgs, type TransactionBufferVoteInput, type TransactionBufferVoteInstruction, type TransactionBufferVoteInstructionData, type TransactionBufferVoteInstructionDataArgs, type TransactionBufferVoteInstructionExtraArgs, type TransactionDetails, TransactionDetailsSchema, type TransactionExecuteInput, type TransactionExecuteInstruction, type TransactionExecuteInstructionData, type TransactionExecuteInstructionDataArgs, type TransactionExecuteInstructionExtraArgs, type TransactionExecuteSyncInput, type TransactionExecuteSyncInstruction, type TransactionExecuteSyncInstructionData, type TransactionExecuteSyncInstructionDataArgs, type TransactionExecuteSyncInstructionExtraArgs, type TransactionManagerApprovalCallbacks, type TransactionManagerWebSocketSignOptions, type TransactionMessageAddressTableLookup, type TransactionMessageAddressTableLookupArgs, type TransactionPayload, TransactionPayloadSchema, type TransactionPayloadWithBase64MessageBytes, TransactionPayloadWithBase64MessageBytesSchema, type TransactionSyncSigners, type TransactionSyncSignersArgs, Transports, type TransportsArgs, USER_DISCRIMINATOR, type User, type UserArgs, type UserInfo, UserInfoSchema, UserRole, type UserRoleArgs, base64URLStringToBuffer, bufferToBase64URLString, changeConfig, closeTransactionBuffer, configAction, convertBase64StringToJWK, convertJWKToBase64String, convertMemberKeyToString, convertPubkeyCompressedToCose, convertPubkeyCoseToCompressed, createClientAuthorizationCompleteRequestChallenge, createClientAuthorizationStartRequestChallenge, createDomainConfig, createDomainUserAccounts, createGlobalCounter, createMessageChallenge, createTransactionBuffer, createTransactionChallenge, createTransactionManagerSigner, createUserAccounts, createWallet, decodeDomainConfig, decodeGlobalCounter, decodeSettings, decodeTransactionBuffer, decodeUser, deserializeConfigActions, disableDomainConfig, editDomainConfig, editTransactionManagerUrl, editUserDelegate, executeTransaction, executeTransactionBuffer, executeTransactionSync, extendTransactionBuffer, fetchAllDomainConfig, fetchAllGlobalCounter, fetchAllMaybeDomainConfig, fetchAllMaybeGlobalCounter, fetchAllMaybeSettings, fetchAllMaybeTransactionBuffer, fetchAllMaybeUser, fetchAllSettings, fetchAllSettingsAccountByMember, fetchAllTransactionBuffer, fetchAllUser, fetchDomainConfig, fetchGlobalCounter, fetchMaybeDomainConfig, fetchMaybeGlobalCounter, fetchMaybeSettings, fetchMaybeTransactionBuffer, fetchMaybeUser, fetchSettings, fetchSignaturesFromTransactionManager, fetchTransactionBuffer, fetchUser, fetchUserAccountByFilters, getAddMemberArgsCodec, getAddMemberArgsDecoder, getAddMemberArgsEncoder, getChangeConfigDiscriminatorBytes, getChangeConfigInstruction, getChangeConfigInstructionDataCodec, getChangeConfigInstructionDataDecoder, getChangeConfigInstructionDataEncoder, getClientAndDeviceHash, getCompiledInstructionCodec, getCompiledInstructionDecoder, getCompiledInstructionEncoder, getConfigActionCodec, getConfigActionDecoder, getConfigActionEncoder, getCreateDomainConfigDiscriminatorBytes, getCreateDomainConfigInstruction, getCreateDomainConfigInstructionAsync, getCreateDomainConfigInstructionDataCodec, getCreateDomainConfigInstructionDataDecoder, getCreateDomainConfigInstructionDataEncoder, getCreateDomainUserAccountDiscriminatorBytes, getCreateDomainUserAccountInstruction, getCreateDomainUserAccountInstructionDataCodec, getCreateDomainUserAccountInstructionDataDecoder, getCreateDomainUserAccountInstructionDataEncoder, getCreateGlobalCounterDiscriminatorBytes, getCreateGlobalCounterInstruction, getCreateGlobalCounterInstructionAsync, getCreateGlobalCounterInstructionDataCodec, getCreateGlobalCounterInstructionDataDecoder, getCreateGlobalCounterInstructionDataEncoder, getCreateUserAccountDiscriminatorBytes, getCreateUserAccountInstruction, getCreateUserAccountInstructionAsync, getCreateUserAccountInstructionDataCodec, getCreateUserAccountInstructionDataDecoder, getCreateUserAccountInstructionDataEncoder, getCreateWalletDiscriminatorBytes, getCreateWalletInstruction, getCreateWalletInstructionAsync, getCreateWalletInstructionDataCodec, getCreateWalletInstructionDataDecoder, getCreateWalletInstructionDataEncoder, getDeviceMessageHash, getDisableDomainConfigDiscriminatorBytes, getDisableDomainConfigInstruction, getDisableDomainConfigInstructionDataCodec, getDisableDomainConfigInstructionDataDecoder, getDisableDomainConfigInstructionDataEncoder, getDomainConfigAddress, getDomainConfigCodec, getDomainConfigDecoder, getDomainConfigDiscriminatorBytes, getDomainConfigEncoder, getDomainConfigSize, getEditDomainConfigDiscriminatorBytes, getEditDomainConfigInstruction, getEditDomainConfigInstructionDataCodec, getEditDomainConfigInstructionDataDecoder, getEditDomainConfigInstructionDataEncoder, getEditMemberArgsCodec, getEditMemberArgsDecoder, getEditMemberArgsEncoder, getEditTransactionManagerUrlDiscriminatorBytes, getEditTransactionManagerUrlInstruction, getEditTransactionManagerUrlInstructionAsync, getEditTransactionManagerUrlInstructionDataCodec, getEditTransactionManagerUrlInstructionDataDecoder, getEditTransactionManagerUrlInstructionDataEncoder, getEditUserDelegateDiscriminatorBytes, getEditUserDelegateInstruction, getEditUserDelegateInstructionDataCodec, getEditUserDelegateInstructionDataDecoder, getEditUserDelegateInstructionDataEncoder, getExpectedSignerCodec, getExpectedSignerDecoder, getExpectedSignerEncoder, getGlobalCounterAddress, getGlobalCounterCodec, getGlobalCounterDecoder, getGlobalCounterDiscriminatorBytes, getGlobalCounterEncoder, getGlobalCounterSize, getMemberCodec, getMemberDecoder, getMemberEncoder, getMemberKeyCodec, getMemberKeyDecoder, getMemberKeyEncoder, getMultiWalletErrorMessage, getNativeTransferIntentDiscriminatorBytes, getNativeTransferIntentInstruction, getNativeTransferIntentInstructionAsync, getNativeTransferIntentInstructionDataCodec, getNativeTransferIntentInstructionDataDecoder, getNativeTransferIntentInstructionDataEncoder, getOriginIndex, getPermissionsCodec, getPermissionsDecoder, getPermissionsEncoder, getRemoveMemberArgsCodec, getRemoveMemberArgsDecoder, getRemoveMemberArgsEncoder, getSecp256r1MessageHash, getSecp256r1PubkeyCodec, getSecp256r1PubkeyDecoder, getSecp256r1PubkeyEncoder, getSecp256r1SignatureOffsetsDataDecoder, getSecp256r1SignatureOffsetsDataEncoder, getSecp256r1VerifyArgsCodec, getSecp256r1VerifyArgsDecoder, getSecp256r1VerifyArgsEncoder, getSecp256r1VerifyArgsWithDomainConfigIndexCodec, getSecp256r1VerifyArgsWithDomainConfigIndexDecoder, getSecp256r1VerifyArgsWithDomainConfigIndexEncoder, getSecp256r1VerifyInstruction, getSecp256r1VerifyInstructionDataCodec, getSecp256r1VerifyInstructionDataDecoder, getSecp256r1VerifyInstructionDataEncoder, getSettingsCodec, getSettingsDecoder, getSettingsDiscriminatorBytes, getSettingsEncoder, getSettingsFromIndex, getSettingsIndexWithDelegateInfoCodec, getSettingsIndexWithDelegateInfoDecoder, getSettingsIndexWithDelegateInfoEncoder, getSignedSecp256r1Key, getSolanaRpc, getSolanaRpcEndpoint, getTokenTransferIntentDiscriminatorBytes, getTokenTransferIntentInstruction, getTokenTransferIntentInstructionAsync, getTokenTransferIntentInstructionDataCodec, getTokenTransferIntentInstructionDataDecoder, getTokenTransferIntentInstructionDataEncoder, getTransactionBufferAddress, getTransactionBufferCloseDiscriminatorBytes, getTransactionBufferCloseInstruction, getTransactionBufferCloseInstructionDataCodec, getTransactionBufferCloseInstructionDataDecoder, getTransactionBufferCloseInstructionDataEncoder, getTransactionBufferCodec, getTransactionBufferCreateDiscriminatorBytes, getTransactionBufferCreateInstruction, getTransactionBufferCreateInstructionDataCodec, getTransactionBufferCreateInstructionDataDecoder, getTransactionBufferCreateInstructionDataEncoder, getTransactionBufferDecoder, getTransactionBufferDiscriminatorBytes, getTransactionBufferEncoder, getTransactionBufferExecuteDiscriminatorBytes, getTransactionBufferExecuteInstruction, getTransactionBufferExecuteInstructionDataCodec, getTransactionBufferExecuteInstructionDataDecoder, getTransactionBufferExecuteInstructionDataEncoder, getTransactionBufferExtendDiscriminatorBytes, getTransactionBufferExtendInstruction, getTransactionBufferExtendInstructionDataCodec, getTransactionBufferExtendInstructionDataDecoder, getTransactionBufferExtendInstructionDataEncoder, getTransactionBufferVoteDiscriminatorBytes, getTransactionBufferVoteInstruction, getTransactionBufferVoteInstructionDataCodec, getTransactionBufferVoteInstructionDataDecoder, getTransactionBufferVoteInstructionDataEncoder, getTransactionExecuteDiscriminatorBytes, getTransactionExecuteInstruction, getTransactionExecuteInstructionDataCodec, getTransactionExecuteInstructionDataDecoder, getTransactionExecuteInstructionDataEncoder, getTransactionExecuteSyncDiscriminatorBytes, getTransactionExecuteSyncInstruction, getTransactionExecuteSyncInstructionDataCodec, getTransactionExecuteSyncInstructionDataDecoder, getTransactionExecuteSyncInstructionDataEncoder, getTransactionMessageAddressTableLookupCodec, getTransactionMessageAddressTableLookupDecoder, getTransactionMessageAddressTableLookupEncoder, getTransactionSyncSignersCodec, getTransactionSyncSignersDecoder, getTransactionSyncSignersEncoder, getTransportsCodec, getTransportsDecoder, getTransportsEncoder, getUserAddress, getUserCodec, getUserDecoder, getUserDiscriminatorBytes, getUserEncoder, getUserRoleCodec, getUserRoleDecoder, getUserRoleEncoder, getWalletAddressFromIndex, getWalletAddressFromSettings, identifyMultiWalletAccount, identifyMultiWalletInstruction, initialize, isConfigAction, isMultiWalletError, isTransactionSyncSigners, nativeTransferIntent, parseChangeConfigInstruction, parseCreateDomainConfigInstruction, parseCreateDomainUserAccountInstruction, parseCreateGlobalCounterInstruction, parseCreateUserAccountInstruction, parseCreateWalletInstruction, parseDisableDomainConfigInstruction, parseEditDomainConfigInstruction, parseEditTransactionManagerUrlInstruction, parseEditUserDelegateInstruction, parseNativeTransferIntentInstruction, parseSecp256r1VerifyInstruction, parseTokenTransferIntentInstruction, parseTransactionBufferCloseInstruction, parseTransactionBufferCreateInstruction, parseTransactionBufferExecuteInstruction, parseTransactionBufferExtendInstruction, parseTransactionBufferVoteInstruction, parseTransactionExecuteInstruction, parseTransactionExecuteSyncInstruction, prepareChangeConfigArgs, prepareTransactionBundle, prepareTransactionMessage, prepareTransactionSync, retrieveTransactionManager, serializeConfigActions, tokenTransferIntent, transactionSyncSigners, vaultTransactionMessageDeserialize, vaultTransactionMessageSerialize, voteTransactionBuffer };
|