@revibase/core 0.6.1 → 0.7.0

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.d.cts CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as gill from 'gill';
2
- import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, Encoder, Decoder, Codec, Option, OptionOrNullable, GetDiscriminatedUnionVariantContent, GetDiscriminatedUnionVariant, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, WritableAccount, WritableSignerAccount, AccountSignerMeta, ReadonlyAccount, TransactionSigner, ReadonlySignerAccount, Slot, AccountInfoBase, Base64EncodedDataResponse, AddressesByLookupTableAddress, CompiledTransactionMessage, CompiledTransactionMessageWithLifetime, AccountRole, Rpc as Rpc$1, SendAndConfirmTransactionWithSignersFunction } from 'gill';
3
- import { CompressedAccount, WithCursor, ParsedTokenAccount, TreeInfo, AccountProofInput, NewAddressProofInput, PackedTreeInfos, ValidityProofWithContext, Rpc } from '@lightprotocol/stateless.js';
2
+ import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, Encoder, Decoder, Codec, Option, OptionOrNullable, GetDiscriminatedUnionVariantContent, GetDiscriminatedUnionVariant, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, WritableAccount, WritableSignerAccount, AccountSignerMeta, ReadonlyAccount, TransactionSigner, ReadonlySignerAccount, AddressesByLookupTableAddress, CompiledTransactionMessage, CompiledTransactionMessageWithLifetime, AccountRole, Rpc as Rpc$1, SendAndConfirmTransactionWithSignersFunction } from 'gill';
4
3
  import { AuthenticationResponseJSON } from '@simplewebauthn/browser';
4
+ import { TreeInfo, AccountProofInput, NewAddressProofInput, PackedTreeInfos, Rpc } from '@lightprotocol/stateless.js';
5
5
  import z from 'zod';
6
- import { PublicKey } from '@solana/web3.js';
7
6
 
8
7
  declare const DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
8
  declare function getDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
@@ -80,16 +79,14 @@ declare function getAdditionalMetadataCodec(): Codec<AdditionalMetadataArgs, Add
80
79
  type AddMemberArgs$1 = {
81
80
  memberKey: MemberKey;
82
81
  permissions: IPermissions;
83
- userArgs: UserReadOnlyOrMutateArgs;
84
82
  };
85
83
  type AddMemberArgsArgs = {
86
84
  memberKey: MemberKeyArgs;
87
85
  permissions: PermissionsArgs;
88
- userArgs: UserReadOnlyOrMutateArgsArgs;
89
86
  };
90
- declare function getAddMemberArgsEncoder(): Encoder<AddMemberArgsArgs>;
91
- declare function getAddMemberArgsDecoder(): Decoder<AddMemberArgs$1>;
92
- declare function getAddMemberArgsCodec(): Codec<AddMemberArgsArgs, AddMemberArgs$1>;
87
+ declare function getAddMemberArgsEncoder(): FixedSizeEncoder<AddMemberArgsArgs>;
88
+ declare function getAddMemberArgsDecoder(): FixedSizeDecoder<AddMemberArgs$1>;
89
+ declare function getAddMemberArgsCodec(): FixedSizeCodec<AddMemberArgsArgs, AddMemberArgs$1>;
93
90
 
