@lightprotocol/stateless.js 0.22.0 → 0.22.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/cjs/browser/constants.d.ts +24 -7
- package/dist/cjs/browser/index.cjs +1 -1
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/browser/rpc-interface.d.ts +275 -275
- package/dist/cjs/browser/rpc.d.ts +5 -1
- package/dist/cjs/browser/test-helpers/test-rpc/test-rpc.d.ts +4 -0
- package/dist/cjs/browser/utils/address.d.ts +7 -6
- package/dist/cjs/browser/utils/conversion.d.ts +1 -0
- package/dist/cjs/browser/utils/index.d.ts +1 -0
- package/dist/cjs/browser/utils/instruction.d.ts +35 -0
- package/dist/cjs/node/constants.d.ts +24 -7
- package/dist/cjs/node/index.cjs +1 -1
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/cjs/node/rpc-interface.d.ts +275 -275
- package/dist/cjs/node/rpc.d.ts +5 -1
- package/dist/cjs/node/test-helpers/test-rpc/test-rpc.d.ts +4 -0
- package/dist/cjs/node/utils/address.d.ts +7 -6
- package/dist/cjs/node/utils/conversion.d.ts +1 -0
- package/dist/cjs/node/utils/index.d.ts +1 -0
- package/dist/cjs/node/utils/instruction.d.ts +35 -0
- package/dist/es/browser/actions/compress.d.ts +18 -0
- package/dist/es/browser/actions/create-account.d.ts +38 -0
- package/dist/es/browser/actions/decompress.d.ts +15 -0
- package/dist/es/browser/actions/index.d.ts +5 -0
- package/dist/es/browser/actions/transfer.d.ts +16 -0
- package/dist/es/browser/constants.d.ts +157 -0
- package/dist/es/browser/errors.d.ts +74 -0
- package/dist/es/browser/index.d.ts +9 -0
- package/dist/es/browser/index.js +2 -0
- package/dist/es/browser/index.js.map +1 -0
- package/dist/es/browser/programs/index.d.ts +1 -0
- package/dist/es/browser/programs/system/idl.d.ts +997 -0
- package/dist/es/browser/programs/system/index.d.ts +5 -0
- package/dist/es/browser/programs/system/layout.d.ts +77 -0
- package/dist/es/browser/programs/system/pack.d.ts +74 -0
- package/dist/es/browser/programs/system/program.d.ts +175 -0
- package/dist/es/browser/programs/system/select-compressed-accounts.d.ts +10 -0
- package/dist/es/browser/rpc-interface.d.ts +2779 -0
- package/dist/es/browser/rpc.d.ts +284 -0
- package/dist/es/browser/state/BN254.d.ts +13 -0
- package/dist/es/browser/state/bn.d.ts +3 -0
- package/dist/es/browser/state/compressed-account.d.ts +205 -0
- package/dist/es/browser/state/index.d.ts +4 -0
- package/dist/es/browser/state/types.d.ts +449 -0
- package/dist/es/browser/test-helpers/index.d.ts +3 -0
- package/dist/es/browser/test-helpers/merkle-tree/index.d.ts +2 -0
- package/dist/es/browser/test-helpers/merkle-tree/indexed-array.d.ts +85 -0
- package/dist/es/browser/test-helpers/merkle-tree/merkle-tree.d.ts +92 -0
- package/dist/es/browser/test-helpers/test-rpc/get-compressed-accounts.d.ts +7 -0
- package/dist/es/browser/test-helpers/test-rpc/get-compressed-token-accounts.d.ts +40 -0
- package/dist/es/browser/test-helpers/test-rpc/get-parsed-events.d.ts +15 -0
- package/dist/es/browser/test-helpers/test-rpc/index.d.ts +3 -0
- package/dist/es/browser/test-helpers/test-rpc/test-rpc.d.ts +239 -0
- package/dist/es/browser/test-helpers/test-utils.d.ts +31 -0
- package/dist/es/browser/utils/address.d.ts +64 -0
- package/dist/es/browser/utils/airdrop.d.ts +7 -0
- package/dist/es/browser/utils/calculate-compute-unit-price.d.ts +7 -0
- package/dist/es/browser/utils/conversion.d.ts +36 -0
- package/dist/es/browser/utils/dedupe-signer.d.ts +3 -0
- package/dist/es/browser/utils/get-state-tree-infos.d.ts +48 -0
- package/dist/es/browser/utils/index.d.ts +13 -0
- package/dist/es/browser/utils/instruction.d.ts +35 -0
- package/dist/es/browser/utils/parse-validity-proof.d.ts +20 -0
- package/dist/es/browser/utils/pipe.d.ts +2 -0
- package/dist/es/browser/utils/send-and-confirm.d.ts +52 -0
- package/dist/es/browser/utils/sleep.d.ts +1 -0
- package/dist/es/browser/utils/state-tree-lookup-table.d.ts +68 -0
- package/dist/es/browser/utils/validation.d.ts +8 -0
- package/dist/types/index.d.ts +78 -16
- package/package.json +16 -8
|
@@ -234,24 +234,24 @@ export declare function jsonRpcResultAndContext<T, U>(value: Struct<T, U>): Stru
|
|
|
234
234
|
export declare const CompressedAccountResult: Struct<{
|
|
235
235
|
data: {
|
|
236
236
|
data: string;
|
|
237
|
-
dataHash: BN;
|
|
238
237
|
discriminator: BN;
|
|
238
|
+
dataHash: BN;
|
|
239
239
|
} | null;
|
|
240
240
|
lamports: BN;
|
|
241
|
-
tree: PublicKey;
|
|
242
|
-
address: number[] | null;
|
|
243
|
-
hash: BN;
|
|
244
241
|
owner: PublicKey;
|
|
242
|
+
address: number[] | null;
|
|
245
243
|
leafIndex: number;
|
|
246
244
|
seq: BN | null;
|
|
245
|
+
tree: PublicKey;
|
|
246
|
+
hash: BN;
|
|
247
247
|
slotCreated: BN;
|
|
248
248
|
}, {
|
|
249
249
|
address: Struct<number[] | null, null>;
|
|
250
250
|
hash: Struct<BN, null>;
|
|
251
251
|
data: Struct<{
|
|
252
252
|
data: string;
|
|
253
|
-
dataHash: BN;
|
|
254
253
|
discriminator: BN;
|
|
254
|
+
dataHash: BN;
|
|
255
255
|
} | null, {
|
|
256
256
|
data: Struct<string, null>;
|
|
257
257
|
dataHash: Struct<BN, null>;
|
|
@@ -267,16 +267,12 @@ export declare const CompressedAccountResult: Struct<{
|
|
|
267
267
|
export declare const CompressedAccountResultV2: Struct<{
|
|
268
268
|
data: {
|
|
269
269
|
data: string;
|
|
270
|
-
dataHash: BN;
|
|
271
270
|
discriminator: BN;
|
|
271
|
+
dataHash: BN;
|
|
272
272
|
} | null;
|
|
273
273
|
lamports: BN;
|
|
274
|
-
address: number[] | null;
|
|
275
|
-
hash: BN;
|
|
276
274
|
owner: PublicKey;
|
|
277
|
-
|
|
278
|
-
seq: BN | null;
|
|
279
|
-
slotCreated: BN;
|
|
275
|
+
address: number[] | null;
|
|
280
276
|
merkleContext: {
|
|
281
277
|
cpiContext: PublicKey | null;
|
|
282
278
|
tree: PublicKey;
|
|
@@ -289,14 +285,18 @@ export declare const CompressedAccountResultV2: Struct<{
|
|
|
289
285
|
treeType: number;
|
|
290
286
|
} | null | undefined;
|
|
291
287
|
};
|
|
288
|
+
leafIndex: number;
|
|
292
289
|
proveByIndex: boolean;
|
|
290
|
+
seq: BN | null;
|
|
291
|
+
hash: BN;
|
|
292
|
+
slotCreated: BN;
|
|
293
293
|
}, {
|
|
294
294
|
address: Struct<number[] | null, null>;
|
|
295
295
|
hash: Struct<BN, null>;
|
|
296
296
|
data: Struct<{
|
|
297
297
|
data: string;
|
|
298
|
-
dataHash: BN;
|
|
299
298
|
discriminator: BN;
|
|
299
|
+
dataHash: BN;
|
|
300
300
|
} | null, {
|
|
301
301
|
data: Struct<string, null>;
|
|
302
302
|
dataHash: Struct<BN, null>;
|
|
@@ -364,16 +364,16 @@ export declare const CompressedTokenAccountResult: Struct<{
|
|
|
364
364
|
account: {
|
|
365
365
|
data: {
|
|
366
366
|
data: string;
|
|
367
|
-
dataHash: BN;
|
|
368
367
|
discriminator: BN;
|
|
368
|
+
dataHash: BN;
|
|
369
369
|
} | null;
|
|
370
370
|
lamports: BN;
|
|
371
|
-
tree: PublicKey;
|
|
372
|
-
address: number[] | null;
|
|
373
|
-
hash: BN;
|
|
374
371
|
owner: PublicKey;
|
|
372
|
+
address: number[] | null;
|
|
375
373
|
leafIndex: number;
|
|
376
374
|
seq: BN | null;
|
|
375
|
+
tree: PublicKey;
|
|
376
|
+
hash: BN;
|
|
377
377
|
slotCreated: BN;
|
|
378
378
|
};
|
|
379
379
|
}, {
|
|
@@ -393,24 +393,24 @@ export declare const CompressedTokenAccountResult: Struct<{
|
|
|
393
393
|
account: Struct<{
|
|
394
394
|
data: {
|
|
395
395
|
data: string;
|
|
396
|
-
dataHash: BN;
|
|
397
396
|
discriminator: BN;
|
|
397
|
+
dataHash: BN;
|
|
398
398
|
} | null;
|
|
399
399
|
lamports: BN;
|
|
400
|
-
tree: PublicKey;
|
|
401
|
-
address: number[] | null;
|
|
402
|
-
hash: BN;
|
|
403
400
|
owner: PublicKey;
|
|
401
|
+
address: number[] | null;
|
|
404
402
|
leafIndex: number;
|
|
405
403
|
seq: BN | null;
|
|
404
|
+
tree: PublicKey;
|
|
405
|
+
hash: BN;
|
|
406
406
|
slotCreated: BN;
|
|
407
407
|
}, {
|
|
408
408
|
address: Struct<number[] | null, null>;
|
|
409
409
|
hash: Struct<BN, null>;
|
|
410
410
|
data: Struct<{
|
|
411
411
|
data: string;
|
|
412
|
-
dataHash: BN;
|
|
413
412
|
discriminator: BN;
|
|
413
|
+
dataHash: BN;
|
|
414
414
|
} | null, {
|
|
415
415
|
data: Struct<string, null>;
|
|
416
416
|
dataHash: Struct<BN, null>;
|
|
@@ -438,16 +438,12 @@ export declare const CompressedTokenAccountResultV2: Struct<{
|
|
|
438
438
|
account: {
|
|
439
439
|
data: {
|
|
440
440
|
data: string;
|
|
441
|
-
dataHash: BN;
|
|
442
441
|
discriminator: BN;
|
|
442
|
+
dataHash: BN;
|
|
443
443
|
} | null;
|
|
444
444
|
lamports: BN;
|
|
445
|
-
address: number[] | null;
|
|
446
|
-
hash: BN;
|
|
447
445
|
owner: PublicKey;
|
|
448
|
-
|
|
449
|
-
seq: BN | null;
|
|
450
|
-
slotCreated: BN;
|
|
446
|
+
address: number[] | null;
|
|
451
447
|
merkleContext: {
|
|
452
448
|
cpiContext: PublicKey | null;
|
|
453
449
|
tree: PublicKey;
|
|
@@ -460,7 +456,11 @@ export declare const CompressedTokenAccountResultV2: Struct<{
|
|
|
460
456
|
treeType: number;
|
|
461
457
|
} | null | undefined;
|
|
462
458
|
};
|
|
459
|
+
leafIndex: number;
|
|
463
460
|
proveByIndex: boolean;
|
|
461
|
+
seq: BN | null;
|
|
462
|
+
hash: BN;
|
|
463
|
+
slotCreated: BN;
|
|
464
464
|
};
|
|
465
465
|
}, {
|
|
466
466
|
tokenData: Struct<{
|
|
@@ -479,16 +479,12 @@ export declare const CompressedTokenAccountResultV2: Struct<{
|
|
|
479
479
|
account: Struct<{
|
|
480
480
|
data: {
|
|
481
481
|
data: string;
|
|
482
|
-
dataHash: BN;
|
|
483
482
|
discriminator: BN;
|
|
483
|
+
dataHash: BN;
|
|
484
484
|
} | null;
|
|
485
485
|
lamports: BN;
|
|
486
|
-
address: number[] | null;
|
|
487
|
-
hash: BN;
|
|
488
486
|
owner: PublicKey;
|
|
489
|
-
|
|
490
|
-
seq: BN | null;
|
|
491
|
-
slotCreated: BN;
|
|
487
|
+
address: number[] | null;
|
|
492
488
|
merkleContext: {
|
|
493
489
|
cpiContext: PublicKey | null;
|
|
494
490
|
tree: PublicKey;
|
|
@@ -501,14 +497,18 @@ export declare const CompressedTokenAccountResultV2: Struct<{
|
|
|
501
497
|
treeType: number;
|
|
502
498
|
} | null | undefined;
|
|
503
499
|
};
|
|
500
|
+
leafIndex: number;
|
|
504
501
|
proveByIndex: boolean;
|
|
502
|
+
seq: BN | null;
|
|
503
|
+
hash: BN;
|
|
504
|
+
slotCreated: BN;
|
|
505
505
|
}, {
|
|
506
506
|
address: Struct<number[] | null, null>;
|
|
507
507
|
hash: Struct<BN, null>;
|
|
508
508
|
data: Struct<{
|
|
509
509
|
data: string;
|
|
510
|
-
dataHash: BN;
|
|
511
510
|
discriminator: BN;
|
|
511
|
+
dataHash: BN;
|
|
512
512
|
} | null, {
|
|
513
513
|
data: Struct<string, null>;
|
|
514
514
|
dataHash: Struct<BN, null>;
|
|
@@ -557,54 +557,54 @@ export declare const MultipleCompressedAccountsResult: Struct<{
|
|
|
557
557
|
items: {
|
|
558
558
|
data: {
|
|
559
559
|
data: string;
|
|
560
|
-
dataHash: BN;
|
|
561
560
|
discriminator: BN;
|
|
561
|
+
dataHash: BN;
|
|
562
562
|
} | null;
|
|
563
563
|
lamports: BN;
|
|
564
|
-
tree: PublicKey;
|
|
565
|
-
address: number[] | null;
|
|
566
|
-
hash: BN;
|
|
567
564
|
owner: PublicKey;
|
|
565
|
+
address: number[] | null;
|
|
568
566
|
leafIndex: number;
|
|
569
567
|
seq: BN | null;
|
|
568
|
+
tree: PublicKey;
|
|
569
|
+
hash: BN;
|
|
570
570
|
slotCreated: BN;
|
|
571
571
|
}[];
|
|
572
572
|
}, {
|
|
573
573
|
items: Struct<{
|
|
574
574
|
data: {
|
|
575
575
|
data: string;
|
|
576
|
-
dataHash: BN;
|
|
577
576
|
discriminator: BN;
|
|
577
|
+
dataHash: BN;
|
|
578
578
|
} | null;
|
|
579
579
|
lamports: BN;
|
|
580
|
-
tree: PublicKey;
|
|
581
|
-
address: number[] | null;
|
|
582
|
-
hash: BN;
|
|
583
580
|
owner: PublicKey;
|
|
581
|
+
address: number[] | null;
|
|
584
582
|
leafIndex: number;
|
|
585
583
|
seq: BN | null;
|
|
584
|
+
tree: PublicKey;
|
|
585
|
+
hash: BN;
|
|
586
586
|
slotCreated: BN;
|
|
587
587
|
}[], Struct<{
|
|
588
588
|
data: {
|
|
589
589
|
data: string;
|
|
590
|
-
dataHash: BN;
|
|
591
590
|
discriminator: BN;
|
|
591
|
+
dataHash: BN;
|
|
592
592
|
} | null;
|
|
593
593
|
lamports: BN;
|
|
594
|
-
tree: PublicKey;
|
|
595
|
-
address: number[] | null;
|
|
596
|
-
hash: BN;
|
|
597
594
|
owner: PublicKey;
|
|
595
|
+
address: number[] | null;
|
|
598
596
|
leafIndex: number;
|
|
599
597
|
seq: BN | null;
|
|
598
|
+
tree: PublicKey;
|
|
599
|
+
hash: BN;
|
|
600
600
|
slotCreated: BN;
|
|
601
601
|
}, {
|
|
602
602
|
address: Struct<number[] | null, null>;
|
|
603
603
|
hash: Struct<BN, null>;
|
|
604
604
|
data: Struct<{
|
|
605
605
|
data: string;
|
|
606
|
-
dataHash: BN;
|
|
607
606
|
discriminator: BN;
|
|
607
|
+
dataHash: BN;
|
|
608
608
|
} | null, {
|
|
609
609
|
data: Struct<string, null>;
|
|
610
610
|
dataHash: Struct<BN, null>;
|
|
@@ -625,16 +625,12 @@ export declare const MultipleCompressedAccountsResultV2: Struct<{
|
|
|
625
625
|
items: {
|
|
626
626
|
data: {
|
|
627
627
|
data: string;
|
|
628
|
-
dataHash: BN;
|
|
629
628
|
discriminator: BN;
|
|
629
|
+
dataHash: BN;
|
|
630
630
|
} | null;
|
|
631
631
|
lamports: BN;
|
|
632
|
-
address: number[] | null;
|
|
633
|
-
hash: BN;
|
|
634
632
|
owner: PublicKey;
|
|
635
|
-
|
|
636
|
-
seq: BN | null;
|
|
637
|
-
slotCreated: BN;
|
|
633
|
+
address: number[] | null;
|
|
638
634
|
merkleContext: {
|
|
639
635
|
cpiContext: PublicKey | null;
|
|
640
636
|
tree: PublicKey;
|
|
@@ -647,22 +643,22 @@ export declare const MultipleCompressedAccountsResultV2: Struct<{
|
|
|
647
643
|
treeType: number;
|
|
648
644
|
} | null | undefined;
|
|
649
645
|
};
|
|
646
|
+
leafIndex: number;
|
|
650
647
|
proveByIndex: boolean;
|
|
648
|
+
seq: BN | null;
|
|
649
|
+
hash: BN;
|
|
650
|
+
slotCreated: BN;
|
|
651
651
|
}[];
|
|
652
652
|
}, {
|
|
653
653
|
items: Struct<{
|
|
654
654
|
data: {
|
|
655
655
|
data: string;
|
|
656
|
-
dataHash: BN;
|
|
657
656
|
discriminator: BN;
|
|
657
|
+
dataHash: BN;
|
|
658
658
|
} | null;
|
|
659
659
|
lamports: BN;
|
|
660
|
-
address: number[] | null;
|
|
661
|
-
hash: BN;
|
|
662
660
|
owner: PublicKey;
|
|
663
|
-
|
|
664
|
-
seq: BN | null;
|
|
665
|
-
slotCreated: BN;
|
|
661
|
+
address: number[] | null;
|
|
666
662
|
merkleContext: {
|
|
667
663
|
cpiContext: PublicKey | null;
|
|
668
664
|
tree: PublicKey;
|
|
@@ -675,20 +671,20 @@ export declare const MultipleCompressedAccountsResultV2: Struct<{
|
|
|
675
671
|
treeType: number;
|
|
676
672
|
} | null | undefined;
|
|
677
673
|
};
|
|
674
|
+
leafIndex: number;
|
|
678
675
|
proveByIndex: boolean;
|
|
676
|
+
seq: BN | null;
|
|
677
|
+
hash: BN;
|
|
678
|
+
slotCreated: BN;
|
|
679
679
|
}[], Struct<{
|
|
680
680
|
data: {
|
|
681
681
|
data: string;
|
|
682
|
-
dataHash: BN;
|
|
683
682
|
discriminator: BN;
|
|
683
|
+
dataHash: BN;
|
|
684
684
|
} | null;
|
|
685
685
|
lamports: BN;
|
|
686
|
-
address: number[] | null;
|
|
687
|
-
hash: BN;
|
|
688
686
|
owner: PublicKey;
|
|
689
|
-
|
|
690
|
-
seq: BN | null;
|
|
691
|
-
slotCreated: BN;
|
|
687
|
+
address: number[] | null;
|
|
692
688
|
merkleContext: {
|
|
693
689
|
cpiContext: PublicKey | null;
|
|
694
690
|
tree: PublicKey;
|
|
@@ -701,14 +697,18 @@ export declare const MultipleCompressedAccountsResultV2: Struct<{
|
|
|
701
697
|
treeType: number;
|
|
702
698
|
} | null | undefined;
|
|
703
699
|
};
|
|
700
|
+
leafIndex: number;
|
|
704
701
|
proveByIndex: boolean;
|
|
702
|
+
seq: BN | null;
|
|
703
|
+
hash: BN;
|
|
704
|
+
slotCreated: BN;
|
|
705
705
|
}, {
|
|
706
706
|
address: Struct<number[] | null, null>;
|
|
707
707
|
hash: Struct<BN, null>;
|
|
708
708
|
data: Struct<{
|
|
709
709
|
data: string;
|
|
710
|
-
dataHash: BN;
|
|
711
710
|
discriminator: BN;
|
|
711
|
+
dataHash: BN;
|
|
712
712
|
} | null, {
|
|
713
713
|
data: Struct<string, null>;
|
|
714
714
|
dataHash: Struct<BN, null>;
|
|
@@ -757,16 +757,16 @@ export declare const CompressedAccountsByOwnerResult: Struct<{
|
|
|
757
757
|
items: {
|
|
758
758
|
data: {
|
|
759
759
|
data: string;
|
|
760
|
-
dataHash: BN;
|
|
761
760
|
discriminator: BN;
|
|
761
|
+
dataHash: BN;
|
|
762
762
|
} | null;
|
|
763
763
|
lamports: BN;
|
|
764
|
-
tree: PublicKey;
|
|
765
|
-
address: number[] | null;
|
|
766
|
-
hash: BN;
|
|
767
764
|
owner: PublicKey;
|
|
765
|
+
address: number[] | null;
|
|
768
766
|
leafIndex: number;
|
|
769
767
|
seq: BN | null;
|
|
768
|
+
tree: PublicKey;
|
|
769
|
+
hash: BN;
|
|
770
770
|
slotCreated: BN;
|
|
771
771
|
}[];
|
|
772
772
|
cursor: string | null;
|
|
@@ -774,38 +774,38 @@ export declare const CompressedAccountsByOwnerResult: Struct<{
|
|
|
774
774
|
items: Struct<{
|
|
775
775
|
data: {
|
|
776
776
|
data: string;
|
|
777
|
-
dataHash: BN;
|
|
778
777
|
discriminator: BN;
|
|
778
|
+
dataHash: BN;
|
|
779
779
|
} | null;
|
|
780
780
|
lamports: BN;
|
|
781
|
-
tree: PublicKey;
|
|
782
|
-
address: number[] | null;
|
|
783
|
-
hash: BN;
|
|
784
781
|
owner: PublicKey;
|
|
782
|
+
address: number[] | null;
|
|
785
783
|
leafIndex: number;
|
|
786
784
|
seq: BN | null;
|
|
785
|
+
tree: PublicKey;
|
|
786
|
+
hash: BN;
|
|
787
787
|
slotCreated: BN;
|
|
788
788
|
}[], Struct<{
|
|
789
789
|
data: {
|
|
790
790
|
data: string;
|
|
791
|
-
dataHash: BN;
|
|
792
791
|
discriminator: BN;
|
|
792
|
+
dataHash: BN;
|
|
793
793
|
} | null;
|
|
794
794
|
lamports: BN;
|
|
795
|
-
tree: PublicKey;
|
|
796
|
-
address: number[] | null;
|
|
797
|
-
hash: BN;
|
|
798
795
|
owner: PublicKey;
|
|
796
|
+
address: number[] | null;
|
|
799
797
|
leafIndex: number;
|
|
800
798
|
seq: BN | null;
|
|
799
|
+
tree: PublicKey;
|
|
800
|
+
hash: BN;
|
|
801
801
|
slotCreated: BN;
|
|
802
802
|
}, {
|
|
803
803
|
address: Struct<number[] | null, null>;
|
|
804
804
|
hash: Struct<BN, null>;
|
|
805
805
|
data: Struct<{
|
|
806
806
|
data: string;
|
|
807
|
-
dataHash: BN;
|
|
808
807
|
discriminator: BN;
|
|
808
|
+
dataHash: BN;
|
|
809
809
|
} | null, {
|
|
810
810
|
data: Struct<string, null>;
|
|
811
811
|
dataHash: Struct<BN, null>;
|
|
@@ -827,16 +827,12 @@ export declare const CompressedAccountsByOwnerResultV2: Struct<{
|
|
|
827
827
|
items: {
|
|
828
828
|
data: {
|
|
829
829
|
data: string;
|
|
830
|
-
dataHash: BN;
|
|
831
830
|
discriminator: BN;
|
|
831
|
+
dataHash: BN;
|
|
832
832
|
} | null;
|
|
833
833
|
lamports: BN;
|
|
834
|
-
address: number[] | null;
|
|
835
|
-
hash: BN;
|
|
836
834
|
owner: PublicKey;
|
|
837
|
-
|
|
838
|
-
seq: BN | null;
|
|
839
|
-
slotCreated: BN;
|
|
835
|
+
address: number[] | null;
|
|
840
836
|
merkleContext: {
|
|
841
837
|
cpiContext: PublicKey | null;
|
|
842
838
|
tree: PublicKey;
|
|
@@ -849,23 +845,23 @@ export declare const CompressedAccountsByOwnerResultV2: Struct<{
|
|
|
849
845
|
treeType: number;
|
|
850
846
|
} | null | undefined;
|
|
851
847
|
};
|
|
848
|
+
leafIndex: number;
|
|
852
849
|
proveByIndex: boolean;
|
|
850
|
+
seq: BN | null;
|
|
851
|
+
hash: BN;
|
|
852
|
+
slotCreated: BN;
|
|
853
853
|
}[];
|
|
854
854
|
cursor: string | null;
|
|
855
855
|
}, {
|
|
856
856
|
items: Struct<{
|
|
857
857
|
data: {
|
|
858
858
|
data: string;
|
|
859
|
-
dataHash: BN;
|
|
860
859
|
discriminator: BN;
|
|
860
|
+
dataHash: BN;
|
|
861
861
|
} | null;
|
|
862
862
|
lamports: BN;
|
|
863
|
-
address: number[] | null;
|
|
864
|
-
hash: BN;
|
|
865
863
|
owner: PublicKey;
|
|
866
|
-
|
|
867
|
-
seq: BN | null;
|
|
868
|
-
slotCreated: BN;
|
|
864
|
+
address: number[] | null;
|
|
869
865
|
merkleContext: {
|
|
870
866
|
cpiContext: PublicKey | null;
|
|
871
867
|
tree: PublicKey;
|
|
@@ -878,20 +874,20 @@ export declare const CompressedAccountsByOwnerResultV2: Struct<{
|
|
|
878
874
|
treeType: number;
|
|
879
875
|
} | null | undefined;
|
|
880
876
|
};
|
|
877
|
+
leafIndex: number;
|
|
881
878
|
proveByIndex: boolean;
|
|
879
|
+
seq: BN | null;
|
|
880
|
+
hash: BN;
|
|
881
|
+
slotCreated: BN;
|
|
882
882
|
}[], Struct<{
|
|
883
883
|
data: {
|
|
884
884
|
data: string;
|
|
885
|
-
dataHash: BN;
|
|
886
885
|
discriminator: BN;
|
|
886
|
+
dataHash: BN;
|
|
887
887
|
} | null;
|
|
888
888
|
lamports: BN;
|
|
889
|
-
address: number[] | null;
|
|
890
|
-
hash: BN;
|
|
891
889
|
owner: PublicKey;
|
|
892
|
-
|
|
893
|
-
seq: BN | null;
|
|
894
|
-
slotCreated: BN;
|
|
890
|
+
address: number[] | null;
|
|
895
891
|
merkleContext: {
|
|
896
892
|
cpiContext: PublicKey | null;
|
|
897
893
|
tree: PublicKey;
|
|
@@ -904,14 +900,18 @@ export declare const CompressedAccountsByOwnerResultV2: Struct<{
|
|
|
904
900
|
treeType: number;
|
|
905
901
|
} | null | undefined;
|
|
906
902
|
};
|
|
903
|
+
leafIndex: number;
|
|
907
904
|
proveByIndex: boolean;
|
|
905
|
+
seq: BN | null;
|
|
906
|
+
hash: BN;
|
|
907
|
+
slotCreated: BN;
|
|
908
908
|
}, {
|
|
909
909
|
address: Struct<number[] | null, null>;
|
|
910
910
|
hash: Struct<BN, null>;
|
|
911
911
|
data: Struct<{
|
|
912
912
|
data: string;
|
|
913
|
-
dataHash: BN;
|
|
914
913
|
discriminator: BN;
|
|
914
|
+
dataHash: BN;
|
|
915
915
|
} | null, {
|
|
916
916
|
data: Struct<string, null>;
|
|
917
917
|
dataHash: Struct<BN, null>;
|
|
@@ -969,16 +969,16 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResult: Struct<{
|
|
|
969
969
|
account: {
|
|
970
970
|
data: {
|
|
971
971
|
data: string;
|
|
972
|
-
dataHash: BN;
|
|
973
972
|
discriminator: BN;
|
|
973
|
+
dataHash: BN;
|
|
974
974
|
} | null;
|
|
975
975
|
lamports: BN;
|
|
976
|
-
tree: PublicKey;
|
|
977
|
-
address: number[] | null;
|
|
978
|
-
hash: BN;
|
|
979
976
|
owner: PublicKey;
|
|
977
|
+
address: number[] | null;
|
|
980
978
|
leafIndex: number;
|
|
981
979
|
seq: BN | null;
|
|
980
|
+
tree: PublicKey;
|
|
981
|
+
hash: BN;
|
|
982
982
|
slotCreated: BN;
|
|
983
983
|
};
|
|
984
984
|
}[];
|
|
@@ -995,16 +995,16 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResult: Struct<{
|
|
|
995
995
|
account: {
|
|
996
996
|
data: {
|
|
997
997
|
data: string;
|
|
998
|
-
dataHash: BN;
|
|
999
998
|
discriminator: BN;
|
|
999
|
+
dataHash: BN;
|
|
1000
1000
|
} | null;
|
|
1001
1001
|
lamports: BN;
|
|
1002
|
-
tree: PublicKey;
|
|
1003
|
-
address: number[] | null;
|
|
1004
|
-
hash: BN;
|
|
1005
1002
|
owner: PublicKey;
|
|
1003
|
+
address: number[] | null;
|
|
1006
1004
|
leafIndex: number;
|
|
1007
1005
|
seq: BN | null;
|
|
1006
|
+
tree: PublicKey;
|
|
1007
|
+
hash: BN;
|
|
1008
1008
|
slotCreated: BN;
|
|
1009
1009
|
};
|
|
1010
1010
|
}[], Struct<{
|
|
@@ -1018,16 +1018,16 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResult: Struct<{
|
|
|
1018
1018
|
account: {
|
|
1019
1019
|
data: {
|
|
1020
1020
|
data: string;
|
|
1021
|
-
dataHash: BN;
|
|
1022
1021
|
discriminator: BN;
|
|
1022
|
+
dataHash: BN;
|
|
1023
1023
|
} | null;
|
|
1024
1024
|
lamports: BN;
|
|
1025
|
-
tree: PublicKey;
|
|
1026
|
-
address: number[] | null;
|
|
1027
|
-
hash: BN;
|
|
1028
1025
|
owner: PublicKey;
|
|
1026
|
+
address: number[] | null;
|
|
1029
1027
|
leafIndex: number;
|
|
1030
1028
|
seq: BN | null;
|
|
1029
|
+
tree: PublicKey;
|
|
1030
|
+
hash: BN;
|
|
1031
1031
|
slotCreated: BN;
|
|
1032
1032
|
};
|
|
1033
1033
|
}, {
|
|
@@ -1047,24 +1047,24 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResult: Struct<{
|
|
|
1047
1047
|
account: Struct<{
|
|
1048
1048
|
data: {
|
|
1049
1049
|
data: string;
|
|
1050
|
-
dataHash: BN;
|
|
1051
1050
|
discriminator: BN;
|
|
1051
|
+
dataHash: BN;
|
|
1052
1052
|
} | null;
|
|
1053
1053
|
lamports: BN;
|
|
1054
|
-
tree: PublicKey;
|
|
1055
|
-
address: number[] | null;
|
|
1056
|
-
hash: BN;
|
|
1057
1054
|
owner: PublicKey;
|
|
1055
|
+
address: number[] | null;
|
|
1058
1056
|
leafIndex: number;
|
|
1059
1057
|
seq: BN | null;
|
|
1058
|
+
tree: PublicKey;
|
|
1059
|
+
hash: BN;
|
|
1060
1060
|
slotCreated: BN;
|
|
1061
1061
|
}, {
|
|
1062
1062
|
address: Struct<number[] | null, null>;
|
|
1063
1063
|
hash: Struct<BN, null>;
|
|
1064
1064
|
data: Struct<{
|
|
1065
1065
|
data: string;
|
|
1066
|
-
dataHash: BN;
|
|
1067
1066
|
discriminator: BN;
|
|
1067
|
+
dataHash: BN;
|
|
1068
1068
|
} | null, {
|
|
1069
1069
|
data: Struct<string, null>;
|
|
1070
1070
|
dataHash: Struct<BN, null>;
|
|
@@ -1095,16 +1095,12 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1095
1095
|
account: {
|
|
1096
1096
|
data: {
|
|
1097
1097
|
data: string;
|
|
1098
|
-
dataHash: BN;
|
|
1099
1098
|
discriminator: BN;
|
|
1099
|
+
dataHash: BN;
|
|
1100
1100
|
} | null;
|
|
1101
1101
|
lamports: BN;
|
|
1102
|
-
address: number[] | null;
|
|
1103
|
-
hash: BN;
|
|
1104
1102
|
owner: PublicKey;
|
|
1105
|
-
|
|
1106
|
-
seq: BN | null;
|
|
1107
|
-
slotCreated: BN;
|
|
1103
|
+
address: number[] | null;
|
|
1108
1104
|
merkleContext: {
|
|
1109
1105
|
cpiContext: PublicKey | null;
|
|
1110
1106
|
tree: PublicKey;
|
|
@@ -1117,7 +1113,11 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1117
1113
|
treeType: number;
|
|
1118
1114
|
} | null | undefined;
|
|
1119
1115
|
};
|
|
1116
|
+
leafIndex: number;
|
|
1120
1117
|
proveByIndex: boolean;
|
|
1118
|
+
seq: BN | null;
|
|
1119
|
+
hash: BN;
|
|
1120
|
+
slotCreated: BN;
|
|
1121
1121
|
};
|
|
1122
1122
|
}[];
|
|
1123
1123
|
cursor: string | null;
|
|
@@ -1133,16 +1133,12 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1133
1133
|
account: {
|
|
1134
1134
|
data: {
|
|
1135
1135
|
data: string;
|
|
1136
|
-
dataHash: BN;
|
|
1137
1136
|
discriminator: BN;
|
|
1137
|
+
dataHash: BN;
|
|
1138
1138
|
} | null;
|
|
1139
1139
|
lamports: BN;
|
|
1140
|
-
address: number[] | null;
|
|
1141
|
-
hash: BN;
|
|
1142
1140
|
owner: PublicKey;
|
|
1143
|
-
|
|
1144
|
-
seq: BN | null;
|
|
1145
|
-
slotCreated: BN;
|
|
1141
|
+
address: number[] | null;
|
|
1146
1142
|
merkleContext: {
|
|
1147
1143
|
cpiContext: PublicKey | null;
|
|
1148
1144
|
tree: PublicKey;
|
|
@@ -1155,7 +1151,11 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1155
1151
|
treeType: number;
|
|
1156
1152
|
} | null | undefined;
|
|
1157
1153
|
};
|
|
1154
|
+
leafIndex: number;
|
|
1158
1155
|
proveByIndex: boolean;
|
|
1156
|
+
seq: BN | null;
|
|
1157
|
+
hash: BN;
|
|
1158
|
+
slotCreated: BN;
|
|
1159
1159
|
};
|
|
1160
1160
|
}[], Struct<{
|
|
1161
1161
|
tokenData: {
|
|
@@ -1168,16 +1168,12 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1168
1168
|
account: {
|
|
1169
1169
|
data: {
|
|
1170
1170
|
data: string;
|
|
1171
|
-
dataHash: BN;
|
|
1172
1171
|
discriminator: BN;
|
|
1172
|
+
dataHash: BN;
|
|
1173
1173
|
} | null;
|
|
1174
1174
|
lamports: BN;
|
|
1175
|
-
address: number[] | null;
|
|
1176
|
-
hash: BN;
|
|
1177
1175
|
owner: PublicKey;
|
|
1178
|
-
|
|
1179
|
-
seq: BN | null;
|
|
1180
|
-
slotCreated: BN;
|
|
1176
|
+
address: number[] | null;
|
|
1181
1177
|
merkleContext: {
|
|
1182
1178
|
cpiContext: PublicKey | null;
|
|
1183
1179
|
tree: PublicKey;
|
|
@@ -1190,7 +1186,11 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1190
1186
|
treeType: number;
|
|
1191
1187
|
} | null | undefined;
|
|
1192
1188
|
};
|
|
1189
|
+
leafIndex: number;
|
|
1193
1190
|
proveByIndex: boolean;
|
|
1191
|
+
seq: BN | null;
|
|
1192
|
+
hash: BN;
|
|
1193
|
+
slotCreated: BN;
|
|
1194
1194
|
};
|
|
1195
1195
|
}, {
|
|
1196
1196
|
tokenData: Struct<{
|
|
@@ -1209,16 +1209,12 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1209
1209
|
account: Struct<{
|
|
1210
1210
|
data: {
|
|
1211
1211
|
data: string;
|
|
1212
|
-
dataHash: BN;
|
|
1213
1212
|
discriminator: BN;
|
|
1213
|
+
dataHash: BN;
|
|
1214
1214
|
} | null;
|
|
1215
1215
|
lamports: BN;
|
|
1216
|
-
address: number[] | null;
|
|
1217
|
-
hash: BN;
|
|
1218
1216
|
owner: PublicKey;
|
|
1219
|
-
|
|
1220
|
-
seq: BN | null;
|
|
1221
|
-
slotCreated: BN;
|
|
1217
|
+
address: number[] | null;
|
|
1222
1218
|
merkleContext: {
|
|
1223
1219
|
cpiContext: PublicKey | null;
|
|
1224
1220
|
tree: PublicKey;
|
|
@@ -1231,14 +1227,18 @@ export declare const CompressedTokenAccountsByOwnerOrDelegateResultV2: Struct<{
|
|
|
1231
1227
|
treeType: number;
|
|
1232
1228
|
} | null | undefined;
|
|
1233
1229
|
};
|
|
1230
|
+
leafIndex: number;
|
|
1234
1231
|
proveByIndex: boolean;
|
|
1232
|
+
seq: BN | null;
|
|
1233
|
+
hash: BN;
|
|
1234
|
+
slotCreated: BN;
|
|
1235
1235
|
}, {
|
|
1236
1236
|
address: Struct<number[] | null, null>;
|
|
1237
1237
|
hash: Struct<BN, null>;
|
|
1238
1238
|
data: Struct<{
|
|
1239
1239
|
data: string;
|
|
1240
|
-
dataHash: BN;
|
|
1241
1240
|
discriminator: BN;
|
|
1241
|
+
dataHash: BN;
|
|
1242
1242
|
} | null, {
|
|
1243
1243
|
data: Struct<string, null>;
|
|
1244
1244
|
dataHash: Struct<BN, null>;
|
|
@@ -1349,10 +1349,10 @@ export declare const LatestNonVotingSignaturesResultPaginated: Struct<{
|
|
|
1349
1349
|
*/
|
|
1350
1350
|
export declare const MerkleProofResult: Struct<{
|
|
1351
1351
|
root: BN;
|
|
1352
|
-
|
|
1352
|
+
proof: BN[];
|
|
1353
1353
|
leafIndex: number;
|
|
1354
|
+
hash: BN;
|
|
1354
1355
|
merkleTree: PublicKey;
|
|
1355
|
-
proof: BN[];
|
|
1356
1356
|
rootSeq: number;
|
|
1357
1357
|
}, {
|
|
1358
1358
|
hash: Struct<BN, null>;
|
|
@@ -1367,10 +1367,10 @@ export declare const MerkleProofResult: Struct<{
|
|
|
1367
1367
|
*/
|
|
1368
1368
|
export declare const MerkleProofResultV2: Struct<{
|
|
1369
1369
|
root: BN;
|
|
1370
|
-
|
|
1370
|
+
proof: BN[];
|
|
1371
1371
|
leafIndex: number;
|
|
1372
1372
|
proveByIndex: boolean;
|
|
1373
|
-
|
|
1373
|
+
hash: BN;
|
|
1374
1374
|
rootSeq: number;
|
|
1375
1375
|
treeContext: {
|
|
1376
1376
|
cpiContext: PublicKey | null;
|
|
@@ -1425,9 +1425,9 @@ export declare const MerkleProofResultV2: Struct<{
|
|
|
1425
1425
|
*/
|
|
1426
1426
|
export declare const NewAddressProofResult: Struct<{
|
|
1427
1427
|
root: BN;
|
|
1428
|
+
proof: BN[];
|
|
1428
1429
|
address: BN;
|
|
1429
1430
|
merkleTree: PublicKey;
|
|
1430
|
-
proof: BN[];
|
|
1431
1431
|
rootSeq: number;
|
|
1432
1432
|
nextIndex: number;
|
|
1433
1433
|
lowerRangeAddress: BN;
|
|
@@ -1448,8 +1448,8 @@ export declare const NewAddressProofResult: Struct<{
|
|
|
1448
1448
|
* @internal
|
|
1449
1449
|
*/
|
|
1450
1450
|
export declare const RootIndexResultV2: Struct<{
|
|
1451
|
-
proveByIndex: boolean;
|
|
1452
1451
|
rootIndex: number;
|
|
1452
|
+
proveByIndex: boolean;
|
|
1453
1453
|
}, {
|
|
1454
1454
|
rootIndex: Struct<number, null>;
|
|
1455
1455
|
proveByIndex: Struct<boolean, null>;
|
|
@@ -1487,8 +1487,6 @@ export declare const ValidityProofResult: Struct<{
|
|
|
1487
1487
|
export declare const ValidityProofResultV2: Struct<{
|
|
1488
1488
|
accounts: {
|
|
1489
1489
|
root: BN;
|
|
1490
|
-
hash: BN;
|
|
1491
|
-
leafIndex: number;
|
|
1492
1490
|
merkleContext: {
|
|
1493
1491
|
cpiContext: PublicKey | null;
|
|
1494
1492
|
tree: PublicKey;
|
|
@@ -1502,9 +1500,11 @@ export declare const ValidityProofResultV2: Struct<{
|
|
|
1502
1500
|
} | null | undefined;
|
|
1503
1501
|
};
|
|
1504
1502
|
rootIndex: {
|
|
1505
|
-
proveByIndex: boolean;
|
|
1506
1503
|
rootIndex: number;
|
|
1504
|
+
proveByIndex: boolean;
|
|
1507
1505
|
};
|
|
1506
|
+
leafIndex: number;
|
|
1507
|
+
hash: BN;
|
|
1508
1508
|
}[];
|
|
1509
1509
|
compressedProof: {
|
|
1510
1510
|
a: number[];
|
|
@@ -1540,8 +1540,6 @@ export declare const ValidityProofResultV2: Struct<{
|
|
|
1540
1540
|
}>;
|
|
1541
1541
|
accounts: Struct<{
|
|
1542
1542
|
root: BN;
|
|
1543
|
-
hash: BN;
|
|
1544
|
-
leafIndex: number;
|
|
1545
1543
|
merkleContext: {
|
|
1546
1544
|
cpiContext: PublicKey | null;
|
|
1547
1545
|
tree: PublicKey;
|
|
@@ -1555,13 +1553,13 @@ export declare const ValidityProofResultV2: Struct<{
|
|
|
1555
1553
|
} | null | undefined;
|
|
1556
1554
|
};
|
|
1557
1555
|
rootIndex: {
|
|
1558
|
-
proveByIndex: boolean;
|
|
1559
1556
|
rootIndex: number;
|
|
1557
|
+
proveByIndex: boolean;
|
|
1560
1558
|
};
|
|
1559
|
+
leafIndex: number;
|
|
1560
|
+
hash: BN;
|
|
1561
1561
|
}[], Struct<{
|
|
1562
1562
|
root: BN;
|
|
1563
|
-
hash: BN;
|
|
1564
|
-
leafIndex: number;
|
|
1565
1563
|
merkleContext: {
|
|
1566
1564
|
cpiContext: PublicKey | null;
|
|
1567
1565
|
tree: PublicKey;
|
|
@@ -1575,15 +1573,17 @@ export declare const ValidityProofResultV2: Struct<{
|
|
|
1575
1573
|
} | null | undefined;
|
|
1576
1574
|
};
|
|
1577
1575
|
rootIndex: {
|
|
1578
|
-
proveByIndex: boolean;
|
|
1579
1576
|
rootIndex: number;
|
|
1577
|
+
proveByIndex: boolean;
|
|
1580
1578
|
};
|
|
1579
|
+
leafIndex: number;
|
|
1580
|
+
hash: BN;
|
|
1581
1581
|
}, {
|
|
1582
1582
|
hash: Struct<BN, null>;
|
|
1583
1583
|
root: Struct<BN, null>;
|
|
1584
1584
|
rootIndex: Struct<{
|
|
1585
|
-
proveByIndex: boolean;
|
|
1586
1585
|
rootIndex: number;
|
|
1586
|
+
proveByIndex: boolean;
|
|
1587
1587
|
}, {
|
|
1588
1588
|
rootIndex: Struct<number, null>;
|
|
1589
1589
|
proveByIndex: Struct<boolean, null>;
|
|
@@ -1689,17 +1689,17 @@ export declare const ValidityProofResultV2: Struct<{
|
|
|
1689
1689
|
*/
|
|
1690
1690
|
export declare const MultipleMerkleProofsResult: Struct<{
|
|
1691
1691
|
root: BN;
|
|
1692
|
-
|
|
1692
|
+
proof: BN[];
|
|
1693
1693
|
leafIndex: number;
|
|
1694
|
+
hash: BN;
|
|
1694
1695
|
merkleTree: PublicKey;
|
|
1695
|
-
proof: BN[];
|
|
1696
1696
|
rootSeq: number;
|
|
1697
1697
|
}[], Struct<{
|
|
1698
1698
|
root: BN;
|
|
1699
|
-
|
|
1699
|
+
proof: BN[];
|
|
1700
1700
|
leafIndex: number;
|
|
1701
|
+
hash: BN;
|
|
1701
1702
|
merkleTree: PublicKey;
|
|
1702
|
-
proof: BN[];
|
|
1703
1703
|
rootSeq: number;
|
|
1704
1704
|
}, {
|
|
1705
1705
|
hash: Struct<BN, null>;
|
|
@@ -1714,10 +1714,10 @@ export declare const MultipleMerkleProofsResult: Struct<{
|
|
|
1714
1714
|
*/
|
|
1715
1715
|
export declare const MultipleMerkleProofsResultV2: Struct<{
|
|
1716
1716
|
root: BN;
|
|
1717
|
-
|
|
1717
|
+
proof: BN[];
|
|
1718
1718
|
leafIndex: number;
|
|
1719
1719
|
proveByIndex: boolean;
|
|
1720
|
-
|
|
1720
|
+
hash: BN;
|
|
1721
1721
|
rootSeq: number;
|
|
1722
1722
|
treeContext: {
|
|
1723
1723
|
cpiContext: PublicKey | null;
|
|
@@ -1733,10 +1733,10 @@ export declare const MultipleMerkleProofsResultV2: Struct<{
|
|
|
1733
1733
|
};
|
|
1734
1734
|
}[], Struct<{
|
|
1735
1735
|
root: BN;
|
|
1736
|
-
|
|
1736
|
+
proof: BN[];
|
|
1737
1737
|
leafIndex: number;
|
|
1738
1738
|
proveByIndex: boolean;
|
|
1739
|
-
|
|
1739
|
+
hash: BN;
|
|
1740
1740
|
rootSeq: number;
|
|
1741
1741
|
treeContext: {
|
|
1742
1742
|
cpiContext: PublicKey | null;
|
|
@@ -1861,8 +1861,8 @@ export declare const CompressedMintTokenHoldersResult: Struct<{
|
|
|
1861
1861
|
}>;
|
|
1862
1862
|
export declare const AccountProofResult: Struct<{
|
|
1863
1863
|
root: number[];
|
|
1864
|
-
hash: number[];
|
|
1865
1864
|
proof: number[][];
|
|
1865
|
+
hash: number[];
|
|
1866
1866
|
}, {
|
|
1867
1867
|
hash: Struct<number[], Struct<number, null>>;
|
|
1868
1868
|
root: Struct<number[], Struct<number, null>>;
|
|
@@ -1922,16 +1922,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
1922
1922
|
account: {
|
|
1923
1923
|
data: {
|
|
1924
1924
|
data: string;
|
|
1925
|
-
dataHash: BN;
|
|
1926
1925
|
discriminator: BN;
|
|
1926
|
+
dataHash: BN;
|
|
1927
1927
|
} | null;
|
|
1928
1928
|
lamports: BN;
|
|
1929
|
-
tree: PublicKey;
|
|
1930
|
-
address: number[] | null;
|
|
1931
|
-
hash: BN;
|
|
1932
1929
|
owner: PublicKey;
|
|
1930
|
+
address: number[] | null;
|
|
1933
1931
|
leafIndex: number;
|
|
1934
1932
|
seq: BN | null;
|
|
1933
|
+
tree: PublicKey;
|
|
1934
|
+
hash: BN;
|
|
1935
1935
|
slotCreated: BN;
|
|
1936
1936
|
};
|
|
1937
1937
|
optionalTokenData: {
|
|
@@ -1946,16 +1946,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
1946
1946
|
account: {
|
|
1947
1947
|
data: {
|
|
1948
1948
|
data: string;
|
|
1949
|
-
dataHash: BN;
|
|
1950
1949
|
discriminator: BN;
|
|
1950
|
+
dataHash: BN;
|
|
1951
1951
|
} | null;
|
|
1952
1952
|
lamports: BN;
|
|
1953
|
-
tree: PublicKey;
|
|
1954
|
-
address: number[] | null;
|
|
1955
|
-
hash: BN;
|
|
1956
1953
|
owner: PublicKey;
|
|
1954
|
+
address: number[] | null;
|
|
1957
1955
|
leafIndex: number;
|
|
1958
1956
|
seq: BN | null;
|
|
1957
|
+
tree: PublicKey;
|
|
1958
|
+
hash: BN;
|
|
1959
1959
|
slotCreated: BN;
|
|
1960
1960
|
};
|
|
1961
1961
|
optionalTokenData: {
|
|
@@ -1974,16 +1974,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
1974
1974
|
account: {
|
|
1975
1975
|
data: {
|
|
1976
1976
|
data: string;
|
|
1977
|
-
dataHash: BN;
|
|
1978
1977
|
discriminator: BN;
|
|
1978
|
+
dataHash: BN;
|
|
1979
1979
|
} | null;
|
|
1980
1980
|
lamports: BN;
|
|
1981
|
-
tree: PublicKey;
|
|
1982
|
-
address: number[] | null;
|
|
1983
|
-
hash: BN;
|
|
1984
1981
|
owner: PublicKey;
|
|
1982
|
+
address: number[] | null;
|
|
1985
1983
|
leafIndex: number;
|
|
1986
1984
|
seq: BN | null;
|
|
1985
|
+
tree: PublicKey;
|
|
1986
|
+
hash: BN;
|
|
1987
1987
|
slotCreated: BN;
|
|
1988
1988
|
};
|
|
1989
1989
|
optionalTokenData: {
|
|
@@ -1998,16 +1998,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
1998
1998
|
account: {
|
|
1999
1999
|
data: {
|
|
2000
2000
|
data: string;
|
|
2001
|
-
dataHash: BN;
|
|
2002
2001
|
discriminator: BN;
|
|
2002
|
+
dataHash: BN;
|
|
2003
2003
|
} | null;
|
|
2004
2004
|
lamports: BN;
|
|
2005
|
-
tree: PublicKey;
|
|
2006
|
-
address: number[] | null;
|
|
2007
|
-
hash: BN;
|
|
2008
2005
|
owner: PublicKey;
|
|
2006
|
+
address: number[] | null;
|
|
2009
2007
|
leafIndex: number;
|
|
2010
2008
|
seq: BN | null;
|
|
2009
|
+
tree: PublicKey;
|
|
2010
|
+
hash: BN;
|
|
2011
2011
|
slotCreated: BN;
|
|
2012
2012
|
};
|
|
2013
2013
|
optionalTokenData: {
|
|
@@ -2023,16 +2023,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2023
2023
|
account: {
|
|
2024
2024
|
data: {
|
|
2025
2025
|
data: string;
|
|
2026
|
-
dataHash: BN;
|
|
2027
2026
|
discriminator: BN;
|
|
2027
|
+
dataHash: BN;
|
|
2028
2028
|
} | null;
|
|
2029
2029
|
lamports: BN;
|
|
2030
|
-
tree: PublicKey;
|
|
2031
|
-
address: number[] | null;
|
|
2032
|
-
hash: BN;
|
|
2033
2030
|
owner: PublicKey;
|
|
2031
|
+
address: number[] | null;
|
|
2034
2032
|
leafIndex: number;
|
|
2035
2033
|
seq: BN | null;
|
|
2034
|
+
tree: PublicKey;
|
|
2035
|
+
hash: BN;
|
|
2036
2036
|
slotCreated: BN;
|
|
2037
2037
|
};
|
|
2038
2038
|
optionalTokenData: {
|
|
@@ -2046,16 +2046,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2046
2046
|
account: {
|
|
2047
2047
|
data: {
|
|
2048
2048
|
data: string;
|
|
2049
|
-
dataHash: BN;
|
|
2050
2049
|
discriminator: BN;
|
|
2050
|
+
dataHash: BN;
|
|
2051
2051
|
} | null;
|
|
2052
2052
|
lamports: BN;
|
|
2053
|
-
tree: PublicKey;
|
|
2054
|
-
address: number[] | null;
|
|
2055
|
-
hash: BN;
|
|
2056
2053
|
owner: PublicKey;
|
|
2054
|
+
address: number[] | null;
|
|
2057
2055
|
leafIndex: number;
|
|
2058
2056
|
seq: BN | null;
|
|
2057
|
+
tree: PublicKey;
|
|
2058
|
+
hash: BN;
|
|
2059
2059
|
slotCreated: BN;
|
|
2060
2060
|
};
|
|
2061
2061
|
optionalTokenData: {
|
|
@@ -2069,24 +2069,24 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2069
2069
|
account: Struct<{
|
|
2070
2070
|
data: {
|
|
2071
2071
|
data: string;
|
|
2072
|
-
dataHash: BN;
|
|
2073
2072
|
discriminator: BN;
|
|
2073
|
+
dataHash: BN;
|
|
2074
2074
|
} | null;
|
|
2075
2075
|
lamports: BN;
|
|
2076
|
-
tree: PublicKey;
|
|
2077
|
-
address: number[] | null;
|
|
2078
|
-
hash: BN;
|
|
2079
2076
|
owner: PublicKey;
|
|
2077
|
+
address: number[] | null;
|
|
2080
2078
|
leafIndex: number;
|
|
2081
2079
|
seq: BN | null;
|
|
2080
|
+
tree: PublicKey;
|
|
2081
|
+
hash: BN;
|
|
2082
2082
|
slotCreated: BN;
|
|
2083
2083
|
}, {
|
|
2084
2084
|
address: Struct<number[] | null, null>;
|
|
2085
2085
|
hash: Struct<BN, null>;
|
|
2086
2086
|
data: Struct<{
|
|
2087
2087
|
data: string;
|
|
2088
|
-
dataHash: BN;
|
|
2089
2088
|
discriminator: BN;
|
|
2089
|
+
dataHash: BN;
|
|
2090
2090
|
} | null, {
|
|
2091
2091
|
data: Struct<string, null>;
|
|
2092
2092
|
dataHash: Struct<BN, null>;
|
|
@@ -2117,16 +2117,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2117
2117
|
account: {
|
|
2118
2118
|
data: {
|
|
2119
2119
|
data: string;
|
|
2120
|
-
dataHash: BN;
|
|
2121
2120
|
discriminator: BN;
|
|
2121
|
+
dataHash: BN;
|
|
2122
2122
|
} | null;
|
|
2123
2123
|
lamports: BN;
|
|
2124
|
-
tree: PublicKey;
|
|
2125
|
-
address: number[] | null;
|
|
2126
|
-
hash: BN;
|
|
2127
2124
|
owner: PublicKey;
|
|
2125
|
+
address: number[] | null;
|
|
2128
2126
|
leafIndex: number;
|
|
2129
2127
|
seq: BN | null;
|
|
2128
|
+
tree: PublicKey;
|
|
2129
|
+
hash: BN;
|
|
2130
2130
|
slotCreated: BN;
|
|
2131
2131
|
};
|
|
2132
2132
|
optionalTokenData: {
|
|
@@ -2140,16 +2140,16 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2140
2140
|
account: {
|
|
2141
2141
|
data: {
|
|
2142
2142
|
data: string;
|
|
2143
|
-
dataHash: BN;
|
|
2144
2143
|
discriminator: BN;
|
|
2144
|
+
dataHash: BN;
|
|
2145
2145
|
} | null;
|
|
2146
2146
|
lamports: BN;
|
|
2147
|
-
tree: PublicKey;
|
|
2148
|
-
address: number[] | null;
|
|
2149
|
-
hash: BN;
|
|
2150
2147
|
owner: PublicKey;
|
|
2148
|
+
address: number[] | null;
|
|
2151
2149
|
leafIndex: number;
|
|
2152
2150
|
seq: BN | null;
|
|
2151
|
+
tree: PublicKey;
|
|
2152
|
+
hash: BN;
|
|
2153
2153
|
slotCreated: BN;
|
|
2154
2154
|
};
|
|
2155
2155
|
optionalTokenData: {
|
|
@@ -2163,24 +2163,24 @@ export declare const CompressedTransactionResult: Struct<{
|
|
|
2163
2163
|
account: Struct<{
|
|
2164
2164
|
data: {
|
|
2165
2165
|
data: string;
|
|
2166
|
-
dataHash: BN;
|
|
2167
2166
|
discriminator: BN;
|
|
2167
|
+
dataHash: BN;
|
|
2168
2168
|
} | null;
|
|
2169
2169
|
lamports: BN;
|
|
2170
|
-
tree: PublicKey;
|
|
2171
|
-
address: number[] | null;
|
|
2172
|
-
hash: BN;
|
|
2173
2170
|
owner: PublicKey;
|
|
2171
|
+
address: number[] | null;
|
|
2174
2172
|
leafIndex: number;
|
|
2175
2173
|
seq: BN | null;
|
|
2174
|
+
tree: PublicKey;
|
|
2175
|
+
hash: BN;
|
|
2176
2176
|
slotCreated: BN;
|
|
2177
2177
|
}, {
|
|
2178
2178
|
address: Struct<number[] | null, null>;
|
|
2179
2179
|
hash: Struct<BN, null>;
|
|
2180
2180
|
data: Struct<{
|
|
2181
2181
|
data: string;
|
|
2182
|
-
dataHash: BN;
|
|
2183
2182
|
discriminator: BN;
|
|
2183
|
+
dataHash: BN;
|
|
2184
2184
|
} | null, {
|
|
2185
2185
|
data: Struct<string, null>;
|
|
2186
2186
|
dataHash: Struct<BN, null>;
|
|
@@ -2220,16 +2220,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2220
2220
|
account: {
|
|
2221
2221
|
data: {
|
|
2222
2222
|
data: string;
|
|
2223
|
-
dataHash: BN;
|
|
2224
2223
|
discriminator: BN;
|
|
2224
|
+
dataHash: BN;
|
|
2225
2225
|
} | null;
|
|
2226
2226
|
lamports: BN;
|
|
2227
|
-
address: number[] | null;
|
|
2228
|
-
hash: BN;
|
|
2229
2227
|
owner: PublicKey;
|
|
2230
|
-
|
|
2231
|
-
seq: BN | null;
|
|
2232
|
-
slotCreated: BN;
|
|
2228
|
+
address: number[] | null;
|
|
2233
2229
|
merkleContext: {
|
|
2234
2230
|
cpiContext: PublicKey | null;
|
|
2235
2231
|
tree: PublicKey;
|
|
@@ -2242,7 +2238,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2242
2238
|
treeType: number;
|
|
2243
2239
|
} | null | undefined;
|
|
2244
2240
|
};
|
|
2241
|
+
leafIndex: number;
|
|
2245
2242
|
proveByIndex: boolean;
|
|
2243
|
+
seq: BN | null;
|
|
2244
|
+
hash: BN;
|
|
2245
|
+
slotCreated: BN;
|
|
2246
2246
|
};
|
|
2247
2247
|
txHash: BN;
|
|
2248
2248
|
nullifier: BN;
|
|
@@ -2259,16 +2259,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2259
2259
|
account: {
|
|
2260
2260
|
data: {
|
|
2261
2261
|
data: string;
|
|
2262
|
-
dataHash: BN;
|
|
2263
2262
|
discriminator: BN;
|
|
2263
|
+
dataHash: BN;
|
|
2264
2264
|
} | null;
|
|
2265
2265
|
lamports: BN;
|
|
2266
|
-
address: number[] | null;
|
|
2267
|
-
hash: BN;
|
|
2268
2266
|
owner: PublicKey;
|
|
2269
|
-
|
|
2270
|
-
seq: BN | null;
|
|
2271
|
-
slotCreated: BN;
|
|
2267
|
+
address: number[] | null;
|
|
2272
2268
|
merkleContext: {
|
|
2273
2269
|
cpiContext: PublicKey | null;
|
|
2274
2270
|
tree: PublicKey;
|
|
@@ -2281,7 +2277,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2281
2277
|
treeType: number;
|
|
2282
2278
|
} | null | undefined;
|
|
2283
2279
|
};
|
|
2280
|
+
leafIndex: number;
|
|
2284
2281
|
proveByIndex: boolean;
|
|
2282
|
+
seq: BN | null;
|
|
2283
|
+
hash: BN;
|
|
2284
|
+
slotCreated: BN;
|
|
2285
2285
|
};
|
|
2286
2286
|
optionalTokenData: {
|
|
2287
2287
|
owner: PublicKey;
|
|
@@ -2300,16 +2300,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2300
2300
|
account: {
|
|
2301
2301
|
data: {
|
|
2302
2302
|
data: string;
|
|
2303
|
-
dataHash: BN;
|
|
2304
2303
|
discriminator: BN;
|
|
2304
|
+
dataHash: BN;
|
|
2305
2305
|
} | null;
|
|
2306
2306
|
lamports: BN;
|
|
2307
|
-
address: number[] | null;
|
|
2308
|
-
hash: BN;
|
|
2309
2307
|
owner: PublicKey;
|
|
2310
|
-
|
|
2311
|
-
seq: BN | null;
|
|
2312
|
-
slotCreated: BN;
|
|
2308
|
+
address: number[] | null;
|
|
2313
2309
|
merkleContext: {
|
|
2314
2310
|
cpiContext: PublicKey | null;
|
|
2315
2311
|
tree: PublicKey;
|
|
@@ -2322,7 +2318,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2322
2318
|
treeType: number;
|
|
2323
2319
|
} | null | undefined;
|
|
2324
2320
|
};
|
|
2321
|
+
leafIndex: number;
|
|
2325
2322
|
proveByIndex: boolean;
|
|
2323
|
+
seq: BN | null;
|
|
2324
|
+
hash: BN;
|
|
2325
|
+
slotCreated: BN;
|
|
2326
2326
|
};
|
|
2327
2327
|
txHash: BN;
|
|
2328
2328
|
nullifier: BN;
|
|
@@ -2339,16 +2339,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2339
2339
|
account: {
|
|
2340
2340
|
data: {
|
|
2341
2341
|
data: string;
|
|
2342
|
-
dataHash: BN;
|
|
2343
2342
|
discriminator: BN;
|
|
2343
|
+
dataHash: BN;
|
|
2344
2344
|
} | null;
|
|
2345
2345
|
lamports: BN;
|
|
2346
|
-
address: number[] | null;
|
|
2347
|
-
hash: BN;
|
|
2348
2346
|
owner: PublicKey;
|
|
2349
|
-
|
|
2350
|
-
seq: BN | null;
|
|
2351
|
-
slotCreated: BN;
|
|
2347
|
+
address: number[] | null;
|
|
2352
2348
|
merkleContext: {
|
|
2353
2349
|
cpiContext: PublicKey | null;
|
|
2354
2350
|
tree: PublicKey;
|
|
@@ -2361,7 +2357,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2361
2357
|
treeType: number;
|
|
2362
2358
|
} | null | undefined;
|
|
2363
2359
|
};
|
|
2360
|
+
leafIndex: number;
|
|
2364
2361
|
proveByIndex: boolean;
|
|
2362
|
+
seq: BN | null;
|
|
2363
|
+
hash: BN;
|
|
2364
|
+
slotCreated: BN;
|
|
2365
2365
|
};
|
|
2366
2366
|
optionalTokenData: {
|
|
2367
2367
|
owner: PublicKey;
|
|
@@ -2377,16 +2377,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2377
2377
|
account: {
|
|
2378
2378
|
data: {
|
|
2379
2379
|
data: string;
|
|
2380
|
-
dataHash: BN;
|
|
2381
2380
|
discriminator: BN;
|
|
2381
|
+
dataHash: BN;
|
|
2382
2382
|
} | null;
|
|
2383
2383
|
lamports: BN;
|
|
2384
|
-
address: number[] | null;
|
|
2385
|
-
hash: BN;
|
|
2386
2384
|
owner: PublicKey;
|
|
2387
|
-
|
|
2388
|
-
seq: BN | null;
|
|
2389
|
-
slotCreated: BN;
|
|
2385
|
+
address: number[] | null;
|
|
2390
2386
|
merkleContext: {
|
|
2391
2387
|
cpiContext: PublicKey | null;
|
|
2392
2388
|
tree: PublicKey;
|
|
@@ -2399,7 +2395,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2399
2395
|
treeType: number;
|
|
2400
2396
|
} | null | undefined;
|
|
2401
2397
|
};
|
|
2398
|
+
leafIndex: number;
|
|
2402
2399
|
proveByIndex: boolean;
|
|
2400
|
+
seq: BN | null;
|
|
2401
|
+
hash: BN;
|
|
2402
|
+
slotCreated: BN;
|
|
2403
2403
|
};
|
|
2404
2404
|
txHash: BN;
|
|
2405
2405
|
nullifier: BN;
|
|
@@ -2416,16 +2416,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2416
2416
|
account: {
|
|
2417
2417
|
data: {
|
|
2418
2418
|
data: string;
|
|
2419
|
-
dataHash: BN;
|
|
2420
2419
|
discriminator: BN;
|
|
2420
|
+
dataHash: BN;
|
|
2421
2421
|
} | null;
|
|
2422
2422
|
lamports: BN;
|
|
2423
|
-
address: number[] | null;
|
|
2424
|
-
hash: BN;
|
|
2425
2423
|
owner: PublicKey;
|
|
2426
|
-
|
|
2427
|
-
seq: BN | null;
|
|
2428
|
-
slotCreated: BN;
|
|
2424
|
+
address: number[] | null;
|
|
2429
2425
|
merkleContext: {
|
|
2430
2426
|
cpiContext: PublicKey | null;
|
|
2431
2427
|
tree: PublicKey;
|
|
@@ -2438,7 +2434,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2438
2434
|
treeType: number;
|
|
2439
2435
|
} | null | undefined;
|
|
2440
2436
|
};
|
|
2437
|
+
leafIndex: number;
|
|
2441
2438
|
proveByIndex: boolean;
|
|
2439
|
+
seq: BN | null;
|
|
2440
|
+
hash: BN;
|
|
2441
|
+
slotCreated: BN;
|
|
2442
2442
|
};
|
|
2443
2443
|
txHash: BN;
|
|
2444
2444
|
nullifier: BN;
|
|
@@ -2455,16 +2455,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2455
2455
|
account: {
|
|
2456
2456
|
data: {
|
|
2457
2457
|
data: string;
|
|
2458
|
-
dataHash: BN;
|
|
2459
2458
|
discriminator: BN;
|
|
2459
|
+
dataHash: BN;
|
|
2460
2460
|
} | null;
|
|
2461
2461
|
lamports: BN;
|
|
2462
|
-
address: number[] | null;
|
|
2463
|
-
hash: BN;
|
|
2464
2462
|
owner: PublicKey;
|
|
2465
|
-
|
|
2466
|
-
seq: BN | null;
|
|
2467
|
-
slotCreated: BN;
|
|
2463
|
+
address: number[] | null;
|
|
2468
2464
|
merkleContext: {
|
|
2469
2465
|
cpiContext: PublicKey | null;
|
|
2470
2466
|
tree: PublicKey;
|
|
@@ -2477,7 +2473,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2477
2473
|
treeType: number;
|
|
2478
2474
|
} | null | undefined;
|
|
2479
2475
|
};
|
|
2476
|
+
leafIndex: number;
|
|
2480
2477
|
proveByIndex: boolean;
|
|
2478
|
+
seq: BN | null;
|
|
2479
|
+
hash: BN;
|
|
2480
|
+
slotCreated: BN;
|
|
2481
2481
|
};
|
|
2482
2482
|
txHash: BN;
|
|
2483
2483
|
nullifier: BN;
|
|
@@ -2485,16 +2485,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2485
2485
|
account: Struct<{
|
|
2486
2486
|
data: {
|
|
2487
2487
|
data: string;
|
|
2488
|
-
dataHash: BN;
|
|
2489
2488
|
discriminator: BN;
|
|
2489
|
+
dataHash: BN;
|
|
2490
2490
|
} | null;
|
|
2491
2491
|
lamports: BN;
|
|
2492
|
-
address: number[] | null;
|
|
2493
|
-
hash: BN;
|
|
2494
2492
|
owner: PublicKey;
|
|
2495
|
-
|
|
2496
|
-
seq: BN | null;
|
|
2497
|
-
slotCreated: BN;
|
|
2493
|
+
address: number[] | null;
|
|
2498
2494
|
merkleContext: {
|
|
2499
2495
|
cpiContext: PublicKey | null;
|
|
2500
2496
|
tree: PublicKey;
|
|
@@ -2507,14 +2503,18 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2507
2503
|
treeType: number;
|
|
2508
2504
|
} | null | undefined;
|
|
2509
2505
|
};
|
|
2506
|
+
leafIndex: number;
|
|
2510
2507
|
proveByIndex: boolean;
|
|
2508
|
+
seq: BN | null;
|
|
2509
|
+
hash: BN;
|
|
2510
|
+
slotCreated: BN;
|
|
2511
2511
|
}, {
|
|
2512
2512
|
address: Struct<number[] | null, null>;
|
|
2513
2513
|
hash: Struct<BN, null>;
|
|
2514
2514
|
data: Struct<{
|
|
2515
2515
|
data: string;
|
|
2516
|
-
dataHash: BN;
|
|
2517
2516
|
discriminator: BN;
|
|
2517
|
+
dataHash: BN;
|
|
2518
2518
|
} | null, {
|
|
2519
2519
|
data: Struct<string, null>;
|
|
2520
2520
|
dataHash: Struct<BN, null>;
|
|
@@ -2576,16 +2576,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2576
2576
|
account: {
|
|
2577
2577
|
data: {
|
|
2578
2578
|
data: string;
|
|
2579
|
-
dataHash: BN;
|
|
2580
2579
|
discriminator: BN;
|
|
2580
|
+
dataHash: BN;
|
|
2581
2581
|
} | null;
|
|
2582
2582
|
lamports: BN;
|
|
2583
|
-
address: number[] | null;
|
|
2584
|
-
hash: BN;
|
|
2585
2583
|
owner: PublicKey;
|
|
2586
|
-
|
|
2587
|
-
seq: BN | null;
|
|
2588
|
-
slotCreated: BN;
|
|
2584
|
+
address: number[] | null;
|
|
2589
2585
|
merkleContext: {
|
|
2590
2586
|
cpiContext: PublicKey | null;
|
|
2591
2587
|
tree: PublicKey;
|
|
@@ -2598,7 +2594,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2598
2594
|
treeType: number;
|
|
2599
2595
|
} | null | undefined;
|
|
2600
2596
|
};
|
|
2597
|
+
leafIndex: number;
|
|
2601
2598
|
proveByIndex: boolean;
|
|
2599
|
+
seq: BN | null;
|
|
2600
|
+
hash: BN;
|
|
2601
|
+
slotCreated: BN;
|
|
2602
2602
|
};
|
|
2603
2603
|
optionalTokenData: {
|
|
2604
2604
|
owner: PublicKey;
|
|
@@ -2611,16 +2611,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2611
2611
|
account: {
|
|
2612
2612
|
data: {
|
|
2613
2613
|
data: string;
|
|
2614
|
-
dataHash: BN;
|
|
2615
2614
|
discriminator: BN;
|
|
2615
|
+
dataHash: BN;
|
|
2616
2616
|
} | null;
|
|
2617
2617
|
lamports: BN;
|
|
2618
|
-
address: number[] | null;
|
|
2619
|
-
hash: BN;
|
|
2620
2618
|
owner: PublicKey;
|
|
2621
|
-
|
|
2622
|
-
seq: BN | null;
|
|
2623
|
-
slotCreated: BN;
|
|
2619
|
+
address: number[] | null;
|
|
2624
2620
|
merkleContext: {
|
|
2625
2621
|
cpiContext: PublicKey | null;
|
|
2626
2622
|
tree: PublicKey;
|
|
@@ -2633,7 +2629,11 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2633
2629
|
treeType: number;
|
|
2634
2630
|
} | null | undefined;
|
|
2635
2631
|
};
|
|
2632
|
+
leafIndex: number;
|
|
2636
2633
|
proveByIndex: boolean;
|
|
2634
|
+
seq: BN | null;
|
|
2635
|
+
hash: BN;
|
|
2636
|
+
slotCreated: BN;
|
|
2637
2637
|
};
|
|
2638
2638
|
optionalTokenData: {
|
|
2639
2639
|
owner: PublicKey;
|
|
@@ -2646,16 +2646,12 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2646
2646
|
account: Struct<{
|
|
2647
2647
|
data: {
|
|
2648
2648
|
data: string;
|
|
2649
|
-
dataHash: BN;
|
|
2650
2649
|
discriminator: BN;
|
|
2650
|
+
dataHash: BN;
|
|
2651
2651
|
} | null;
|
|
2652
2652
|
lamports: BN;
|
|
2653
|
-
address: number[] | null;
|
|
2654
|
-
hash: BN;
|
|
2655
2653
|
owner: PublicKey;
|
|
2656
|
-
|
|
2657
|
-
seq: BN | null;
|
|
2658
|
-
slotCreated: BN;
|
|
2654
|
+
address: number[] | null;
|
|
2659
2655
|
merkleContext: {
|
|
2660
2656
|
cpiContext: PublicKey | null;
|
|
2661
2657
|
tree: PublicKey;
|
|
@@ -2668,14 +2664,18 @@ export declare const CompressedTransactionResultV2: Struct<{
|
|
|
2668
2664
|
treeType: number;
|
|
2669
2665
|
} | null | undefined;
|
|
2670
2666
|
};
|
|
2667
|
+
leafIndex: number;
|
|
2671
2668
|
proveByIndex: boolean;
|
|
2669
|
+
seq: BN | null;
|
|
2670
|
+
hash: BN;
|
|
2671
|
+
slotCreated: BN;
|
|
2672
2672
|
}, {
|
|
2673
2673
|
address: Struct<number[] | null, null>;
|
|
2674
2674
|
hash: Struct<BN, null>;
|
|
2675
2675
|
data: Struct<{
|
|
2676
2676
|
data: string;
|
|
2677
|
-
dataHash: BN;
|
|
2678
2677
|
discriminator: BN;
|
|
2678
|
+
dataHash: BN;
|
|
2679
2679
|
} | null, {
|
|
2680
2680
|
data: Struct<string, null>;
|
|
2681
2681
|
dataHash: Struct<BN, null>;
|