@sentio/sdk 2.13.0-rc.7 → 2.13.0-rc.9

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.
Files changed (73) hide show
  1. package/lib/aptos/builtin/0x1.d.ts +1076 -431
  2. package/lib/aptos/builtin/0x1.js +1937 -1457
  3. package/lib/aptos/builtin/0x1.js.map +1 -1
  4. package/lib/aptos/builtin/0x3.d.ts +206 -83
  5. package/lib/aptos/builtin/0x3.js +371 -332
  6. package/lib/aptos/builtin/0x3.js.map +1 -1
  7. package/lib/aptos/codegen/codegen.d.ts +1 -1
  8. package/lib/aptos/codegen/codegen.js +2 -2
  9. package/lib/aptos/codegen/codegen.js.map +1 -1
  10. package/lib/aptos/codegen/run.js +1 -1
  11. package/lib/aptos/codegen/run.js.map +1 -1
  12. package/lib/aptos/ext/aptos-dex.d.ts +2 -1
  13. package/lib/aptos/ext/aptos-dex.js +1 -1
  14. package/lib/aptos/ext/aptos-dex.js.map +1 -1
  15. package/lib/aptos/index.d.ts +1 -0
  16. package/lib/aptos/index.js +1 -0
  17. package/lib/aptos/index.js.map +1 -1
  18. package/lib/aptos/models.d.ts +3 -11
  19. package/lib/aptos/models.js.map +1 -1
  20. package/lib/aptos/move-coder.d.ts +3 -2
  21. package/lib/aptos/move-coder.js +11 -4
  22. package/lib/aptos/move-coder.js.map +1 -1
  23. package/lib/move/abstract-codegen.d.ts +2 -2
  24. package/lib/move/abstract-codegen.js +36 -11
  25. package/lib/move/abstract-codegen.js.map +1 -1
  26. package/lib/move/abstract-move-coder.d.ts +3 -7
  27. package/lib/move/abstract-move-coder.js +3 -3
  28. package/lib/move/abstract-move-coder.js.map +1 -1
  29. package/lib/move/types.d.ts +22 -1
  30. package/lib/move/types.js +46 -17
  31. package/lib/move/types.js.map +1 -1
  32. package/lib/sui/builtin/0x1.d.ts +31 -12
  33. package/lib/sui/builtin/0x1.js +56 -31
  34. package/lib/sui/builtin/0x1.js.map +1 -1
  35. package/lib/sui/builtin/0x2.d.ts +256 -103
  36. package/lib/sui/builtin/0x2.js +461 -316
  37. package/lib/sui/builtin/0x2.js.map +1 -1
  38. package/lib/sui/builtin/0x3.d.ts +126 -51
  39. package/lib/sui/builtin/0x3.js +227 -271
  40. package/lib/sui/builtin/0x3.js.map +1 -1
  41. package/lib/sui/codegen/codegen.d.ts +1 -1
  42. package/lib/sui/codegen/codegen.js +3 -2
  43. package/lib/sui/codegen/codegen.js.map +1 -1
  44. package/lib/sui/codegen/run.js +1 -1
  45. package/lib/sui/codegen/run.js.map +1 -1
  46. package/lib/sui/index.d.ts +1 -0
  47. package/lib/sui/index.js +1 -0
  48. package/lib/sui/index.js.map +1 -1
  49. package/lib/sui/models.d.ts +3 -11
  50. package/lib/sui/models.js.map +1 -1
  51. package/lib/sui/move-coder.d.ts +5 -5
  52. package/lib/sui/move-coder.js +14 -7
  53. package/lib/sui/move-coder.js.map +1 -1
  54. package/package.json +4 -4
  55. package/src/aptos/builtin/0x1.ts +2688 -447
  56. package/src/aptos/builtin/0x3.ts +506 -84
  57. package/src/aptos/codegen/codegen.ts +7 -2
  58. package/src/aptos/codegen/run.ts +1 -1
  59. package/src/aptos/ext/aptos-dex.ts +3 -5
  60. package/src/aptos/index.ts +2 -0
  61. package/src/aptos/models.ts +3 -13
  62. package/src/aptos/move-coder.ts +14 -4
  63. package/src/move/abstract-codegen.ts +39 -13
  64. package/src/move/abstract-move-coder.ts +11 -16
  65. package/src/move/types.ts +63 -18
  66. package/src/sui/builtin/0x1.ts +67 -13
  67. package/src/sui/builtin/0x2.ts +649 -103
  68. package/src/sui/builtin/0x3.ts +315 -51
  69. package/src/sui/codegen/codegen.ts +8 -2
  70. package/src/sui/codegen/run.ts +1 -1
  71. package/src/sui/index.ts +1 -0
  72. package/src/sui/models.ts +3 -13
  73. package/src/sui/move-coder.ts +22 -15
@@ -4,7 +4,7 @@
4
4
 
5
5
  /* Generated modules for account 0x2 */
6
6
 