94
91
  type CompiledInstruction = {
95
92
  programAddressIndex: number;
@@ -101,32 +98,6 @@ declare function getCompiledInstructionEncoder(): Encoder<CompiledInstructionArg
101
98
  declare function getCompiledInstructionDecoder(): Decoder<CompiledInstruction>;
102
99
  declare function getCompiledInstructionCodec(): Codec<CompiledInstructionArgs, CompiledInstruction>;
103
100
 
104
- type CompressedAccountMeta = {
105
- treeInfo: PackedStateTreeInfo;
106
- address: ReadonlyUint8Array;
107
- outputStateTreeIndex: number;
108
- };
109
- type CompressedAccountMetaArgs = {
110
- treeInfo: PackedStateTreeInfoArgs;
111
- address: ReadonlyUint8Array;
112
- outputStateTreeIndex: number;
113
- };
114
- declare function getCompressedAccountMetaEncoder(): FixedSizeEncoder<CompressedAccountMetaArgs>;
115
- declare function getCompressedAccountMetaDecoder(): FixedSizeDecoder<CompressedAccountMeta>;
116
- declare function getCompressedAccountMetaCodec(): FixedSizeCodec<CompressedAccountMetaArgs, CompressedAccountMeta>;
117
-
118
- type CompressedAccountMetaReadOnly = {
119
- treeInfo: PackedStateTreeInfo;
120
- address: ReadonlyUint8Array;
121
- };
122
- type CompressedAccountMetaReadOnlyArgs = {
123
- treeInfo: PackedStateTreeInfoArgs;
124
- address: ReadonlyUint8Array;
125
- };
126
- declare function getCompressedAccountMetaReadOnlyEncoder(): FixedSizeEncoder<CompressedAccountMetaReadOnlyArgs>;
127
- declare function getCompressedAccountMetaReadOnlyDecoder(): FixedSizeDecoder<CompressedAccountMetaReadOnly>;
128
- declare function getCompressedAccountMetaReadOnlyCodec(): FixedSizeCodec<CompressedAccountMetaReadOnlyArgs, CompressedAccountMetaReadOnly>;
129
-
130
101
  type CompressedOnlyExtension = {
131
102
  delegatedAmount: bigint;
132
103
  withheldTransferFee: bigint;
@@ -151,38 +122,6 @@ declare function getCompressedProofEncoder(): FixedSizeEncoder<CompressedProofAr
151
122
  declare function getCompressedProofDecoder(): FixedSizeDecoder<CompressedProof>;
152
123
  declare function getCompressedProofCodec(): FixedSizeCodec<CompressedProofArgs, CompressedProof>;
153
124
 
154
- type CompressedSettings = {
155
- data: Option<CompressedSettingsData>;
156
- };
157
- type CompressedSettingsArgs = {
158
- data: OptionOrNullable<CompressedSettingsDataArgs>;
159
- };
160
- declare function getCompressedSettingsEncoder(): Encoder<CompressedSettingsArgs>;
161
- declare function getCompressedSettingsDecoder(): Decoder<CompressedSettings>;
162
- declare function getCompressedSettingsCodec(): Codec<CompressedSettingsArgs, CompressedSettings>;
163
-
164
- type CompressedSettingsData = {
165
- index: bigint;
166
- members: Array<Member>;
167
- threshold: number;
168
- multiWalletBump: number;
169
- bump: number;
170
- settingsAddressTreeIndex: number;
171
- latestSlotNumber: bigint;
172
- };
173
- type CompressedSettingsDataArgs = {
174
- index: number | bigint;
175
- members: Array<MemberArgs>;
176
- threshold: number;
177
- multiWalletBump: number;
178
- bump: number;
179
- settingsAddressTreeIndex: number;
180
- latestSlotNumber: number | bigint;
181
- };
182
- declare function getCompressedSettingsDataEncoder(): Encoder<CompressedSettingsDataArgs>;
183
- declare function getCompressedSettingsDataDecoder(): Decoder<CompressedSettingsData>;
184
- declare function getCompressedSettingsDataCodec(): Codec<CompressedSettingsDataArgs, CompressedSettingsData>;
185
-
186
125
  type CompressedTokenArgs = {
187
126
  version: number;
188
127
  rootIndex: number;
@@ -286,22 +225,6 @@ declare function isConfigAction<K extends ConfigAction["__kind"]>(kind: K, value
286
225
  __kind: K;
287
226
  };
288
227
 
289
- type CreateUserAccountArgs = {
290
- member: Address;
291
- role: UserRole;
292
- transactionManagerUrl: Option<string>;
293
- userCreationArgs: UserCreationArgs$2;
294
- };
295
- type CreateUserAccountArgsArgs = {
296
- member: Address;
297
- role: UserRoleArgs;
298
- transactionManagerUrl: OptionOrNullable<string>;
299
- userCreationArgs: UserCreationArgsArgs;
300
- };
301
- declare function getCreateUserAccountArgsEncoder(): Encoder<CreateUserAccountArgsArgs>;
302
- declare function getCreateUserAccountArgsDecoder(): Decoder<CreateUserAccountArgs>;
303
- declare function getCreateUserAccountArgsCodec(): Codec<CreateUserAccountArgsArgs, CreateUserAccountArgs>;
304
-
305
228
  type EditMemberArgs$1 = {
306
229
  memberKey: MemberKey;
307
230
  permissions: IPermissions;
@@ -514,30 +437,18 @@ declare function isExtensionStruct<K extends ExtensionStruct["__kind"]>(kind: K,
514
437
  __kind: K;
515
438
  };
516
439
 
517
- type LinkWalletArgs = {
518
- settingsMutArgs: SettingsMutArgs;
519
- transactionManager: Option<UserReadOnlyArgs>;
520
- };
521
- type LinkWalletArgsArgs = {
522
- settingsMutArgs: SettingsMutArgsArgs;
523
- transactionManager: OptionOrNullable<UserReadOnlyArgsArgs>;
524
- };
525
- declare function getLinkWalletArgsEncoder(): Encoder<LinkWalletArgsArgs>;
526
- declare function getLinkWalletArgsDecoder(): Decoder<LinkWalletArgs>;
527
- declare function getLinkWalletArgsCodec(): Codec<LinkWalletArgsArgs, LinkWalletArgs>;
528
-
529
440
  type Member = {
530
441
  pubkey: MemberKey;
531
442
  role: number;
532
443
  permissions: IPermissions;
533
- userAddressTreeIndex: number;
444
+ padding: number;
534
445
  isDelegate: number;
535
446
  };
536
447
  type MemberArgs = {
537
448
  pubkey: MemberKeyArgs;
538
449
  role: number;
539
450
  permissions: PermissionsArgs;
540
- userAddressTreeIndex: number;
451
+ padding: number;
541
452
  isDelegate: number;
542
453
  };
543
454
  declare function getMemberEncoder(): FixedSizeEncoder<MemberArgs>;
@@ -553,28 +464,6 @@ declare function getMemberKeyEncoder(): FixedSizeEncoder<MemberKeyArgs>;
553
464
  declare function getMemberKeyDecoder(): FixedSizeDecoder<MemberKey>;
554
465
  declare function getMemberKeyCodec(): FixedSizeCodec<MemberKeyArgs, MemberKey>;
555
466
 
556
- type NewAuthorityArgs = {
557
- authorityCreationArgs: UserCreationArgs$2;
558
- compressedProofArgs: ProofArgs;
559
- };
560
- type NewAuthorityArgsArgs = {
561
- authorityCreationArgs: UserCreationArgsArgs;
562
- compressedProofArgs: ProofArgsArgs;
563
- };
564
- declare function getNewAuthorityArgsEncoder(): Encoder<NewAuthorityArgsArgs>;
565
- declare function getNewAuthorityArgsDecoder(): Decoder<NewAuthorityArgs>;
566
- declare function getNewAuthorityArgsCodec(): Codec<NewAuthorityArgsArgs, NewAuthorityArgs>;
567
-
568
- type PackedAddressTreeInfo = {
569
- addressMerkleTreePubkeyIndex: number;
570
- addressQueuePubkeyIndex: number;
571
- rootIndex: number;
572
- };
573
- type PackedAddressTreeInfoArgs = PackedAddressTreeInfo;
574
- declare function getPackedAddressTreeInfoEncoder(): FixedSizeEncoder<PackedAddressTreeInfoArgs>;
575
- declare function getPackedAddressTreeInfoDecoder(): FixedSizeDecoder<PackedAddressTreeInfo>;
576
- declare function getPackedAddressTreeInfoCodec(): FixedSizeCodec<PackedAddressTreeInfoArgs, PackedAddressTreeInfo>;
577
-
578
467
  type PackedMerkleContext = {
579
468
  merkleTreePubkeyIndex: number;
580
469
  queuePubkeyIndex: number;
@@ -586,18 +475,6 @@ declare function getPackedMerkleContextEncoder(): FixedSizeEncoder<PackedMerkleC
586
475
  declare function getPackedMerkleContextDecoder(): FixedSizeDecoder<PackedMerkleContext>;
587
476
  declare function getPackedMerkleContextCodec(): FixedSizeCodec<PackedMerkleContextArgs, PackedMerkleContext>;
588
477
 
589
- type PackedStateTreeInfo = {
590
- rootIndex: number;
591
- proveByIndex: boolean;
592
- merkleTreePubkeyIndex: number;
593
- queuePubkeyIndex: number;
594
- leafIndex: number;
595
- };
596
- type PackedStateTreeInfoArgs = PackedStateTreeInfo;
597
- declare function getPackedStateTreeInfoEncoder(): FixedSizeEncoder<PackedStateTreeInfoArgs>;
598
- declare function getPackedStateTreeInfoDecoder(): FixedSizeDecoder<PackedStateTreeInfo>;
599
- declare function getPackedStateTreeInfoCodec(): FixedSizeCodec<PackedStateTreeInfoArgs, PackedStateTreeInfo>;
600
-
601
478
  type PausableAccountExtension = {};
602
479
  type PausableAccountExtensionArgs = PausableAccountExtension;
603
480
  declare function getPausableAccountExtensionEncoder(): FixedSizeEncoder<PausableAccountExtensionArgs>;
@@ -632,15 +509,13 @@ declare function getProofArgsCodec(): Codec<ProofArgsArgs, ProofArgs>;
632
509
 
633
510
  type RemoveMemberArgs$1 = {
634
511
  memberKey: MemberKey;
635
- userArgs: UserReadOnlyOrMutateArgs;
636
512
  };
637
513
  type RemoveMemberArgsArgs = {
638
514
  memberKey: MemberKeyArgs;
639
- userArgs: UserReadOnlyOrMutateArgsArgs;
640
515
  };
641
- declare function getRemoveMemberArgsEncoder(): Encoder<RemoveMemberArgsArgs>;
642
- declare function getRemoveMemberArgsDecoder(): Decoder<RemoveMemberArgs$1>;
643
- declare function getRemoveMemberArgsCodec(): Codec<RemoveMemberArgsArgs, RemoveMemberArgs$1>;
516
+ declare function getRemoveMemberArgsEncoder(): FixedSizeEncoder<RemoveMemberArgsArgs>;
517
+ declare function getRemoveMemberArgsDecoder(): FixedSizeDecoder<RemoveMemberArgs$1>;
518
+ declare function getRemoveMemberArgsCodec(): FixedSizeCodec<RemoveMemberArgsArgs, RemoveMemberArgs$1>;
644
519
 
645
520
  type RentConfig = {
646
521
  baseRent: number;
@@ -692,55 +567,17 @@ declare function getSecp256r1VerifyArgsWithDomainConfigIndexEncoder(): Encoder<S
692
567
  declare function getSecp256r1VerifyArgsWithDomainConfigIndexDecoder(): Decoder<Secp256r1VerifyArgsWithDomainConfigIndex>;
693
568
  declare function getSecp256r1VerifyArgsWithDomainConfigIndexCodec(): Codec<Secp256r1VerifyArgsWithDomainConfigIndexArgs, Secp256r1VerifyArgsWithDomainConfigIndex>;
694
569
 
695
- type SettingsIndexWithAddress = {
696
- index: bigint;
697
- settingsAddressTreeIndex: number;
698
- };
699
- type SettingsIndexWithAddressArgs = {
700
- index: number | bigint;
701
- settingsAddressTreeIndex: number;
702
- };
703
- declare function getSettingsIndexWithAddressEncoder(): FixedSizeEncoder<SettingsIndexWithAddressArgs>;
704
- declare function getSettingsIndexWithAddressDecoder(): FixedSizeDecoder<SettingsIndexWithAddress>;
705
- declare function getSettingsIndexWithAddressCodec(): FixedSizeCodec<SettingsIndexWithAddressArgs, SettingsIndexWithAddress>;
706
-
707
- type SettingsIndexWithAddressAndDelegateInfo = {
570
+ type SettingsIndexWithDelegateInfo = {
708
571
  index: bigint;
709
- settingsAddressTreeIndex: number;
710
572
  isDelegate: boolean;
711
573
  };
712
- type SettingsIndexWithAddressAndDelegateInfoArgs = {
574
+ type SettingsIndexWithDelegateInfoArgs = {
713
575
  index: number | bigint;
714
- settingsAddressTreeIndex: number;
715
576
  isDelegate: boolean;
716
577
  };
717
- declare function getSettingsIndexWithAddressAndDelegateInfoEncoder(): FixedSizeEncoder<SettingsIndexWithAddressAndDelegateInfoArgs>;
718
- declare function getSettingsIndexWithAddressAndDelegateInfoDecoder(): FixedSizeDecoder<SettingsIndexWithAddressAndDelegateInfo>;
719
- declare function getSettingsIndexWithAddressAndDelegateInfoCodec(): FixedSizeCodec<SettingsIndexWithAddressAndDelegateInfoArgs, SettingsIndexWithAddressAndDelegateInfo>;
720
-
721
- type SettingsMutArgs = {
722
- accountMeta: CompressedAccountMeta;
723
- data: CompressedSettings;
724
- };
725
- type SettingsMutArgsArgs = {
726
- accountMeta: CompressedAccountMetaArgs;
727
- data: CompressedSettingsArgs;
728
- };
729
- declare function getSettingsMutArgsEncoder(): Encoder<SettingsMutArgsArgs>;
730
- declare function getSettingsMutArgsDecoder(): Decoder<SettingsMutArgs>;
731
- declare function getSettingsMutArgsCodec(): Codec<SettingsMutArgsArgs, SettingsMutArgs>;
732
-
733
- type SettingsReadonlyArgs = {
734
- accountMeta: CompressedAccountMetaReadOnly;
735
- data: CompressedSettings;
736
- };
737
- type SettingsReadonlyArgsArgs = {
738
- accountMeta: CompressedAccountMetaReadOnlyArgs;
739
- data: CompressedSettingsArgs;
740
- };
741
- declare function getSettingsReadonlyArgsEncoder(): Encoder<SettingsReadonlyArgsArgs>;
742
- declare function getSettingsReadonlyArgsDecoder(): Decoder<SettingsReadonlyArgs>;
743
- declare function getSettingsReadonlyArgsCodec(): Codec<SettingsReadonlyArgsArgs, SettingsReadonlyArgs>;
578
+ declare function getSettingsIndexWithDelegateInfoEncoder(): FixedSizeEncoder<SettingsIndexWithDelegateInfoArgs>;
579
+ declare function getSettingsIndexWithDelegateInfoDecoder(): FixedSizeDecoder<SettingsIndexWithDelegateInfo>;
580
+ declare function getSettingsIndexWithDelegateInfoCodec(): FixedSizeCodec<SettingsIndexWithDelegateInfoArgs, SettingsIndexWithDelegateInfo>;
744
581
 
745
582
  type SplInterfacePdaArgs = {
746
583
  index: number;
@@ -771,46 +608,6 @@ declare function getTokenMetadataEncoder(): Encoder<TokenMetadataArgs>;
771
608
  declare function getTokenMetadataDecoder(): Decoder<TokenMetadata>;
772
609
  declare function getTokenMetadataCodec(): Codec<TokenMetadataArgs, TokenMetadata>;
773
610
 
774
- type TransactionBufferCreateArgs = {
775
- bufferIndex: number;
776
- preauthorizeExecution: boolean;
777
- bufferExtendHashes: Array<ReadonlyUint8Array>;
778
- finalBufferHash: ReadonlyUint8Array;
779
- finalBufferSize: number;
780
- expectedSigners: Array<ExpectedSigner>;
781
- };
782
- type TransactionBufferCreateArgsArgs = {
783
- bufferIndex: number;
784
- preauthorizeExecution: boolean;
785
- bufferExtendHashes: Array<ReadonlyUint8Array>;
786
- finalBufferHash: ReadonlyUint8Array;
787
- finalBufferSize: number;
788
- expectedSigners: Array<ExpectedSignerArgs>;
789
- };
790
- declare function getTransactionBufferCreateArgsEncoder(): Encoder<TransactionBufferCreateArgsArgs>;
791
- declare function getTransactionBufferCreateArgsDecoder(): Decoder<TransactionBufferCreateArgs>;
792
- declare function getTransactionBufferCreateArgsCodec(): Codec<TransactionBufferCreateArgsArgs, TransactionBufferCreateArgs>;
793
-
794
- type TransactionMessage = {
795
- numSigners: number;
796
- numWritableSigners: number;
797
- numWritableNonSigners: number;
798
- numAccountKeys: number;
799
- instructions: Array<CompiledInstruction>;
800
- addressTableLookups: Array<TransactionMessageAddressTableLookup>;
801
- };
802
- type TransactionMessageArgs = {
803
- numSigners: number;
804
- numWritableSigners: number;
805
- numWritableNonSigners: number;
806
- numAccountKeys: number;
807
- instructions: Array<CompiledInstructionArgs>;
808
- addressTableLookups: Array<TransactionMessageAddressTableLookupArgs>;
809
- };
810
- declare function getTransactionMessageEncoder(): Encoder<TransactionMessageArgs>;
811
- declare function getTransactionMessageDecoder(): Decoder<TransactionMessage>;
812
- declare function getTransactionMessageCodec(): Codec<TransactionMessageArgs, TransactionMessage>;
813
-
814
611
  type TransactionMessageAddressTableLookup = {
815
612
  lookupTableAddressIndex: number;
816
613
  writableIndexes: ReadonlyUint8Array;
@@ -876,89 +673,6 @@ declare function getTransportsEncoder(): FixedSizeEncoder<TransportsArgs>;
876
673
  declare function getTransportsDecoder(): FixedSizeDecoder<Transports>;
877
674
  declare function getTransportsCodec(): FixedSizeCodec<TransportsArgs, Transports>;
878
675
 
879
- type User = {
880
- domainConfig: Option<Address>;
881
- member: MemberKey;
882
- credentialId: Option<ReadonlyUint8Array>;
883
- transports: Option<Array<Transports>>;
884
- wallets: Array<SettingsIndexWithAddressAndDelegateInfo>;
885
- role: UserRole;
886
- transactionManagerUrl: Option<string>;
887
- userAddressTreeIndex: number;
888
- };
889
- type UserArgs = {
890
- domainConfig: OptionOrNullable<Address>;
891
- member: MemberKeyArgs;
892
- credentialId: OptionOrNullable<ReadonlyUint8Array>;
893
- transports: OptionOrNullable<Array<TransportsArgs>>;
894
- wallets: Array<SettingsIndexWithAddressAndDelegateInfoArgs>;
895
- role: UserRoleArgs;
896
- transactionManagerUrl: OptionOrNullable<string>;
897
- userAddressTreeIndex: number;
898
- };
899
- declare function getUserEncoder(): Encoder<UserArgs>;
900
- declare function getUserDecoder(): Decoder<User>;
901
- declare function getUserCodec(): Codec<UserArgs, User>;
902
-
903
- type UserCreationArgs$2 = {
904
- addressTreeInfo: PackedAddressTreeInfo;
905
- outputStateTreeIndex: number;
906
- };
907
- type UserCreationArgsArgs = {
908
- addressTreeInfo: PackedAddressTreeInfoArgs;
909
- outputStateTreeIndex: number;
910
- };
911
- declare function getUserCreationArgsEncoder(): FixedSizeEncoder<UserCreationArgsArgs>;
912
- declare function getUserCreationArgsDecoder(): FixedSizeDecoder<UserCreationArgs$2>;
913
- declare function getUserCreationArgsCodec(): FixedSizeCodec<UserCreationArgsArgs, UserCreationArgs$2>;
914
-
915
- type UserMutArgs = {
916
- accountMeta: CompressedAccountMeta;
917
- data: User;
918
- };
919
- type UserMutArgsArgs = {
920
- accountMeta: CompressedAccountMetaArgs;
921
- data: UserArgs;
922
- };
923
- declare function getUserMutArgsEncoder(): Encoder<UserMutArgsArgs>;
924
- declare function getUserMutArgsDecoder(): Decoder<UserMutArgs>;
925
- declare function getUserMutArgsCodec(): Codec<UserMutArgsArgs, UserMutArgs>;
926
-
927
- type UserReadOnlyArgs = {
928
- accountMeta: CompressedAccountMetaReadOnly;
929
- data: User;
930
- };
931
- type UserReadOnlyArgsArgs = {
932
- accountMeta: CompressedAccountMetaReadOnlyArgs;
933
- data: UserArgs;
934
- };
935
- declare function getUserReadOnlyArgsEncoder(): Encoder<UserReadOnlyArgsArgs>;
936
- declare function getUserReadOnlyArgsDecoder(): Decoder<UserReadOnlyArgs>;
937
- declare function getUserReadOnlyArgsCodec(): Codec<UserReadOnlyArgsArgs, UserReadOnlyArgs>;
938
-
939
- type UserReadOnlyOrMutateArgs = {
940
- __kind: "Read";
941
- fields: readonly [UserReadOnlyArgs];
942
- } | {
943
- __kind: "Mutate";
944
- fields: readonly [UserMutArgs];
945
- };
946
- type UserReadOnlyOrMutateArgsArgs = {
947
- __kind: "Read";
948
- fields: readonly [UserReadOnlyArgsArgs];
949
- } | {
950
- __kind: "Mutate";
951
- fields: readonly [UserMutArgsArgs];
952
- };
953
- declare function getUserReadOnlyOrMutateArgsEncoder(): Encoder<UserReadOnlyOrMutateArgsArgs>;
954
- declare function getUserReadOnlyOrMutateArgsDecoder(): Decoder<UserReadOnlyOrMutateArgs>;
955
- declare function getUserReadOnlyOrMutateArgsCodec(): Codec<UserReadOnlyOrMutateArgsArgs, UserReadOnlyOrMutateArgs>;
956
- declare function userReadOnlyOrMutateArgs(kind: "Read", data: GetDiscriminatedUnionVariantContent<UserReadOnlyOrMutateArgsArgs, "__kind", "Read">["fields"]): GetDiscriminatedUnionVariant<UserReadOnlyOrMutateArgsArgs, "__kind", "Read">;
957
- declare function userReadOnlyOrMutateArgs(kind: "Mutate", data: GetDiscriminatedUnionVariantContent<UserReadOnlyOrMutateArgsArgs, "__kind", "Mutate">["fields"]): GetDiscriminatedUnionVariant<UserReadOnlyOrMutateArgsArgs, "__kind", "Mutate">;
958
- declare function isUserReadOnlyOrMutateArgs<K extends UserReadOnlyOrMutateArgs["__kind"]>(kind: K, value: UserReadOnlyOrMutateArgs): value is UserReadOnlyOrMutateArgs & {
959
- __kind: K;
960
- };
961
-
962
676
  declare enum UserRole {
963
677
  TransactionManager = 0,
964
678
  Administrator = 1,
@@ -979,7 +693,7 @@ type Settings = {
979
693
  threshold: number;
980
694
  multiWalletBump: number;
981
695
  bump: number;
982
- settingsAddressTreeIndex: number;
696
+ padding: number;
983
697
  latestSlotNumber: bigint;
984
698
  };
985
699
  type SettingsArgs = {
@@ -988,7 +702,7 @@ type SettingsArgs = {
988
702
  threshold: number;
989
703
  multiWalletBump: number;
990
704
  bump: number;
991
- settingsAddressTreeIndex: number;
705
+ padding: number;
992
706
  latestSlotNumber: number | bigint;
993
707
  };
994
708
  declare function getSettingsEncoder(): Encoder<SettingsArgs>;
@@ -1050,26 +764,38 @@ declare function fetchMaybeTransactionBuffer<TAddress extends string = string>(r
1050
764
  declare function fetchAllTransactionBuffer(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<TransactionBuffer>[]>;
1051
765
  declare function fetchAllMaybeTransactionBuffer(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<TransactionBuffer>[]>;
1052
766
 
1053
- declare const WHITELISTED_ADDRESS_TREE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1054
- declare function getWhitelistedAddressTreeDiscriminatorBytes(): ReadonlyUint8Array;
1055
- type WhitelistedAddressTree = {
767
+ declare const USER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
768
+ declare function getUserDiscriminatorBytes(): ReadonlyUint8Array;
769
+ type User = {
1056
770
  discriminator: ReadonlyUint8Array;
1057
- whitelistedAddressTrees: Array<Address>;
771
+ domainConfig: Option<Address>;
772
+ member: MemberKey;
773
+ credentialId: Option<ReadonlyUint8Array>;
774
+ transports: Option<Array<Transports>>;
775
+ wallets: Array<SettingsIndexWithDelegateInfo>;
776
+ role: UserRole;
777
+ transactionManagerUrl: Option<string>;
1058
778
  bump: number;
1059
779
  };
1060
- type WhitelistedAddressTreeArgs = {
1061
- whitelistedAddressTrees: Array<Address>;
780
+ type UserArgs = {
781
+ domainConfig: OptionOrNullable<Address>;
782
+ member: MemberKeyArgs;
783
+ credentialId: OptionOrNullable<ReadonlyUint8Array>;
784
+ transports: OptionOrNullable<Array<TransportsArgs>>;
785
+ wallets: Array<SettingsIndexWithDelegateInfoArgs>;
786
+ role: UserRoleArgs;
787
+ transactionManagerUrl: OptionOrNullable<string>;
1062
788
  bump: number;
1063
789
  };
1064
- declare function getWhitelistedAddressTreeEncoder(): Encoder<WhitelistedAddressTreeArgs>;
1065
- declare function getWhitelistedAddressTreeDecoder(): Decoder<WhitelistedAddressTree>;
1066
- declare function getWhitelistedAddressTreeCodec(): Codec<WhitelistedAddressTreeArgs, WhitelistedAddressTree>;
1067
- declare function decodeWhitelistedAddressTree<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<WhitelistedAddressTree, TAddress>;
1068
- declare function decodeWhitelistedAddressTree<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<WhitelistedAddressTree, TAddress>;
1069
- declare function fetchWhitelistedAddressTree<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<WhitelistedAddressTree, TAddress>>;
1070
- declare function fetchMaybeWhitelistedAddressTree<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<WhitelistedAddressTree, TAddress>>;
1071
- declare function fetchAllWhitelistedAddressTree(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<WhitelistedAddressTree>[]>;
1072
- declare function fetchAllMaybeWhitelistedAddressTree(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<WhitelistedAddressTree>[]>;
790
+ declare function getUserEncoder(): Encoder<UserArgs>;
791
+ declare function getUserDecoder(): Decoder<User>;
792
+ declare function getUserCodec(): Codec<UserArgs, User>;
793
+ declare function decodeUser<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<User, TAddress>;
794
+ declare function decodeUser<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<User, TAddress>;
795
+ declare function fetchUser<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<User, TAddress>>;
796
+ declare function fetchMaybeUser<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<User, TAddress>>;
797
+ declare function fetchAllUser(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<User>[]>;
798
+ declare function fetchAllMaybeUser(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<User>[]>;
1073
799
 
1074
800
  declare const MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG = 6000;
1075
801
  declare const MULTI_WALLET_ERROR__INVALID_SECP256R1_INSTRUCTION = 6001;
@@ -1101,64 +827,52 @@ declare const MULTI_WALLET_ERROR__INVALID_ACCOUNT = 6026;
1101
827
  declare const MULTI_WALLET_ERROR__INVALID_USER_ROLE = 6027;
1102
828
  declare const MULTI_WALLET_ERROR__INVALID_ARGUMENTS = 6028;
1103
829
  declare const MULTI_WALLET_ERROR__MISSING_ACCOUNT = 6029;
1104
- declare const MULTI_WALLET_ERROR__MISSING_MUTATION_USER_ARGS = 6030;
1105
- declare const MULTI_WALLET_ERROR__ALREADY_DELEGATED = 6031;
1106
- declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION = 6032;
1107
- declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION = 6033;
1108
- declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION = 6034;
1109
- declare const MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS = 6035;
1110
- declare const MULTI_WALLET_ERROR__UNEXPECTED_SIGNER = 6036;
1111
- declare const MULTI_WALLET_ERROR__NO_SIGNER_FOUND = 6037;
1112
- declare const MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER = 6038;
1113
- declare const MULTI_WALLET_ERROR__INVALID_BUFFER = 6039;
1114
- declare const MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH = 6040;
1115
- declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED = 6041;
1116
- declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH = 6042;
1117
- declare const MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED = 6043;
1118
- declare const MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED = 6044;
1119
- declare const MULTI_WALLET_ERROR__PROTECTED_ACCOUNT = 6045;
1120
- declare const MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED = 6046;
1121
- declare const MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY = 6047;
1122
- declare const MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT = 6048;
1123
- declare const MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND = 6049;
1124
- declare const MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER = 6050;
1125
- declare const MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING = 6051;
1126
- declare const MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING = 6052;
1127
- declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED = 6053;
1128
- declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING = 6054;
1129
- declare const MULTI_WALLET_ERROR__MEMBER_DOES_NOT_BELONG_TO_DOMAIN_CONFIG = 6055;
1130
- declare const MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS = 6056;
1131
- declare const MULTI_WALLET_ERROR__INVALID_ADDRESS_TREE = 6057;
1132
- declare const MULTI_WALLET_ERROR__MISSING_SETTINGS_DATA = 6058;
1133
- declare const MULTI_WALLET_ERROR__HASH_COMPUTATION_FAILED = 6059;
1134
- declare const MULTI_WALLET_ERROR__EMPTY_SLOT_NUMBERS = 6060;
1135
- declare const MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT = 6061;
1136
- declare const MULTI_WALLET_ERROR__MISSING_COMPRESSED_PROOF_ARGS = 6062;
1137
- declare const MULTI_WALLET_ERROR__MISSING_LIGHT_CPI_ACCOUNTS = 6063;
1138
- declare const MULTI_WALLET_ERROR__MEMBER_NOT_FOUND = 6064;
1139
- declare const MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH = 6065;
1140
- declare const MULTI_WALLET_ERROR__PAYER_MISMATCH = 6066;
1141
- declare const MULTI_WALLET_ERROR__MISSING_COMPRESSED_TOKEN_ACCOUNT = 6067;
1142
- declare const MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA = 6068;
1143
- declare const MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR = 6069;
1144
- declare const MULTI_WALLET_ERROR__LIGHT_CPI_ACCOUNT_ERROR = 6070;
1145
- declare const MULTI_WALLET_ERROR__INVALID_TOKEN_SOURCE_TYPE = 6071;
1146
- declare const MULTI_WALLET_ERROR__SOURCE_ACCOUNT_MISMATCH = 6072;
1147
- declare const MULTI_WALLET_ERROR__MEMBER_NOT_FOUND_IN_SETTINGS = 6073;
1148
- declare const MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX = 6074;
1149
- declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH = 6075;
1150
- declare const MULTI_WALLET_ERROR__MISSING_USER_ACCOUNT_ADDRESS = 6076;
1151
- declare const MULTI_WALLET_ERROR__CLOCK_SYSVAR_ACCESS_FAILED = 6077;
1152
- declare const MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY = 6078;
1153
- declare const MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG = 6079;
1154
- declare const MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG = 6080;
1155
- declare const MULTI_WALLET_ERROR__MISSING_DESTINATION_TOKEN_ACCOUNT = 6081;
1156
- declare const MULTI_WALLET_ERROR__MISSING_SOURCE_TOKEN_ACCOUNT = 6082;
1157
- declare const MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE = 6083;
1158
- declare const MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY = 6084;
1159
- declare const MULTI_WALLET_ERROR__MISSING_WHITELISTED_ADDRESS_TREES = 6085;
1160
- declare const MULTI_WALLET_ERROR__DUPLICATE_ADDRESS_TREE = 6086;
1161
- type MultiWalletError = typeof MULTI_WALLET_ERROR__ALREADY_DELEGATED | typeof MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__CLOCK_SYSVAR_ACCESS_FAILED | 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_ADDRESS_TREE | typeof MULTI_WALLET_ERROR__DUPLICATE_MEMBER | typeof MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED | typeof MULTI_WALLET_ERROR__EMPTY_MEMBERS | typeof MULTI_WALLET_ERROR__EMPTY_SLOT_NUMBERS | 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_ADDRESS_TREE | 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_DOES_NOT_BELONG_TO_DOMAIN_CONFIG | typeof MULTI_WALLET_ERROR__MEMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__MEMBER_NOT_FOUND_IN_SETTINGS | 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_MUTATION_USER_ARGS | typeof MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY | typeof MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE | typeof MULTI_WALLET_ERROR__MISSING_SETTINGS_DATA | typeof MULTI_WALLET_ERROR__MISSING_SOURCE_TOKEN_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA | typeof MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY | typeof MULTI_WALLET_ERROR__MISSING_USER_ACCOUNT_ADDRESS | typeof MULTI_WALLET_ERROR__MISSING_WHITELISTED_ADDRESS_TREES | 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__SOURCE_ACCOUNT_MISMATCH | 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;
830
+ declare const MULTI_WALLET_ERROR__ALREADY_DELEGATED = 6030;
831
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION = 6031;
832
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION = 6032;
833
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION = 6033;
834
+ declare const MULTI_WALLET_ERROR__INVALID_NON_DELEGATED_SIGNERS = 6034;
835
+ declare const MULTI_WALLET_ERROR__UNEXPECTED_SIGNER = 6035;
836
+ declare const MULTI_WALLET_ERROR__NO_SIGNER_FOUND = 6036;
837
+ declare const MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER = 6037;
838
+ declare const MULTI_WALLET_ERROR__INVALID_BUFFER = 6038;
839
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH = 6039;
840
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED = 6040;
841
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH = 6041;
842
+ declare const MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED = 6042;
843
+ declare const MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED = 6043;
844
+ declare const MULTI_WALLET_ERROR__PROTECTED_ACCOUNT = 6044;
845
+ declare const MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED = 6045;
846
+ declare const MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY = 6046;
847
+ declare const MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT = 6047;
848
+ declare const MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND = 6048;
849
+ declare const MULTI_WALLET_ERROR__INVALID_SLOT_NUMBER = 6049;
850
+ declare const MULTI_WALLET_ERROR__CREDENTIAL_ID_IS_MISSING = 6050;
851
+ declare const MULTI_WALLET_ERROR__TRANSPORTS_IS_MISSING = 6051;
852
+ declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED = 6052;
853
+ declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING = 6053;
854
+ declare const MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS = 6054;
855
+ declare const MULTI_WALLET_ERROR__HASH_COMPUTATION_FAILED = 6055;
856
+ declare const MULTI_WALLET_ERROR__INVALID_MEMBER_KEY_FORMAT = 6056;
857
+ declare const MULTI_WALLET_ERROR__MISSING_COMPRESSED_PROOF_ARGS = 6057;
858
+ declare const MULTI_WALLET_ERROR__MISSING_LIGHT_CPI_ACCOUNTS = 6058;
859
+ declare const MULTI_WALLET_ERROR__MEMBER_NOT_FOUND = 6059;
860
+ declare const MULTI_WALLET_ERROR__SETTINGS_KEY_MISMATCH = 6060;
861
+ declare const MULTI_WALLET_ERROR__PAYER_MISMATCH = 6061;
862
+ declare const MULTI_WALLET_ERROR__MISSING_COMPRESSED_TOKEN_ACCOUNT = 6062;
863
+ declare const MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA = 6063;
864
+ declare const MULTI_WALLET_ERROR__MISSING_INSTRUCTIONS_SYSVAR = 6064;
865
+ declare const MULTI_WALLET_ERROR__LIGHT_CPI_ACCOUNT_ERROR = 6065;
866
+ declare const MULTI_WALLET_ERROR__INVALID_TOKEN_SOURCE_TYPE = 6066;
867
+ declare const MULTI_WALLET_ERROR__INVALID_ACCOUNT_INDEX = 6067;
868
+ declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_KEY_MISMATCH = 6068;
869
+ declare const MULTI_WALLET_ERROR__UNAUTHORIZED_ADMIN_ONLY = 6069;
870
+ declare const MULTI_WALLET_ERROR__INVALID_USER_TRANSACTION_MANAGER_CONFIG = 6070;
871
+ declare const MULTI_WALLET_ERROR__INVALID_USER_ED25519_CONFIG = 6071;
872
+ declare const MULTI_WALLET_ERROR__MISSING_DESTINATION_TOKEN_ACCOUNT = 6072;
873
+ declare const MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE = 6073;
874
+ declare const MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY = 6074;
875
+ 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;
1162
876
  declare function getMultiWalletErrorMessage(code: MultiWalletError): string;
1163
877
  declare function isMultiWalletError<TProgramErrorCode extends MultiWalletError>(error: unknown, transactionMessage: {
1164
878
  instructions: Record<number, {
@@ -1176,66 +890,48 @@ declare enum MultiWalletAccount {
1176
890
  GlobalCounter = 1,
1177
891
  Settings = 2,
1178
892
  TransactionBuffer = 3,
1179
- WhitelistedAddressTree = 4
893
+ User = 4
1180
894
  }
1181
895
  declare function identifyMultiWalletAccount(account: {
1182
896
  data: ReadonlyUint8Array;
1183
897
  } | ReadonlyUint8Array): MultiWalletAccount;
1184
898
  declare enum MultiWalletInstruction {
1185
- AddWhitelistedAddressTrees = 0,
1186
- ChangeConfig = 1,
1187
- ChangeConfigCompressed = 2,
1188
- CreateCompressedWallet = 3,
1189
- CreateDomainConfig = 4,
1190
- CreateDomainUserAccount = 5,
1191
- CreateGlobalCounter = 6,
1192
- CreateUserAccounts = 7,
1193
- DecompressSettingsAccount = 8,
1194
- DisableDomainConfig = 9,
1195
- EditDomainConfig = 10,
1196
- EditTransactionManagerUrl = 11,
1197
- EditUserDelegate = 12,
1198
- NativeTransferIntent = 13,
1199
- NativeTransferIntentCompressed = 14,
1200
- TokenTransferIntent = 15,
1201
- TokenTransferIntentCompressed = 16,
1202
- TransactionBufferClose = 17,
1203
- TransactionBufferCloseCompressed = 18,
1204
- TransactionBufferCreate = 19,
1205
- TransactionBufferCreateCompressed = 20,
1206
- TransactionBufferExecute = 21,
1207
- TransactionBufferExecuteCompressed = 22,
1208
- TransactionBufferExtend = 23,
1209
- TransactionBufferExtendCompressed = 24,
1210
- TransactionBufferVote = 25,
1211
- TransactionBufferVoteCompressed = 26,
1212
- TransactionExecute = 27,
1213
- TransactionExecuteCompressed = 28,
1214
- TransactionExecuteSync = 29,
1215
- TransactionExecuteSyncCompressed = 30
899
+ ChangeConfig = 0,
900
+ CreateDomainConfig = 1,
901
+ CreateDomainUserAccount = 2,
902
+ CreateGlobalCounter = 3,
903
+ CreateUserAccount = 4,
904
+ CreateWallet = 5,
905
+ DisableDomainConfig = 6,
906
+ EditDomainConfig = 7,
907
+ EditTransactionManagerUrl = 8,
908
+ EditUserDelegate = 9,
909
+ NativeTransferIntent = 10,
910
+ TokenTransferIntent = 11,
911
+ TransactionBufferClose = 12,
912
+ TransactionBufferCreate = 13,
913
+ TransactionBufferExecute = 14,
914
+ TransactionBufferExtend = 15,
915
+ TransactionBufferVote = 16,
916
+ TransactionExecute = 17,
917
+ TransactionExecuteSync = 18
1216
918
  }
1217
919
  declare function identifyMultiWalletInstruction(instruction: {
1218
920
  data: ReadonlyUint8Array;
1219
921
  } | ReadonlyUint8Array): MultiWalletInstruction;
1220
922
  type ParsedMultiWalletInstruction<TProgram extends string = "reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT"> = ({
1221
- instructionType: MultiWalletInstruction.AddWhitelistedAddressTrees;
1222
- } & ParsedAddWhitelistedAddressTreesInstruction<TProgram>) | ({
1223
923
  instructionType: MultiWalletInstruction.ChangeConfig;
1224
924
  } & ParsedChangeConfigInstruction<TProgram>) | ({
1225
- instructionType: MultiWalletInstruction.ChangeConfigCompressed;
1226
- } & ParsedChangeConfigCompressedInstruction<TProgram>) | ({
1227
- instructionType: MultiWalletInstruction.CreateCompressedWallet;
1228
- } & ParsedCreateCompressedWalletInstruction<TProgram>) | ({
1229
925
  instructionType: MultiWalletInstruction.CreateDomainConfig;
1230
926
  } & ParsedCreateDomainConfigInstruction<TProgram>) | ({
1231
927
  instructionType: MultiWalletInstruction.CreateDomainUserAccount;
1232
928
  } & ParsedCreateDomainUserAccountInstruction<TProgram>) | ({
1233
929
  instructionType: MultiWalletInstruction.CreateGlobalCounter;
1234
930
  } & ParsedCreateGlobalCounterInstruction<TProgram>) | ({
1235
- instructionType: MultiWalletInstruction.CreateUserAccounts;
1236
- } & ParsedCreateUserAccountsInstruction<TProgram>) | ({
1237
- instructionType: MultiWalletInstruction.DecompressSettingsAccount;
1238
- } & ParsedDecompressSettingsAccountInstruction<TProgram>) | ({
931
+ instructionType: MultiWalletInstruction.CreateUserAccount;
932
+ } & ParsedCreateUserAccountInstruction<TProgram>) | ({
933
+ instructionType: MultiWalletInstruction.CreateWallet;
934
+ } & ParsedCreateWalletInstruction<TProgram>) | ({
1239
935
  instructionType: MultiWalletInstruction.DisableDomainConfig;
1240
936
  } & ParsedDisableDomainConfigInstruction<TProgram>) | ({
1241
937
  instructionType: MultiWalletInstruction.EditDomainConfig;
@@ -1246,95 +942,22 @@ type ParsedMultiWalletInstruction<TProgram extends string = "reviR1xysEChySVSWGa
1246
942
  } & ParsedEditUserDelegateInstruction<TProgram>) | ({
1247
943
  instructionType: MultiWalletInstruction.NativeTransferIntent;
1248
944
  } & ParsedNativeTransferIntentInstruction<TProgram>) | ({
1249
- instructionType: MultiWalletInstruction.NativeTransferIntentCompressed;
1250
- } & ParsedNativeTransferIntentCompressedInstruction<TProgram>) | ({
1251
945
  instructionType: MultiWalletInstruction.TokenTransferIntent;
1252
946
  } & ParsedTokenTransferIntentInstruction<TProgram>) | ({
1253
- instructionType: MultiWalletInstruction.TokenTransferIntentCompressed;
1254
- } & ParsedTokenTransferIntentCompressedInstruction<TProgram>) | ({
1255
947
  instructionType: MultiWalletInstruction.TransactionBufferClose;
1256
948
  } & ParsedTransactionBufferCloseInstruction<TProgram>) | ({
1257
- instructionType: MultiWalletInstruction.TransactionBufferCloseCompressed;
1258
- } & ParsedTransactionBufferCloseCompressedInstruction<TProgram>) | ({
1259
949
  instructionType: MultiWalletInstruction.TransactionBufferCreate;
1260
950
  } & ParsedTransactionBufferCreateInstruction<TProgram>) | ({
1261
- instructionType: MultiWalletInstruction.TransactionBufferCreateCompressed;
1262
- } & ParsedTransactionBufferCreateCompressedInstruction<TProgram>) | ({
1263
951
  instructionType: MultiWalletInstruction.TransactionBufferExecute;
1264
952
  } & ParsedTransactionBufferExecuteInstruction<TProgram>) | ({
1265
- instructionType: MultiWalletInstruction.TransactionBufferExecuteCompressed;
1266
- } & ParsedTransactionBufferExecuteCompressedInstruction<TProgram>) | ({
1267
953
  instructionType: MultiWalletInstruction.TransactionBufferExtend;
1268
954
  } & ParsedTransactionBufferExtendInstruction<TProgram>) | ({
1269
- instructionType: MultiWalletInstruction.TransactionBufferExtendCompressed;
1270
- } & ParsedTransactionBufferExtendCompressedInstruction<TProgram>) | ({
1271
955
  instructionType: MultiWalletInstruction.TransactionBufferVote;
1272
956
  } & ParsedTransactionBufferVoteInstruction<TProgram>) | ({
1273
- instructionType: MultiWalletInstruction.TransactionBufferVoteCompressed;
1274
- } & ParsedTransactionBufferVoteCompressedInstruction<TProgram>) | ({
1275
957
  instructionType: MultiWalletInstruction.TransactionExecute;
1276
958
  } & ParsedTransactionExecuteInstruction<TProgram>) | ({
1277
- instructionType: MultiWalletInstruction.TransactionExecuteCompressed;
1278
- } & ParsedTransactionExecuteCompressedInstruction<TProgram>) | ({
1279
959
  instructionType: MultiWalletInstruction.TransactionExecuteSync;
1280
- } & ParsedTransactionExecuteSyncInstruction<TProgram>) | ({
1281
- instructionType: MultiWalletInstruction.TransactionExecuteSyncCompressed;
1282
- } & ParsedTransactionExecuteSyncCompressedInstruction<TProgram>);
1283
-
1284
- declare const ADD_WHITELISTED_ADDRESS_TREES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1285
- declare function getAddWhitelistedAddressTreesDiscriminatorBytes(): ReadonlyUint8Array;
1286
- type AddWhitelistedAddressTreesInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountWhitelistedAddressTrees 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<[
1287
- TAccountWhitelistedAddressTrees extends string ? WritableAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1288
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1289
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1290
- ...TRemainingAccounts
1291
- ]>;
1292
- type AddWhitelistedAddressTreesInstructionData = {
1293
- discriminator: ReadonlyUint8Array;
1294
- addressTree: Address;
1295
- };
1296
- type AddWhitelistedAddressTreesInstructionDataArgs = {
1297
- addressTree: Address;
1298
- };
1299
- declare function getAddWhitelistedAddressTreesInstructionDataEncoder(): FixedSizeEncoder<AddWhitelistedAddressTreesInstructionDataArgs>;
1300
- declare function getAddWhitelistedAddressTreesInstructionDataDecoder(): FixedSizeDecoder<AddWhitelistedAddressTreesInstructionData>;
1301
- declare function getAddWhitelistedAddressTreesInstructionDataCodec(): FixedSizeCodec<AddWhitelistedAddressTreesInstructionDataArgs, AddWhitelistedAddressTreesInstructionData>;
1302
- type AddWhitelistedAddressTreesInstructionExtraArgs = {
1303
- remainingAccounts: Array<{
1304
- address: Address;
1305
- role: number;
1306
- }>;
1307
- };
1308
- type AddWhitelistedAddressTreesAsyncInput<TAccountWhitelistedAddressTrees extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1309
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1310
- payer: TransactionSigner<TAccountPayer>;
1311
- systemProgram?: Address<TAccountSystemProgram>;
1312
- addressTree: AddWhitelistedAddressTreesInstructionDataArgs["addressTree"];
1313
- remainingAccounts: AddWhitelistedAddressTreesInstructionExtraArgs["remainingAccounts"];
1314
- };
1315
- declare function getAddWhitelistedAddressTreesInstructionAsync<TAccountWhitelistedAddressTrees extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: AddWhitelistedAddressTreesAsyncInput<TAccountWhitelistedAddressTrees, TAccountPayer, TAccountSystemProgram>, config?: {
1316
- programAddress?: TProgramAddress;
1317
- }): Promise<AddWhitelistedAddressTreesInstruction<TProgramAddress, TAccountWhitelistedAddressTrees, TAccountPayer, TAccountSystemProgram>>;
1318
- type AddWhitelistedAddressTreesInput<TAccountWhitelistedAddressTrees extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1319
- whitelistedAddressTrees: Address<TAccountWhitelistedAddressTrees>;
1320
- payer: TransactionSigner<TAccountPayer>;
1321
- systemProgram?: Address<TAccountSystemProgram>;
1322
- addressTree: AddWhitelistedAddressTreesInstructionDataArgs["addressTree"];
1323
- remainingAccounts: AddWhitelistedAddressTreesInstructionExtraArgs["remainingAccounts"];
1324
- };
1325
- declare function getAddWhitelistedAddressTreesInstruction<TAccountWhitelistedAddressTrees extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: AddWhitelistedAddressTreesInput<TAccountWhitelistedAddressTrees, TAccountPayer, TAccountSystemProgram>, config?: {
1326
- programAddress?: TProgramAddress;
1327
- }): AddWhitelistedAddressTreesInstruction<TProgramAddress, TAccountWhitelistedAddressTrees, TAccountPayer, TAccountSystemProgram>;
1328
- type ParsedAddWhitelistedAddressTreesInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1329
- programAddress: Address<TProgram>;
1330
- accounts: {
1331
- whitelistedAddressTrees: TAccountMetas[0];
1332
- payer: TAccountMetas[1];
1333
- systemProgram: TAccountMetas[2];
1334
- };
1335
- data: AddWhitelistedAddressTreesInstructionData;
1336
- };
1337
- declare function parseAddWhitelistedAddressTreesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddWhitelistedAddressTreesInstruction<TProgram, TAccountMetas>;
960
+ } & ParsedTransactionExecuteSyncInstruction<TProgram>);
1338
961
 
1339
962
  declare const CHANGE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1340
963
  declare function getChangeConfigDiscriminatorBytes(): ReadonlyUint8Array;
@@ -1350,12 +973,10 @@ type ChangeConfigInstructionData = {
1350
973
  discriminator: ReadonlyUint8Array;
1351
974
  configActions: Array<ConfigAction>;
1352
975
  signers: Array<TransactionSyncSigners>;
1353
- compressedProofArgs: Option<ProofArgs>;
1354
976
  };
1355
977
  type ChangeConfigInstructionDataArgs = {
1356
978
  configActions: Array<ConfigActionArgs>;
1357
979
  signers: Array<TransactionSyncSignersArgs>;
1358
- compressedProofArgs: OptionOrNullable<ProofArgsArgs>;
1359
980
  };
1360
981
  declare function getChangeConfigInstructionDataEncoder(): Encoder<ChangeConfigInstructionDataArgs>;
1361
982
  declare function getChangeConfigInstructionDataDecoder(): Decoder<ChangeConfigInstructionData>;
@@ -1374,7 +995,6 @@ type ChangeConfigInput<TAccountSettings extends string = string, TAccountPayer e
1374
995
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1375
996
  configActions: ChangeConfigInstructionDataArgs["configActions"];
1376
997
  signers: ChangeConfigInstructionDataArgs["signers"];
1377
- compressedProofArgs: ChangeConfigInstructionDataArgs["compressedProofArgs"];
1378
998
  remainingAccounts: ChangeConfigInstructionExtraArgs["remainingAccounts"];
1379
999
  };
1380
1000
  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?: {
@@ -1393,161 +1013,24 @@ type ParsedChangeConfigInstruction<TProgram extends string = typeof MULTI_WALLET
1393
1013
  };
1394
1014
  declare function parseChangeConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeConfigInstruction<TProgram, TAccountMetas>;
1395
1015
 
1396
- declare const CHANGE_CONFIG_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1397
- declare function getChangeConfigCompressedDiscriminatorBytes(): ReadonlyUint8Array;
1398
- type ChangeConfigCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer 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<[
1399
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1400
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1401
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1402
- ...TRemainingAccounts
1403
- ]>;
1404
- type ChangeConfigCompressedInstructionData = {
1405
- discriminator: ReadonlyUint8Array;
1406
- configActions: Array<ConfigAction>;
1407
- signers: Array<TransactionSyncSigners>;
1408
- settingsMutArgs: SettingsMutArgs;
1409
- compressedProofArgs: ProofArgs;
1410
- };
1411
- type ChangeConfigCompressedInstructionDataArgs = {
1412
- configActions: Array<ConfigActionArgs>;
1413
- signers: Array<TransactionSyncSignersArgs>;
1414
- settingsMutArgs: SettingsMutArgsArgs;
1415
- compressedProofArgs: ProofArgsArgs;
1416
- };
1417
- declare function getChangeConfigCompressedInstructionDataEncoder(): Encoder<ChangeConfigCompressedInstructionDataArgs>;
1418
- declare function getChangeConfigCompressedInstructionDataDecoder(): Decoder<ChangeConfigCompressedInstructionData>;
1419
- declare function getChangeConfigCompressedInstructionDataCodec(): Codec<ChangeConfigCompressedInstructionDataArgs, ChangeConfigCompressedInstructionData>;
1420
- type ChangeConfigCompressedInstructionExtraArgs = {
1421
- remainingAccounts: Array<{
1422
- address: Address;
1423
- role: number;
1424
- }>;
1425
- };
1426
- type ChangeConfigCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
1427
- payer: TransactionSigner<TAccountPayer>;
1428
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1429
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1430
- configActions: ChangeConfigCompressedInstructionDataArgs["configActions"];
1431
- signers: ChangeConfigCompressedInstructionDataArgs["signers"];
1432
- settingsMutArgs: ChangeConfigCompressedInstructionDataArgs["settingsMutArgs"];
1433
- compressedProofArgs: ChangeConfigCompressedInstructionDataArgs["compressedProofArgs"];
1434
- remainingAccounts: ChangeConfigCompressedInstructionExtraArgs["remainingAccounts"];
1435
- };
1436
- declare function getChangeConfigCompressedInstruction<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: ChangeConfigCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
1437
- programAddress?: TProgramAddress;
1438
- }): ChangeConfigCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
1439
- type ParsedChangeConfigCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1440
- programAddress: Address<TProgram>;
1441
- accounts: {
1442
- payer: TAccountMetas[0];
1443
- slotHashSysvar?: TAccountMetas[1] | undefined;
1444
- instructionsSysvar: TAccountMetas[2];
1445
- };
1446
- data: ChangeConfigCompressedInstructionData;
1447
- };
1448
- declare function parseChangeConfigCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeConfigCompressedInstruction<TProgram, TAccountMetas>;
1449
-
1450
- declare const CREATE_COMPRESSED_WALLET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1451
- declare function getCreateCompressedWalletDiscriminatorBytes(): ReadonlyUint8Array;
1452
- type CreateCompressedWalletInstruction<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, TAccountWhitelistedAddressTrees extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1453
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1454
- TAccountInitialMember extends string ? ReadonlySignerAccount<TAccountInitialMember> & AccountSignerMeta<TAccountInitialMember> : TAccountInitialMember,
1455
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1456
- TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
1457
- TAccountWhitelistedAddressTrees extends string ? ReadonlyAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1458
- ...TRemainingAccounts
1459
- ]>;
1460
- type CreateCompressedWalletInstructionData = {
1461
- discriminator: ReadonlyUint8Array;
1462
- compressedProofArgs: ProofArgs;
1463
- addressTreeInfo: PackedAddressTreeInfo;
1464
- outputStateTreeIndex: number;
1465
- userArgs: UserReadOnlyOrMutateArgs;
1466
- settingsIndex: bigint;
1467
- };
1468
- type CreateCompressedWalletInstructionDataArgs = {
1469
- compressedProofArgs: ProofArgsArgs;
1470
- addressTreeInfo: PackedAddressTreeInfoArgs;
1471
- outputStateTreeIndex: number;
1472
- userArgs: UserReadOnlyOrMutateArgsArgs;
1473
- settingsIndex: number | bigint;
1474
- };
1475
- declare function getCreateCompressedWalletInstructionDataEncoder(): Encoder<CreateCompressedWalletInstructionDataArgs>;
1476
- declare function getCreateCompressedWalletInstructionDataDecoder(): Decoder<CreateCompressedWalletInstructionData>;
1477
- declare function getCreateCompressedWalletInstructionDataCodec(): Codec<CreateCompressedWalletInstructionDataArgs, CreateCompressedWalletInstructionData>;
1478
- type CreateCompressedWalletInstructionExtraArgs = {
1479
- remainingAccounts: Array<{
1480
- address: Address;
1481
- role: number;
1482
- }>;
1483
- };
1484
- type CreateCompressedWalletAsyncInput<TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountGlobalCounter extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1485
- payer: TransactionSigner<TAccountPayer>;
1486
- initialMember: TransactionSigner<TAccountInitialMember>;
1487
- systemProgram?: Address<TAccountSystemProgram>;
1488
- globalCounter?: Address<TAccountGlobalCounter>;
1489
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1490
- compressedProofArgs: CreateCompressedWalletInstructionDataArgs["compressedProofArgs"];
1491
- addressTreeInfo: CreateCompressedWalletInstructionDataArgs["addressTreeInfo"];
1492
- outputStateTreeIndex: CreateCompressedWalletInstructionDataArgs["outputStateTreeIndex"];
1493
- userArgs: CreateCompressedWalletInstructionDataArgs["userArgs"];
1494
- settingsIndex: CreateCompressedWalletInstructionDataArgs["settingsIndex"];
1495
- remainingAccounts: CreateCompressedWalletInstructionExtraArgs["remainingAccounts"];
1496
- };
1497
- declare function getCreateCompressedWalletInstructionAsync<TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountGlobalCounter extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateCompressedWalletAsyncInput<TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountWhitelistedAddressTrees>, config?: {
1498
- programAddress?: TProgramAddress;
1499
- }): Promise<CreateCompressedWalletInstruction<TProgramAddress, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountWhitelistedAddressTrees>>;
1500
- type CreateCompressedWalletInput<TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountGlobalCounter extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1501
- payer: TransactionSigner<TAccountPayer>;
1502
- initialMember: TransactionSigner<TAccountInitialMember>;
1503
- systemProgram?: Address<TAccountSystemProgram>;
1504
- globalCounter: Address<TAccountGlobalCounter>;
1505
- whitelistedAddressTrees: Address<TAccountWhitelistedAddressTrees>;
1506
- compressedProofArgs: CreateCompressedWalletInstructionDataArgs["compressedProofArgs"];
1507
- addressTreeInfo: CreateCompressedWalletInstructionDataArgs["addressTreeInfo"];
1508
- outputStateTreeIndex: CreateCompressedWalletInstructionDataArgs["outputStateTreeIndex"];
1509
- userArgs: CreateCompressedWalletInstructionDataArgs["userArgs"];
1510
- settingsIndex: CreateCompressedWalletInstructionDataArgs["settingsIndex"];
1511
- remainingAccounts: CreateCompressedWalletInstructionExtraArgs["remainingAccounts"];
1512
- };
1513
- declare function getCreateCompressedWalletInstruction<TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountGlobalCounter extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateCompressedWalletInput<TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountWhitelistedAddressTrees>, config?: {
1514
- programAddress?: TProgramAddress;
1515
- }): CreateCompressedWalletInstruction<TProgramAddress, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountWhitelistedAddressTrees>;
1516
- type ParsedCreateCompressedWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1517
- programAddress: Address<TProgram>;
1518
- accounts: {
1519
- payer: TAccountMetas[0];
1520
- initialMember: TAccountMetas[1];
1521
- systemProgram: TAccountMetas[2];
1522
- globalCounter: TAccountMetas[3];
1523
- whitelistedAddressTrees: TAccountMetas[4];
1524
- };
1525
- data: CreateCompressedWalletInstructionData;
1526
- };
1527
- declare function parseCreateCompressedWalletInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateCompressedWalletInstruction<TProgram, TAccountMetas>;
1528
-
1529
1016
  declare const CREATE_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1530
1017
  declare function getCreateDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
1531
- 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", TAccountWhitelistedAddressTrees extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1018
+ 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<[
1532
1019
  TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
1533
1020
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1534
1021
  TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1535
1022
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1536
- TAccountWhitelistedAddressTrees extends string ? ReadonlyAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1023
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
1537
1024
  ...TRemainingAccounts
1538
1025
  ]>;
1539
1026
  type CreateDomainConfigInstructionData = {
1540
1027
  discriminator: ReadonlyUint8Array;
1541
1028
  rpId: string;
1542
1029
  origins: Array<string>;
1543
- authorityCreationArgs: UserCreationArgs$2;
1544
- compressedProofArgs: ProofArgs;
1545
1030
  };
1546
1031
  type CreateDomainConfigInstructionDataArgs = {
1547
1032
  rpId: string;
1548
1033
  origins: Array<string>;
1549
- authorityCreationArgs: UserCreationArgsArgs;
1550
- compressedProofArgs: ProofArgsArgs;
1551
1034
  };
1552
1035
  declare function getCreateDomainConfigInstructionDataEncoder(): Encoder<CreateDomainConfigInstructionDataArgs>;
1553
1036
  declare function getCreateDomainConfigInstructionDataDecoder(): Decoder<CreateDomainConfigInstructionData>;
@@ -1558,36 +1041,32 @@ type CreateDomainConfigInstructionExtraArgs = {
1558
1041
  role: number;
1559
1042
  }>;
1560
1043
  };
1561
- type CreateDomainConfigAsyncInput<TAccountDomainConfig extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1044
+ type CreateDomainConfigAsyncInput<TAccountDomainConfig extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountUserAccount extends string = string> = {
1562
1045
  domainConfig: Address<TAccountDomainConfig>;
1563
1046
  payer: TransactionSigner<TAccountPayer>;
1564
1047
  authority: TransactionSigner<TAccountAuthority>;
1565
1048
  systemProgram?: Address<TAccountSystemProgram>;
1566
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1049
+ userAccount?: Address<TAccountUserAccount>;
1567
1050
  rpId: CreateDomainConfigInstructionDataArgs["rpId"];
1568
1051
  origins: CreateDomainConfigInstructionDataArgs["origins"];
1569
- authorityCreationArgs: CreateDomainConfigInstructionDataArgs["authorityCreationArgs"];
1570
- compressedProofArgs: CreateDomainConfigInstructionDataArgs["compressedProofArgs"];
1571
1052
  remainingAccounts: CreateDomainConfigInstructionExtraArgs["remainingAccounts"];
1572
1053
  };
1573
- declare function getCreateDomainConfigInstructionAsync<TAccountDomainConfig extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainConfigAsyncInput<TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountWhitelistedAddressTrees>, config?: {
1054
+ 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?: {
1574
1055
  programAddress?: TProgramAddress;
1575
- }): Promise<CreateDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountWhitelistedAddressTrees>>;
1576
- type CreateDomainConfigInput<TAccountDomainConfig extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1056
+ }): Promise<CreateDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountUserAccount>>;
1057
+ type CreateDomainConfigInput<TAccountDomainConfig extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountUserAccount extends string = string> = {
1577
1058
  domainConfig: Address<TAccountDomainConfig>;
1578
1059
  payer: TransactionSigner<TAccountPayer>;
1579
1060
  authority: TransactionSigner<TAccountAuthority>;
1580
1061
  systemProgram?: Address<TAccountSystemProgram>;
1581
- whitelistedAddressTrees: Address<TAccountWhitelistedAddressTrees>;
1062
+ userAccount: Address<TAccountUserAccount>;
1582
1063
  rpId: CreateDomainConfigInstructionDataArgs["rpId"];
1583
1064
  origins: CreateDomainConfigInstructionDataArgs["origins"];
1584
- authorityCreationArgs: CreateDomainConfigInstructionDataArgs["authorityCreationArgs"];
1585
- compressedProofArgs: CreateDomainConfigInstructionDataArgs["compressedProofArgs"];
1586
1065
  remainingAccounts: CreateDomainConfigInstructionExtraArgs["remainingAccounts"];
1587
1066
  };
1588
- declare function getCreateDomainConfigInstruction<TAccountDomainConfig extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainConfigInput<TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountWhitelistedAddressTrees>, config?: {
1067
+ 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?: {
1589
1068
  programAddress?: TProgramAddress;
1590
- }): CreateDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountWhitelistedAddressTrees>;
1069
+ }): CreateDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountUserAccount>;
1591
1070
  type ParsedCreateDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1592
1071
  programAddress: Address<TProgram>;
1593
1072
  accounts: {
@@ -1595,7 +1074,7 @@ type ParsedCreateDomainConfigInstruction<TProgram extends string = typeof MULTI_
1595
1074
  payer: TAccountMetas[1];
1596
1075
  authority: TAccountMetas[2];
1597
1076
  systemProgram: TAccountMetas[3];
1598
- whitelistedAddressTrees: TAccountMetas[4];
1077
+ userAccount: TAccountMetas[4];
1599
1078
  };
1600
1079
  data: CreateDomainConfigInstructionData;
1601
1080
  };
@@ -1603,31 +1082,28 @@ declare function parseCreateDomainConfigInstruction<TProgram extends string, TAc
1603
1082
 
1604
1083
  declare const CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1605
1084
  declare function getCreateDomainUserAccountDiscriminatorBytes(): ReadonlyUint8Array;
1606
- 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, TAccountWhitelistedAddressTrees extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1085
+ 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<[
1607
1086
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1608
1087
  TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
1609
1088
  TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1610
- TAccountWhitelistedAddressTrees extends string ? ReadonlyAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1089
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
1090
+ TAccountTransactionManagerAccount extends string ? ReadonlyAccount<TAccountTransactionManagerAccount> : TAccountTransactionManagerAccount,
1091
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
1092
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1611
1093
  ...TRemainingAccounts
1612
1094
  ]>;
1613
1095
  type CreateDomainUserAccountInstructionData = {
1614
1096
  discriminator: ReadonlyUint8Array;
1615
- compressedProofArgs: ProofArgs;
1616
1097
  member: Secp256r1Pubkey;
1617
1098
  role: UserRole;
1618
1099
  credentialId: ReadonlyUint8Array;
1619
1100
  transports: Array<Transports>;
1620
- userAccountCreationArgs: UserCreationArgs$2;
1621
- linkWalletArgs: Option<LinkWalletArgs>;
1622
1101
  };
1623
1102
  type CreateDomainUserAccountInstructionDataArgs = {
1624
- compressedProofArgs: ProofArgsArgs;
1625
1103
  member: Secp256r1PubkeyArgs;
1626
1104
  role: UserRoleArgs;
1627
1105
  credentialId: ReadonlyUint8Array;
1628
1106
  transports: Array<TransportsArgs>;
1629
- userAccountCreationArgs: UserCreationArgsArgs;
1630
- linkWalletArgs: OptionOrNullable<LinkWalletArgsArgs>;
1631
1107
  };
1632
1108
  declare function getCreateDomainUserAccountInstructionDataEncoder(): Encoder<CreateDomainUserAccountInstructionDataArgs>;
1633
1109
  declare function getCreateDomainUserAccountInstructionDataDecoder(): Decoder<CreateDomainUserAccountInstructionData>;
@@ -1638,47 +1114,33 @@ type CreateDomainUserAccountInstructionExtraArgs = {
1638
1114
  role: number;
1639
1115
  }>;
1640
1116
  };
1641
- type CreateDomainUserAccountAsyncInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1642
- payer: TransactionSigner<TAccountPayer>;
1643
- domainConfig: Address<TAccountDomainConfig>;
1644
- authority: TransactionSigner<TAccountAuthority>;
1645
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1646
- compressedProofArgs: CreateDomainUserAccountInstructionDataArgs["compressedProofArgs"];
1647
- member: CreateDomainUserAccountInstructionDataArgs["member"];
1648
- role: CreateDomainUserAccountInstructionDataArgs["role"];
1649
- credentialId: CreateDomainUserAccountInstructionDataArgs["credentialId"];
1650
- transports: CreateDomainUserAccountInstructionDataArgs["transports"];
1651
- userAccountCreationArgs: CreateDomainUserAccountInstructionDataArgs["userAccountCreationArgs"];
1652
- linkWalletArgs: CreateDomainUserAccountInstructionDataArgs["linkWalletArgs"];
1653
- remainingAccounts: CreateDomainUserAccountInstructionExtraArgs["remainingAccounts"];
1654
- };
1655
- declare function getCreateDomainUserAccountInstructionAsync<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainUserAccountAsyncInput<TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountWhitelistedAddressTrees>, config?: {
1656
- programAddress?: TProgramAddress;
1657
- }): Promise<CreateDomainUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountWhitelistedAddressTrees>>;
1658
- type CreateDomainUserAccountInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1117
+ type CreateDomainUserAccountInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountUserAccount extends string = string, TAccountTransactionManagerAccount extends string = string, TAccountSettings extends string = string, TAccountSystemProgram extends string = string> = {
1659
1118
  payer: TransactionSigner<TAccountPayer>;
1660
1119
  domainConfig: Address<TAccountDomainConfig>;
1661
1120
  authority: TransactionSigner<TAccountAuthority>;
1662
- whitelistedAddressTrees: Address<TAccountWhitelistedAddressTrees>;
1663
- compressedProofArgs: CreateDomainUserAccountInstructionDataArgs["compressedProofArgs"];
1121
+ userAccount: Address<TAccountUserAccount>;
1122
+ transactionManagerAccount?: Address<TAccountTransactionManagerAccount>;
1123
+ settings?: Address<TAccountSettings>;
1124
+ systemProgram?: Address<TAccountSystemProgram>;
1664
1125
  member: CreateDomainUserAccountInstructionDataArgs["member"];
1665
1126
  role: CreateDomainUserAccountInstructionDataArgs["role"];
1666
1127
  credentialId: CreateDomainUserAccountInstructionDataArgs["credentialId"];
1667
1128
  transports: CreateDomainUserAccountInstructionDataArgs["transports"];
1668
- userAccountCreationArgs: CreateDomainUserAccountInstructionDataArgs["userAccountCreationArgs"];
1669
- linkWalletArgs: CreateDomainUserAccountInstructionDataArgs["linkWalletArgs"];
1670
1129
  remainingAccounts: CreateDomainUserAccountInstructionExtraArgs["remainingAccounts"];
1671
1130
  };
1672
- declare function getCreateDomainUserAccountInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainUserAccountInput<TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountWhitelistedAddressTrees>, config?: {
1131
+ 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?: {
1673
1132
  programAddress?: TProgramAddress;
1674
- }): CreateDomainUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountWhitelistedAddressTrees>;
1133
+ }): CreateDomainUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountAuthority, TAccountUserAccount, TAccountTransactionManagerAccount, TAccountSettings, TAccountSystemProgram>;
1675
1134
  type ParsedCreateDomainUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1676
1135
  programAddress: Address<TProgram>;
1677
1136
  accounts: {
1678
1137
  payer: TAccountMetas[0];
1679
1138
  domainConfig: TAccountMetas[1];
1680
1139
  authority: TAccountMetas[2];
1681
- whitelistedAddressTrees: TAccountMetas[3];
1140
+ userAccount: TAccountMetas[3];
1141
+ transactionManagerAccount?: TAccountMetas[4] | undefined;
1142
+ settings?: TAccountMetas[5] | undefined;
1143
+ systemProgram: TAccountMetas[6];
1682
1144
  };
1683
1145
  data: CreateDomainUserAccountInstructionData;
1684
1146
  };
@@ -1734,121 +1196,135 @@ type ParsedCreateGlobalCounterInstruction<TProgram extends string = typeof MULTI
1734
1196
  };
1735
1197
  declare function parseCreateGlobalCounterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateGlobalCounterInstruction<TProgram, TAccountMetas>;
1736
1198
 
1737
- declare const CREATE_USER_ACCOUNTS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1738
- declare function getCreateUserAccountsDiscriminatorBytes(): ReadonlyUint8Array;
1739
- type CreateUserAccountsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountWhitelistedAddressTrees extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1199
+ declare const CREATE_USER_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1200
+ declare function getCreateUserAccountDiscriminatorBytes(): ReadonlyUint8Array;
1201
+ 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<[
1740
1202
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1203
+ TAccountMember extends string ? ReadonlySignerAccount<TAccountMember> & AccountSignerMeta<TAccountMember> : TAccountMember,
1741
1204
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1742
- TAccountWhitelistedAddressTrees extends string ? ReadonlyAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1205
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
1743
1206
  ...TRemainingAccounts
1744
1207
  ]>;
1745
- type CreateUserAccountsInstructionData = {
1208
+ type CreateUserAccountInstructionData = {
1746
1209
  discriminator: ReadonlyUint8Array;
1747
- compressedProofArgs: ProofArgs;
1748
- createUserArgs: Array<CreateUserAccountArgs>;
1210
+ role: UserRole;
1211
+ transactionManagerUrl: Option<string>;
1749
1212
  };
1750
- type CreateUserAccountsInstructionDataArgs = {
1751
- compressedProofArgs: ProofArgsArgs;
1752
- createUserArgs: Array<CreateUserAccountArgsArgs>;
1213
+ type CreateUserAccountInstructionDataArgs = {
1214
+ role: UserRoleArgs;
1215
+ transactionManagerUrl: OptionOrNullable<string>;
1753
1216
  };
1754
- declare function getCreateUserAccountsInstructionDataEncoder(): Encoder<CreateUserAccountsInstructionDataArgs>;
1755
- declare function getCreateUserAccountsInstructionDataDecoder(): Decoder<CreateUserAccountsInstructionData>;
1756
- declare function getCreateUserAccountsInstructionDataCodec(): Codec<CreateUserAccountsInstructionDataArgs, CreateUserAccountsInstructionData>;
1757
- type CreateUserAccountsInstructionExtraArgs = {
1217
+ declare function getCreateUserAccountInstructionDataEncoder(): Encoder<CreateUserAccountInstructionDataArgs>;
1218
+ declare function getCreateUserAccountInstructionDataDecoder(): Decoder<CreateUserAccountInstructionData>;
1219
+ declare function getCreateUserAccountInstructionDataCodec(): Codec<CreateUserAccountInstructionDataArgs, CreateUserAccountInstructionData>;
1220
+ type CreateUserAccountInstructionExtraArgs = {
1758
1221
  remainingAccounts: Array<{
1759
1222
  address: Address;
1760
1223
  role: number;
1761
1224
  }>;
1762
1225
  };
1763
- type CreateUserAccountsAsyncInput<TAccountPayer extends string = string, TAccountSystemProgram extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1226
+ type CreateUserAccountAsyncInput<TAccountPayer extends string = string, TAccountMember extends string = string, TAccountSystemProgram extends string = string, TAccountUserAccount extends string = string> = {
1764
1227
  payer: TransactionSigner<TAccountPayer>;
1228
+ member: TransactionSigner<TAccountMember>;
1765
1229
  systemProgram?: Address<TAccountSystemProgram>;
1766
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1767
- compressedProofArgs: CreateUserAccountsInstructionDataArgs["compressedProofArgs"];
1768
- createUserArgs: CreateUserAccountsInstructionDataArgs["createUserArgs"];
1769
- remainingAccounts: CreateUserAccountsInstructionExtraArgs["remainingAccounts"];
1230
+ userAccount?: Address<TAccountUserAccount>;
1231
+ role: CreateUserAccountInstructionDataArgs["role"];
1232
+ transactionManagerUrl: CreateUserAccountInstructionDataArgs["transactionManagerUrl"];
1233
+ remainingAccounts: CreateUserAccountInstructionExtraArgs["remainingAccounts"];
1770
1234
  };
1771
- declare function getCreateUserAccountsInstructionAsync<TAccountPayer extends string, TAccountSystemProgram extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateUserAccountsAsyncInput<TAccountPayer, TAccountSystemProgram, TAccountWhitelistedAddressTrees>, config?: {
1235
+ 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?: {
1772
1236
  programAddress?: TProgramAddress;
1773
- }): Promise<CreateUserAccountsInstruction<TProgramAddress, TAccountPayer, TAccountSystemProgram, TAccountWhitelistedAddressTrees>>;
1774
- type CreateUserAccountsInput<TAccountPayer extends string = string, TAccountSystemProgram extends string = string, TAccountWhitelistedAddressTrees extends string = string> = {
1237
+ }): Promise<CreateUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountMember, TAccountSystemProgram, TAccountUserAccount>>;
1238
+ type CreateUserAccountInput<TAccountPayer extends string = string, TAccountMember extends string = string, TAccountSystemProgram extends string = string, TAccountUserAccount extends string = string> = {
1775
1239
  payer: TransactionSigner<TAccountPayer>;
1240
+ member: TransactionSigner<TAccountMember>;
1776
1241
  systemProgram?: Address<TAccountSystemProgram>;
1777
- whitelistedAddressTrees: Address<TAccountWhitelistedAddressTrees>;
1778
- compressedProofArgs: CreateUserAccountsInstructionDataArgs["compressedProofArgs"];
1779
- createUserArgs: CreateUserAccountsInstructionDataArgs["createUserArgs"];
1780
- remainingAccounts: CreateUserAccountsInstructionExtraArgs["remainingAccounts"];
1242
+ userAccount: Address<TAccountUserAccount>;
1243
+ role: CreateUserAccountInstructionDataArgs["role"];
1244
+ transactionManagerUrl: CreateUserAccountInstructionDataArgs["transactionManagerUrl"];
1245
+ remainingAccounts: CreateUserAccountInstructionExtraArgs["remainingAccounts"];
1781
1246
  };
1782
- declare function getCreateUserAccountsInstruction<TAccountPayer extends string, TAccountSystemProgram extends string, TAccountWhitelistedAddressTrees extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateUserAccountsInput<TAccountPayer, TAccountSystemProgram, TAccountWhitelistedAddressTrees>, config?: {
1247
+ 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?: {
1783
1248
  programAddress?: TProgramAddress;
1784
- }): CreateUserAccountsInstruction<TProgramAddress, TAccountPayer, TAccountSystemProgram, TAccountWhitelistedAddressTrees>;
1785
- type ParsedCreateUserAccountsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1249
+ }): CreateUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountMember, TAccountSystemProgram, TAccountUserAccount>;
1250
+ type ParsedCreateUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1786
1251
  programAddress: Address<TProgram>;
1787
1252
  accounts: {
1788
1253
  payer: TAccountMetas[0];
1789
- systemProgram: TAccountMetas[1];
1790
- whitelistedAddressTrees: TAccountMetas[2];
1254
+ member: TAccountMetas[1];
1255
+ systemProgram: TAccountMetas[2];
1256
+ userAccount: TAccountMetas[3];
1791
1257
  };
1792
- data: CreateUserAccountsInstructionData;
1258
+ data: CreateUserAccountInstructionData;
1793
1259
  };
1794
- declare function parseCreateUserAccountsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateUserAccountsInstruction<TProgram, TAccountMetas>;
1260
+ declare function parseCreateUserAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateUserAccountInstruction<TProgram, TAccountMetas>;
1795
1261
 