7
- import { CallFilter } from "@sentio/sdk/move";
7
+ import { CallFilter, TypeDescriptor, ANY_TYPE } from "@sentio/sdk/move";
8
8
  import {
9
9
  MoveCoder,
10
10
  defaultMoveCoder,
@@ -23,20 +23,40 @@ import * as _0x1 from "./0x1.js";
23
23
  export namespace address {}
24
24
 
25
25
  export namespace bag {
26
- export class Bag {
27
- static TYPE_QNAME = "0x2::bag::Bag";
26
+ export interface Bag {
28
27
  id: object_.UID;
29
28
  size: bigint;
30
29
  }
30
+
31
+ export namespace Bag {
32
+ export const TYPE_QNAME = "0x2::bag::Bag";
33
+
34
+ const TYPE = new TypeDescriptor<Bag>(Bag.TYPE_QNAME);
35
+
36
+ export function type(): TypeDescriptor<Bag> {
37
+ return TYPE.apply();
38
+ }
39
+ }
31
40
  }
32
41
 
33
42
  export namespace balance {
34
43
  export type Balance<T> = string;
35
44
 
36
- export class Supply<T0> {
37
- static TYPE_QNAME = "0x2::balance::Supply";
45
+ export interface Supply<T0> {
38
46
  value: bigint;
39
47
  }
48
+
49
+ export namespace Supply {
50
+ export const TYPE_QNAME = "0x2::balance::Supply";
51
+
52
+ const TYPE = new TypeDescriptor<Supply<any>>(Supply.TYPE_QNAME);
53
+
54
+ export function type<T0>(
55
+ arg0: TypeDescriptor<T0> = ANY_TYPE
56
+ ): TypeDescriptor<Supply<T0>> {
57
+ return TYPE.apply(arg0);
58
+ }
59
+ }
40
60
  }
41
61
 
42
62
  export class bcs extends SuiBaseProcessor {
@@ -68,11 +88,20 @@ export class bcs extends SuiBaseProcessor {
68
88
  }
69
89
 
70
90
  export namespace bcs {
71
- export class BCS {
72
- static TYPE_QNAME = "0x2::bcs::BCS";
91
+ export interface BCS {
73
92
  bytes: number[];
74
93
  }
75
94
 
95
+ export namespace BCS {
96
+ export const TYPE_QNAME = "0x2::bcs::BCS";
97
+
98
+ const TYPE = new TypeDescriptor<BCS>(BCS.TYPE_QNAME);
99
+
100
+ export function type(): TypeDescriptor<BCS> {
101
+ return TYPE.apply();
102
+ }
103
+ }
104
+
76
105
  export interface BCSInstance extends TypedEventInstance<BCS> {
77
106
  data_decoded: BCS;
78
107
  type_arguments: [];
@@ -82,25 +111,54 @@ export namespace bcs {
82
111
  export namespace bls12381 {}
83
112
 
84
113
  export namespace borrow {
85
- export class Borrow {
86
- static TYPE_QNAME = "0x2::borrow::Borrow";
114
+ export interface Borrow {
87
115
  ref: SuiAddress;
88
116
  obj: object_.ID;
89
117
  }
90
118
 
91
- export class Referent<T0> {
92
- static TYPE_QNAME = "0x2::borrow::Referent";
119
+ export namespace Borrow {
120
+ export const TYPE_QNAME = "0x2::borrow::Borrow";
121
+
122
+ const TYPE = new TypeDescriptor<Borrow>(Borrow.TYPE_QNAME);
123
+
124
+ export function type(): TypeDescriptor<Borrow> {
125
+ return TYPE.apply();
126
+ }
127
+ }
128
+
129
+ export interface Referent<T0> {
93
130
  id: SuiAddress;
94
131
  value: _0x1.option.Option<T0>;
95
132
  }
133
+
134
+ export namespace Referent {
135
+ export const TYPE_QNAME = "0x2::borrow::Referent";
136
+
137
+ const TYPE = new TypeDescriptor<Referent<any>>(Referent.TYPE_QNAME);
138
+
139
+ export function type<T0>(
140
+ arg0: TypeDescriptor<T0> = ANY_TYPE
141
+ ): TypeDescriptor<Referent<T0>> {
142
+ return TYPE.apply(arg0);
143
+ }
144
+ }
96
145
  }
97
146
 
98
147
  export namespace clock {
99
- export class Clock {
100
- static TYPE_QNAME = "0x2::clock::Clock";
148
+ export interface Clock {
101
149
  id: object_.UID;
102
150
  timestamp_ms: bigint;
103
151
  }
152
+
153
+ export namespace Clock {
154
+ export const TYPE_QNAME = "0x2::clock::Clock";
155
+
156
+ const TYPE = new TypeDescriptor<Clock>(Clock.TYPE_QNAME);
157
+
158
+ export function type(): TypeDescriptor<Clock> {
159
+ return TYPE.apply();
160
+ }
161
+ }
104
162
  }
105
163
 
106
164
  export class coin extends SuiBaseProcessor {
@@ -246,8 +304,7 @@ export class coin extends SuiBaseProcessor {
246
304
  export namespace coin {
247
305
  export type Coin<T> = string;
248
306
 
249
- export class CoinMetadata<T0> {
250
- static TYPE_QNAME = "0x2::coin::CoinMetadata";
307
+ export interface CoinMetadata<T0> {
251
308
  id: object_.UID;
252
309
  decimals: number;
253
310
  name: string;
@@ -256,23 +313,59 @@ export namespace coin {
256
313
  icon_url: _0x1.option.Option<url.Url>;
257
314
  }
258
315
 
259
- export class CurrencyCreated<T0> {
260
- static TYPE_QNAME = "0x2::coin::CurrencyCreated";
316
+ export namespace CoinMetadata {
317
+ export const TYPE_QNAME = "0x2::coin::CoinMetadata";
318
+
319
+ const TYPE = new TypeDescriptor<CoinMetadata<any>>(CoinMetadata.TYPE_QNAME);
320
+
321
+ export function type<T0>(
322
+ arg0: TypeDescriptor<T0> = ANY_TYPE
323
+ ): TypeDescriptor<CoinMetadata<T0>> {
324
+ return TYPE.apply(arg0);
325
+ }
326
+ }
327
+
328
+ export interface CurrencyCreated<T0> {
261
329
  decimals: number;
262
330
  }
263
331
 
332
+ export namespace CurrencyCreated {
333
+ export const TYPE_QNAME = "0x2::coin::CurrencyCreated";
334
+
335
+ const TYPE = new TypeDescriptor<CurrencyCreated<any>>(
336
+ CurrencyCreated.TYPE_QNAME
337
+ );
338
+
339
+ export function type<T0>(
340
+ arg0: TypeDescriptor<T0> = ANY_TYPE
341
+ ): TypeDescriptor<CurrencyCreated<T0>> {
342
+ return TYPE.apply(arg0);
343
+ }
344
+ }
345
+
264
346
  export interface CurrencyCreatedInstance
265
347
  extends TypedEventInstance<CurrencyCreated<any>> {
266
348
  data_decoded: CurrencyCreated<any>;
267
349
  type_arguments: [string];
268
350
  }
269
351
 
270
- export class TreasuryCap<T0> {
271
- static TYPE_QNAME = "0x2::coin::TreasuryCap";
352
+ export interface TreasuryCap<T0> {
272
353
  id: object_.UID;
273
354
  total_supply: balance.Supply<T0>;
274
355
  }
275
356
 
357
+ export namespace TreasuryCap {
358
+ export const TYPE_QNAME = "0x2::coin::TreasuryCap";
359
+
360
+ const TYPE = new TypeDescriptor<TreasuryCap<any>>(TreasuryCap.TYPE_QNAME);
361
+
362
+ export function type<T0>(
363
+ arg0: TypeDescriptor<T0> = ANY_TYPE
364
+ ): TypeDescriptor<TreasuryCap<T0>> {
365
+ return TYPE.apply(arg0);
366
+ }
367
+ }
368
+
276
369
  export interface BurnPayload<T0 = any>
277
370
  extends TypedFunctionPayload<[SuiAddress | undefined]> {
278
371
  arguments_decoded: [SuiAddress | undefined];
@@ -469,31 +562,68 @@ export class display extends SuiBaseProcessor {
469
562
  }
470
563
 
471
564
  export namespace display {
472
- export class Display<T0> {
473
- static TYPE_QNAME = "0x2::display::Display";
565
+ export interface Display<T0> {
474
566
  id: object_.UID;
475
567
  fields: vec_map.VecMap<string, string>;
476
568
  version: number;
477
569
  }
478
570
 
479
- export class DisplayCreated<T0> {
480
- static TYPE_QNAME = "0x2::display::DisplayCreated";
571
+ export namespace Display {
572
+ export const TYPE_QNAME = "0x2::display::Display";
573
+
574
+ const TYPE = new TypeDescriptor<Display<any>>(Display.TYPE_QNAME);
575
+
576
+ export function type<T0>(
577
+ arg0: TypeDescriptor<T0> = ANY_TYPE
578
+ ): TypeDescriptor<Display<T0>> {
579
+ return TYPE.apply(arg0);
580
+ }
581
+ }
582
+
583
+ export interface DisplayCreated<T0> {
481
584
  id: object_.ID;
482
585
  }
483
586
 
587
+ export namespace DisplayCreated {
588
+ export const TYPE_QNAME = "0x2::display::DisplayCreated";
589
+
590
+ const TYPE = new TypeDescriptor<DisplayCreated<any>>(
591
+ DisplayCreated.TYPE_QNAME
592
+ );
593
+
594
+ export function type<T0>(
595
+ arg0: TypeDescriptor<T0> = ANY_TYPE
596
+ ): TypeDescriptor<DisplayCreated<T0>> {
597
+ return TYPE.apply(arg0);
598
+ }
599
+ }
600
+
484
601
  export interface DisplayCreatedInstance
485
602
  extends TypedEventInstance<DisplayCreated<any>> {
486
603
  data_decoded: DisplayCreated<any>;
487
604
  type_arguments: [string];
488
605
  }
489
606
 
490
- export class VersionUpdated<T0> {
491
- static TYPE_QNAME = "0x2::display::VersionUpdated";
607
+ export interface VersionUpdated<T0> {
492
608
  id: object_.ID;
493
609
  version: number;
494
610
  fields: vec_map.VecMap<string, string>;
495
611
  }
496
612
 
613
+ export namespace VersionUpdated {
614
+ export const TYPE_QNAME = "0x2::display::VersionUpdated";
615
+
616
+ const TYPE = new TypeDescriptor<VersionUpdated<any>>(
617
+ VersionUpdated.TYPE_QNAME
618
+ );
619
+
620
+ export function type<T0>(
621
+ arg0: TypeDescriptor<T0> = ANY_TYPE
622
+ ): TypeDescriptor<VersionUpdated<T0>> {
623
+ return TYPE.apply(arg0);
624
+ }
625
+ }
626
+
497
627
  export interface VersionUpdatedInstance
498
628
  extends TypedEventInstance<VersionUpdated<any>> {
499
629
  data_decoded: VersionUpdated<any>;
@@ -540,12 +670,24 @@ export namespace display {
540
670
  }
541
671
 
542
672
  export namespace dynamic_field {
543
- export class Field<T0, T1> {
544
- static TYPE_QNAME = "0x2::dynamic_field::Field";
673
+ export interface Field<T0, T1> {
545
674
  id: object_.UID;
546
675
  name: T0;
547
676
  value: T1;
548
677
  }
678
+
679
+ export namespace Field {
680
+ export const TYPE_QNAME = "0x2::dynamic_field::Field";
681
+
682
+ const TYPE = new TypeDescriptor<Field<any, any>>(Field.TYPE_QNAME);
683
+
684
+ export function type<T0, T1>(
685
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
686
+ arg1: TypeDescriptor<T1> = ANY_TYPE
687
+ ): TypeDescriptor<Field<T0, T1>> {
688
+ return TYPE.apply(arg0, arg1);
689
+ }
690
+ }
549
691
  }
550
692
 
551
693
  export class dynamic_object_field extends SuiBaseProcessor {
@@ -583,11 +725,22 @@ export class dynamic_object_field extends SuiBaseProcessor {
583
725
  }
584
726
 
585
727
  export namespace dynamic_object_field {
586
- export class Wrapper<T0> {
587
- static TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
728
+ export interface Wrapper<T0> {
588
729
  name: T0;
589
730
  }
590
731
 
732
+ export namespace Wrapper {
733
+ export const TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
734
+
735
+ const TYPE = new TypeDescriptor<Wrapper<any>>(Wrapper.TYPE_QNAME);
736
+
737
+ export function type<T0>(
738
+ arg0: TypeDescriptor<T0> = ANY_TYPE
739
+ ): TypeDescriptor<Wrapper<T0>> {
740
+ return TYPE.apply(arg0);
741
+ }
742
+ }
743
+
591
744
  export interface WrapperInstance extends TypedEventInstance<Wrapper<any>> {
592
745
  data_decoded: Wrapper<any>;
593
746
  type_arguments: [string];
@@ -678,45 +831,85 @@ export class groth16 extends SuiBaseProcessor {
678
831
  }
679
832
 
680
833
  export namespace groth16 {
681
- export class Curve {
682
- static TYPE_QNAME = "0x2::groth16::Curve";
834
+ export interface Curve {
683
835
  id: number;
684
836
  }
685
837
 
838
+ export namespace Curve {
839
+ export const TYPE_QNAME = "0x2::groth16::Curve";
840
+
841
+ const TYPE = new TypeDescriptor<Curve>(Curve.TYPE_QNAME);
842
+
843
+ export function type(): TypeDescriptor<Curve> {
844
+ return TYPE.apply();
845
+ }
846
+ }
847
+
686
848
  export interface CurveInstance extends TypedEventInstance<Curve> {
687
849
  data_decoded: Curve;
688
850
  type_arguments: [];
689
851
  }
690
852
 
691
- export class PreparedVerifyingKey {
692
- static TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
853
+ export interface PreparedVerifyingKey {
693
854
  vk_gamma_abc_g1_bytes: number[];
694
855
  alpha_g1_beta_g2_bytes: number[];
695
856
  gamma_g2_neg_pc_bytes: number[];
696
857
  delta_g2_neg_pc_bytes: number[];
697
858
  }
698
859
 
860
+ export namespace PreparedVerifyingKey {
861
+ export const TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
862
+
863
+ const TYPE = new TypeDescriptor<PreparedVerifyingKey>(
864
+ PreparedVerifyingKey.TYPE_QNAME
865
+ );
866
+
867
+ export function type(): TypeDescriptor<PreparedVerifyingKey> {
868
+ return TYPE.apply();
869
+ }
870
+ }
871
+
699
872
  export interface PreparedVerifyingKeyInstance
700
873
  extends TypedEventInstance<PreparedVerifyingKey> {
701
874
  data_decoded: PreparedVerifyingKey;
702
875
  type_arguments: [];
703
876
  }
704
877
 
705
- export class ProofPoints {
706
- static TYPE_QNAME = "0x2::groth16::ProofPoints";
878
+ export interface ProofPoints {
707
879
  bytes: number[];
708
880
  }
709
881
 
882
+ export namespace ProofPoints {
883
+ export const TYPE_QNAME = "0x2::groth16::ProofPoints";
884
+
885
+ const TYPE = new TypeDescriptor<ProofPoints>(ProofPoints.TYPE_QNAME);
886
+
887
+ export function type(): TypeDescriptor<ProofPoints> {
888
+ return TYPE.apply();
889
+ }
890
+ }
891
+
710
892
  export interface ProofPointsInstance extends TypedEventInstance<ProofPoints> {
711
893
  data_decoded: ProofPoints;
712
894
  type_arguments: [];
713
895
  }
714
896
 
715
- export class PublicProofInputs {
716
- static TYPE_QNAME = "0x2::groth16::PublicProofInputs";
897
+ export interface PublicProofInputs {
717
898
  bytes: number[];
718
899
  }
719
900
 
901
+ export namespace PublicProofInputs {
902
+ export const TYPE_QNAME = "0x2::groth16::PublicProofInputs";
903
+
904
+ const TYPE = new TypeDescriptor<PublicProofInputs>(
905
+ PublicProofInputs.TYPE_QNAME
906
+ );
907
+
908
+ export function type(): TypeDescriptor<PublicProofInputs> {
909
+ return TYPE.apply();
910
+ }
911
+ }
912
+
720
913
  export interface PublicProofInputsInstance
721
914
  extends TypedEventInstance<PublicProofInputs> {
722
915
  data_decoded: PublicProofInputs;
@@ -801,31 +994,50 @@ export class kiosk extends SuiBaseProcessor {
801
994
  }
802
995
 
803
996
  export namespace kiosk {
804
- export class Item {
805
- static TYPE_QNAME = "0x2::kiosk::Item";
997
+ export interface Item {
806
998
  id: object_.ID;
807
999
  }
808
1000
 
1001
+ export namespace Item {
1002
+ export const TYPE_QNAME = "0x2::kiosk::Item";
1003
+
1004
+ const TYPE = new TypeDescriptor<Item>(Item.TYPE_QNAME);
1005
+
1006
+ export function type(): TypeDescriptor<Item> {
1007
+ return TYPE.apply();
1008
+ }
1009
+ }
1010
+
809
1011
  export interface ItemInstance extends TypedEventInstance<Item> {
810
1012
  data_decoded: Item;
811
1013
  type_arguments: [];
812
1014
  }
813
1015
 
814
- export class ItemListed<T0> {
815
- static TYPE_QNAME = "0x2::kiosk::ItemListed";
1016
+ export interface ItemListed<T0> {
816
1017
  kiosk: object_.ID;
817
1018
  id: object_.ID;
818
1019
  price: bigint;
819
1020
  }
820
1021
 
1022
+ export namespace ItemListed {
1023
+ export const TYPE_QNAME = "0x2::kiosk::ItemListed";
1024
+
1025
+ const TYPE = new TypeDescriptor<ItemListed<any>>(ItemListed.TYPE_QNAME);
1026
+
1027
+ export function type<T0>(
1028
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1029
+ ): TypeDescriptor<ItemListed<T0>> {
1030
+ return TYPE.apply(arg0);
1031
+ }
1032
+ }
1033
+
821
1034
  export interface ItemListedInstance
822
1035
  extends TypedEventInstance<ItemListed<any>> {
823
1036
  data_decoded: ItemListed<any>;
824
1037
  type_arguments: [string];
825
1038
  }
826
1039
 
827
- export class Kiosk {
828
- static TYPE_QNAME = "0x2::kiosk::Kiosk";
1040
+ export interface Kiosk {
829
1041
  id: object_.UID;
830
1042
  profits: balance.Balance<sui.SUI>;
831
1043
  owner: SuiAddress;
@@ -833,57 +1045,131 @@ export namespace kiosk {
833
1045
  allow_extensions: Boolean;
834
1046
  }
835
1047
 
836
- export class KioskOwnerCap {
837
- static TYPE_QNAME = "0x2::kiosk::KioskOwnerCap";
1048
+ export namespace Kiosk {
1049
+ export const TYPE_QNAME = "0x2::kiosk::Kiosk";
1050
+
1051
+ const TYPE = new TypeDescriptor<Kiosk>(Kiosk.TYPE_QNAME);
1052
+
1053
+ export function type(): TypeDescriptor<Kiosk> {
1054
+ return TYPE.apply();
1055
+ }
1056
+ }
1057
+
1058
+ export interface KioskOwnerCap {
838
1059
  id: object_.UID;
839
1060
  for: object_.ID;
840
1061
  }
841
1062
 
842
- export class Listing {
843
- static TYPE_QNAME = "0x2::kiosk::Listing";
1063
+ export namespace KioskOwnerCap {
1064
+ export const TYPE_QNAME = "0x2::kiosk::KioskOwnerCap";
1065
+
1066
+ const TYPE = new TypeDescriptor<KioskOwnerCap>(KioskOwnerCap.TYPE_QNAME);
1067
+
1068
+ export function type(): TypeDescriptor<KioskOwnerCap> {
1069
+ return TYPE.apply();
1070
+ }
1071
+ }
1072
+
1073
+ export interface Listing {
844
1074
  id: object_.ID;
845
1075
  is_exclusive: Boolean;
846
1076
  }
847
1077
 
1078
+ export namespace Listing {
1079
+ export const TYPE_QNAME = "0x2::kiosk::Listing";
1080
+
1081
+ const TYPE = new TypeDescriptor<Listing>(Listing.TYPE_QNAME);
1082
+
1083
+ export function type(): TypeDescriptor<Listing> {
1084
+ return TYPE.apply();
1085
+ }
1086
+ }
1087
+
848
1088
  export interface ListingInstance extends TypedEventInstance<Listing> {
849
1089
  data_decoded: Listing;
850
1090
  type_arguments: [];
851
1091
  }
852
1092
 
853
- export class Lock {
854
- static TYPE_QNAME = "0x2::kiosk::Lock";
1093
+ export interface Lock {
855
1094
  id: object_.ID;
856
1095
  }
857
1096
 
1097
+ export namespace Lock {
1098
+ export const TYPE_QNAME = "0x2::kiosk::Lock";
1099
+
1100
+ const TYPE = new TypeDescriptor<Lock>(Lock.TYPE_QNAME);
1101
+
1102
+ export function type(): TypeDescriptor<Lock> {
1103
+ return TYPE.apply();
1104
+ }
1105
+ }
1106
+
858
1107
  export interface LockInstance extends TypedEventInstance<Lock> {
859
1108
  data_decoded: Lock;
860
1109
  type_arguments: [];
861
1110
  }
862
1111
 
863
- export class PurchaseCap<T0> {
864
- static TYPE_QNAME = "0x2::kiosk::PurchaseCap";
1112
+ export interface PurchaseCap<T0> {
865
1113
  id: object_.UID;
866
1114
  kiosk_id: object_.ID;
867
1115
  item_id: object_.ID;
868
1116
  min_price: bigint;
869
1117
  }
1118
+
1119
+ export namespace PurchaseCap {
1120
+ export const TYPE_QNAME = "0x2::kiosk::PurchaseCap";
1121
+
1122
+ const TYPE = new TypeDescriptor<PurchaseCap<any>>(PurchaseCap.TYPE_QNAME);
1123
+
1124
+ export function type<T0>(
1125
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1126
+ ): TypeDescriptor<PurchaseCap<T0>> {
1127
+ return TYPE.apply(arg0);
1128
+ }
1129
+ }
870
1130
  }
871
1131
 
872
1132
  export namespace linked_table {
873
- export class LinkedTable<T0, T1> {
874
- static TYPE_QNAME = "0x2::linked_table::LinkedTable";
1133
+ export interface LinkedTable<T0, T1> {
875
1134
  id: object_.UID;
876
1135
  size: bigint;
877
1136
  head: _0x1.option.Option<T0>;
878
1137
  tail: _0x1.option.Option<T0>;
879
1138
  }
880
1139
 
881
- export class Node<T0, T1> {
882
- static TYPE_QNAME = "0x2::linked_table::Node";
1140
+ export namespace LinkedTable {
1141
+ export const TYPE_QNAME = "0x2::linked_table::LinkedTable";
1142
+
1143
+ const TYPE = new TypeDescriptor<LinkedTable<any, any>>(
1144
+ LinkedTable.TYPE_QNAME
1145
+ );
1146
+
1147
+ export function type<T0, T1>(
1148
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1149
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1150
+ ): TypeDescriptor<LinkedTable<T0, T1>> {
1151
+ return TYPE.apply(arg0, arg1);
1152
+ }
1153
+ }
1154
+
1155
+ export interface Node<T0, T1> {
883
1156
  prev: _0x1.option.Option<T0>;
884
1157
  next: _0x1.option.Option<T0>;
885
1158
  value: T1;
886
1159
  }
1160
+
1161
+ export namespace Node {
1162
+ export const TYPE_QNAME = "0x2::linked_table::Node";
1163
+
1164
+ const TYPE = new TypeDescriptor<Node<any, any>>(Node.TYPE_QNAME);
1165
+
1166
+ export function type<T0, T1>(
1167
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1168
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1169
+ ): TypeDescriptor<Node<T0, T1>> {
1170
+ return TYPE.apply(arg0, arg1);
1171
+ }
1172
+ }
887
1173
  }
888
1174
 
889
1175
  export namespace math {}
@@ -891,26 +1177,58 @@ export namespace math {}
891
1177
  export namespace object_ {
892
1178
  export type ID = string;
893
1179
 
894
- export class UID {
895
- static TYPE_QNAME = "0x2::object::UID";
1180
+ export interface UID {
896
1181
  id: object_.ID;
897
1182
  }
1183
+
1184
+ export namespace UID {
1185
+ export const TYPE_QNAME = "0x2::object::UID";
1186
+
1187
+ const TYPE = new TypeDescriptor<UID>(UID.TYPE_QNAME);
1188
+
1189
+ export function type(): TypeDescriptor<UID> {
1190
+ return TYPE.apply();
1191
+ }
1192
+ }
898
1193
  }
899
1194
 
900
1195
  export namespace object_bag {
901
- export class ObjectBag {
902
- static TYPE_QNAME = "0x2::object_bag::ObjectBag";
1196
+ export interface ObjectBag {
903
1197
  id: object_.UID;
904
1198
  size: bigint;
905
1199
  }
1200
+
1201
+ export namespace ObjectBag {
1202
+ export const TYPE_QNAME = "0x2::object_bag::ObjectBag";
1203
+
1204
+ const TYPE = new TypeDescriptor<ObjectBag>(ObjectBag.TYPE_QNAME);
1205
+
1206
+ export function type(): TypeDescriptor<ObjectBag> {
1207
+ return TYPE.apply();
1208
+ }
1209
+ }
906
1210
  }
907
1211
 
908
1212
  export namespace object_table {
909
- export class ObjectTable<T0, T1> {
910
- static TYPE_QNAME = "0x2::object_table::ObjectTable";
1213
+ export interface ObjectTable<T0, T1> {
911
1214
  id: object_.UID;
912
1215
  size: bigint;
913
1216
  }
1217
+
1218
+ export namespace ObjectTable {
1219
+ export const TYPE_QNAME = "0x2::object_table::ObjectTable";
1220
+
1221
+ const TYPE = new TypeDescriptor<ObjectTable<any, any>>(
1222
+ ObjectTable.TYPE_QNAME
1223
+ );
1224
+
1225
+ export function type<T0, T1>(
1226
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1227
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1228
+ ): TypeDescriptor<ObjectTable<T0, T1>> {
1229
+ return TYPE.apply(arg0, arg1);
1230
+ }
1231
+ }
914
1232
  }
915
1233
 
916
1234
  export class package_ extends SuiBaseProcessor {
@@ -976,35 +1294,71 @@ export class package_ extends SuiBaseProcessor {
976
1294
  }
977
1295
 
978
1296
  export namespace package_ {
979
- export class Publisher {
980
- static TYPE_QNAME = "0x2::package::Publisher";
1297
+ export interface Publisher {
981
1298
  id: object_.UID;
982
1299
  package: _0x1.ascii.String;
983
1300
  module_name: _0x1.ascii.String;
984
1301
  }
985
1302
 
986
- export class UpgradeCap {
987
- static TYPE_QNAME = "0x2::package::UpgradeCap";
1303
+ export namespace Publisher {
1304
+ export const TYPE_QNAME = "0x2::package::Publisher";
1305
+
1306
+ const TYPE = new TypeDescriptor<Publisher>(Publisher.TYPE_QNAME);
1307
+
1308
+ export function type(): TypeDescriptor<Publisher> {
1309
+ return TYPE.apply();
1310
+ }
1311
+ }
1312
+
1313
+ export interface UpgradeCap {
988
1314
  id: object_.UID;
989
1315
  package: object_.ID;
990
1316
  version: bigint;
991
1317
  policy: number;
992
1318
  }
993
1319
 
994
- export class UpgradeReceipt {
995
- static TYPE_QNAME = "0x2::package::UpgradeReceipt";
1320
+ export namespace UpgradeCap {
1321
+ export const TYPE_QNAME = "0x2::package::UpgradeCap";
1322
+
1323
+ const TYPE = new TypeDescriptor<UpgradeCap>(UpgradeCap.TYPE_QNAME);
1324
+
1325
+ export function type(): TypeDescriptor<UpgradeCap> {
1326
+ return TYPE.apply();
1327
+ }
1328
+ }
1329
+
1330
+ export interface UpgradeReceipt {
996
1331
  cap: object_.ID;
997
1332
  package: object_.ID;
998
1333
  }
999
1334
 
1000
- export class UpgradeTicket {
1001
- static TYPE_QNAME = "0x2::package::UpgradeTicket";
1335
+ export namespace UpgradeReceipt {
1336
+ export const TYPE_QNAME = "0x2::package::UpgradeReceipt";
1337
+
1338
+ const TYPE = new TypeDescriptor<UpgradeReceipt>(UpgradeReceipt.TYPE_QNAME);
1339
+
1340
+ export function type(): TypeDescriptor<UpgradeReceipt> {
1341
+ return TYPE.apply();
1342
+ }
1343
+ }
1344
+
1345
+ export interface UpgradeTicket {
1002
1346
  cap: object_.ID;
1003
1347
  package: object_.ID;
1004
1348
  policy: number;
1005
1349
  digest: number[];
1006
1350
  }
1007
1351
 
1352
+ export namespace UpgradeTicket {
1353
+ export const TYPE_QNAME = "0x2::package::UpgradeTicket";
1354
+
1355
+ const TYPE = new TypeDescriptor<UpgradeTicket>(UpgradeTicket.TYPE_QNAME);
1356
+
1357
+ export function type(): TypeDescriptor<UpgradeTicket> {
1358
+ return TYPE.apply();
1359
+ }
1360
+ }
1361
+
1008
1362
  export interface MakeImmutablePayload extends TypedFunctionPayload<[]> {
1009
1363
  arguments_decoded: [];
1010
1364
  type_arguments: [];
@@ -1201,16 +1555,40 @@ export namespace pay {
1201
1555
  }
1202
1556
 
1203
1557
  export namespace priority_queue {
1204
- export class Entry<T0> {
1205
- static TYPE_QNAME = "0x2::priority_queue::Entry";
1558
+ export interface Entry<T0> {
1206
1559
  priority: bigint;
1207
1560
  value: T0;
1208
1561
  }
1209
1562
 
1210
- export class PriorityQueue<T0> {
1211
- static TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
1563
+ export namespace Entry {
1564
+ export const TYPE_QNAME = "0x2::priority_queue::Entry";
1565
+
1566
+ const TYPE = new TypeDescriptor<Entry<any>>(Entry.TYPE_QNAME);
1567
+
1568
+ export function type<T0>(
1569
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1570
+ ): TypeDescriptor<Entry<T0>> {
1571
+ return TYPE.apply(arg0);
1572
+ }
1573
+ }
1574
+
1575
+ export interface PriorityQueue<T0> {
1212
1576
  entries: priority_queue.Entry<T0>[];
1213
1577
  }
1578
+
1579
+ export namespace PriorityQueue {
1580
+ export const TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
1581
+
1582
+ const TYPE = new TypeDescriptor<PriorityQueue<any>>(
1583
+ PriorityQueue.TYPE_QNAME
1584
+ );
1585
+
1586
+ export function type<T0>(
1587
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1588
+ ): TypeDescriptor<PriorityQueue<T0>> {
1589
+ return TYPE.apply(arg0);
1590
+ }
1591
+ }
1214
1592
  }
1215
1593
 
1216
1594
  export namespace prover {}
@@ -1246,11 +1624,20 @@ export class sui extends SuiBaseProcessor {
1246
1624
  }
1247
1625
 
1248
1626
  export namespace sui {
1249
- export class SUI {
1250
- static TYPE_QNAME = "0x2::sui::SUI";
1627
+ export interface SUI {
1251
1628
  dummy_field: Boolean;
1252
1629
  }
1253
1630
 
1631
+ export namespace SUI {
1632
+ export const TYPE_QNAME = "0x2::sui::SUI";
1633
+
1634
+ const TYPE = new TypeDescriptor<SUI>(SUI.TYPE_QNAME);
1635
+
1636
+ export function type(): TypeDescriptor<SUI> {
1637
+ return TYPE.apply();
1638
+ }
1639
+ }
1640
+
1254
1641
  export interface TransferPayload
1255
1642
  extends TypedFunctionPayload<[coin.Coin<sui.SUI> | undefined]> {
1256
1643
  arguments_decoded: [coin.Coin<sui.SUI> | undefined];
@@ -1259,18 +1646,41 @@ export namespace sui {
1259
1646
  }
1260
1647
 
1261
1648
  export namespace table {
1262
- export class Table<T0, T1> {
1263
- static TYPE_QNAME = "0x2::table::Table";
1649
+ export interface Table<T0, T1> {
1264
1650
  id: object_.UID;
1265
1651
  size: bigint;
1266
1652
  }
1653
+
1654
+ export namespace Table {
1655
+ export const TYPE_QNAME = "0x2::table::Table";
1656
+
1657
+ const TYPE = new TypeDescriptor<Table<any, any>>(Table.TYPE_QNAME);
1658
+
1659
+ export function type<T0, T1>(
1660
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1661
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1662
+ ): TypeDescriptor<Table<T0, T1>> {
1663
+ return TYPE.apply(arg0, arg1);
1664
+ }
1665
+ }
1267
1666
  }
1268
1667
 
1269
1668
  export namespace table_vec {
1270
- export class TableVec<T0> {
1271
- static TYPE_QNAME = "0x2::table_vec::TableVec";
1669
+ export interface TableVec<T0> {
1272
1670
  contents: table.Table<bigint, T0>;
1273
1671
  }
1672
+
1673
+ export namespace TableVec {
1674
+ export const TYPE_QNAME = "0x2::table_vec::TableVec";
1675
+
1676
+ const TYPE = new TypeDescriptor<TableVec<any>>(TableVec.TYPE_QNAME);
1677
+
1678
+ export function type<T0>(
1679
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1680
+ ): TypeDescriptor<TableVec<T0>> {
1681
+ return TYPE.apply(arg0);
1682
+ }
1683
+ }
1274
1684
  }
1275
1685
 
1276
1686
  export namespace transfer {}
@@ -1324,58 +1734,130 @@ export class transfer_policy extends SuiBaseProcessor {
1324
1734
  }
1325
1735
 
1326
1736
  export namespace transfer_policy {
1327
- export class RuleKey<T0> {
1328
- static TYPE_QNAME = "0x2::transfer_policy::RuleKey";
1737
+ export interface RuleKey<T0> {
1329
1738
  dummy_field: Boolean;
1330
1739
  }
1331
1740
 
1741
+ export namespace RuleKey {
1742
+ export const TYPE_QNAME = "0x2::transfer_policy::RuleKey";
1743
+
1744
+ const TYPE = new TypeDescriptor<RuleKey<any>>(RuleKey.TYPE_QNAME);
1745
+
1746
+ export function type<T0>(
1747
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1748
+ ): TypeDescriptor<RuleKey<T0>> {
1749
+ return TYPE.apply(arg0);
1750
+ }
1751
+ }
1752
+
1332
1753
  export interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
1333
1754
  data_decoded: RuleKey<any>;
1334
1755
  type_arguments: [string];
1335
1756
  }
1336
1757
 
1337
- export class TransferPolicy<T0> {
1338
- static TYPE_QNAME = "0x2::transfer_policy::TransferPolicy";
1758
+ export interface TransferPolicy<T0> {
1339
1759
  id: object_.UID;
1340
1760
  balance: balance.Balance<sui.SUI>;
1341
1761
  rules: vec_set.VecSet<_0x1.type_name.TypeName>;
1342
1762
  }
1343
1763
 
1344
- export class TransferPolicyCap<T0> {
1345
- static TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCap";
1764
+ export namespace TransferPolicy {
1765
+ export const TYPE_QNAME = "0x2::transfer_policy::TransferPolicy";
1766
+
1767
+ const TYPE = new TypeDescriptor<TransferPolicy<any>>(
1768
+ TransferPolicy.TYPE_QNAME
1769
+ );
1770
+
1771
+ export function type<T0>(
1772
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1773
+ ): TypeDescriptor<TransferPolicy<T0>> {
1774
+ return TYPE.apply(arg0);
1775
+ }
1776
+ }
1777
+
1778
+ export interface TransferPolicyCap<T0> {
1346
1779
  id: object_.UID;
1347
1780
  policy_id: object_.ID;
1348
1781
  }
1349
1782
 
1350
- export class TransferPolicyCreated<T0> {
1351
- static TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
1783
+ export namespace TransferPolicyCap {
1784
+ export const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCap";
1785
+
1786
+ const TYPE = new TypeDescriptor<TransferPolicyCap<any>>(
1787
+ TransferPolicyCap.TYPE_QNAME
1788
+ );
1789
+
1790
+ export function type<T0>(
1791
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1792
+ ): TypeDescriptor<TransferPolicyCap<T0>> {
1793
+ return TYPE.apply(arg0);
1794
+ }
1795
+ }
1796
+
1797
+ export interface TransferPolicyCreated<T0> {
1352
1798
  id: object_.ID;
1353
1799
  }
1354
1800
 
1801
+ export namespace TransferPolicyCreated {
1802
+ export const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
1803
+
1804
+ const TYPE = new TypeDescriptor<TransferPolicyCreated<any>>(
1805
+ TransferPolicyCreated.TYPE_QNAME
1806
+ );
1807
+
1808
+ export function type<T0>(
1809
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1810
+ ): TypeDescriptor<TransferPolicyCreated<T0>> {
1811
+ return TYPE.apply(arg0);
1812
+ }
1813
+ }
1814
+
1355
1815
  export interface TransferPolicyCreatedInstance
1356
1816
  extends TypedEventInstance<TransferPolicyCreated<any>> {
1357
1817
  data_decoded: TransferPolicyCreated<any>;
1358
1818
  type_arguments: [string];
1359
1819
  }
1360
1820
 
1361
- export class TransferRequest<T0> {
1362
- static TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
1821
+ export interface TransferRequest<T0> {
1363
1822
  item: object_.ID;
1364
1823
  paid: bigint;
1365
1824
  from: object_.ID;
1366
1825
  receipts: vec_set.VecSet<_0x1.type_name.TypeName>;
1367
1826
  }
1827
+
1828
+ export namespace TransferRequest {
1829
+ export const TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
1830
+
1831
+ const TYPE = new TypeDescriptor<TransferRequest<any>>(
1832
+ TransferRequest.TYPE_QNAME
1833
+ );
1834
+
1835
+ export function type<T0>(
1836
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1837
+ ): TypeDescriptor<TransferRequest<T0>> {
1838
+ return TYPE.apply(arg0);
1839
+ }
1840
+ }
1368
1841
  }
1369
1842
 
1370
1843
  export namespace tx_context {
1371
- export class TxContext {
1372
- static TYPE_QNAME = "0x2::tx_context::TxContext";
1844
+ export interface TxContext {
1373
1845
  sender: SuiAddress;
1374
1846
  tx_hash: number[];
1375
1847
  epoch: bigint;
1376
1848
  epoch_timestamp_ms: bigint;
1377
1849
  ids_created: bigint;
1378
1850
  }
1851
+
1852
+ export namespace TxContext {
1853
+ export const TYPE_QNAME = "0x2::tx_context::TxContext";
1854
+
1855
+ const TYPE = new TypeDescriptor<TxContext>(TxContext.TYPE_QNAME);
1856
+
1857
+ export function type(): TypeDescriptor<TxContext> {
1858
+ return TYPE.apply();
1859
+ }
1860
+ }
1379
1861
  }
1380
1862
 
1381
1863
  export namespace types {}
@@ -1409,11 +1891,20 @@ export class url extends SuiBaseProcessor {
1409
1891
  }
1410
1892
 
1411
1893
  export namespace url {
1412
- export class Url {
1413
- static TYPE_QNAME = "0x2::url::Url";
1894
+ export interface Url {
1414
1895
  url: _0x1.ascii.String;
1415
1896
  }
1416
1897
 
1898
+ export namespace Url {
1899
+ export const TYPE_QNAME = "0x2::url::Url";
1900
+
1901
+ const TYPE = new TypeDescriptor<Url>(Url.TYPE_QNAME);
1902
+
1903
+ export function type(): TypeDescriptor<Url> {
1904
+ return TYPE.apply();
1905
+ }
1906
+ }
1907
+
1417
1908
  export interface UrlInstance extends TypedEventInstance<Url> {
1418
1909
  data_decoded: Url;
1419
1910
  type_arguments: [];
@@ -1463,22 +1954,46 @@ export class vec_map extends SuiBaseProcessor {
1463
1954
  }
1464
1955
 
1465
1956
  export namespace vec_map {
1466
- export class Entry<T0, T1> {
1467
- static TYPE_QNAME = "0x2::vec_map::Entry";
1957
+ export interface Entry<T0, T1> {
1468
1958
  key: T0;
1469
1959
  value: T1;
1470
1960
  }
1471
1961
 
1962
+ export namespace Entry {
1963
+ export const TYPE_QNAME = "0x2::vec_map::Entry";
1964
+
1965
+ const TYPE = new TypeDescriptor<Entry<any, any>>(Entry.TYPE_QNAME);
1966
+
1967
+ export function type<T0, T1>(
1968
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1969
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1970
+ ): TypeDescriptor<Entry<T0, T1>> {
1971
+ return TYPE.apply(arg0, arg1);
1972
+ }
1973
+ }
1974
+
1472
1975
  export interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
1473
1976
  data_decoded: Entry<any, any>;
1474
1977
  type_arguments: [string, string];
1475
1978
  }
1476
1979
 
1477
- export class VecMap<T0, T1> {
1478
- static TYPE_QNAME = "0x2::vec_map::VecMap";
1980
+ export interface VecMap<T0, T1> {
1479
1981
  contents: vec_map.Entry<T0, T1>[];
1480
1982
  }
1481
1983
 
1984
+ export namespace VecMap {
1985
+ export const TYPE_QNAME = "0x2::vec_map::VecMap";
1986
+
1987
+ const TYPE = new TypeDescriptor<VecMap<any, any>>(VecMap.TYPE_QNAME);
1988
+
1989
+ export function type<T0, T1>(
1990
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1991
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1992
+ ): TypeDescriptor<VecMap<T0, T1>> {
1993
+ return TYPE.apply(arg0, arg1);
1994
+ }
1995
+ }
1996
+
1482
1997
  export interface VecMapInstance extends TypedEventInstance<VecMap<any, any>> {
1483
1998
  data_decoded: VecMap<any, any>;
1484
1999
  type_arguments: [string, string];
@@ -1514,11 +2029,22 @@ export class vec_set extends SuiBaseProcessor {
1514
2029
  }
1515
2030
 
1516
2031
  export namespace vec_set {
1517
- export class VecSet<T0> {
1518
- static TYPE_QNAME = "0x2::vec_set::VecSet";
2032
+ export interface VecSet<T0> {
1519
2033
  contents: T0[] | string;
1520
2034
  }
1521
2035
 
2036
+ export namespace VecSet {
2037
+ export const TYPE_QNAME = "0x2::vec_set::VecSet";
2038
+
2039
+ const TYPE = new TypeDescriptor<VecSet<any>>(VecSet.TYPE_QNAME);
2040
+
2041
+ export function type<T0>(
2042
+ arg0: TypeDescriptor<T0> = ANY_TYPE
2043
+ ): TypeDescriptor<VecSet<T0>> {
2044
+ return TYPE.apply(arg0);
2045
+ }
2046
+ }
2047
+
1522
2048
  export interface VecSetInstance extends TypedEventInstance<VecSet<any>> {
1523
2049
  data_decoded: VecSet<any>;
1524
2050
  type_arguments: [string];
@@ -1526,17 +2052,37 @@ export namespace vec_set {
1526
2052
  }
1527
2053
 
1528
2054
  export namespace versioned {
1529
- export class VersionChangeCap {
1530
- static TYPE_QNAME = "0x2::versioned::VersionChangeCap";
2055
+ export interface VersionChangeCap {
1531
2056
  versioned_id: object_.ID;
1532
2057
  old_version: bigint;
1533
2058
  }
1534
2059
 
1535
- export class Versioned {
1536
- static TYPE_QNAME = "0x2::versioned::Versioned";
2060
+ export namespace VersionChangeCap {
2061
+ export const TYPE_QNAME = "0x2::versioned::VersionChangeCap";
2062
+
2063
+ const TYPE = new TypeDescriptor<VersionChangeCap>(
2064
+ VersionChangeCap.TYPE_QNAME
2065
+ );
2066
+
2067
+ export function type(): TypeDescriptor<VersionChangeCap> {
2068
+ return TYPE.apply();
2069
+ }
2070
+ }
2071
+
2072
+ export interface Versioned {
1537
2073
  id: object_.UID;
1538
2074
  version: bigint;
1539
2075
  }
2076
+
2077
+ export namespace Versioned {
2078
+ export const TYPE_QNAME = "0x2::versioned::Versioned";
2079
+
2080
+ const TYPE = new TypeDescriptor<Versioned>(Versioned.TYPE_QNAME);
2081
+
2082
+ export function type(): TypeDescriptor<Versioned> {
2083
+ return TYPE.apply();
2084
+ }
2085
+ }
1540
2086
  }
1541
2087
 
1542
2088
  const MODULES = JSON.parse(