1796
- declare const DECOMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1797
- declare function getDecompressSettingsAccountDiscriminatorBytes(): ReadonlyUint8Array;
1798
- type DecompressSettingsAccountInstruction<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<[
1799
- TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
1262
+ declare const CREATE_WALLET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1263
+ declare function getCreateWalletDiscriminatorBytes(): ReadonlyUint8Array;
1264
+ 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<[
1800
1265
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1266
+ TAccountInitialMember extends string ? ReadonlySignerAccount<TAccountInitialMember> & AccountSignerMeta<TAccountInitialMember> : TAccountInitialMember,
1801
1267
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1802
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1803
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1268
+ TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
1269
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
1270
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
1804
1271
  ...TRemainingAccounts
1805
1272
  ]>;
1806
- type DecompressSettingsAccountInstructionData = {
1273
+ type CreateWalletInstructionData = {
1807
1274
  discriminator: ReadonlyUint8Array;
1808
- settingsMutArgs: SettingsMutArgs;
1809
- compressedProofArgs: ProofArgs;
1810
- signers: Array<TransactionSyncSigners>;
1275
+ settingsIndex: bigint;
1811
1276
  };
1812
- type DecompressSettingsAccountInstructionDataArgs = {
1813
- settingsMutArgs: SettingsMutArgsArgs;
1814
- compressedProofArgs: ProofArgsArgs;
1815
- signers: Array<TransactionSyncSignersArgs>;
1277
+ type CreateWalletInstructionDataArgs = {
1278
+ settingsIndex: number | bigint;
1816
1279
  };
1817
- declare function getDecompressSettingsAccountInstructionDataEncoder(): Encoder<DecompressSettingsAccountInstructionDataArgs>;
1818
- declare function getDecompressSettingsAccountInstructionDataDecoder(): Decoder<DecompressSettingsAccountInstructionData>;
1819
- declare function getDecompressSettingsAccountInstructionDataCodec(): Codec<DecompressSettingsAccountInstructionDataArgs, DecompressSettingsAccountInstructionData>;
1820
- type DecompressSettingsAccountInstructionExtraArgs = {
1280
+ declare function getCreateWalletInstructionDataEncoder(): FixedSizeEncoder<CreateWalletInstructionDataArgs>;
1281
+ declare function getCreateWalletInstructionDataDecoder(): FixedSizeDecoder<CreateWalletInstructionData>;
1282
+ declare function getCreateWalletInstructionDataCodec(): FixedSizeCodec<CreateWalletInstructionDataArgs, CreateWalletInstructionData>;
1283
+ type CreateWalletInstructionExtraArgs = {
1821
1284
  remainingAccounts: Array<{
1822
1285
  address: Address;
1823
1286
  role: number;
1824
1287
  }>;
1825
1288
  };
1826
- type DecompressSettingsAccountInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
1827
- settings: Address<TAccountSettings>;
1289
+ type CreateWalletAsyncInput<TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountGlobalCounter extends string = string, TAccountUserAccount extends string = string, TAccountSettings extends string = string> = {
1828
1290
  payer: TransactionSigner<TAccountPayer>;
1291
+ initialMember: TransactionSigner<TAccountInitialMember>;
1829
1292
  systemProgram?: Address<TAccountSystemProgram>;
1830
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1831
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1832
- settingsMutArgs: DecompressSettingsAccountInstructionDataArgs["settingsMutArgs"];
1833
- compressedProofArgs: DecompressSettingsAccountInstructionDataArgs["compressedProofArgs"];
1834
- signers: DecompressSettingsAccountInstructionDataArgs["signers"];
1835
- remainingAccounts: DecompressSettingsAccountInstructionExtraArgs["remainingAccounts"];
1293
+ globalCounter?: Address<TAccountGlobalCounter>;
1294
+ userAccount?: Address<TAccountUserAccount>;
1295
+ settings?: Address<TAccountSettings>;
1296
+ settingsIndex: CreateWalletInstructionDataArgs["settingsIndex"];
1297
+ remainingAccounts: CreateWalletInstructionExtraArgs["remainingAccounts"];
1836
1298
  };
1837
- declare function getDecompressSettingsAccountInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: DecompressSettingsAccountInput<TAccountSettings, TAccountPayer, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
1299
+ 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?: {
1838
1300
  programAddress?: TProgramAddress;
1839
- }): DecompressSettingsAccountInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
1840
- type ParsedDecompressSettingsAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1301
+ }): Promise<CreateWalletInstruction<TProgramAddress, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountUserAccount, TAccountSettings>>;
1302
+ type CreateWalletInput<TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountGlobalCounter extends string = string, TAccountUserAccount extends string = string, TAccountSettings extends string = string> = {
1303
+ payer: TransactionSigner<TAccountPayer>;
1304
+ initialMember: TransactionSigner<TAccountInitialMember>;
1305
+ systemProgram?: Address<TAccountSystemProgram>;
1306
+ globalCounter: Address<TAccountGlobalCounter>;
1307
+ userAccount: Address<TAccountUserAccount>;
1308
+ settings: Address<TAccountSettings>;
1309
+ settingsIndex: CreateWalletInstructionDataArgs["settingsIndex"];
1310
+ remainingAccounts: CreateWalletInstructionExtraArgs["remainingAccounts"];
1311
+ };
1312
+ 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?: {
1313
+ programAddress?: TProgramAddress;
1314
+ }): CreateWalletInstruction<TProgramAddress, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountGlobalCounter, TAccountUserAccount, TAccountSettings>;
1315
+ type ParsedCreateWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1841
1316
  programAddress: Address<TProgram>;
1842
1317
  accounts: {
1843
- settings: TAccountMetas[0];
1844
- payer: TAccountMetas[1];
1318
+ payer: TAccountMetas[0];
1319
+ initialMember: TAccountMetas[1];
1845
1320
  systemProgram: TAccountMetas[2];
1846
- slotHashSysvar?: TAccountMetas[3] | undefined;
1847
- instructionsSysvar: TAccountMetas[4];
1321
+ globalCounter: TAccountMetas[3];
1322
+ userAccount: TAccountMetas[4];
1323
+ settings: TAccountMetas[5];
1848
1324
  };
1849
- data: DecompressSettingsAccountInstructionData;
1325
+ data: CreateWalletInstructionData;
1850
1326
  };
1851
- declare function parseDecompressSettingsAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedDecompressSettingsAccountInstruction<TProgram, TAccountMetas>;
1327
+ declare function parseCreateWalletInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateWalletInstruction<TProgram, TAccountMetas>;
1852
1328
 
1853
1329
  declare const DISABLE_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1854
1330
  declare function getDisableDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
@@ -1894,22 +1370,20 @@ declare function parseDisableDomainConfigInstruction<TProgram extends string, TA
1894
1370
 
1895
1371
  declare const EDIT_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1896
1372
  declare function getEditDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
1897
- 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, TAccountWhitelistedAddressTrees extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1373
+ 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<[
1898
1374
  TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
1899
1375
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1900
1376
  TAccountNewAuthority extends string ? ReadonlySignerAccount<TAccountNewAuthority> & AccountSignerMeta<TAccountNewAuthority> : TAccountNewAuthority,
1901
- TAccountWhitelistedAddressTrees extends string ? ReadonlyAccount<TAccountWhitelistedAddressTrees> : TAccountWhitelistedAddressTrees,
1377
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
1902
1378
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1903
1379
  ...TRemainingAccounts
1904
1380
  ]>;
1905
1381
  type EditDomainConfigInstructionData = {
1906
1382
  discriminator: ReadonlyUint8Array;
1907
1383
  newOrigins: Option<Array<string>>;
1908
- newAuthorityArgs: Option<NewAuthorityArgs>;
1909
1384
  };
1910
1385
  type EditDomainConfigInstructionDataArgs = {
1911
1386
  newOrigins: OptionOrNullable<Array<string>>;
1912
- newAuthorityArgs: OptionOrNullable<NewAuthorityArgsArgs>;
1913
1387
  };
1914
1388
  declare function getEditDomainConfigInstructionDataEncoder(): Encoder<EditDomainConfigInstructionDataArgs>;
1915
1389
  declare function getEditDomainConfigInstructionDataDecoder(): Decoder<EditDomainConfigInstructionData>;
@@ -1920,39 +1394,25 @@ type EditDomainConfigInstructionExtraArgs = {
1920
1394
  role: number;
1921
1395
  }>;
1922
1396
  };
1923
- type EditDomainConfigAsyncInput<TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountNewAuthority extends string = string, TAccountWhitelistedAddressTrees extends string = string, TAccountSystemProgram extends string = string> = {
1924
- domainConfig: Address<TAccountDomainConfig>;
1925
- authority: TransactionSigner<TAccountAuthority>;
1926
- newAuthority?: TransactionSigner<TAccountNewAuthority>;
1927
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1928
- systemProgram?: Address<TAccountSystemProgram>;
1929
- newOrigins: EditDomainConfigInstructionDataArgs["newOrigins"];
1930
- newAuthorityArgs: EditDomainConfigInstructionDataArgs["newAuthorityArgs"];
1931
- remainingAccounts: EditDomainConfigInstructionExtraArgs["remainingAccounts"];
1932
- };
1933
- declare function getEditDomainConfigInstructionAsync<TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountNewAuthority extends string, TAccountWhitelistedAddressTrees extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditDomainConfigAsyncInput<TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountWhitelistedAddressTrees, TAccountSystemProgram>, config?: {
1934
- programAddress?: TProgramAddress;
1935
- }): Promise<EditDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountWhitelistedAddressTrees, TAccountSystemProgram>>;
1936
- type EditDomainConfigInput<TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountNewAuthority extends string = string, TAccountWhitelistedAddressTrees extends string = string, TAccountSystemProgram extends string = string> = {
1397
+ type EditDomainConfigInput<TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountNewAuthority extends string = string, TAccountUserAccount extends string = string, TAccountSystemProgram extends string = string> = {
1937
1398
  domainConfig: Address<TAccountDomainConfig>;
1938
1399
  authority: TransactionSigner<TAccountAuthority>;
1939
1400
  newAuthority?: TransactionSigner<TAccountNewAuthority>;
1940
- whitelistedAddressTrees?: Address<TAccountWhitelistedAddressTrees>;
1401
+ userAccount?: Address<TAccountUserAccount>;
1941
1402
  systemProgram?: Address<TAccountSystemProgram>;
1942
1403
  newOrigins: EditDomainConfigInstructionDataArgs["newOrigins"];
1943
- newAuthorityArgs: EditDomainConfigInstructionDataArgs["newAuthorityArgs"];
1944
1404
  remainingAccounts: EditDomainConfigInstructionExtraArgs["remainingAccounts"];
1945
1405
  };
1946
- declare function getEditDomainConfigInstruction<TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountNewAuthority extends string, TAccountWhitelistedAddressTrees extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditDomainConfigInput<TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountWhitelistedAddressTrees, TAccountSystemProgram>, config?: {
1406
+ 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?: {
1947
1407
  programAddress?: TProgramAddress;
1948
- }): EditDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountWhitelistedAddressTrees, TAccountSystemProgram>;
1408
+ }): EditDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountAuthority, TAccountNewAuthority, TAccountUserAccount, TAccountSystemProgram>;
1949
1409
  type ParsedEditDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1950
1410
  programAddress: Address<TProgram>;
1951
1411
  accounts: {
1952
1412
  domainConfig: TAccountMetas[0];
1953
1413
  authority: TAccountMetas[1];
1954
1414
  newAuthority?: TAccountMetas[2] | undefined;
1955
- whitelistedAddressTrees?: TAccountMetas[3] | undefined;
1415
+ userAccount?: TAccountMetas[3] | undefined;
1956
1416
  systemProgram: TAccountMetas[4];
1957
1417
  };
1958
1418
  data: EditDomainConfigInstructionData;
@@ -1961,20 +1421,17 @@ declare function parseEditDomainConfigInstruction<TProgram extends string, TAcco
1961
1421
 
1962
1422
  declare const EDIT_TRANSACTION_MANAGER_URL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1963
1423
  declare function getEditTransactionManagerUrlDiscriminatorBytes(): ReadonlyUint8Array;
1964
- type EditTransactionManagerUrlInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1965
- TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1424
+ type EditTransactionManagerUrlInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountTransactionManagerAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1425
+ TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
1426
+ TAccountTransactionManagerAccount extends string ? WritableAccount<TAccountTransactionManagerAccount> : TAccountTransactionManagerAccount,
1966
1427
  ...TRemainingAccounts
1967
1428
  ]>;
1968
1429
  type EditTransactionManagerUrlInstructionData = {
1969
1430
  discriminator: ReadonlyUint8Array;
1970
- userMutArgs: UserMutArgs;
1971
1431
  transactionManagerUrl: string;
1972
- compressedProofArgs: ProofArgs;
1973
1432
  };
1974
1433
  type EditTransactionManagerUrlInstructionDataArgs = {
1975
- userMutArgs: UserMutArgsArgs;
1976
1434
  transactionManagerUrl: string;
1977
- compressedProofArgs: ProofArgsArgs;
1978
1435
  };
1979
1436
  declare function getEditTransactionManagerUrlInstructionDataEncoder(): Encoder<EditTransactionManagerUrlInstructionDataArgs>;
1980
1437
  declare function getEditTransactionManagerUrlInstructionDataDecoder(): Decoder<EditTransactionManagerUrlInstructionData>;
@@ -1985,20 +1442,29 @@ type EditTransactionManagerUrlInstructionExtraArgs = {
1985
1442
  role: number;
1986
1443
  }>;
1987
1444
  };
1988
- type EditTransactionManagerUrlInput<TAccountAuthority extends string = string> = {
1989
- authority: TransactionSigner<TAccountAuthority>;
1990
- userMutArgs: EditTransactionManagerUrlInstructionDataArgs["userMutArgs"];
1445
+ type EditTransactionManagerUrlAsyncInput<TAccountSigner extends string = string, TAccountTransactionManagerAccount extends string = string> = {
1446
+ signer: TransactionSigner<TAccountSigner>;
1447
+ transactionManagerAccount?: Address<TAccountTransactionManagerAccount>;
1991
1448
  transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs["transactionManagerUrl"];
1992
- compressedProofArgs: EditTransactionManagerUrlInstructionDataArgs["compressedProofArgs"];
1993
1449
  remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs["remainingAccounts"];
1994
1450
  };
1995
- declare function getEditTransactionManagerUrlInstruction<TAccountAuthority extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlInput<TAccountAuthority>, config?: {
1451
+ declare function getEditTransactionManagerUrlInstructionAsync<TAccountSigner extends string, TAccountTransactionManagerAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlAsyncInput<TAccountSigner, TAccountTransactionManagerAccount>, config?: {
1996
1452
  programAddress?: TProgramAddress;
1997
- }): EditTransactionManagerUrlInstruction<TProgramAddress, TAccountAuthority>;
1453
+ }): Promise<EditTransactionManagerUrlInstruction<TProgramAddress, TAccountSigner, TAccountTransactionManagerAccount>>;
1454
+ type EditTransactionManagerUrlInput<TAccountSigner extends string = string, TAccountTransactionManagerAccount extends string = string> = {
1455
+ signer: TransactionSigner<TAccountSigner>;
1456
+ transactionManagerAccount: Address<TAccountTransactionManagerAccount>;
1457
+ transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs["transactionManagerUrl"];
1458
+ remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs["remainingAccounts"];
1459
+ };
1460
+ declare function getEditTransactionManagerUrlInstruction<TAccountSigner extends string, TAccountTransactionManagerAccount extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlInput<TAccountSigner, TAccountTransactionManagerAccount>, config?: {
1461
+ programAddress?: TProgramAddress;
1462
+ }): EditTransactionManagerUrlInstruction<TProgramAddress, TAccountSigner, TAccountTransactionManagerAccount>;
1998
1463
  type ParsedEditTransactionManagerUrlInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1999
1464
  programAddress: Address<TProgram>;
2000
1465
  accounts: {
2001
- authority: TAccountMetas[0];
1466
+ signer: TAccountMetas[0];
1467
+ transactionManagerAccount: TAccountMetas[1];
2002
1468
  };
2003
1469
  data: EditTransactionManagerUrlInstructionData;
2004
1470
  };
@@ -2006,9 +1472,10 @@ declare function parseEditTransactionManagerUrlInstruction<TProgram extends stri
2006
1472
 
2007
1473
  declare const EDIT_USER_DELEGATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2008
1474
  declare function getEditUserDelegateDiscriminatorBytes(): ReadonlyUint8Array;
2009
- type EditUserDelegateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountFeePayer extends string | AccountMeta<string> = string, TAccountSigner 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<[
1475
+ 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<[
2010
1476
  TAccountFeePayer extends string ? WritableSignerAccount<TAccountFeePayer> & AccountSignerMeta<TAccountFeePayer> : TAccountFeePayer,
2011
1477
  TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
1478
+ TAccountUserAccount extends string ? WritableAccount<TAccountUserAccount> : TAccountUserAccount,
2012
1479
  TAccountOldSettings extends string ? WritableAccount<TAccountOldSettings> : TAccountOldSettings,
2013
1480
  TAccountNewSettings extends string ? WritableAccount<TAccountNewSettings> : TAccountNewSettings,
2014
1481
  TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
@@ -2018,20 +1485,12 @@ type EditUserDelegateInstruction<TProgram extends string = typeof MULTI_WALLET_P
2018
1485
  ]>;
2019
1486
  type EditUserDelegateInstructionData = {
2020
1487
  discriminator: ReadonlyUint8Array;
2021
- userMutArgs: UserMutArgs;
2022
1488
  secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2023
- delegateTo: Option<SettingsIndexWithAddress>;
2024
- oldSettingsMutArgs: Option<SettingsMutArgs>;
2025
- newSettingsMutArgs: Option<SettingsMutArgs>;
2026
- compressedProofArgs: ProofArgs;
1489
+ delegateTo: Option<bigint>;
2027
1490
  };
2028
1491
  type EditUserDelegateInstructionDataArgs = {
2029
- userMutArgs: UserMutArgsArgs;
2030
1492
  secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2031
- delegateTo: OptionOrNullable<SettingsIndexWithAddressArgs>;
2032
- oldSettingsMutArgs: OptionOrNullable<SettingsMutArgsArgs>;
2033
- newSettingsMutArgs: OptionOrNullable<SettingsMutArgsArgs>;
2034
- compressedProofArgs: ProofArgsArgs;
1493
+ delegateTo: OptionOrNullable<number | bigint>;
2035
1494
  };
2036
1495
  declare function getEditUserDelegateInstructionDataEncoder(): Encoder<EditUserDelegateInstructionDataArgs>;
2037
1496
  declare function getEditUserDelegateInstructionDataDecoder(): Decoder<EditUserDelegateInstructionData>;
@@ -2042,35 +1501,33 @@ type EditUserDelegateInstructionExtraArgs = {
2042
1501
  role: number;
2043
1502
  }>;
2044
1503
  };
2045
- type EditUserDelegateInput<TAccountFeePayer extends string = string, TAccountSigner extends string = string, TAccountOldSettings extends string = string, TAccountNewSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountDomainConfig extends string = string> = {
1504
+ type EditUserDelegateInput<TAccountFeePayer extends string = string, TAccountSigner extends string = string, TAccountUserAccount extends string = string, TAccountOldSettings extends string = string, TAccountNewSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountDomainConfig extends string = string> = {
2046
1505
  feePayer: TransactionSigner<TAccountFeePayer>;
2047
1506
  signer?: TransactionSigner<TAccountSigner>;
1507
+ userAccount: Address<TAccountUserAccount>;
2048
1508
  oldSettings?: Address<TAccountOldSettings>;
2049
1509
  newSettings?: Address<TAccountNewSettings>;
2050
1510
  slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2051
1511
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2052
1512
  domainConfig?: Address<TAccountDomainConfig>;
2053
- userMutArgs: EditUserDelegateInstructionDataArgs["userMutArgs"];
2054
1513
  secp256r1VerifyArgs: EditUserDelegateInstructionDataArgs["secp256r1VerifyArgs"];
2055
1514
  delegateTo: EditUserDelegateInstructionDataArgs["delegateTo"];
2056
- oldSettingsMutArgs: EditUserDelegateInstructionDataArgs["oldSettingsMutArgs"];
2057
- newSettingsMutArgs: EditUserDelegateInstructionDataArgs["newSettingsMutArgs"];
2058
- compressedProofArgs: EditUserDelegateInstructionDataArgs["compressedProofArgs"];
2059
1515
  remainingAccounts: EditUserDelegateInstructionExtraArgs["remainingAccounts"];
2060
1516
  };
2061
- declare function getEditUserDelegateInstruction<TAccountFeePayer extends string, TAccountSigner 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, TAccountOldSettings, TAccountNewSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig>, config?: {
1517
+ 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?: {
2062
1518
  programAddress?: TProgramAddress;
2063
- }): EditUserDelegateInstruction<TProgramAddress, TAccountFeePayer, TAccountSigner, TAccountOldSettings, TAccountNewSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig>;
1519
+ }): EditUserDelegateInstruction<TProgramAddress, TAccountFeePayer, TAccountSigner, TAccountUserAccount, TAccountOldSettings, TAccountNewSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig>;
2064
1520
  type ParsedEditUserDelegateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2065
1521
  programAddress: Address<TProgram>;
2066
1522
  accounts: {
2067
1523
  feePayer: TAccountMetas[0];
2068
1524
  signer?: TAccountMetas[1] | undefined;
2069
- oldSettings?: TAccountMetas[2] | undefined;
2070
- newSettings?: TAccountMetas[3] | undefined;
2071
- slotHashSysvar?: TAccountMetas[4] | undefined;
2072
- instructionsSysvar?: TAccountMetas[5] | undefined;
2073
- domainConfig?: TAccountMetas[6] | undefined;
1525
+ userAccount: TAccountMetas[2];
1526
+ oldSettings?: TAccountMetas[3] | undefined;
1527
+ newSettings?: TAccountMetas[4] | undefined;
1528
+ slotHashSysvar?: TAccountMetas[5] | undefined;
1529
+ instructionsSysvar?: TAccountMetas[6] | undefined;
1530
+ domainConfig?: TAccountMetas[7] | undefined;
2074
1531
  };
2075
1532
  data: EditUserDelegateInstructionData;
2076
1533
  };
@@ -2147,69 +1604,6 @@ type ParsedNativeTransferIntentInstruction<TProgram extends string = typeof MULT
2147
1604
  };
2148
1605
  declare function parseNativeTransferIntentInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedNativeTransferIntentInstruction<TProgram, TAccountMetas>;
2149
1606
 
2150
- declare const NATIVE_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2151
- declare function getNativeTransferIntentCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2152
- type NativeTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer 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<[
2153
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2154
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2155
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2156
- TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
2157
- TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
2158
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2159
- ...TRemainingAccounts
2160
- ]>;
2161
- type NativeTransferIntentCompressedInstructionData = {
2162
- discriminator: ReadonlyUint8Array;
2163
- amount: bigint;
2164
- signers: Array<TransactionSyncSigners>;
2165
- settingsMutArgs: SettingsMutArgs;
2166
- compressedProofArgs: ProofArgs;
2167
- };
2168
- type NativeTransferIntentCompressedInstructionDataArgs = {
2169
- amount: number | bigint;
2170
- signers: Array<TransactionSyncSignersArgs>;
2171
- settingsMutArgs: SettingsMutArgsArgs;
2172
- compressedProofArgs: ProofArgsArgs;
2173
- };
2174
- declare function getNativeTransferIntentCompressedInstructionDataEncoder(): Encoder<NativeTransferIntentCompressedInstructionDataArgs>;
2175
- declare function getNativeTransferIntentCompressedInstructionDataDecoder(): Decoder<NativeTransferIntentCompressedInstructionData>;
2176
- declare function getNativeTransferIntentCompressedInstructionDataCodec(): Codec<NativeTransferIntentCompressedInstructionDataArgs, NativeTransferIntentCompressedInstructionData>;
2177
- type NativeTransferIntentCompressedInstructionExtraArgs = {
2178
- remainingAccounts: Array<{
2179
- address: Address;
2180
- role: number;
2181
- }>;
2182
- };
2183
- type NativeTransferIntentCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountDestination extends string = string, TAccountSystemProgram extends string = string> = {
2184
- payer: TransactionSigner<TAccountPayer>;
2185
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2186
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2187
- source: Address<TAccountSource>;
2188
- destination: Address<TAccountDestination>;
2189
- systemProgram?: Address<TAccountSystemProgram>;
2190
- amount: NativeTransferIntentCompressedInstructionDataArgs["amount"];
2191
- signers: NativeTransferIntentCompressedInstructionDataArgs["signers"];
2192
- settingsMutArgs: NativeTransferIntentCompressedInstructionDataArgs["settingsMutArgs"];
2193
- compressedProofArgs: NativeTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
2194
- remainingAccounts: NativeTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
2195
- };
2196
- declare function getNativeTransferIntentCompressedInstruction<TAccountPayer 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: NativeTransferIntentCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
2197
- programAddress?: TProgramAddress;
2198
- }): NativeTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>;
2199
- type ParsedNativeTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2200
- programAddress: Address<TProgram>;
2201
- accounts: {
2202
- payer: TAccountMetas[0];
2203
- slotHashSysvar?: TAccountMetas[1] | undefined;
2204
- instructionsSysvar: TAccountMetas[2];
2205
- source: TAccountMetas[3];
2206
- destination: TAccountMetas[4];
2207
- systemProgram: TAccountMetas[5];
2208
- };
2209
- data: NativeTransferIntentCompressedInstructionData;
2210
- };
2211
- declare function parseNativeTransferIntentCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedNativeTransferIntentCompressedInstruction<TProgram, TAccountMetas>;
2212
-
2213
1607
  declare const TOKEN_TRANSFER_INTENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2214
1608
  declare function getTokenTransferIntentDiscriminatorBytes(): ReadonlyUint8Array;
2215
1609
  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, TAccountSourceCtokenTokenAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountDestinationSplTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationCtokenTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountMint extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountCompressedTokenProgramAuthority extends string | AccountMeta<string> = "GXtd2izAiMJPwMEjfgTRH3d7k9mjn4Jq3JrWFv9gySYy", TAccountSplInterfacePda extends string | AccountMeta<string> = string, TAccountCompressibleConfig extends string | AccountMeta<string> = string, TAccountRentSponsor extends string | AccountMeta<string> = string, TAccountCompressedTokenProgram extends string | AccountMeta<string> = "cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
@@ -2341,137 +1735,6 @@ type ParsedTokenTransferIntentInstruction<TProgram extends string = typeof MULTI
2341
1735
  };
2342
1736
  declare function parseTokenTransferIntentInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTokenTransferIntentInstruction<TProgram, TAccountMetas>;
2343
1737
 
2344
- declare const TOKEN_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2345
- declare function getTokenTransferIntentCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2346
- type TokenTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, 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, TAccountSourceCtokenTokenAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountDestinationSplTokenAccount extends string | AccountMeta<string> = string, TAccountDestinationCtokenTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountMint extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountCompressedTokenProgramAuthority extends string | AccountMeta<string> = "GXtd2izAiMJPwMEjfgTRH3d7k9mjn4Jq3JrWFv9gySYy", TAccountSplInterfacePda extends string | AccountMeta<string> = string, TAccountCompressibleConfig extends string | AccountMeta<string> = string, TAccountRentSponsor extends string | AccountMeta<string> = string, TAccountCompressedTokenProgram extends string | AccountMeta<string> = "cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2347
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2348
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2349
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2350
- TAccountSource extends string ? ReadonlyAccount<TAccountSource> : TAccountSource,
2351
- TAccountSourceSplTokenAccount extends string ? WritableAccount<TAccountSourceSplTokenAccount> : TAccountSourceSplTokenAccount,
2352
- TAccountSourceCtokenTokenAccount extends string ? WritableAccount<TAccountSourceCtokenTokenAccount> : TAccountSourceCtokenTokenAccount,
2353
- TAccountDestination extends string ? ReadonlyAccount<TAccountDestination> : TAccountDestination,
2354
- TAccountDestinationSplTokenAccount extends string ? WritableAccount<TAccountDestinationSplTokenAccount> : TAccountDestinationSplTokenAccount,
2355
- TAccountDestinationCtokenTokenAccount extends string ? WritableAccount<TAccountDestinationCtokenTokenAccount> : TAccountDestinationCtokenTokenAccount,
2356
- TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
2357
- TAccountMint extends string ? WritableAccount<TAccountMint> : TAccountMint,
2358
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2359
- TAccountCompressedTokenProgramAuthority extends string ? ReadonlyAccount<TAccountCompressedTokenProgramAuthority> : TAccountCompressedTokenProgramAuthority,
2360
- TAccountSplInterfacePda extends string ? WritableAccount<TAccountSplInterfacePda> : TAccountSplInterfacePda,
2361
- TAccountCompressibleConfig extends string ? ReadonlyAccount<TAccountCompressibleConfig> : TAccountCompressibleConfig,
2362
- TAccountRentSponsor extends string ? WritableAccount<TAccountRentSponsor> : TAccountRentSponsor,
2363
- TAccountCompressedTokenProgram extends string ? ReadonlyAccount<TAccountCompressedTokenProgram> : TAccountCompressedTokenProgram,
2364
- ...TRemainingAccounts
2365
- ]>;
2366
- type TokenTransferIntentCompressedInstructionData = {
2367
- discriminator: ReadonlyUint8Array;
2368
- splInterfacePdaArgs: Option<SplInterfacePdaArgs>;
2369
- amount: bigint;
2370
- sourceCompressedTokenAccounts: Array<CompressedTokenArgs>;
2371
- signers: Array<TransactionSyncSigners>;
2372
- settingsMutArgs: SettingsMutArgs;
2373
- compressedProofArgs: ProofArgs;
2374
- };
2375
- type TokenTransferIntentCompressedInstructionDataArgs = {
2376
- splInterfacePdaArgs: OptionOrNullable<SplInterfacePdaArgsArgs>;
2377
- amount: number | bigint;
2378
- sourceCompressedTokenAccounts: Array<CompressedTokenArgsArgs>;
2379
- signers: Array<TransactionSyncSignersArgs>;
2380
- settingsMutArgs: SettingsMutArgsArgs;
2381
- compressedProofArgs: ProofArgsArgs;
2382
- };
2383
- declare function getTokenTransferIntentCompressedInstructionDataEncoder(): Encoder<TokenTransferIntentCompressedInstructionDataArgs>;
2384
- declare function getTokenTransferIntentCompressedInstructionDataDecoder(): Decoder<TokenTransferIntentCompressedInstructionData>;
2385
- declare function getTokenTransferIntentCompressedInstructionDataCodec(): Codec<TokenTransferIntentCompressedInstructionDataArgs, TokenTransferIntentCompressedInstructionData>;
2386
- type TokenTransferIntentCompressedInstructionExtraArgs = {
2387
- remainingAccounts: Array<{
2388
- address: Address;
2389
- role: number;
2390
- }>;
2391
- };
2392
- type TokenTransferIntentCompressedAsyncInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string, TAccountSourceCtokenTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationSplTokenAccount extends string = string, TAccountDestinationCtokenTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountCompressedTokenProgramAuthority extends string = string, TAccountSplInterfacePda extends string = string, TAccountCompressibleConfig extends string = string, TAccountRentSponsor extends string = string, TAccountCompressedTokenProgram extends string = string> = {
2393
- payer: TransactionSigner<TAccountPayer>;
2394
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2395
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2396
- source: Address<TAccountSource>;
2397
- sourceSplTokenAccount?: Address<TAccountSourceSplTokenAccount>;
2398
- sourceCtokenTokenAccount?: Address<TAccountSourceCtokenTokenAccount>;
2399
- destination: Address<TAccountDestination>;
2400
- destinationSplTokenAccount?: Address<TAccountDestinationSplTokenAccount>;
2401
- destinationCtokenTokenAccount?: Address<TAccountDestinationCtokenTokenAccount>;
2402
- tokenProgram?: Address<TAccountTokenProgram>;
2403
- mint: Address<TAccountMint>;
2404
- systemProgram?: Address<TAccountSystemProgram>;
2405
- compressedTokenProgramAuthority?: Address<TAccountCompressedTokenProgramAuthority>;
2406
- splInterfacePda?: Address<TAccountSplInterfacePda>;
2407
- compressibleConfig: Address<TAccountCompressibleConfig>;
2408
- rentSponsor?: Address<TAccountRentSponsor>;
2409
- compressedTokenProgram?: Address<TAccountCompressedTokenProgram>;
2410
- splInterfacePdaArgs: TokenTransferIntentCompressedInstructionDataArgs["splInterfacePdaArgs"];
2411
- amount: TokenTransferIntentCompressedInstructionDataArgs["amount"];
2412
- sourceCompressedTokenAccounts: TokenTransferIntentCompressedInstructionDataArgs["sourceCompressedTokenAccounts"];
2413
- signers: TokenTransferIntentCompressedInstructionDataArgs["signers"];
2414
- settingsMutArgs: TokenTransferIntentCompressedInstructionDataArgs["settingsMutArgs"];
2415
- compressedProofArgs: TokenTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
2416
- remainingAccounts: TokenTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
2417
- };
2418
- declare function getTokenTransferIntentCompressedInstructionAsync<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: TokenTransferIntentCompressedAsyncInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>, config?: {
2419
- programAddress?: TProgramAddress;
2420
- }): Promise<TokenTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>>;
2421
- type TokenTransferIntentCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceSplTokenAccount extends string = string, TAccountSourceCtokenTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationSplTokenAccount extends string = string, TAccountDestinationCtokenTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountCompressedTokenProgramAuthority extends string = string, TAccountSplInterfacePda extends string = string, TAccountCompressibleConfig extends string = string, TAccountRentSponsor extends string = string, TAccountCompressedTokenProgram extends string = string> = {
2422
- payer: TransactionSigner<TAccountPayer>;
2423
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2424
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2425
- source: Address<TAccountSource>;
2426
- sourceSplTokenAccount: Address<TAccountSourceSplTokenAccount>;
2427
- sourceCtokenTokenAccount: Address<TAccountSourceCtokenTokenAccount>;
2428
- destination: Address<TAccountDestination>;
2429
- destinationSplTokenAccount?: Address<TAccountDestinationSplTokenAccount>;
2430
- destinationCtokenTokenAccount?: Address<TAccountDestinationCtokenTokenAccount>;
2431
- tokenProgram?: Address<TAccountTokenProgram>;
2432
- mint: Address<TAccountMint>;
2433
- systemProgram?: Address<TAccountSystemProgram>;
2434
- compressedTokenProgramAuthority?: Address<TAccountCompressedTokenProgramAuthority>;
2435
- splInterfacePda?: Address<TAccountSplInterfacePda>;
2436
- compressibleConfig: Address<TAccountCompressibleConfig>;
2437
- rentSponsor?: Address<TAccountRentSponsor>;
2438
- compressedTokenProgram?: Address<TAccountCompressedTokenProgram>;
2439
- splInterfacePdaArgs: TokenTransferIntentCompressedInstructionDataArgs["splInterfacePdaArgs"];
2440
- amount: TokenTransferIntentCompressedInstructionDataArgs["amount"];
2441
- sourceCompressedTokenAccounts: TokenTransferIntentCompressedInstructionDataArgs["sourceCompressedTokenAccounts"];
2442
- signers: TokenTransferIntentCompressedInstructionDataArgs["signers"];
2443
- settingsMutArgs: TokenTransferIntentCompressedInstructionDataArgs["settingsMutArgs"];
2444
- compressedProofArgs: TokenTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
2445
- remainingAccounts: TokenTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
2446
- };
2447
- declare function getTokenTransferIntentCompressedInstruction<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: TokenTransferIntentCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>, config?: {
2448
- programAddress?: TProgramAddress;
2449
- }): TokenTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceSplTokenAccount, TAccountSourceCtokenTokenAccount, TAccountDestination, TAccountDestinationSplTokenAccount, TAccountDestinationCtokenTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountCompressedTokenProgramAuthority, TAccountSplInterfacePda, TAccountCompressibleConfig, TAccountRentSponsor, TAccountCompressedTokenProgram>;
2450
- type ParsedTokenTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2451
- programAddress: Address<TProgram>;
2452
- accounts: {
2453
- payer: TAccountMetas[0];
2454
- slotHashSysvar?: TAccountMetas[1] | undefined;
2455
- instructionsSysvar: TAccountMetas[2];
2456
- source: TAccountMetas[3];
2457
- sourceSplTokenAccount: TAccountMetas[4];
2458
- sourceCtokenTokenAccount: TAccountMetas[5];
2459
- destination: TAccountMetas[6];
2460
- destinationSplTokenAccount?: TAccountMetas[7] | undefined;
2461
- destinationCtokenTokenAccount?: TAccountMetas[8] | undefined;
2462
- tokenProgram: TAccountMetas[9];
2463
- mint: TAccountMetas[10];
2464
- systemProgram: TAccountMetas[11];
2465
- compressedTokenProgramAuthority: TAccountMetas[12];
2466
- splInterfacePda?: TAccountMetas[13] | undefined;
2467
- compressibleConfig: TAccountMetas[14];
2468
- rentSponsor?: TAccountMetas[15] | undefined;
2469
- compressedTokenProgram: TAccountMetas[16];
2470
- };
2471
- data: TokenTransferIntentCompressedInstructionData;
2472
- };
2473
- declare function parseTokenTransferIntentCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTokenTransferIntentCompressedInstruction<TProgram, TAccountMetas>;
2474
-
2475
1738
  declare const TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2476
1739
  declare function getTransactionBufferCloseDiscriminatorBytes(): ReadonlyUint8Array;
2477
1740
  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<[
@@ -2529,69 +1792,6 @@ type ParsedTransactionBufferCloseInstruction<TProgram extends string = typeof MU
2529
1792
  };
2530
1793
  declare function parseTransactionBufferCloseInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCloseInstruction<TProgram, TAccountMetas>;
2531
1794
 
2532
- declare const TRANSACTION_BUFFER_CLOSE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2533
- declare function getTransactionBufferCloseCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2534
- type TransactionBufferCloseCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountRentCollector 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<[
2535
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2536
- TAccountRentCollector extends string ? WritableAccount<TAccountRentCollector> : TAccountRentCollector,
2537
- TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2538
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2539
- TAccountCloser extends string ? ReadonlySignerAccount<TAccountCloser> & AccountSignerMeta<TAccountCloser> : TAccountCloser,
2540
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2541
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2542
- ...TRemainingAccounts
2543
- ]>;
2544
- type TransactionBufferCloseCompressedInstructionData = {
2545
- discriminator: ReadonlyUint8Array;
2546
- secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2547
- settingsMutArgs: SettingsMutArgs;
2548
- compressedProofArgs: ProofArgs;
2549
- };
2550
- type TransactionBufferCloseCompressedInstructionDataArgs = {
2551
- secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2552
- settingsMutArgs: SettingsMutArgsArgs;
2553
- compressedProofArgs: ProofArgsArgs;
2554
- };
2555
- declare function getTransactionBufferCloseCompressedInstructionDataEncoder(): Encoder<TransactionBufferCloseCompressedInstructionDataArgs>;
2556
- declare function getTransactionBufferCloseCompressedInstructionDataDecoder(): Decoder<TransactionBufferCloseCompressedInstructionData>;
2557
- declare function getTransactionBufferCloseCompressedInstructionDataCodec(): Codec<TransactionBufferCloseCompressedInstructionDataArgs, TransactionBufferCloseCompressedInstructionData>;
2558
- type TransactionBufferCloseCompressedInstructionExtraArgs = {
2559
- remainingAccounts: Array<{
2560
- address: Address;
2561
- role: number;
2562
- }>;
2563
- };
2564
- type TransactionBufferCloseCompressedInput<TAccountPayer extends string = string, TAccountRentCollector extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCloser extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2565
- payer: TransactionSigner<TAccountPayer>;
2566
- rentCollector: Address<TAccountRentCollector>;
2567
- domainConfig?: Address<TAccountDomainConfig>;
2568
- transactionBuffer: Address<TAccountTransactionBuffer>;
2569
- closer?: TransactionSigner<TAccountCloser>;
2570
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2571
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2572
- secp256r1VerifyArgs: TransactionBufferCloseCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2573
- settingsMutArgs: TransactionBufferCloseCompressedInstructionDataArgs["settingsMutArgs"];
2574
- compressedProofArgs: TransactionBufferCloseCompressedInstructionDataArgs["compressedProofArgs"];
2575
- remainingAccounts: TransactionBufferCloseCompressedInstructionExtraArgs["remainingAccounts"];
2576
- };
2577
- declare function getTransactionBufferCloseCompressedInstruction<TAccountPayer extends string, TAccountRentCollector 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: TransactionBufferCloseCompressedInput<TAccountPayer, TAccountRentCollector, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2578
- programAddress?: TProgramAddress;
2579
- }): TransactionBufferCloseCompressedInstruction<TProgramAddress, TAccountPayer, TAccountRentCollector, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2580
- type ParsedTransactionBufferCloseCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2581
- programAddress: Address<TProgram>;
2582
- accounts: {
2583
- payer: TAccountMetas[0];
2584
- rentCollector: TAccountMetas[1];
2585
- domainConfig?: TAccountMetas[2] | undefined;
2586
- transactionBuffer: TAccountMetas[3];
2587
- closer?: TAccountMetas[4] | undefined;
2588
- slotHashSysvar?: TAccountMetas[5] | undefined;
2589
- instructionsSysvar?: TAccountMetas[6] | undefined;
2590
- };
2591
- data: TransactionBufferCloseCompressedInstructionData;
2592
- };
2593
- declare function parseTransactionBufferCloseCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCloseCompressedInstruction<TProgram, TAccountMetas>;
2594
-
2595
1795
  declare const TRANSACTION_BUFFER_CREATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2596
1796
  declare function getTransactionBufferCreateDiscriminatorBytes(): ReadonlyUint8Array;
2597
1797
  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<[
@@ -2607,11 +1807,21 @@ type TransactionBufferCreateInstruction<TProgram extends string = typeof MULTI_W
2607
1807
  ]>;
2608
1808
  type TransactionBufferCreateInstructionData = {
2609
1809
  discriminator: ReadonlyUint8Array;
2610
- args: TransactionBufferCreateArgs;
1810
+ bufferIndex: number;
1811
+ preauthorizeExecution: boolean;
1812
+ bufferExtendHashes: Array<ReadonlyUint8Array>;
1813
+ finalBufferHash: ReadonlyUint8Array;
1814
+ finalBufferSize: number;
1815
+ expectedSigners: Array<ExpectedSigner>;
2611
1816
  secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2612
1817
  };
2613
1818
  type TransactionBufferCreateInstructionDataArgs = {
2614
- args: TransactionBufferCreateArgsArgs;
1819
+ bufferIndex: number;
1820
+ preauthorizeExecution: boolean;
1821
+ bufferExtendHashes: Array<ReadonlyUint8Array>;
1822
+ finalBufferHash: ReadonlyUint8Array;
1823
+ finalBufferSize: number;
1824
+ expectedSigners: Array<ExpectedSignerArgs>;
2615
1825
  secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2616
1826
  };
2617
1827
  declare function getTransactionBufferCreateInstructionDataEncoder(): Encoder<TransactionBufferCreateInstructionDataArgs>;
@@ -2632,7 +1842,12 @@ type TransactionBufferCreateInput<TAccountSettings extends string = string, TAcc
2632
1842
  systemProgram?: Address<TAccountSystemProgram>;
2633
1843
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2634
1844
  slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2635
- args: TransactionBufferCreateInstructionDataArgs["args"];
1845
+ bufferIndex: TransactionBufferCreateInstructionDataArgs["bufferIndex"];
1846
+ preauthorizeExecution: TransactionBufferCreateInstructionDataArgs["preauthorizeExecution"];
1847
+ bufferExtendHashes: TransactionBufferCreateInstructionDataArgs["bufferExtendHashes"];
1848
+ finalBufferHash: TransactionBufferCreateInstructionDataArgs["finalBufferHash"];
1849
+ finalBufferSize: TransactionBufferCreateInstructionDataArgs["finalBufferSize"];
1850
+ expectedSigners: TransactionBufferCreateInstructionDataArgs["expectedSigners"];
2636
1851
  secp256r1VerifyArgs: TransactionBufferCreateInstructionDataArgs["secp256r1VerifyArgs"];
2637
1852
  remainingAccounts: TransactionBufferCreateInstructionExtraArgs["remainingAccounts"];
2638
1853
  };
@@ -2655,72 +1870,6 @@ type ParsedTransactionBufferCreateInstruction<TProgram extends string = typeof M
2655
1870
  };
2656
1871
  declare function parseTransactionBufferCreateInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCreateInstruction<TProgram, TAccountMetas>;
2657
1872
 
2658
- declare const TRANSACTION_BUFFER_CREATE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2659
- declare function getTransactionBufferCreateCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2660
- type TransactionBufferCreateCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, 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<[
2661
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2662
- TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2663
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2664
- TAccountCreator extends string ? ReadonlySignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator,
2665
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2666
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2667
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2668
- ...TRemainingAccounts
2669
- ]>;
2670
- type TransactionBufferCreateCompressedInstructionData = {
2671
- discriminator: ReadonlyUint8Array;
2672
- args: TransactionBufferCreateArgs;
2673
- secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2674
- settingsReadonlyArgs: SettingsReadonlyArgs;
2675
- compressedProofArgs: ProofArgs;
2676
- };
2677
- type TransactionBufferCreateCompressedInstructionDataArgs = {
2678
- args: TransactionBufferCreateArgsArgs;
2679
- secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2680
- settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2681
- compressedProofArgs: ProofArgsArgs;
2682
- };
2683
- declare function getTransactionBufferCreateCompressedInstructionDataEncoder(): Encoder<TransactionBufferCreateCompressedInstructionDataArgs>;
2684
- declare function getTransactionBufferCreateCompressedInstructionDataDecoder(): Decoder<TransactionBufferCreateCompressedInstructionData>;
2685
- declare function getTransactionBufferCreateCompressedInstructionDataCodec(): Codec<TransactionBufferCreateCompressedInstructionDataArgs, TransactionBufferCreateCompressedInstructionData>;
2686
- type TransactionBufferCreateCompressedInstructionExtraArgs = {
2687
- remainingAccounts: Array<{
2688
- address: Address;
2689
- role: number;
2690
- }>;
2691
- };
2692
- type TransactionBufferCreateCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCreator extends string = string, TAccountSystemProgram extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSlotHashSysvar extends string = string> = {
2693
- payer: TransactionSigner<TAccountPayer>;
2694
- domainConfig?: Address<TAccountDomainConfig>;
2695
- transactionBuffer: Address<TAccountTransactionBuffer>;
2696
- creator?: TransactionSigner<TAccountCreator>;
2697
- systemProgram?: Address<TAccountSystemProgram>;
2698
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2699
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2700
- args: TransactionBufferCreateCompressedInstructionDataArgs["args"];
2701
- secp256r1VerifyArgs: TransactionBufferCreateCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2702
- settingsReadonlyArgs: TransactionBufferCreateCompressedInstructionDataArgs["settingsReadonlyArgs"];
2703
- compressedProofArgs: TransactionBufferCreateCompressedInstructionDataArgs["compressedProofArgs"];
2704
- remainingAccounts: TransactionBufferCreateCompressedInstructionExtraArgs["remainingAccounts"];
2705
- };
2706
- declare function getTransactionBufferCreateCompressedInstruction<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: TransactionBufferCreateCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>, config?: {
2707
- programAddress?: TProgramAddress;
2708
- }): TransactionBufferCreateCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>;
2709
- type ParsedTransactionBufferCreateCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2710
- programAddress: Address<TProgram>;
2711
- accounts: {
2712
- payer: TAccountMetas[0];
2713
- domainConfig?: TAccountMetas[1] | undefined;
2714
- transactionBuffer: TAccountMetas[2];
2715
- creator?: TAccountMetas[3] | undefined;
2716
- systemProgram: TAccountMetas[4];
2717
- instructionsSysvar: TAccountMetas[5];
2718
- slotHashSysvar?: TAccountMetas[6] | undefined;
2719
- };
2720
- data: TransactionBufferCreateCompressedInstructionData;
2721
- };
2722
- declare function parseTransactionBufferCreateCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCreateCompressedInstruction<TProgram, TAccountMetas>;
2723
-
2724
1873
  declare const TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2725
1874
  declare function getTransactionBufferExecuteDiscriminatorBytes(): ReadonlyUint8Array;
2726
1875
  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<[
@@ -2775,66 +1924,6 @@ type ParsedTransactionBufferExecuteInstruction<TProgram extends string = typeof
2775
1924
  };
2776
1925
  declare function parseTransactionBufferExecuteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExecuteInstruction<TProgram, TAccountMetas>;
2777
1926
 
2778
- declare const TRANSACTION_BUFFER_EXECUTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2779
- declare function getTransactionBufferExecuteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2780
- type TransactionBufferExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer 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<[
2781
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2782
- TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2783
- TAccountExecutor extends string ? ReadonlySignerAccount<TAccountExecutor> & AccountSignerMeta<TAccountExecutor> : TAccountExecutor,
2784
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2785
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2786
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2787
- ...TRemainingAccounts
2788
- ]>;
2789
- type TransactionBufferExecuteCompressedInstructionData = {
2790
- discriminator: ReadonlyUint8Array;
2791
- secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2792
- settingsMutArgs: SettingsMutArgs;
2793
- compressedProofArgs: ProofArgs;
2794
- };
2795
- type TransactionBufferExecuteCompressedInstructionDataArgs = {
2796
- secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2797
- settingsMutArgs: SettingsMutArgsArgs;
2798
- compressedProofArgs: ProofArgsArgs;
2799
- };
2800
- declare function getTransactionBufferExecuteCompressedInstructionDataEncoder(): Encoder<TransactionBufferExecuteCompressedInstructionDataArgs>;
2801
- declare function getTransactionBufferExecuteCompressedInstructionDataDecoder(): Decoder<TransactionBufferExecuteCompressedInstructionData>;
2802
- declare function getTransactionBufferExecuteCompressedInstructionDataCodec(): Codec<TransactionBufferExecuteCompressedInstructionDataArgs, TransactionBufferExecuteCompressedInstructionData>;
2803
- type TransactionBufferExecuteCompressedInstructionExtraArgs = {
2804
- remainingAccounts: Array<{
2805
- address: Address;
2806
- role: number;
2807
- }>;
2808
- };
2809
- type TransactionBufferExecuteCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountExecutor extends string = string, TAccountTransactionBuffer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2810
- payer: TransactionSigner<TAccountPayer>;
2811
- domainConfig?: Address<TAccountDomainConfig>;
2812
- executor?: TransactionSigner<TAccountExecutor>;
2813
- transactionBuffer: Address<TAccountTransactionBuffer>;
2814
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2815
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2816
- secp256r1VerifyArgs: TransactionBufferExecuteCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2817
- settingsMutArgs: TransactionBufferExecuteCompressedInstructionDataArgs["settingsMutArgs"];
2818
- compressedProofArgs: TransactionBufferExecuteCompressedInstructionDataArgs["compressedProofArgs"];
2819
- remainingAccounts: TransactionBufferExecuteCompressedInstructionExtraArgs["remainingAccounts"];
2820
- };
2821
- declare function getTransactionBufferExecuteCompressedInstruction<TAccountPayer 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: TransactionBufferExecuteCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2822
- programAddress?: TProgramAddress;
2823
- }): TransactionBufferExecuteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2824
- type ParsedTransactionBufferExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2825
- programAddress: Address<TProgram>;
2826
- accounts: {
2827
- payer: TAccountMetas[0];
2828
- domainConfig?: TAccountMetas[1] | undefined;
2829
- executor?: TAccountMetas[2] | undefined;
2830
- transactionBuffer: TAccountMetas[3];
2831
- slotHashSysvar?: TAccountMetas[4] | undefined;
2832
- instructionsSysvar?: TAccountMetas[5] | undefined;
2833
- };
2834
- data: TransactionBufferExecuteCompressedInstructionData;
2835
- };
2836
- declare function parseTransactionBufferExecuteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExecuteCompressedInstruction<TProgram, TAccountMetas>;
2837
-
2838
1927
  declare const TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2839
1928
  declare function getTransactionBufferExtendDiscriminatorBytes(): ReadonlyUint8Array;
2840
1929
  type TransactionBufferExtendInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
@@ -2877,48 +1966,6 @@ type ParsedTransactionBufferExtendInstruction<TProgram extends string = typeof M
2877
1966
  };
2878
1967
  declare function parseTransactionBufferExtendInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExtendInstruction<TProgram, TAccountMetas>;
2879
1968
 
2880
- declare const TRANSACTION_BUFFER_EXTEND_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2881
- declare function getTransactionBufferExtendCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2882
- type TransactionBufferExtendCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2883
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2884
- ...TRemainingAccounts
2885
- ]>;
2886
- type TransactionBufferExtendCompressedInstructionData = {
2887
- discriminator: ReadonlyUint8Array;
2888
- buffer: ReadonlyUint8Array;
2889
- settingsKey: Address;
2890
- };
2891
- type TransactionBufferExtendCompressedInstructionDataArgs = {
2892
- buffer: ReadonlyUint8Array;
2893
- settingsKey: Address;
2894
- };
2895
- declare function getTransactionBufferExtendCompressedInstructionDataEncoder(): Encoder<TransactionBufferExtendCompressedInstructionDataArgs>;
2896
- declare function getTransactionBufferExtendCompressedInstructionDataDecoder(): Decoder<TransactionBufferExtendCompressedInstructionData>;
2897
- declare function getTransactionBufferExtendCompressedInstructionDataCodec(): Codec<TransactionBufferExtendCompressedInstructionDataArgs, TransactionBufferExtendCompressedInstructionData>;
2898
- type TransactionBufferExtendCompressedInstructionExtraArgs = {
2899
- remainingAccounts: Array<{
2900
- address: Address;
2901
- role: number;
2902
- }>;
2903
- };
2904
- type TransactionBufferExtendCompressedInput<TAccountTransactionBuffer extends string = string> = {
2905
- transactionBuffer: Address<TAccountTransactionBuffer>;
2906
- buffer: TransactionBufferExtendCompressedInstructionDataArgs["buffer"];
2907
- settingsKey: TransactionBufferExtendCompressedInstructionDataArgs["settingsKey"];
2908
- remainingAccounts: TransactionBufferExtendCompressedInstructionExtraArgs["remainingAccounts"];
2909
- };
2910
- declare function getTransactionBufferExtendCompressedInstruction<TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExtendCompressedInput<TAccountTransactionBuffer>, config?: {
2911
- programAddress?: TProgramAddress;
2912
- }): TransactionBufferExtendCompressedInstruction<TProgramAddress, TAccountTransactionBuffer>;
2913
- type ParsedTransactionBufferExtendCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2914
- programAddress: Address<TProgram>;
2915
- accounts: {
2916
- transactionBuffer: TAccountMetas[0];
2917
- };
2918
- data: TransactionBufferExtendCompressedInstructionData;
2919
- };
2920
- declare function parseTransactionBufferExtendCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExtendCompressedInstruction<TProgram, TAccountMetas>;
2921
-
2922
1969
  declare const TRANSACTION_BUFFER_VOTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2923
1970
  declare function getTransactionBufferVoteDiscriminatorBytes(): ReadonlyUint8Array;
2924
1971
  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<[
@@ -2940,94 +1987,31 @@ type TransactionBufferVoteInstructionDataArgs = {
2940
1987
  };
2941
1988
  declare function getTransactionBufferVoteInstructionDataEncoder(): Encoder<TransactionBufferVoteInstructionDataArgs>;
2942
1989
  declare function getTransactionBufferVoteInstructionDataDecoder(): Decoder<TransactionBufferVoteInstructionData>;
2943
- declare function getTransactionBufferVoteInstructionDataCodec(): Codec<TransactionBufferVoteInstructionDataArgs, TransactionBufferVoteInstructionData>;
2944
- type TransactionBufferVoteInstructionExtraArgs = {
2945
- remainingAccounts: Array<{
2946
- address: Address;
2947
- role: number;
2948
- }>;
2949
- };
2950
- type TransactionBufferVoteInput<TAccountSettings extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountVoter extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2951
- settings: Address<TAccountSettings>;
2952
- domainConfig?: Address<TAccountDomainConfig>;
2953
- transactionBuffer: Address<TAccountTransactionBuffer>;
2954
- voter?: TransactionSigner<TAccountVoter>;
2955
- systemProgram?: Address<TAccountSystemProgram>;
2956
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2957
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2958
- secp256r1VerifyArgs: TransactionBufferVoteInstructionDataArgs["secp256r1VerifyArgs"];
2959
- remainingAccounts: TransactionBufferVoteInstructionExtraArgs["remainingAccounts"];
2960
- };
2961
- 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?: {
2962
- programAddress?: TProgramAddress;
2963
- }): TransactionBufferVoteInstruction<TProgramAddress, TAccountSettings, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2964
- type ParsedTransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2965
- programAddress: Address<TProgram>;
2966
- accounts: {
2967
- settings: TAccountMetas[0];
2968
- domainConfig?: TAccountMetas[1] | undefined;
2969
- transactionBuffer: TAccountMetas[2];
2970
- voter?: TAccountMetas[3] | undefined;
2971
- systemProgram: TAccountMetas[4];
2972
- slotHashSysvar?: TAccountMetas[5] | undefined;
2973
- instructionsSysvar?: TAccountMetas[6] | undefined;
2974
- };
2975
- data: TransactionBufferVoteInstructionData;
2976
- };
2977
- declare function parseTransactionBufferVoteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferVoteInstruction<TProgram, TAccountMetas>;
2978
-
2979
- declare const TRANSACTION_BUFFER_VOTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2980
- declare function getTransactionBufferVoteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2981
- type TransactionBufferVoteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer 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<[
2982
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2983
- TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2984
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2985
- TAccountVoter extends string ? ReadonlySignerAccount<TAccountVoter> & AccountSignerMeta<TAccountVoter> : TAccountVoter,
2986
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2987
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2988
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2989
- ...TRemainingAccounts
2990
- ]>;
2991
- type TransactionBufferVoteCompressedInstructionData = {
2992
- discriminator: ReadonlyUint8Array;
2993
- secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2994
- settingsReadonlyArgs: SettingsReadonlyArgs;
2995
- compressedProofArgs: ProofArgs;
2996
- };
2997
- type TransactionBufferVoteCompressedInstructionDataArgs = {
2998
- secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2999
- settingsReadonlyArgs: SettingsReadonlyArgsArgs;
3000
- compressedProofArgs: ProofArgsArgs;
3001
- };
3002
- declare function getTransactionBufferVoteCompressedInstructionDataEncoder(): Encoder<TransactionBufferVoteCompressedInstructionDataArgs>;
3003
- declare function getTransactionBufferVoteCompressedInstructionDataDecoder(): Decoder<TransactionBufferVoteCompressedInstructionData>;
3004
- declare function getTransactionBufferVoteCompressedInstructionDataCodec(): Codec<TransactionBufferVoteCompressedInstructionDataArgs, TransactionBufferVoteCompressedInstructionData>;
3005
- type TransactionBufferVoteCompressedInstructionExtraArgs = {
1990
+ declare function getTransactionBufferVoteInstructionDataCodec(): Codec<TransactionBufferVoteInstructionDataArgs, TransactionBufferVoteInstructionData>;
1991
+ type TransactionBufferVoteInstructionExtraArgs = {
3006
1992
  remainingAccounts: Array<{
3007
1993
  address: Address;
3008
1994
  role: number;
3009
1995
  }>;
3010
1996
  };
3011
- type TransactionBufferVoteCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountVoter extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
3012
- payer: TransactionSigner<TAccountPayer>;
1997
+ type TransactionBufferVoteInput<TAccountSettings extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountVoter extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
1998
+ settings: Address<TAccountSettings>;
3013
1999
  domainConfig?: Address<TAccountDomainConfig>;
3014
2000
  transactionBuffer: Address<TAccountTransactionBuffer>;
3015
2001
  voter?: TransactionSigner<TAccountVoter>;
3016
2002
  systemProgram?: Address<TAccountSystemProgram>;
3017
2003
  slotHashSysvar?: Address<TAccountSlotHashSysvar>;
3018
2004
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
3019
- secp256r1VerifyArgs: TransactionBufferVoteCompressedInstructionDataArgs["secp256r1VerifyArgs"];
3020
- settingsReadonlyArgs: TransactionBufferVoteCompressedInstructionDataArgs["settingsReadonlyArgs"];
3021
- compressedProofArgs: TransactionBufferVoteCompressedInstructionDataArgs["compressedProofArgs"];
3022
- remainingAccounts: TransactionBufferVoteCompressedInstructionExtraArgs["remainingAccounts"];
2005
+ secp256r1VerifyArgs: TransactionBufferVoteInstructionDataArgs["secp256r1VerifyArgs"];
2006
+ remainingAccounts: TransactionBufferVoteInstructionExtraArgs["remainingAccounts"];
3023
2007
  };
3024
- declare function getTransactionBufferVoteCompressedInstruction<TAccountPayer 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: TransactionBufferVoteCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2008
+ 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?: {
3025
2009
  programAddress?: TProgramAddress;
3026
- }): TransactionBufferVoteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
3027
- type ParsedTransactionBufferVoteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2010
+ }): TransactionBufferVoteInstruction<TProgramAddress, TAccountSettings, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2011
+ type ParsedTransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3028
2012
  programAddress: Address<TProgram>;
3029
2013
  accounts: {
3030
- payer: TAccountMetas[0];
2014
+ settings: TAccountMetas[0];
3031
2015
  domainConfig?: TAccountMetas[1] | undefined;
3032
2016
  transactionBuffer: TAccountMetas[2];
3033
2017
  voter?: TAccountMetas[3] | undefined;
@@ -3035,9 +2019,9 @@ type ParsedTransactionBufferVoteCompressedInstruction<TProgram extends string =
3035
2019
  slotHashSysvar?: TAccountMetas[5] | undefined;
3036
2020
  instructionsSysvar?: TAccountMetas[6] | undefined;
3037
2021
  };
3038
- data: TransactionBufferVoteCompressedInstructionData;
2022
+ data: TransactionBufferVoteInstructionData;
3039
2023
  };
3040
- declare function parseTransactionBufferVoteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferVoteCompressedInstruction<TProgram, TAccountMetas>;
2024
+ declare function parseTransactionBufferVoteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferVoteInstruction<TProgram, TAccountMetas>;
3041
2025
 
3042
2026
  declare const TRANSACTION_EXECUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3043
2027
  declare function getTransactionExecuteDiscriminatorBytes(): ReadonlyUint8Array;
@@ -3080,48 +2064,6 @@ type ParsedTransactionExecuteInstruction<TProgram extends string = typeof MULTI_
3080
2064
  };
3081
2065
  declare function parseTransactionExecuteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteInstruction<TProgram, TAccountMetas>;
3082
2066
 
3083
- declare const TRANSACTION_EXECUTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3084
- declare function getTransactionExecuteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
3085
- type TransactionExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3086
- TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer,
3087
- TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
3088
- ...TRemainingAccounts
3089
- ]>;
3090
- type TransactionExecuteCompressedInstructionData = {
3091
- discriminator: ReadonlyUint8Array;
3092
- settingsKey: Address;
3093
- };
3094
- type TransactionExecuteCompressedInstructionDataArgs = {
3095
- settingsKey: Address;
3096
- };
3097
- declare function getTransactionExecuteCompressedInstructionDataEncoder(): FixedSizeEncoder<TransactionExecuteCompressedInstructionDataArgs>;
3098
- declare function getTransactionExecuteCompressedInstructionDataDecoder(): FixedSizeDecoder<TransactionExecuteCompressedInstructionData>;
3099
- declare function getTransactionExecuteCompressedInstructionDataCodec(): FixedSizeCodec<TransactionExecuteCompressedInstructionDataArgs, TransactionExecuteCompressedInstructionData>;
3100
- type TransactionExecuteCompressedInstructionExtraArgs = {
3101
- remainingAccounts: Array<{
3102
- address: Address;
3103
- role: number;
3104
- }>;
3105
- };
3106
- type TransactionExecuteCompressedInput<TAccountPayer extends string = string, TAccountTransactionBuffer extends string = string> = {
3107
- payer: Address<TAccountPayer>;
3108
- transactionBuffer: Address<TAccountTransactionBuffer>;
3109
- settingsKey: TransactionExecuteCompressedInstructionDataArgs["settingsKey"];
3110
- remainingAccounts: TransactionExecuteCompressedInstructionExtraArgs["remainingAccounts"];
3111
- };
3112
- declare function getTransactionExecuteCompressedInstruction<TAccountPayer extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteCompressedInput<TAccountPayer, TAccountTransactionBuffer>, config?: {
3113
- programAddress?: TProgramAddress;
3114
- }): TransactionExecuteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountTransactionBuffer>;
3115
- type ParsedTransactionExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3116
- programAddress: Address<TProgram>;
3117
- accounts: {
3118
- payer: TAccountMetas[0];
3119
- transactionBuffer: TAccountMetas[1];
3120
- };
3121
- data: TransactionExecuteCompressedInstructionData;
3122
- };
3123
- declare function parseTransactionExecuteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteCompressedInstruction<TProgram, TAccountMetas>;
3124
-
3125
2067
  declare const TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3126
2068
  declare function getTransactionExecuteSyncDiscriminatorBytes(): ReadonlyUint8Array;
3127
2069
  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<[
@@ -3132,11 +2074,21 @@ type TransactionExecuteSyncInstruction<TProgram extends string = typeof MULTI_WA
3132
2074
  ]>;
3133
2075
  type TransactionExecuteSyncInstructionData = {
3134
2076
  discriminator: ReadonlyUint8Array;
3135
- transactionMessage: TransactionMessage;
2077
+ numSigners: number;
2078
+ numWritableSigners: number;
2079
+ numWritableNonSigners: number;
2080
+ numAccountKeys: number;
2081
+ instructions: Array<CompiledInstruction>;
2082
+ addressTableLookups: Array<TransactionMessageAddressTableLookup>;
3136
2083
  signers: Array<TransactionSyncSigners>;
3137
2084
  };
3138
2085
  type TransactionExecuteSyncInstructionDataArgs = {
3139
- transactionMessage: TransactionMessageArgs;
2086
+ numSigners: number;
2087
+ numWritableSigners: number;
2088
+ numWritableNonSigners: number;
2089
+ numAccountKeys: number;
2090
+ instructions: Array<CompiledInstructionArgs>;
2091
+ addressTableLookups: Array<TransactionMessageAddressTableLookupArgs>;
3140
2092
  signers: Array<TransactionSyncSignersArgs>;
3141
2093
  };
3142
2094
  declare function getTransactionExecuteSyncInstructionDataEncoder(): Encoder<TransactionExecuteSyncInstructionDataArgs>;
@@ -3152,7 +2104,12 @@ type TransactionExecuteSyncInput<TAccountSettings extends string = string, TAcco
3152
2104
  settings: Address<TAccountSettings>;
3153
2105
  slotHashSysvar?: Address<TAccountSlotHashSysvar>;
3154
2106
  instructionsSysvar?: Address<TAccountInstructionsSysvar>;
3155
- transactionMessage: TransactionExecuteSyncInstructionDataArgs["transactionMessage"];
2107
+ numSigners: TransactionExecuteSyncInstructionDataArgs["numSigners"];
2108
+ numWritableSigners: TransactionExecuteSyncInstructionDataArgs["numWritableSigners"];
2109
+ numWritableNonSigners: TransactionExecuteSyncInstructionDataArgs["numWritableNonSigners"];
2110
+ numAccountKeys: TransactionExecuteSyncInstructionDataArgs["numAccountKeys"];
2111
+ instructions: TransactionExecuteSyncInstructionDataArgs["instructions"];
2112
+ addressTableLookups: TransactionExecuteSyncInstructionDataArgs["addressTableLookups"];
3156
2113
  signers: TransactionExecuteSyncInstructionDataArgs["signers"];
3157
2114
  remainingAccounts: TransactionExecuteSyncInstructionExtraArgs["remainingAccounts"];
3158
2115
  };
@@ -3170,81 +2127,79 @@ type ParsedTransactionExecuteSyncInstruction<TProgram extends string = typeof MU
3170
2127
  };
3171
2128
  declare function parseTransactionExecuteSyncInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteSyncInstruction<TProgram, TAccountMetas>;
3172
2129
 
3173
- declare const TRANSACTION_EXECUTE_SYNC_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
3174
- declare function getTransactionExecuteSyncCompressedDiscriminatorBytes(): ReadonlyUint8Array;
3175
- type TransactionExecuteSyncCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer 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<[
3176
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
3177
- TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
3178
- TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
3179
- ...TRemainingAccounts
3180
- ]>;
3181
- type TransactionExecuteSyncCompressedInstructionData = {
3182
- discriminator: ReadonlyUint8Array;
3183
- transactionMessage: TransactionMessage;
3184
- signers: Array<TransactionSyncSigners>;
3185
- settingsMutArgs: SettingsMutArgs;
3186
- compressedProofArgs: ProofArgs;
3187
- };
3188
- type TransactionExecuteSyncCompressedInstructionDataArgs = {
3189
- transactionMessage: TransactionMessageArgs;
3190
- signers: Array<TransactionSyncSignersArgs>;
3191
- settingsMutArgs: SettingsMutArgsArgs;
3192
- compressedProofArgs: ProofArgsArgs;
2130
+ declare function createDomainConfig({ payer, rpId, origins, authority, }: {
2131
+ payer: TransactionSigner;
2132
+ rpId: string;
2133
+ origins: string[];
2134
+ authority: TransactionSigner;
2135
+ }): Promise<CreateDomainConfigInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>>;
2136
+
2137
+ declare function createGlobalCounter({ payer, }: {
2138
+ payer: TransactionSigner;
2139
+ }): Promise<CreateGlobalCounterInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2140
+
2141
+ declare function disableDomainConfig({ admin, rpId, disable, }: {
2142
+ admin: TransactionSigner;
2143
+ disable: boolean;
2144
+ rpId: string;
2145
+ }): Promise<DisableDomainConfigInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>>;
2146
+
2147
+ declare const SECP256R1_PROGRAM_ADDRESS: Address<"Secp256r1SigVerify1111111111111111111111111">;
2148
+ type Secp256r1VerifyInput = {
2149
+ publicKey: ReadonlyUint8Array;
2150
+ signature: ReadonlyUint8Array;
2151
+ message: ReadonlyUint8Array;
2152
+ }[];
2153
+ type Secp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = Instruction<TProgram> & InstructionWithData<Uint8Array<ArrayBuffer>> & InstructionWithAccounts<[]>;
2154
+ type Secp256r1VerifyInstructionData = {
2155
+ numSignatures: number;
2156
+ padding: number;
2157
+ offsets: Secp256r1SignatureOffsetsDataArgs[];
2158
+ payload: Secp256r1VerifyInput;
3193
2159
  };
3194
- declare function getTransactionExecuteSyncCompressedInstructionDataEncoder(): Encoder<TransactionExecuteSyncCompressedInstructionDataArgs>;
3195
- declare function getTransactionExecuteSyncCompressedInstructionDataDecoder(): Decoder<TransactionExecuteSyncCompressedInstructionData>;
3196
- declare function getTransactionExecuteSyncCompressedInstructionDataCodec(): Codec<TransactionExecuteSyncCompressedInstructionDataArgs, TransactionExecuteSyncCompressedInstructionData>;
3197
- type TransactionExecuteSyncCompressedInstructionExtraArgs = {
3198
- remainingAccounts: Array<{
3199
- address: Address;
3200
- role: number;
3201
- }>;
2160
+ type Secp256r1SignatureOffsetsDataArgs = {
2161
+ signatureOffset: number;
2162
+ signatureInstructionIndex: number;
2163
+ publicKeyOffset: number;
2164
+ publicKeyInstructionIndex: number;
2165
+ messageDataOffset: number;
2166
+ messageDataSize: number;
2167
+ messageInstructionIndex: number;
3202
2168
  };
3203
- type TransactionExecuteSyncCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
3204
- payer: TransactionSigner<TAccountPayer>;
3205
- slotHashSysvar?: Address<TAccountSlotHashSysvar>;
3206
- instructionsSysvar?: Address<TAccountInstructionsSysvar>;
3207
- transactionMessage: TransactionExecuteSyncCompressedInstructionDataArgs["transactionMessage"];
3208
- signers: TransactionExecuteSyncCompressedInstructionDataArgs["signers"];
3209
- settingsMutArgs: TransactionExecuteSyncCompressedInstructionDataArgs["settingsMutArgs"];
3210
- compressedProofArgs: TransactionExecuteSyncCompressedInstructionDataArgs["compressedProofArgs"];
3211
- remainingAccounts: TransactionExecuteSyncCompressedInstructionExtraArgs["remainingAccounts"];
2169
+ declare function getSecp256r1SignatureOffsetsDataEncoder(): Encoder<Secp256r1SignatureOffsetsDataArgs>;
2170
+ declare function getSecp256r1SignatureOffsetsDataDecoder(): Decoder<Secp256r1SignatureOffsetsDataArgs>;
2171
+ declare function getSecp256r1VerifyInstructionDataDecoder(): Decoder<Secp256r1VerifyInstructionData>;
2172
+ declare function getSecp256r1VerifyInstructionDataEncoder(): Encoder<Secp256r1VerifyInstructionDataArgs>;
2173
+ type Secp256r1VerifyInstructionDataArgs = {
2174
+ numSignatures: number;
2175
+ padding: number;
2176
+ offsets: Secp256r1SignatureOffsetsDataArgs[];
2177
+ payload: Secp256r1VerifyInput;
3212
2178
  };
3213
- declare function getTransactionExecuteSyncCompressedInstruction<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteSyncCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2179
+ declare function getSecp256r1VerifyInstructionDataCodec(): Codec<Secp256r1VerifyInstructionDataArgs, Secp256r1VerifyInstructionData>;
2180
+ declare function getSecp256r1VerifyInstruction<TProgramAddress extends Address = typeof SECP256R1_PROGRAM_ADDRESS>(input: Secp256r1VerifyInput, config?: {
3214
2181
  programAddress?: TProgramAddress;
3215
- }): TransactionExecuteSyncCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
3216
- type ParsedTransactionExecuteSyncCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2182
+ }): Secp256r1VerifyInstruction<TProgramAddress>;
2183
+ type ParsedSecp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = {
3217
2184
  programAddress: Address<TProgram>;
3218
- accounts: {
3219
- payer: TAccountMetas[0];
3220
- slotHashSysvar?: TAccountMetas[1] | undefined;
3221
- instructionsSysvar: TAccountMetas[2];
3222
- };
3223
- data: TransactionExecuteSyncCompressedInstructionData;
2185
+ accounts: {};
2186
+ data: Secp256r1VerifyInstructionData;
3224
2187
  };
3225
- declare function parseTransactionExecuteSyncCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteSyncCompressedInstruction<TProgram, TAccountMetas>;
3226
-
3227
- declare function addWhitelistedAddressTrees({ admin, addressTree, }: {
3228
- admin: TransactionSigner;
3229
- addressTree: Address;
3230
- }): Promise<AddWhitelistedAddressTreesInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2188
+ declare function parseSecp256r1VerifyInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<Uint8Array<ArrayBuffer>>): ParsedSecp256r1VerifyInstruction<TProgram>;
3231
2189
 
3232
- declare function createDomainConfig({ payer, rpId, origins, authority, }: {
2190
+ declare function executeTransaction({ settings, transactionBufferAddress, transactionMessageBytes, payer, addressesByLookupTableAddress, secp256r1VerifyInput, additionalSigners, jitoBundlesTipAmount, }: {
2191
+ settings: Address;
3233
2192
  payer: TransactionSigner;
3234
- rpId: string;
3235
- origins: string[];
3236
- authority: TransactionSigner;
3237
- }): Promise<CreateDomainConfigInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>>;
3238
-
3239
- type CachedAccountData = (CompressedAccount | null) | WithCursor<ParsedTokenAccount[]> | Readonly<{
3240
- context: Readonly<{
3241
- slot: Slot;
3242
- }>;
3243
- value: (AccountInfoBase & Readonly<{
3244
- data: Base64EncodedDataResponse;
3245
- }>) | null;
2193
+ transactionBufferAddress: Address;
2194
+ transactionMessageBytes: ReadonlyUint8Array;
2195
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
2196
+ secp256r1VerifyInput?: Secp256r1VerifyInput;
2197
+ additionalSigners?: TransactionSigner[];
2198
+ jitoBundlesTipAmount?: number;
2199
+ }): Promise<{
2200
+ instructions: Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
2201
+ addressLookupTableAccounts: AddressesByLookupTableAddress;
3246
2202
  }>;
3247
- type AccountCache = Map<string, CachedAccountData>;
3248
2203
 
3249
2204
  type PermissionArgs = {
3250
2205
  initiate: boolean;
@@ -3253,17 +2208,14 @@ type PermissionArgs = {
3253
2208
  };
3254
2209
  type AddMemberArgs = {
3255
2210
  member: Address | Secp256r1Key;
3256
- userAddressTreeIndex?: number;
3257
2211
  permissions: PermissionArgs;
3258
2212
  };
3259
2213
  type EditMemberArgs = {
3260
2214
  member: Address | Secp256r1Key;
3261
- userAddressTreeIndex?: number;
3262
2215
  permissions: PermissionArgs;
3263
2216
  };
3264
2217
  type RemoveMemberArgs = {
3265
2218
  member: Address | Secp256r1Key;
3266
- userAddressTreeIndex?: number;
3267
2219
  };
3268
2220
  type ConfigurationArgs = {
3269
2221
  type: "EditPermissions";
@@ -3293,7 +2245,6 @@ declare const UserInfoSchema: z.ZodObject<{
3293
2245
  walletAddress: z.ZodString;
3294
2246
  settingsIndexWithAddress: z.ZodObject<{
3295
2247
  index: z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt]>;
3296
- settingsAddressTreeIndex: z.ZodNumber;
3297
2248
  }, z.core.$strip>;
3298
2249
  }, z.core.$loose>;
3299
2250
  declare const DeviceProfileSchema: z.ZodObject<{
@@ -3359,7 +2310,6 @@ declare const TransactionActionTypeSchema: z.ZodEnum<{
3359
2310
  vote: "vote";
3360
2311
  sync: "sync";
3361
2312
  close: "close";
3362
- decompress: "decompress";
3363
2313
  transfer_intent: "transfer_intent";
3364
2314
  change_delegate: "change_delegate";
3365
2315
  change_config: "change_config";
@@ -3372,7 +2322,6 @@ declare const TransactionPayloadSchema: z.ZodObject<{
3372
2322
  vote: "vote";
3373
2323
  sync: "sync";
3374
2324
  close: "close";
3375
- decompress: "decompress";
3376
2325
  transfer_intent: "transfer_intent";
3377
2326
  change_delegate: "change_delegate";
3378
2327
  change_config: "change_config";
@@ -3388,7 +2337,6 @@ declare const TransactionPayloadWithBase64MessageBytesSchema: z.ZodObject<{
3388
2337
  vote: "vote";
3389
2338
  sync: "sync";
3390
2339
  close: "close";
3391
- decompress: "decompress";
3392
2340
  transfer_intent: "transfer_intent";
3393
2341
  change_delegate: "change_delegate";
3394
2342
  change_config: "change_config";
@@ -3428,7 +2376,6 @@ declare const StartTransactionRequestSchema: z.ZodObject<{
3428
2376
  vote: "vote";
3429
2377
  sync: "sync";
3430
2378
  close: "close";
3431
- decompress: "decompress";
3432
2379
  transfer_intent: "transfer_intent";
3433
2380
  change_delegate: "change_delegate";
3434
2381
  change_config: "change_config";
@@ -3470,7 +2417,6 @@ declare const AuthenticationContextSchema: z.ZodObject<{
3470
2417
  vote: "vote";
3471
2418
  sync: "sync";
3472
2419
  close: "close";
3473
- decompress: "decompress";
3474
2420
  transfer_intent: "transfer_intent";
3475
2421
  change_delegate: "change_delegate";
3476
2422
  change_config: "change_config";
@@ -3548,7 +2494,6 @@ declare const AuthenticationContextSchema: z.ZodObject<{
3548
2494
  }, z.core.$strict>;
3549
2495
  declare const BaseResponseSchema: z.ZodObject<{
3550
2496
  signer: z.ZodString;
3551
- userAddressTreeIndex: z.ZodOptional<z.ZodNumber>;
3552
2497
  additionalInfo: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
3553
2498
  }, z.core.$strict>;
3554
2499
  declare const TransactionDetailsSchema: z.ZodObject<{
@@ -3564,7 +2509,6 @@ declare const CompleteMessageRequestSchema: z.ZodObject<{
3564
2509
  type: z.ZodLiteral<"message">;
3565
2510
  payload: z.ZodObject<{
3566
2511
  signer: z.ZodString;
3567
- userAddressTreeIndex: z.ZodOptional<z.ZodNumber>;
3568
2512
  additionalInfo: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
3569
2513
  authResponse: z.ZodCustom<AuthenticationResponseJSON, AuthenticationResponseJSON>;
3570
2514
  client: z.ZodObject<{
@@ -3658,7 +2602,6 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
3658
2602
  type: z.ZodLiteral<"transaction">;
3659
2603
  payload: z.ZodObject<{
3660
2604
  signer: z.ZodString;
3661
- userAddressTreeIndex: z.ZodOptional<z.ZodNumber>;
3662
2605
  additionalInfo: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
3663
2606
  authResponse: z.ZodCustom<AuthenticationResponseJSON, AuthenticationResponseJSON>;
3664
2607
  client: z.ZodObject<{
@@ -3748,7 +2691,6 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
3748
2691
  vote: "vote";
3749
2692
  sync: "sync";
3750
2693
  close: "close";
3751
- decompress: "decompress";
3752
2694
  transfer_intent: "transfer_intent";
3753
2695
  change_delegate: "change_delegate";
3754
2696
  change_config: "change_config";
@@ -3839,106 +2781,13 @@ type TransactionDetails = {
3839
2781
  declare function vaultTransactionMessageSerialize(compiledMessage: CompiledTransactionMessage): ReadonlyUint8Array;
3840
2782
  declare function vaultTransactionMessageDeserialize(transactionMessageBytes: ReadonlyUint8Array): CompiledTransactionMessage & CompiledTransactionMessageWithLifetime;
3841
2783
 
3842
- interface UserCreationArgs$1 {
3843
- member: Secp256r1Key;
3844
- role: UserRole.Member | UserRole.PermanentMember;
3845
- credentialId: string;
3846
- transports: Transports[];
3847
- settings?: Address;
3848
- settingsAddressTreeIndex?: number;
3849
- transactionManager?: {
3850
- member: Address;
3851
- userAddressTreeIndex?: number;
3852
- };
3853
- }
3854
- declare function createDomainUserAccounts({ authority, payer, createUserArgs, domainConfig, cachedAccounts, }: {
3855
- domainConfig: Address;
3856
- authority: TransactionSigner;
3857
- payer: TransactionSigner;
3858
- createUserArgs: UserCreationArgs$1;
3859
- cachedAccounts?: AccountCache;
3860
- }): Promise<CreateDomainUserAccountInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, []>>;
3861
-
3862
- declare function createGlobalCounter({ payer, }: {
3863
- payer: TransactionSigner;
3864
- }): Promise<CreateGlobalCounterInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
3865
-
3866
- declare function disableDomainConfig({ admin, rpId, disable, }: {
3867
- admin: TransactionSigner;
3868
- disable: boolean;
3869
- rpId: string;
3870
- }): Promise<DisableDomainConfigInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>>;
3871
-
3872
- declare const SECP256R1_PROGRAM_ADDRESS: Address<"Secp256r1SigVerify1111111111111111111111111">;
3873
- type Secp256r1VerifyInput = {
3874
- publicKey: ReadonlyUint8Array;
3875
- signature: ReadonlyUint8Array;
3876
- message: ReadonlyUint8Array;
3877
- }[];
3878
- type Secp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = Instruction<TProgram> & InstructionWithData<Uint8Array<ArrayBuffer>> & InstructionWithAccounts<[]>;
3879
- type Secp256r1VerifyInstructionData = {
3880
- numSignatures: number;
3881
- padding: number;
3882
- offsets: Secp256r1SignatureOffsetsDataArgs[];
3883
- payload: Secp256r1VerifyInput;
3884
- };
3885
- type Secp256r1SignatureOffsetsDataArgs = {
3886
- signatureOffset: number;
3887
- signatureInstructionIndex: number;
3888
- publicKeyOffset: number;
3889
- publicKeyInstructionIndex: number;
3890
- messageDataOffset: number;
3891
- messageDataSize: number;
3892
- messageInstructionIndex: number;
3893
- };
3894
- declare function getSecp256r1SignatureOffsetsDataEncoder(): Encoder<Secp256r1SignatureOffsetsDataArgs>;
3895
- declare function getSecp256r1SignatureOffsetsDataDecoder(): Decoder<Secp256r1SignatureOffsetsDataArgs>;
3896
- declare function getSecp256r1VerifyInstructionDataDecoder(): Decoder<Secp256r1VerifyInstructionData>;
3897
- declare function getSecp256r1VerifyInstructionDataEncoder(): Encoder<Secp256r1VerifyInstructionDataArgs>;
3898
- type Secp256r1VerifyInstructionDataArgs = {
3899
- numSignatures: number;
3900
- padding: number;
3901
- offsets: Secp256r1SignatureOffsetsDataArgs[];
3902
- payload: Secp256r1VerifyInput;
3903
- };
3904
- declare function getSecp256r1VerifyInstructionDataCodec(): Codec<Secp256r1VerifyInstructionDataArgs, Secp256r1VerifyInstructionData>;
3905
- declare function getSecp256r1VerifyInstruction<TProgramAddress extends Address = typeof SECP256R1_PROGRAM_ADDRESS>(input: Secp256r1VerifyInput, config?: {
3906
- programAddress?: TProgramAddress;
3907
- }): Secp256r1VerifyInstruction<TProgramAddress>;
3908
- type ParsedSecp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = {
3909
- programAddress: Address<TProgram>;
3910
- accounts: {};
3911
- data: Secp256r1VerifyInstructionData;
3912
- };
3913
- declare function parseSecp256r1VerifyInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<Uint8Array<ArrayBuffer>>): ParsedSecp256r1VerifyInstruction<TProgram>;
3914
-
3915
- declare function executeTransaction({ settings, transactionBufferAddress, transactionMessageBytes, payer, addressesByLookupTableAddress, secp256r1VerifyInput, additionalSigners, jitoBundlesTipAmount, compressed, }: {
3916
- settings: Address;
3917
- payer: TransactionSigner;
3918
- transactionBufferAddress: Address;
3919
- transactionMessageBytes: ReadonlyUint8Array;
3920
- addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3921
- secp256r1VerifyInput?: Secp256r1VerifyInput;
3922
- additionalSigners?: TransactionSigner[];
3923
- jitoBundlesTipAmount?: number;
3924
- compressed?: boolean;
3925
- }): Promise<{
3926
- instructions: Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3927
- addressLookupTableAccounts: AddressesByLookupTableAddress;
3928
- }>;
3929
-
3930
- declare function executeTransactionSync({ settings, settingsAddressTreeIndex, transactionMessageBytes, additionalSigners, signers, payer, addressesByLookupTableAddress, secp256r1VerifyInput, compressed, simulateProof, cachedAccounts, }: {
2784
+ declare function executeTransactionSync({ settings, transactionMessageBytes, additionalSigners, signers, addressesByLookupTableAddress, secp256r1VerifyInput, }: {
3931
2785
  settings: Address;
3932
- settingsAddressTreeIndex?: number;
3933
2786
  signers: (TransactionSigner | SignedSecp256r1Key)[];
3934
2787
  transactionMessageBytes: ReadonlyUint8Array;
3935
2788
  additionalSigners?: TransactionSigner[];
3936
2789
  secp256r1VerifyInput?: Secp256r1VerifyInput;
3937
- compressed?: boolean;
3938
2790
  addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3939
- payer?: TransactionSigner;
3940
- simulateProof?: boolean;
3941
- cachedAccounts?: AccountCache;
3942
2791
  }): Promise<{
3943
2792
  instructions: Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3944
2793
  addressLookupTableAccounts: AddressesByLookupTableAddress;
@@ -3946,19 +2795,14 @@ declare function executeTransactionSync({ settings, settingsAddressTreeIndex, tr
3946
2795
 
3947
2796
  type NativeTransferIntentParams = {
3948
2797
  settings: Address;
3949
- settingsAddressTreeIndex?: number;
3950
2798
  destination: Address;
3951
2799
  amount: number | bigint;
3952
2800
  signers: (TransactionSigner | SignedSecp256r1Key)[];
3953
- payer?: TransactionSigner;
3954
- compressed?: boolean;
3955
- cachedAccounts?: AccountCache;
3956
2801
  };
3957
- declare function nativeTransferIntent({ settings, settingsAddressTreeIndex, destination, signers, cachedAccounts, amount, payer, compressed, }: NativeTransferIntentParams): Promise<Instruction[]>;
2802
+ declare function nativeTransferIntent({ settings, destination, signers, amount, }: NativeTransferIntentParams): Promise<Instruction[]>;
3958
2803
 
3959
2804
  type TokenTransferIntentParams = {
3960
2805
  settings: Address;
3961
- settingsAddressTreeIndex?: number;
3962
2806
  destination: Address;
3963
2807
  mint: Address;
3964
2808
  amount: number | bigint;
@@ -3966,10 +2810,9 @@ type TokenTransferIntentParams = {
3966
2810
  tokenProgram: Address;
3967
2811
  payer: TransactionSigner;
3968
2812
  splInterfacePdaArgs?: SplInterfacePdaArgsArgs;
3969
- compressed?: boolean;
3970
- cachedAccounts?: AccountCache;
3971
2813
  };
3972
- declare function tokenTransferIntent({ settings, settingsAddressTreeIndex, destination, mint, signers, cachedAccounts, amount, payer, tokenProgram, splInterfacePdaArgs, compressed, }: TokenTransferIntentParams): Promise<Instruction[]>;
2814
+ declare function tokenTransferIntent({ settings, destination, mint, signers, amount, payer, tokenProgram, splInterfacePdaArgs, }: TokenTransferIntentParams): Promise<Instruction[]>;
2815
+ declare function getVersionFromDiscriminator(discriminator: number[] | undefined): number;
3973
2816
 
3974
2817
  interface MapData {
3975
2818
  index: number;
@@ -4003,14 +2846,26 @@ declare function changeConfig({ signers, payer, changeConfigArgs, }: {
4003
2846
  changeConfigArgs: {
4004
2847
  configActions: ConfigAction[];
4005
2848
  settings: Address;
4006
- compressed: boolean;
4007
2849
  packedAccounts: PackedAccounts;
4008
- proof: ValidityProofWithContext | null;
4009
- settingsMutArgs: SettingsMutArgs | null;
4010
2850
  };
4011
2851
  signers: (TransactionSigner | SignedSecp256r1Key)[];
4012
2852
  payer: TransactionSigner;
4013
- }): Promise<(Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | ChangeConfigCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []> | ChangeConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>)[]>;
2853
+ }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | ChangeConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>)[];
2854
+
2855
+ interface UserCreationArgs$1 {
2856
+ member: Secp256r1Key;
2857
+ role: UserRole.Member | UserRole.PermanentMember;
2858
+ credentialId: string;
2859
+ transports: Transports[];
2860
+ settings?: Address;
2861
+ transactionManagerAccount?: Address;
2862
+ }
2863
+ declare function createDomainUserAccounts({ authority, payer, createUserArgs, domainConfig, }: {
2864
+ domainConfig: Address;
2865
+ authority: TransactionSigner;
2866
+ payer: TransactionSigner;
2867
+ createUserArgs: UserCreationArgs$1;
2868
+ }): Promise<CreateDomainUserAccountInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []>>;
4014
2869
 
4015
2870
  type UserCreationArgs = {
4016
2871
  member: TransactionSigner;
@@ -4022,25 +2877,15 @@ type UserCreationArgs = {
4022
2877
  };
4023
2878
  declare function createUserAccounts({ createUserArgs, payer, }: {
4024
2879
  payer: TransactionSigner;
4025
- createUserArgs: UserCreationArgs[];
4026
- }): Promise<CreateUserAccountsInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2880
+ createUserArgs: UserCreationArgs;
2881
+ }): Promise<CreateUserAccountInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, []>>;
4027
2882
 
4028
2883
  type CreateWalletArgs = {
4029
2884
  index: number | bigint;
4030
2885
  payer: TransactionSigner;
4031
- cachedAccounts?: AccountCache;
4032
2886
  initialMember: TransactionSigner;
4033
- userAddressTreeIndex?: number;
4034
2887
  };
4035
- declare function createWallet({ index, payer, initialMember, userAddressTreeIndex, cachedAccounts, }: CreateWalletArgs): Promise<CreateCompressedWalletInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>>;
4036
-
4037
- declare function decompressSettingsAccount({ settings, settingsAddressTreeIndex, payer, signers, cachedAccounts, }: {
4038
- settings: Address;
4039
- settingsAddressTreeIndex?: number;
4040
- payer: TransactionSigner;
4041
- signers: (SignedSecp256r1Key | TransactionSigner)[];
4042
- cachedAccounts?: AccountCache;
4043
- }): Promise<(Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | DecompressSettingsAccountInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>)[]>;
2888
+ declare function createWallet({ index, payer, initialMember, }: CreateWalletArgs): Promise<CreateWalletInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []>>;
4044
2889
 
4045
2890
  declare function editDomainConfig({ authority, domainConfig, newAuthority, newOrigins, }: {
4046
2891
  domainConfig: Address;
@@ -4049,30 +2894,23 @@ declare function editDomainConfig({ authority, domainConfig, newAuthority, newOr
4049
2894
  newOrigins?: string[];
4050
2895
  }): Promise<EditDomainConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>>;
4051
2896
 
4052
- declare function editTransactionManagerUrl({ authority, userAddressTreeIndex, transactionManagerUrl, }: {
4053
- authority: TransactionSigner;
4054
- userAddressTreeIndex?: number;
2897
+ declare function editTransactionManagerUrl({ signer, transactionManagerUrl, }: {
2898
+ signer: TransactionSigner;
4055
2899
  transactionManagerUrl: string;
4056
- }): Promise<EditTransactionManagerUrlInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, []>>;
2900
+ }): Promise<EditTransactionManagerUrlInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>>;
4057
2901
 
4058
- declare function editUserDelegate({ payer, user, userAddressTreeIndex, newDelegate, cachedAccounts, }: {
2902
+ declare function editUserDelegate({ payer, user, newDelegate, }: {
4059
2903
  payer: TransactionSigner;
4060
2904
  user: TransactionSigner | SignedSecp256r1Key;
4061
- userAddressTreeIndex?: number;
4062
- cachedAccounts?: AccountCache;
4063
- newDelegate?: SettingsIndexWithAddress;
2905
+ newDelegate?: number;
4064
2906
  }): Promise<Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[]>;
4065
2907
 
4066
- declare function closeTransactionBuffer({ settingsAddressTreeIndex, closer, transactionBufferAddress, payer, compressed, cachedAccounts, }: {
4067
- settingsAddressTreeIndex?: number;
2908
+ declare function closeTransactionBuffer({ closer, transactionBufferAddress, }: {
4068
2909
  closer: TransactionSigner | SignedSecp256r1Key;
4069
2910
  transactionBufferAddress: Address;
4070
- payer?: TransactionSigner;
4071
- compressed?: boolean;
4072
- cachedAccounts?: AccountCache;
4073
- }): Promise<(Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCloseCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []> | TransactionBufferCloseInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []>)[]>;
2911
+ }): Promise<(Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCloseInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []>)[]>;
4074
2912
 
4075
- declare function createTransactionBuffer({ payer, creator, bufferIndex, settings, transactionBufferAddress, finalBufferHash, finalBufferSize, preauthorizeExecution, bufferExtendHashes, compressedArgs, expectedSigners, }: {
2913
+ declare function createTransactionBuffer({ payer, creator, bufferIndex, settings, transactionBufferAddress, finalBufferHash, finalBufferSize, preauthorizeExecution, bufferExtendHashes, expectedSigners, }: {
4076
2914
  finalBufferHash: Uint8Array<ArrayBuffer>;
4077
2915
  finalBufferSize: number;
4078
2916
  payer: TransactionSigner;
@@ -4082,64 +2920,39 @@ declare function createTransactionBuffer({ payer, creator, bufferIndex, settings
4082
2920
  transactionBufferAddress: Address;
4083
2921
  preauthorizeExecution: boolean;
4084
2922
  bufferExtendHashes: Uint8Array<ArrayBuffer>[];
4085
- compressedArgs: {
4086
- settingsReadonlyArgs: SettingsReadonlyArgs;
4087
- compressedProofArgs: ProofArgsArgs;
4088
- remainingAccounts: AccountMeta[];
4089
- } | null;
4090
2923
  expectedSigners: ExpectedSignerArgs[];
4091
- }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCreateCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []> | TransactionBufferCreateInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, string, []>)[];
2924
+ }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCreateInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, string, []>)[];
4092
2925
 
4093
- declare function executeTransactionBuffer({ executor, transactionBufferAddress, settings, compressedArgs, }: {
2926
+ declare function executeTransactionBuffer({ executor, transactionBufferAddress, settings, }: {
4094
2927
  executor?: TransactionSigner | SignedSecp256r1Key;
4095
2928
  transactionBufferAddress: Address;
4096
2929
  settings: Address;
4097
- compressedArgs: {
4098
- settingsMutArgs: SettingsMutArgs;
4099
- compressedProofArgs: ProofArgsArgs;
4100
- remainingAccounts: AccountMeta[];
4101
- payer: TransactionSigner;
4102
- } | null;
4103
- }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferExecuteCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []> | TransactionBufferExecuteInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []>)[];
2930
+ }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferExecuteInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []>)[];
4104
2931
 
4105
- declare function extendTransactionBuffer({ transactionMessageBytes, transactionBufferAddress, settings, compressed, }: {
2932
+ declare function extendTransactionBuffer({ transactionMessageBytes, transactionBufferAddress, settings, }: {
4106
2933
  transactionMessageBytes: Uint8Array<ArrayBuffer>;
4107
2934
  transactionBufferAddress: Address;
4108
2935
  settings: Address;
4109
- compressed?: boolean;
4110
- }): TransactionBufferExtendCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, []> | TransactionBufferExtendInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>;
2936
+ }): TransactionBufferExtendInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>;
4111
2937
 
4112
- declare function voteTransactionBuffer({ settings, voter, transactionBufferAddress, compressedArgs, }: {
2938
+ declare function voteTransactionBuffer({ settings, voter, transactionBufferAddress, }: {
4113
2939
  settings: Address;
4114
2940
  voter: TransactionSigner | SignedSecp256r1Key;
4115
2941
  transactionBufferAddress: Address;
4116
- compressedArgs: {
4117
- settingsReadonlyArgs: SettingsReadonlyArgs;
4118
- compressedProofArgs: ProofArgsArgs;
4119
- remainingAccounts: AccountMeta[];
4120
- payer: TransactionSigner;
4121
- } | null;
4122
- }): Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
2942
+ }): Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
4123
2943
 
4124
- declare function prepareChangeConfigArgs({ settings, settingsAddressTreeIndex, configActionsArgs, cachedAccounts, compressed, }: {
2944
+ declare function prepareChangeConfigArgs({ settings, configActionsArgs, }: {
4125
2945
  settings: Address;
4126
- compressed?: boolean;
4127
- settingsAddressTreeIndex?: number;
4128
2946
  configActionsArgs: ConfigurationArgs[];
4129
- cachedAccounts?: AccountCache;
4130
2947
  }): Promise<{
4131
2948
  configActions: ConfigAction[];
4132
2949
  settings: Address;
4133
- compressed: boolean;
4134
2950
  packedAccounts: PackedAccounts;
4135
- proof: ValidityProofWithContext | null;
4136
- settingsMutArgs: SettingsMutArgs | null;
4137
2951
  }>;
4138
2952
 
4139
2953
  interface CreateTransactionBundleArgs {
4140
2954
  payer: TransactionSigner;
4141
2955
  settings: Address;
4142
- settingsAddressTreeIndex?: number;
4143
2956
  transactionMessageBytes: Uint8Array<ArrayBuffer>;
4144
2957
  creator: TransactionSigner | SignedSecp256r1Key;
4145
2958
  additionalVoters?: (TransactionSigner | SignedSecp256r1Key)[];
@@ -4147,12 +2960,10 @@ interface CreateTransactionBundleArgs {
4147
2960
  additionalSigners?: TransactionSigner[];
4148
2961
  secp256r1VerifyInput?: Secp256r1VerifyInput;
4149
2962
  jitoBundlesTipAmount?: number;
4150
- compressed?: boolean;
4151
2963
  chunkSize?: number;
4152
2964
  addressesByLookupTableAddress?: AddressesByLookupTableAddress;
4153
- cachedAccounts?: AccountCache;
4154
2965
  }
4155
- declare function prepareTransactionBundle({ payer, settings, settingsAddressTreeIndex, transactionMessageBytes, creator, executor, secp256r1VerifyInput, jitoBundlesTipAmount, addressesByLookupTableAddress, compressed, additionalVoters, additionalSigners, chunkSize, cachedAccounts, }: CreateTransactionBundleArgs): Promise<TransactionDetails[]>;
2966
+ declare function prepareTransactionBundle({ payer, settings, transactionMessageBytes, creator, executor, secp256r1VerifyInput, jitoBundlesTipAmount, addressesByLookupTableAddress, additionalVoters, additionalSigners, chunkSize, }: CreateTransactionBundleArgs): Promise<TransactionDetails[]>;
4156
2967
 
4157
2968
  interface PrepareTransactionMessageArgs {
4158
2969
  instructions: Instruction[];
@@ -4164,56 +2975,26 @@ declare function prepareTransactionMessage({ instructions, payer, addressesByLoo
4164
2975
  interface CreateTransactionSyncArgs {
4165
2976
  payer: TransactionSigner;
4166
2977
  settings: Address;
4167
- settingsAddressTreeIndex?: number;
4168
2978
  transactionMessageBytes: ReadonlyUint8Array;
4169
2979
  signers: (TransactionSigner | SignedSecp256r1Key)[];
4170
2980
  additionalSigners?: TransactionSigner[];
4171
2981
  addressesByLookupTableAddress?: AddressesByLookupTableAddress;
4172
2982
  secp256r1VerifyInput?: Secp256r1VerifyInput;
4173
- compressed?: boolean;
4174
- simulateProof?: boolean;
4175
- cachedAccounts?: AccountCache;
4176
2983
  }
4177
- declare function prepareTransactionSync({ payer, settings, settingsAddressTreeIndex, transactionMessageBytes, signers, additionalSigners, secp256r1VerifyInput, addressesByLookupTableAddress, cachedAccounts, compressed, simulateProof, }: CreateTransactionSyncArgs): Promise<TransactionDetails>;
2984
+ declare function prepareTransactionSync({ payer, settings, transactionMessageBytes, signers, additionalSigners, secp256r1VerifyInput, addressesByLookupTableAddress, }: CreateTransactionSyncArgs): Promise<TransactionDetails>;
4178
2985
 
4179
- declare function getCompressedSettingsAddress(settings: Address, settingsAddressTreeIndex?: number): Promise<{
4180
- address: BN;
4181
- addressTree: PublicKey;
4182
- }>;
4183
- declare function getUserAccountAddress(member: Address | Secp256r1Key, userAddressTreeIndex?: number): Promise<{
4184
- address: BN;
4185
- addressTree: PublicKey;
4186
- }>;
2986
+ declare function getUserAddress(user: Address | Secp256r1Key): Promise<Address<string>>;
4187
2987
  declare function getDomainConfigAddress({ rpIdHash, rpId, }: {
4188
2988
  rpIdHash?: Uint8Array<ArrayBuffer>;
4189
2989
  rpId?: string;
4190
2990
  }): Promise<Address<string>>;
4191
2991
  declare function getGlobalCounterAddress(): Promise<Address<string>>;
4192
- declare function getWhitelistedAddressTreesAddress(): Promise<Address<string>>;
4193
2992
  declare function getTransactionBufferAddress(settings: Address, creator: Address | Secp256r1Key, buffer_index: number): Promise<Address>;
4194
2993
  declare function getWalletAddressFromSettings(settings: Address): Promise<Address<string>>;
4195
2994
  declare function getSettingsFromIndex(index: number | bigint): Promise<Address<string>>;
4196
2995
  declare function getWalletAddressFromIndex(index: number | bigint): Promise<Address<string>>;
4197
2996
  declare function getLightCpiSigner(): Promise<Address<string>>;
4198
2997
 
4199
- declare function fetchUserAccountData(member: Address | Secp256r1Key, userAddressTreeIndex?: number, cachedAccounts?: AccountCache): Promise<User>;
4200
- declare function fetchMaybeUserAccountData(member: Address | Secp256r1Key, userAddressTreeIndex?: number, cachedAccounts?: AccountCache): Promise<User | null>;
4201
- declare function fetchUserAccountByFilters(domainConfigAddress: Address, { member, credentialId, }: {
4202
- member?: Address | Secp256r1Key | null;
4203
- credentialId?: string | null;
4204
- }): Promise<User | null>;
4205
- declare function fetchSettingsAccountData(settings: Address, settingsAddressTreeIndex?: number, cachedAccounts?: AccountCache): Promise<CompressedSettingsData & {
4206
- isCompressed: boolean;
4207
- }>;
4208
- declare function fetchMaybeSettingsAccountData(settings: Address, settingsAddressTreeIndex?: number, cachedAccounts?: AccountCache): Promise<(CompressedSettingsData & {
4209
- isCompressed: boolean;
4210
- }) | null>;
4211
- declare function fetchAllSettingsAccountByMember(member: Address | Secp256r1Key, userAddressTreeIndex?: number, cachedAccounts?: AccountCache): Promise<(CompressedSettingsData & {
4212
- isCompressed: boolean;
4213
- })[]>;
4214
- declare function getWhitelistedAddressTreeFromIndex(index: number): Promise<Address>;
4215
- declare function getWhitelistedAddressTreeIndexFromAddress(addressTree: string): Promise<number>;
4216
-
4217
2998
  declare function getSolanaRpcEndpoint(): string;
4218
2999
  declare function getLightProtocolRpc(): Rpc;
4219
3000
  declare function getSolanaRpc(): Rpc$1<gill.RequestAirdropApi & gill.GetAccountInfoApi & gill.GetBalanceApi & gill.GetBlockApi & gill.GetBlockCommitmentApi & gill.GetBlockHeightApi & gill.GetBlockProductionApi & gill.GetBlocksApi & gill.GetBlocksWithLimitApi & gill.GetBlockTimeApi & gill.GetClusterNodesApi & gill.GetEpochInfoApi & gill.GetEpochScheduleApi & gill.GetFeeForMessageApi & gill.GetFirstAvailableBlockApi & gill.GetGenesisHashApi & gill.GetHealthApi & gill.GetHighestSnapshotSlotApi & gill.GetIdentityApi & gill.GetInflationGovernorApi & gill.GetInflationRateApi & gill.GetInflationRewardApi & gill.GetLargestAccountsApi & gill.GetLatestBlockhashApi & gill.GetLeaderScheduleApi & gill.GetMaxRetransmitSlotApi & gill.GetMaxShredInsertSlotApi & gill.GetMinimumBalanceForRentExemptionApi & gill.GetMultipleAccountsApi & gill.GetProgramAccountsApi & gill.GetRecentPerformanceSamplesApi & gill.GetRecentPrioritizationFeesApi & gill.GetSignaturesForAddressApi & gill.GetSignatureStatusesApi & gill.GetSlotApi & gill.GetSlotLeaderApi & gill.GetSlotLeadersApi & gill.GetStakeMinimumDelegationApi & gill.GetSupplyApi & gill.GetTokenAccountBalanceApi & gill.GetTokenAccountsByDelegateApi & gill.GetTokenAccountsByOwnerApi & gill.GetTokenLargestAccountsApi & gill.GetTokenSupplyApi & gill.GetTransactionApi & gill.GetTransactionCountApi & gill.GetVersionApi & gill.GetVoteAccountsApi & gill.IsBlockhashValidApi & gill.MinimumLedgerSlotApi & gill.SendTransactionApi & gill.SimulateTransactionApi>;
@@ -4245,11 +3026,8 @@ declare function getOriginIndex(domainConfig: Address, origin: string): Promise<
4245
3026
  declare function convertJWKToBase64String(jwk: JsonWebKey): string;
4246
3027
  declare function convertBase64StringToJWK(jwk: string): JsonWebKey;
4247
3028
 
4248
- declare function retrieveTransactionManager(signer: string, settingsData: CompressedSettingsData & {
4249
- isCompressed: boolean;
4250
- }): {
3029
+ declare function retrieveTransactionManager(signer: string, settingsData: Settings): {
4251
3030
  transactionManagerAddress: Address;
4252
- userAddressTreeIndex: number;
4253
3031
  } | null;
4254
3032
  declare function createTransactionManagerSigner(args: {
4255
3033
  address: Address;
@@ -4268,4 +3046,13 @@ declare function convertMemberKeyToString(memberKey: MemberKey): string;
4268
3046
  declare function serializeConfigActions(configActions: ConfigAction[]): Uint8Array<ArrayBuffer>;
4269
3047
  declare function deserializeConfigActions(bytes: Uint8Array<ArrayBuffer>): ConfigAction[];
4270
3048
 
4271
- export { ADD_WHITELISTED_ADDRESS_TREES_DISCRIMINATOR, type AccountCache, AccountState, type AccountStateArgs, type AddMemberArgs$1 as AddMemberArgs, type AddMemberArgsArgs, type AddWhitelistedAddressTreesAsyncInput, type AddWhitelistedAddressTreesInput, type AddWhitelistedAddressTreesInstruction, type AddWhitelistedAddressTreesInstructionData, type AddWhitelistedAddressTreesInstructionDataArgs, type AddWhitelistedAddressTreesInstructionExtraArgs, type AdditionalMetadata, type AdditionalMetadataArgs, AuthenticationContextSchema, BaseResponseSchema, CHANGE_CONFIG_COMPRESSED_DISCRIMINATOR, CHANGE_CONFIG_DISCRIMINATOR, CREATE_COMPRESSED_WALLET_DISCRIMINATOR, CREATE_DOMAIN_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR, CREATE_GLOBAL_COUNTER_DISCRIMINATOR, CREATE_USER_ACCOUNTS_DISCRIMINATOR, type CachedAccountData, type ChangeConfigCompressedInput, type ChangeConfigCompressedInstruction, type ChangeConfigCompressedInstructionData, type ChangeConfigCompressedInstructionDataArgs, type ChangeConfigCompressedInstructionExtraArgs, type ChangeConfigInput, type ChangeConfigInstruction, type ChangeConfigInstructionData, type ChangeConfigInstructionDataArgs, type ChangeConfigInstructionExtraArgs, type CompiledInstruction, type CompiledInstructionArgs, type CompleteMessageRequest, CompleteMessageRequestSchema, type CompleteTransactionRequest, CompleteTransactionRequestSchema, type CompressedAccountMeta, type CompressedAccountMetaArgs, type CompressedAccountMetaReadOnly, type CompressedAccountMetaReadOnlyArgs, type CompressedOnlyExtension, type CompressedOnlyExtensionArgs, type CompressedProof, type CompressedProofArgs, type CompressedSettings, type CompressedSettingsArgs, type CompressedSettingsData, type CompressedSettingsDataArgs, type CompressedTokenArgs, type CompressedTokenArgsArgs, type CompressibleExtension, type CompressibleExtensionArgs, type CompressionInfo, type CompressionInfoArgs, type ConfigAction, type ConfigActionArgs, type ConfigurationArgs, type CreateCompressedWalletAsyncInput, type CreateCompressedWalletInput, type CreateCompressedWalletInstruction, type CreateCompressedWalletInstructionData, type CreateCompressedWalletInstructionDataArgs, type CreateCompressedWalletInstructionExtraArgs, type CreateDomainConfigAsyncInput, type CreateDomainConfigInput, type CreateDomainConfigInstruction, type CreateDomainConfigInstructionData, type CreateDomainConfigInstructionDataArgs, type CreateDomainConfigInstructionExtraArgs, type CreateDomainUserAccountAsyncInput, type CreateDomainUserAccountInput, type CreateDomainUserAccountInstruction, type CreateDomainUserAccountInstructionData, type CreateDomainUserAccountInstructionDataArgs, type CreateDomainUserAccountInstructionExtraArgs, type CreateGlobalCounterAsyncInput, type CreateGlobalCounterInput, type CreateGlobalCounterInstruction, type CreateGlobalCounterInstructionData, type CreateGlobalCounterInstructionDataArgs, type CreateGlobalCounterInstructionExtraArgs, type CreateUserAccountArgs, type CreateUserAccountArgsArgs, type CreateUserAccountsAsyncInput, type CreateUserAccountsInput, type CreateUserAccountsInstruction, type CreateUserAccountsInstructionData, type CreateUserAccountsInstructionDataArgs, type CreateUserAccountsInstructionExtraArgs, DECOMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR, DISABLE_DOMAIN_CONFIG_DISCRIMINATOR, DOMAIN_CONFIG_DISCRIMINATOR, type DecompressSettingsAccountInput, type DecompressSettingsAccountInstruction, type DecompressSettingsAccountInstructionData, type DecompressSettingsAccountInstructionDataArgs, type DecompressSettingsAccountInstructionExtraArgs, 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 EditDomainConfigAsyncInput, type EditDomainConfigInput, type EditDomainConfigInstruction, type EditDomainConfigInstructionData, type EditDomainConfigInstructionDataArgs, type EditDomainConfigInstructionExtraArgs, type EditMemberArgs$1 as EditMemberArgs, type EditMemberArgsArgs, 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, type LinkWalletArgs, type LinkWalletArgsArgs, MULTI_WALLET_ERROR__ALREADY_DELEGATED, MULTI_WALLET_ERROR__CLIENT_DATA_HASH_MISMATCH, MULTI_WALLET_ERROR__CLOCK_SYSVAR_ACCESS_FAILED, 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_ADDRESS_TREE, MULTI_WALLET_ERROR__DUPLICATE_MEMBER, MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED, MULTI_WALLET_ERROR__EMPTY_MEMBERS, MULTI_WALLET_ERROR__EMPTY_SLOT_NUMBERS, 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_ADDRESS_TREE, 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_DOES_NOT_BELONG_TO_DOMAIN_CONFIG, MULTI_WALLET_ERROR__MEMBER_NOT_FOUND, MULTI_WALLET_ERROR__MEMBER_NOT_FOUND_IN_SETTINGS, 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_MUTATION_USER_ARGS, MULTI_WALLET_ERROR__MISSING_NEW_AUTHORITY, MULTI_WALLET_ERROR__MISSING_SETTINGS_ACCOUNT_FOR_DELEGATE, MULTI_WALLET_ERROR__MISSING_SETTINGS_DATA, MULTI_WALLET_ERROR__MISSING_SOURCE_TOKEN_ACCOUNT, MULTI_WALLET_ERROR__MISSING_SPL_INTERFACE_PDA, MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY, MULTI_WALLET_ERROR__MISSING_USER_ACCOUNT_ADDRESS, MULTI_WALLET_ERROR__MISSING_WHITELISTED_ADDRESS_TREES, 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__SOURCE_ACCOUNT_MISMATCH, 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_COMPRESSED_DISCRIMINATOR, NATIVE_TRANSFER_INTENT_DISCRIMINATOR, type NativeTransferIntentAsyncInput, type NativeTransferIntentCompressedInput, type NativeTransferIntentCompressedInstruction, type NativeTransferIntentCompressedInstructionData, type NativeTransferIntentCompressedInstructionDataArgs, type NativeTransferIntentCompressedInstructionExtraArgs, type NativeTransferIntentInput, type NativeTransferIntentInstruction, type NativeTransferIntentInstructionData, type NativeTransferIntentInstructionDataArgs, type NativeTransferIntentInstructionExtraArgs, type NativeTransferIntentParams, type NewAuthorityArgs, type NewAuthorityArgsArgs, type PackedAddressTreeInfo, type PackedAddressTreeInfoArgs, type PackedMerkleContext, type PackedMerkleContextArgs, type PackedStateTreeInfo, type PackedStateTreeInfoArgs, type ParsedAddWhitelistedAddressTreesInstruction, type ParsedChangeConfigCompressedInstruction, type ParsedChangeConfigInstruction, type ParsedCreateCompressedWalletInstruction, type ParsedCreateDomainConfigInstruction, type ParsedCreateDomainUserAccountInstruction, type ParsedCreateGlobalCounterInstruction, type ParsedCreateUserAccountsInstruction, type ParsedDecompressSettingsAccountInstruction, type ParsedDisableDomainConfigInstruction, type ParsedEditDomainConfigInstruction, type ParsedEditTransactionManagerUrlInstruction, type ParsedEditUserDelegateInstruction, type ParsedMultiWalletInstruction, type ParsedNativeTransferIntentCompressedInstruction, type ParsedNativeTransferIntentInstruction, type ParsedSecp256r1VerifyInstruction, type ParsedTokenTransferIntentCompressedInstruction, type ParsedTokenTransferIntentInstruction, type ParsedTransactionBufferCloseCompressedInstruction, type ParsedTransactionBufferCloseInstruction, type ParsedTransactionBufferCreateCompressedInstruction, type ParsedTransactionBufferCreateInstruction, type ParsedTransactionBufferExecuteCompressedInstruction, type ParsedTransactionBufferExecuteInstruction, type ParsedTransactionBufferExtendCompressedInstruction, type ParsedTransactionBufferExtendInstruction, type ParsedTransactionBufferVoteCompressedInstruction, type ParsedTransactionBufferVoteInstruction, type ParsedTransactionExecuteCompressedInstruction, type ParsedTransactionExecuteInstruction, type ParsedTransactionExecuteSyncCompressedInstruction, 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 SettingsIndexWithAddress, type SettingsIndexWithAddressAndDelegateInfo, type SettingsIndexWithAddressAndDelegateInfoArgs, type SettingsIndexWithAddressArgs, type SettingsMutArgs, type SettingsMutArgsArgs, type SettingsReadonlyArgs, type SettingsReadonlyArgsArgs, SignedSecp256r1Key, type SplInterfacePdaArgs, type SplInterfacePdaArgsArgs, type StartMessageRequest, StartMessageRequestSchema, type StartTransactionRequest, StartTransactionRequestSchema, TOKEN_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR, TOKEN_TRANSFER_INTENT_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_DISCRIMINATOR, TRANSACTION_BUFFER_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_DISCRIMINATOR, TRANSACTION_EXECUTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_EXECUTE_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_COMPRESSED_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR, type TokenMetadata, type TokenMetadataArgs, type TokenTransferIntentAsyncInput, type TokenTransferIntentCompressedAsyncInput, type TokenTransferIntentCompressedInput, type TokenTransferIntentCompressedInstruction, type TokenTransferIntentCompressedInstructionData, type TokenTransferIntentCompressedInstructionDataArgs, type TokenTransferIntentCompressedInstructionExtraArgs, type TokenTransferIntentInput, type TokenTransferIntentInstruction, type TokenTransferIntentInstructionData, type TokenTransferIntentInstructionDataArgs, type TokenTransferIntentInstructionExtraArgs, type TokenTransferIntentParams, type TransactionActionType, TransactionActionTypeSchema, type TransactionAuthDetails, type TransactionAuthenticationResponse, type TransactionBuffer, type TransactionBufferArgs, type TransactionBufferCloseCompressedInput, type TransactionBufferCloseCompressedInstruction, type TransactionBufferCloseCompressedInstructionData, type TransactionBufferCloseCompressedInstructionDataArgs, type TransactionBufferCloseCompressedInstructionExtraArgs, type TransactionBufferCloseInput, type TransactionBufferCloseInstruction, type TransactionBufferCloseInstructionData, type TransactionBufferCloseInstructionDataArgs, type TransactionBufferCloseInstructionExtraArgs, type TransactionBufferCreateArgs, type TransactionBufferCreateArgsArgs, type TransactionBufferCreateCompressedInput, type TransactionBufferCreateCompressedInstruction, type TransactionBufferCreateCompressedInstructionData, type TransactionBufferCreateCompressedInstructionDataArgs, type TransactionBufferCreateCompressedInstructionExtraArgs, type TransactionBufferCreateInput, type TransactionBufferCreateInstruction, type TransactionBufferCreateInstructionData, type TransactionBufferCreateInstructionDataArgs, type TransactionBufferCreateInstructionExtraArgs, type TransactionBufferExecuteCompressedInput, type TransactionBufferExecuteCompressedInstruction, type TransactionBufferExecuteCompressedInstructionData, type TransactionBufferExecuteCompressedInstructionDataArgs, type TransactionBufferExecuteCompressedInstructionExtraArgs, type TransactionBufferExecuteInput, type TransactionBufferExecuteInstruction, type TransactionBufferExecuteInstructionData, type TransactionBufferExecuteInstructionDataArgs, type TransactionBufferExecuteInstructionExtraArgs, type TransactionBufferExtendCompressedInput, type TransactionBufferExtendCompressedInstruction, type TransactionBufferExtendCompressedInstructionData, type TransactionBufferExtendCompressedInstructionDataArgs, type TransactionBufferExtendCompressedInstructionExtraArgs, type TransactionBufferExtendInput, type TransactionBufferExtendInstruction, type TransactionBufferExtendInstructionData, type TransactionBufferExtendInstructionDataArgs, type TransactionBufferExtendInstructionExtraArgs, type TransactionBufferVoteCompressedInput, type TransactionBufferVoteCompressedInstruction, type TransactionBufferVoteCompressedInstructionData, type TransactionBufferVoteCompressedInstructionDataArgs, type TransactionBufferVoteCompressedInstructionExtraArgs, type TransactionBufferVoteInput, type TransactionBufferVoteInstruction, type TransactionBufferVoteInstructionData, type TransactionBufferVoteInstructionDataArgs, type TransactionBufferVoteInstructionExtraArgs, type TransactionDetails, TransactionDetailsSchema, type TransactionExecuteCompressedInput, type TransactionExecuteCompressedInstruction, type TransactionExecuteCompressedInstructionData, type TransactionExecuteCompressedInstructionDataArgs, type TransactionExecuteCompressedInstructionExtraArgs, type TransactionExecuteInput, type TransactionExecuteInstruction, type TransactionExecuteInstructionData, type TransactionExecuteInstructionDataArgs, type TransactionExecuteInstructionExtraArgs, type TransactionExecuteSyncCompressedInput, type TransactionExecuteSyncCompressedInstruction, type TransactionExecuteSyncCompressedInstructionData, type TransactionExecuteSyncCompressedInstructionDataArgs, type TransactionExecuteSyncCompressedInstructionExtraArgs, type TransactionExecuteSyncInput, type TransactionExecuteSyncInstruction, type TransactionExecuteSyncInstructionData, type TransactionExecuteSyncInstructionDataArgs, type TransactionExecuteSyncInstructionExtraArgs, type TransactionMessage, type TransactionMessageAddressTableLookup, type TransactionMessageAddressTableLookupArgs, type TransactionMessageArgs, type TransactionPayload, TransactionPayloadSchema, type TransactionPayloadWithBase64MessageBytes, TransactionPayloadWithBase64MessageBytesSchema, type TransactionSyncSigners, type TransactionSyncSignersArgs, type TransferFeeAccountExtension, type TransferFeeAccountExtensionArgs, type TransferHookAccountExtension, type TransferHookAccountExtensionArgs, Transports, type TransportsArgs, type User, type UserArgs, type UserCreationArgs$2 as UserCreationArgs, type UserCreationArgsArgs, type UserInfo, UserInfoSchema, type UserMutArgs, type UserMutArgsArgs, type UserReadOnlyArgs, type UserReadOnlyArgsArgs, type UserReadOnlyOrMutateArgs, type UserReadOnlyOrMutateArgsArgs, UserRole, type UserRoleArgs, WHITELISTED_ADDRESS_TREE_DISCRIMINATOR, type WhitelistedAddressTree, type WhitelistedAddressTreeArgs, addWhitelistedAddressTrees, 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, decodeWhitelistedAddressTree, decompressSettingsAccount, deserializeConfigActions, disableDomainConfig, editDomainConfig, editTransactionManagerUrl, editUserDelegate, executeTransaction, executeTransactionBuffer, executeTransactionSync, extendTransactionBuffer, extensionStruct, fetchAllDomainConfig, fetchAllGlobalCounter, fetchAllMaybeDomainConfig, fetchAllMaybeGlobalCounter, fetchAllMaybeSettings, fetchAllMaybeTransactionBuffer, fetchAllMaybeWhitelistedAddressTree, fetchAllSettings, fetchAllSettingsAccountByMember, fetchAllTransactionBuffer, fetchAllWhitelistedAddressTree, fetchDomainConfig, fetchGlobalCounter, fetchMaybeDomainConfig, fetchMaybeGlobalCounter, fetchMaybeSettings, fetchMaybeSettingsAccountData, fetchMaybeTransactionBuffer, fetchMaybeUserAccountData, fetchMaybeWhitelistedAddressTree, fetchSettings, fetchSettingsAccountData, fetchTransactionBuffer, fetchUserAccountByFilters, fetchUserAccountData, fetchWhitelistedAddressTree, getAccountStateCodec, getAccountStateDecoder, getAccountStateEncoder, getAddMemberArgsCodec, getAddMemberArgsDecoder, getAddMemberArgsEncoder, getAddWhitelistedAddressTreesDiscriminatorBytes, getAddWhitelistedAddressTreesInstruction, getAddWhitelistedAddressTreesInstructionAsync, getAddWhitelistedAddressTreesInstructionDataCodec, getAddWhitelistedAddressTreesInstructionDataDecoder, getAddWhitelistedAddressTreesInstructionDataEncoder, getAdditionalMetadataCodec, getAdditionalMetadataDecoder, getAdditionalMetadataEncoder, getChangeConfigCompressedDiscriminatorBytes, getChangeConfigCompressedInstruction, getChangeConfigCompressedInstructionDataCodec, getChangeConfigCompressedInstructionDataDecoder, getChangeConfigCompressedInstructionDataEncoder, getChangeConfigDiscriminatorBytes, getChangeConfigInstruction, getChangeConfigInstructionDataCodec, getChangeConfigInstructionDataDecoder, getChangeConfigInstructionDataEncoder, getClientAndDeviceHash, getCompiledInstructionCodec, getCompiledInstructionDecoder, getCompiledInstructionEncoder, getCompressedAccountMetaCodec, getCompressedAccountMetaDecoder, getCompressedAccountMetaEncoder, getCompressedAccountMetaReadOnlyCodec, getCompressedAccountMetaReadOnlyDecoder, getCompressedAccountMetaReadOnlyEncoder, getCompressedOnlyExtensionCodec, getCompressedOnlyExtensionDecoder, getCompressedOnlyExtensionEncoder, getCompressedProofCodec, getCompressedProofDecoder, getCompressedProofEncoder, getCompressedSettingsAddress, getCompressedSettingsCodec, getCompressedSettingsDataCodec, getCompressedSettingsDataDecoder, getCompressedSettingsDataEncoder, getCompressedSettingsDecoder, getCompressedSettingsEncoder, getCompressedTokenArgsCodec, getCompressedTokenArgsDecoder, getCompressedTokenArgsEncoder, getCompressibleExtensionCodec, getCompressibleExtensionDecoder, getCompressibleExtensionEncoder, getCompressionInfoCodec, getCompressionInfoDecoder, getCompressionInfoEncoder, getConfigActionCodec, getConfigActionDecoder, getConfigActionEncoder, getCreateCompressedWalletDiscriminatorBytes, getCreateCompressedWalletInstruction, getCreateCompressedWalletInstructionAsync, getCreateCompressedWalletInstructionDataCodec, getCreateCompressedWalletInstructionDataDecoder, getCreateCompressedWalletInstructionDataEncoder, getCreateDomainConfigDiscriminatorBytes, getCreateDomainConfigInstruction, getCreateDomainConfigInstructionAsync, getCreateDomainConfigInstructionDataCodec, getCreateDomainConfigInstructionDataDecoder, getCreateDomainConfigInstructionDataEncoder, getCreateDomainUserAccountDiscriminatorBytes, getCreateDomainUserAccountInstruction, getCreateDomainUserAccountInstructionAsync, getCreateDomainUserAccountInstructionDataCodec, getCreateDomainUserAccountInstructionDataDecoder, getCreateDomainUserAccountInstructionDataEncoder, getCreateGlobalCounterDiscriminatorBytes, getCreateGlobalCounterInstruction, getCreateGlobalCounterInstructionAsync, getCreateGlobalCounterInstructionDataCodec, getCreateGlobalCounterInstructionDataDecoder, getCreateGlobalCounterInstructionDataEncoder, getCreateUserAccountArgsCodec, getCreateUserAccountArgsDecoder, getCreateUserAccountArgsEncoder, getCreateUserAccountsDiscriminatorBytes, getCreateUserAccountsInstruction, getCreateUserAccountsInstructionAsync, getCreateUserAccountsInstructionDataCodec, getCreateUserAccountsInstructionDataDecoder, getCreateUserAccountsInstructionDataEncoder, getDecompressSettingsAccountDiscriminatorBytes, getDecompressSettingsAccountInstruction, getDecompressSettingsAccountInstructionDataCodec, getDecompressSettingsAccountInstructionDataDecoder, getDecompressSettingsAccountInstructionDataEncoder, getDeviceMessageHash, getDisableDomainConfigDiscriminatorBytes, getDisableDomainConfigInstruction, getDisableDomainConfigInstructionDataCodec, getDisableDomainConfigInstructionDataDecoder, getDisableDomainConfigInstructionDataEncoder, getDomainConfigAddress, getDomainConfigCodec, getDomainConfigDecoder, getDomainConfigDiscriminatorBytes, getDomainConfigEncoder, getDomainConfigSize, getEditDomainConfigDiscriminatorBytes, getEditDomainConfigInstruction, getEditDomainConfigInstructionAsync, getEditDomainConfigInstructionDataCodec, getEditDomainConfigInstructionDataDecoder, getEditDomainConfigInstructionDataEncoder, getEditMemberArgsCodec, getEditMemberArgsDecoder, getEditMemberArgsEncoder, getEditTransactionManagerUrlDiscriminatorBytes, getEditTransactionManagerUrlInstruction, getEditTransactionManagerUrlInstructionDataCodec, getEditTransactionManagerUrlInstructionDataDecoder, getEditTransactionManagerUrlInstructionDataEncoder, getEditUserDelegateDiscriminatorBytes, getEditUserDelegateInstruction, getEditUserDelegateInstructionDataCodec, getEditUserDelegateInstructionDataDecoder, getEditUserDelegateInstructionDataEncoder, getExpectedSignerCodec, getExpectedSignerDecoder, getExpectedSignerEncoder, getExtensionStructCodec, getExtensionStructDecoder, getExtensionStructEncoder, getGlobalCounterAddress, getGlobalCounterCodec, getGlobalCounterDecoder, getGlobalCounterDiscriminatorBytes, getGlobalCounterEncoder, getGlobalCounterSize, getLightCpiSigner, getLightProtocolRpc, getLinkWalletArgsCodec, getLinkWalletArgsDecoder, getLinkWalletArgsEncoder, getMemberCodec, getMemberDecoder, getMemberEncoder, getMemberKeyCodec, getMemberKeyDecoder, getMemberKeyEncoder, getMultiWalletErrorMessage, getNativeTransferIntentCompressedDiscriminatorBytes, getNativeTransferIntentCompressedInstruction, getNativeTransferIntentCompressedInstructionDataCodec, getNativeTransferIntentCompressedInstructionDataDecoder, getNativeTransferIntentCompressedInstructionDataEncoder, getNativeTransferIntentDiscriminatorBytes, getNativeTransferIntentInstruction, getNativeTransferIntentInstructionAsync, getNativeTransferIntentInstructionDataCodec, getNativeTransferIntentInstructionDataDecoder, getNativeTransferIntentInstructionDataEncoder, getNewAuthorityArgsCodec, getNewAuthorityArgsDecoder, getNewAuthorityArgsEncoder, getOriginIndex, getPackedAddressTreeInfoCodec, getPackedAddressTreeInfoDecoder, getPackedAddressTreeInfoEncoder, getPackedMerkleContextCodec, getPackedMerkleContextDecoder, getPackedMerkleContextEncoder, getPackedStateTreeInfoCodec, getPackedStateTreeInfoDecoder, getPackedStateTreeInfoEncoder, 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, getSendAndConfirmTransaction, getSettingsCodec, getSettingsDecoder, getSettingsDiscriminatorBytes, getSettingsEncoder, getSettingsFromIndex, getSettingsIndexWithAddressAndDelegateInfoCodec, getSettingsIndexWithAddressAndDelegateInfoDecoder, getSettingsIndexWithAddressAndDelegateInfoEncoder, getSettingsIndexWithAddressCodec, getSettingsIndexWithAddressDecoder, getSettingsIndexWithAddressEncoder, getSettingsMutArgsCodec, getSettingsMutArgsDecoder, getSettingsMutArgsEncoder, getSettingsReadonlyArgsCodec, getSettingsReadonlyArgsDecoder, getSettingsReadonlyArgsEncoder, getSignedSecp256r1Key, getSolanaRpc, getSolanaRpcEndpoint, getSplInterfacePdaArgsCodec, getSplInterfacePdaArgsDecoder, getSplInterfacePdaArgsEncoder, getTokenMetadataCodec, getTokenMetadataDecoder, getTokenMetadataEncoder, getTokenTransferIntentCompressedDiscriminatorBytes, getTokenTransferIntentCompressedInstruction, getTokenTransferIntentCompressedInstructionAsync, getTokenTransferIntentCompressedInstructionDataCodec, getTokenTransferIntentCompressedInstructionDataDecoder, getTokenTransferIntentCompressedInstructionDataEncoder, getTokenTransferIntentDiscriminatorBytes, getTokenTransferIntentInstruction, getTokenTransferIntentInstructionAsync, getTokenTransferIntentInstructionDataCodec, getTokenTransferIntentInstructionDataDecoder, getTokenTransferIntentInstructionDataEncoder, getTransactionBufferAddress, getTransactionBufferCloseCompressedDiscriminatorBytes, getTransactionBufferCloseCompressedInstruction, getTransactionBufferCloseCompressedInstructionDataCodec, getTransactionBufferCloseCompressedInstructionDataDecoder, getTransactionBufferCloseCompressedInstructionDataEncoder, getTransactionBufferCloseDiscriminatorBytes, getTransactionBufferCloseInstruction, getTransactionBufferCloseInstructionDataCodec, getTransactionBufferCloseInstructionDataDecoder, getTransactionBufferCloseInstructionDataEncoder, getTransactionBufferCodec, getTransactionBufferCreateArgsCodec, getTransactionBufferCreateArgsDecoder, getTransactionBufferCreateArgsEncoder, getTransactionBufferCreateCompressedDiscriminatorBytes, getTransactionBufferCreateCompressedInstruction, getTransactionBufferCreateCompressedInstructionDataCodec, getTransactionBufferCreateCompressedInstructionDataDecoder, getTransactionBufferCreateCompressedInstructionDataEncoder, getTransactionBufferCreateDiscriminatorBytes, getTransactionBufferCreateInstruction, getTransactionBufferCreateInstructionDataCodec, getTransactionBufferCreateInstructionDataDecoder, getTransactionBufferCreateInstructionDataEncoder, getTransactionBufferDecoder, getTransactionBufferDiscriminatorBytes, getTransactionBufferEncoder, getTransactionBufferExecuteCompressedDiscriminatorBytes, getTransactionBufferExecuteCompressedInstruction, getTransactionBufferExecuteCompressedInstructionDataCodec, getTransactionBufferExecuteCompressedInstructionDataDecoder, getTransactionBufferExecuteCompressedInstructionDataEncoder, getTransactionBufferExecuteDiscriminatorBytes, getTransactionBufferExecuteInstruction, getTransactionBufferExecuteInstructionDataCodec, getTransactionBufferExecuteInstructionDataDecoder, getTransactionBufferExecuteInstructionDataEncoder, getTransactionBufferExtendCompressedDiscriminatorBytes, getTransactionBufferExtendCompressedInstruction, getTransactionBufferExtendCompressedInstructionDataCodec, getTransactionBufferExtendCompressedInstructionDataDecoder, getTransactionBufferExtendCompressedInstructionDataEncoder, getTransactionBufferExtendDiscriminatorBytes, getTransactionBufferExtendInstruction, getTransactionBufferExtendInstructionDataCodec, getTransactionBufferExtendInstructionDataDecoder, getTransactionBufferExtendInstructionDataEncoder, getTransactionBufferVoteCompressedDiscriminatorBytes, getTransactionBufferVoteCompressedInstruction, getTransactionBufferVoteCompressedInstructionDataCodec, getTransactionBufferVoteCompressedInstructionDataDecoder, getTransactionBufferVoteCompressedInstructionDataEncoder, getTransactionBufferVoteDiscriminatorBytes, getTransactionBufferVoteInstruction, getTransactionBufferVoteInstructionDataCodec, getTransactionBufferVoteInstructionDataDecoder, getTransactionBufferVoteInstructionDataEncoder, getTransactionExecuteCompressedDiscriminatorBytes, getTransactionExecuteCompressedInstruction, getTransactionExecuteCompressedInstructionDataCodec, getTransactionExecuteCompressedInstructionDataDecoder, getTransactionExecuteCompressedInstructionDataEncoder, getTransactionExecuteDiscriminatorBytes, getTransactionExecuteInstruction, getTransactionExecuteInstructionDataCodec, getTransactionExecuteInstructionDataDecoder, getTransactionExecuteInstructionDataEncoder, getTransactionExecuteSyncCompressedDiscriminatorBytes, getTransactionExecuteSyncCompressedInstruction, getTransactionExecuteSyncCompressedInstructionDataCodec, getTransactionExecuteSyncCompressedInstructionDataDecoder, getTransactionExecuteSyncCompressedInstructionDataEncoder, getTransactionExecuteSyncDiscriminatorBytes, getTransactionExecuteSyncInstruction, getTransactionExecuteSyncInstructionDataCodec, getTransactionExecuteSyncInstructionDataDecoder, getTransactionExecuteSyncInstructionDataEncoder, getTransactionMessageAddressTableLookupCodec, getTransactionMessageAddressTableLookupDecoder, getTransactionMessageAddressTableLookupEncoder, getTransactionMessageCodec, getTransactionMessageDecoder, getTransactionMessageEncoder, getTransactionSyncSignersCodec, getTransactionSyncSignersDecoder, getTransactionSyncSignersEncoder, getTransferFeeAccountExtensionCodec, getTransferFeeAccountExtensionDecoder, getTransferFeeAccountExtensionEncoder, getTransferHookAccountExtensionCodec, getTransferHookAccountExtensionDecoder, getTransferHookAccountExtensionEncoder, getTransportsCodec, getTransportsDecoder, getTransportsEncoder, getUserAccountAddress, getUserCodec, getUserCreationArgsCodec, getUserCreationArgsDecoder, getUserCreationArgsEncoder, getUserDecoder, getUserEncoder, getUserMutArgsCodec, getUserMutArgsDecoder, getUserMutArgsEncoder, getUserReadOnlyArgsCodec, getUserReadOnlyArgsDecoder, getUserReadOnlyArgsEncoder, getUserReadOnlyOrMutateArgsCodec, getUserReadOnlyOrMutateArgsDecoder, getUserReadOnlyOrMutateArgsEncoder, getUserRoleCodec, getUserRoleDecoder, getUserRoleEncoder, getWalletAddressFromIndex, getWalletAddressFromSettings, getWhitelistedAddressTreeCodec, getWhitelistedAddressTreeDecoder, getWhitelistedAddressTreeDiscriminatorBytes, getWhitelistedAddressTreeEncoder, getWhitelistedAddressTreeFromIndex, getWhitelistedAddressTreeIndexFromAddress, getWhitelistedAddressTreesAddress, identifyMultiWalletAccount, identifyMultiWalletInstruction, initialize, isConfigAction, isExtensionStruct, isMultiWalletError, isTransactionSyncSigners, isUserReadOnlyOrMutateArgs, nativeTransferIntent, parseAddWhitelistedAddressTreesInstruction, parseChangeConfigCompressedInstruction, parseChangeConfigInstruction, parseCreateCompressedWalletInstruction, parseCreateDomainConfigInstruction, parseCreateDomainUserAccountInstruction, parseCreateGlobalCounterInstruction, parseCreateUserAccountsInstruction, parseDecompressSettingsAccountInstruction, parseDisableDomainConfigInstruction, parseEditDomainConfigInstruction, parseEditTransactionManagerUrlInstruction, parseEditUserDelegateInstruction, parseNativeTransferIntentCompressedInstruction, parseNativeTransferIntentInstruction, parseSecp256r1VerifyInstruction, parseTokenTransferIntentCompressedInstruction, parseTokenTransferIntentInstruction, parseTransactionBufferCloseCompressedInstruction, parseTransactionBufferCloseInstruction, parseTransactionBufferCreateCompressedInstruction, parseTransactionBufferCreateInstruction, parseTransactionBufferExecuteCompressedInstruction, parseTransactionBufferExecuteInstruction, parseTransactionBufferExtendCompressedInstruction, parseTransactionBufferExtendInstruction, parseTransactionBufferVoteCompressedInstruction, parseTransactionBufferVoteInstruction, parseTransactionExecuteCompressedInstruction, parseTransactionExecuteInstruction, parseTransactionExecuteSyncCompressedInstruction, parseTransactionExecuteSyncInstruction, prepareChangeConfigArgs, prepareTransactionBundle, prepareTransactionMessage, prepareTransactionSync, retrieveTransactionManager, serializeConfigActions, tokenTransferIntent, transactionSyncSigners, userReadOnlyOrMutateArgs, vaultTransactionMessageDeserialize, vaultTransactionMessageSerialize, voteTransactionBuffer };
3049
+ declare function fetchUserAccountByFilters(domainConfigAddress: Address, { member, credentialId, }: {
3050
+ member?: Address | Secp256r1Key | null;
3051
+ credentialId?: string | null;
3052
+ }): Promise<User | null>;
3053
+ declare function fetchAllSettingsAccountByMember(member: Address | Secp256r1Key): Promise<Settings[] | (gill.BaseAccount & {
3054
+ readonly address: Address<string>;
3055
+ readonly data: Settings;
3056
+ })[]>;
3057
+
3058
+ export { AccountState, type AccountStateArgs, type AddMemberArgs$1 as AddMemberArgs, type AddMemberArgsArgs, type AdditionalMetadata, type AdditionalMetadataArgs, AuthenticationContextSchema, 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 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, 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, getSendAndConfirmTransaction, 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 };