@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 0x1 */
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,
@@ -19,18 +19,36 @@ import { MoveFetchConfig } from "@sentio/protos";
19
19
  import { Address, ModuleClient } from "@sentio/sdk/aptos";
20
20
 
21
21
  export namespace acl {
22
- export class ACL {
23
- static TYPE_QNAME = "0x1::acl::ACL";
22
+ export interface ACL {
24
23
  list: Address[];
25
24
  }
25
+
26
+ export namespace ACL {
27
+ export const TYPE_QNAME = "0x1::acl::ACL";
28
+
29
+ const TYPE = new TypeDescriptor<ACL>(ACL.TYPE_QNAME);
30
+
31
+ export function type(): TypeDescriptor<ACL> {
32
+ return TYPE.apply();
33
+ }
34
+ }
26
35
  }
27
36
 
28
37
  export namespace any_ {
29
- export class Any {
30
- static TYPE_QNAME = "0x1::any::Any";
38
+ export interface Any {
31
39
  type_name: string;
32
40
  data: string;
33
41
  }
42
+
43
+ export namespace Any {
44
+ export const TYPE_QNAME = "0x1::any::Any";
45
+
46
+ const TYPE = new TypeDescriptor<Any>(Any.TYPE_QNAME);
47
+
48
+ export function type(): TypeDescriptor<Any> {
49
+ return TYPE.apply();
50
+ }
51
+ }
34
52
  }
35
53
 
36
54
  export namespace bcs {}
@@ -66,28 +84,54 @@ export class code extends AptosBaseProcessor {
66
84
  }
67
85
 
68
86
  export namespace code {
69
- export class AllowedDep {
70
- static TYPE_QNAME = "0x1::code::AllowedDep";
87
+ export interface AllowedDep {
71
88
  account: Address;
72
89
  module_name: string;
73
90
  }
74
91
 
75
- export class ModuleMetadata {
76
- static TYPE_QNAME = "0x1::code::ModuleMetadata";
92
+ export namespace AllowedDep {
93
+ export const TYPE_QNAME = "0x1::code::AllowedDep";
94
+
95
+ const TYPE = new TypeDescriptor<AllowedDep>(AllowedDep.TYPE_QNAME);
96
+
97
+ export function type(): TypeDescriptor<AllowedDep> {
98
+ return TYPE.apply();
99
+ }
100
+ }
101
+
102
+ export interface ModuleMetadata {
77
103
  name: string;
78
104
  source: string;
79
105
  source_map: string;
80
106
  extension: option.Option<copyable_any.Any>;
81
107
  }
82
108
 
83
- export class PackageDep {
84
- static TYPE_QNAME = "0x1::code::PackageDep";
109
+ export namespace ModuleMetadata {
110
+ export const TYPE_QNAME = "0x1::code::ModuleMetadata";
111
+
112
+ const TYPE = new TypeDescriptor<ModuleMetadata>(ModuleMetadata.TYPE_QNAME);
113
+
114
+ export function type(): TypeDescriptor<ModuleMetadata> {
115
+ return TYPE.apply();
116
+ }
117
+ }
118
+
119
+ export interface PackageDep {
85
120
  account: Address;
86
121
  package_name: string;
87
122
  }
88
123
 
89
- export class PackageMetadata {
90
- static TYPE_QNAME = "0x1::code::PackageMetadata";
124
+ export namespace PackageDep {
125
+ export const TYPE_QNAME = "0x1::code::PackageDep";
126
+
127
+ const TYPE = new TypeDescriptor<PackageDep>(PackageDep.TYPE_QNAME);
128
+
129
+ export function type(): TypeDescriptor<PackageDep> {
130
+ return TYPE.apply();
131
+ }
132
+ }
133
+
134
+ export interface PackageMetadata {
91
135
  name: string;
92
136
  upgrade_policy: code.UpgradePolicy;
93
137
  upgrade_number: bigint;
@@ -98,16 +142,48 @@ export namespace code {
98
142
  extension: option.Option<copyable_any.Any>;
99
143
  }
100
144
 
101
- export class PackageRegistry {
102
- static TYPE_QNAME = "0x1::code::PackageRegistry";
145
+ export namespace PackageMetadata {
146
+ export const TYPE_QNAME = "0x1::code::PackageMetadata";
147
+
148
+ const TYPE = new TypeDescriptor<PackageMetadata>(
149
+ PackageMetadata.TYPE_QNAME
150
+ );
151
+
152
+ export function type(): TypeDescriptor<PackageMetadata> {
153
+ return TYPE.apply();
154
+ }
155
+ }
156
+
157
+ export interface PackageRegistry {
103
158
  packages: code.PackageMetadata[];
104
159
  }
105
160
 
106
- export class UpgradePolicy {
107
- static TYPE_QNAME = "0x1::code::UpgradePolicy";
161
+ export namespace PackageRegistry {
162
+ export const TYPE_QNAME = "0x1::code::PackageRegistry";
163
+
164
+ const TYPE = new TypeDescriptor<PackageRegistry>(
165
+ PackageRegistry.TYPE_QNAME
166
+ );
167
+
168
+ export function type(): TypeDescriptor<PackageRegistry> {
169
+ return TYPE.apply();
170
+ }
171
+ }
172
+
173
+ export interface UpgradePolicy {
108
174
  policy: number;
109
175
  }
110
176
 
177
+ export namespace UpgradePolicy {
178
+ export const TYPE_QNAME = "0x1::code::UpgradePolicy";
179
+
180
+ const TYPE = new TypeDescriptor<UpgradePolicy>(UpgradePolicy.TYPE_QNAME);
181
+
182
+ export function type(): TypeDescriptor<UpgradePolicy> {
183
+ return TYPE.apply();
184
+ }
185
+ }
186
+
111
187
  export interface PublishPackageTxnPayload
112
188
  extends TypedFunctionPayload<[string, string[]]> {
113
189
  arguments_decoded: [string, string[]];
@@ -222,68 +298,180 @@ export class coin extends AptosBaseProcessor {
222
298
  }
223
299
 
224
300
  export namespace coin {
225
- export class AggregatableCoin<T0> {
226
- static TYPE_QNAME = "0x1::coin::AggregatableCoin";
301
+ export interface AggregatableCoin<T0> {
227
302
  value: aggregator.Aggregator;
228
303
  }
229
304
 
230
- export class BurnCapability<T0> {
231
- static TYPE_QNAME = "0x1::coin::BurnCapability";
305
+ export namespace AggregatableCoin {
306
+ export const TYPE_QNAME = "0x1::coin::AggregatableCoin";
307
+
308
+ const TYPE = new TypeDescriptor<AggregatableCoin<any>>(
309
+ AggregatableCoin.TYPE_QNAME
310
+ );
311
+
312
+ export function type<T0>(
313
+ arg0: TypeDescriptor<T0> = ANY_TYPE
314
+ ): TypeDescriptor<AggregatableCoin<T0>> {
315
+ return TYPE.apply(arg0);
316
+ }
317
+ }
318
+
319
+ export interface BurnCapability<T0> {
232
320
  dummy_field: Boolean;
233
321
  }
234
322
 
235
- export class Coin<T0> {
236
- static TYPE_QNAME = "0x1::coin::Coin";
323
+ export namespace BurnCapability {
324
+ export const TYPE_QNAME = "0x1::coin::BurnCapability";
325
+
326
+ const TYPE = new TypeDescriptor<BurnCapability<any>>(
327
+ BurnCapability.TYPE_QNAME
328
+ );
329
+
330
+ export function type<T0>(
331
+ arg0: TypeDescriptor<T0> = ANY_TYPE
332
+ ): TypeDescriptor<BurnCapability<T0>> {
333
+ return TYPE.apply(arg0);
334
+ }
335
+ }
336
+
337
+ export interface Coin<T0> {
237
338
  value: bigint;
238
339
  }
239
340
 
240
- export class CoinInfo<T0> {
241
- static TYPE_QNAME = "0x1::coin::CoinInfo";
341
+ export namespace Coin {
342
+ export const TYPE_QNAME = "0x1::coin::Coin";
343
+
344
+ const TYPE = new TypeDescriptor<Coin<any>>(Coin.TYPE_QNAME);
345
+
346
+ export function type<T0>(
347
+ arg0: TypeDescriptor<T0> = ANY_TYPE
348
+ ): TypeDescriptor<Coin<T0>> {
349
+ return TYPE.apply(arg0);
350
+ }
351
+ }
352
+
353
+ export interface CoinInfo<T0> {
242
354
  name: string;
243
355
  symbol: string;
244
356
  decimals: number;
245
357
  supply: option.Option<optional_aggregator.OptionalAggregator>;
246
358
  }
247
359
 
248
- export class CoinStore<T0> {
249
- static TYPE_QNAME = "0x1::coin::CoinStore";
360
+ export namespace CoinInfo {
361
+ export const TYPE_QNAME = "0x1::coin::CoinInfo";
362
+
363
+ const TYPE = new TypeDescriptor<CoinInfo<any>>(CoinInfo.TYPE_QNAME);
364
+
365
+ export function type<T0>(
366
+ arg0: TypeDescriptor<T0> = ANY_TYPE
367
+ ): TypeDescriptor<CoinInfo<T0>> {
368
+ return TYPE.apply(arg0);
369
+ }
370
+ }
371
+
372
+ export interface CoinStore<T0> {
250
373
  coin: coin.Coin<T0>;
251
374
  frozen: Boolean;
252
375
  deposit_events: event.EventHandle<coin.DepositEvent>;
253
376
  withdraw_events: event.EventHandle<coin.WithdrawEvent>;
254
377
  }
255
378
 
256
- export class DepositEvent {
257
- static TYPE_QNAME = "0x1::coin::DepositEvent";
379
+ export namespace CoinStore {
380
+ export const TYPE_QNAME = "0x1::coin::CoinStore";
381
+
382
+ const TYPE = new TypeDescriptor<CoinStore<any>>(CoinStore.TYPE_QNAME);
383
+
384
+ export function type<T0>(
385
+ arg0: TypeDescriptor<T0> = ANY_TYPE
386
+ ): TypeDescriptor<CoinStore<T0>> {
387
+ return TYPE.apply(arg0);
388
+ }
389
+ }
390
+
391
+ export interface DepositEvent {
258
392
  amount: bigint;
259
393
  }
260
394
 
395
+ export namespace DepositEvent {
396
+ export const TYPE_QNAME = "0x1::coin::DepositEvent";
397
+
398
+ const TYPE = new TypeDescriptor<DepositEvent>(DepositEvent.TYPE_QNAME);
399
+
400
+ export function type(): TypeDescriptor<DepositEvent> {
401
+ return TYPE.apply();
402
+ }
403
+ }
404
+
261
405
  export interface DepositEventInstance
262
406
  extends TypedEventInstance<DepositEvent> {
263
407
  data_decoded: DepositEvent;
264
408
  type_arguments: [];
265
409
  }
266
410
 
267
- export class FreezeCapability<T0> {
268
- static TYPE_QNAME = "0x1::coin::FreezeCapability";
411
+ export interface FreezeCapability<T0> {
269
412
  dummy_field: Boolean;
270
413
  }
271
414
 
272
- export class MintCapability<T0> {
273
- static TYPE_QNAME = "0x1::coin::MintCapability";
415
+ export namespace FreezeCapability {
416
+ export const TYPE_QNAME = "0x1::coin::FreezeCapability";
417
+
418
+ const TYPE = new TypeDescriptor<FreezeCapability<any>>(
419
+ FreezeCapability.TYPE_QNAME
420
+ );
421
+
422
+ export function type<T0>(
423
+ arg0: TypeDescriptor<T0> = ANY_TYPE
424
+ ): TypeDescriptor<FreezeCapability<T0>> {
425
+ return TYPE.apply(arg0);
426
+ }
427
+ }
428
+
429
+ export interface MintCapability<T0> {
274
430
  dummy_field: Boolean;
275
431
  }
276
432
 
277
- export class SupplyConfig {
278
- static TYPE_QNAME = "0x1::coin::SupplyConfig";
433
+ export namespace MintCapability {
434
+ export const TYPE_QNAME = "0x1::coin::MintCapability";
435
+
436
+ const TYPE = new TypeDescriptor<MintCapability<any>>(
437
+ MintCapability.TYPE_QNAME
438
+ );
439
+
440
+ export function type<T0>(
441
+ arg0: TypeDescriptor<T0> = ANY_TYPE
442
+ ): TypeDescriptor<MintCapability<T0>> {
443
+ return TYPE.apply(arg0);
444
+ }
445
+ }
446
+
447
+ export interface SupplyConfig {
279
448
  allow_upgrades: Boolean;
280
449
  }
281
450
 
282
- export class WithdrawEvent {
283
- static TYPE_QNAME = "0x1::coin::WithdrawEvent";
451
+ export namespace SupplyConfig {
452
+ export const TYPE_QNAME = "0x1::coin::SupplyConfig";
453
+
454
+ const TYPE = new TypeDescriptor<SupplyConfig>(SupplyConfig.TYPE_QNAME);
455
+
456
+ export function type(): TypeDescriptor<SupplyConfig> {
457
+ return TYPE.apply();
458
+ }
459
+ }
460
+
461
+ export interface WithdrawEvent {
284
462
  amount: bigint;
285
463
  }
286
464
 
465
+ export namespace WithdrawEvent {
466
+ export const TYPE_QNAME = "0x1::coin::WithdrawEvent";
467
+
468
+ const TYPE = new TypeDescriptor<WithdrawEvent>(WithdrawEvent.TYPE_QNAME);
469
+
470
+ export function type(): TypeDescriptor<WithdrawEvent> {
471
+ return TYPE.apply();
472
+ }
473
+ }
474
+
287
475
  export interface WithdrawEventInstance
288
476
  extends TypedEventInstance<WithdrawEvent> {
289
477
  data_decoded: WithdrawEvent;
@@ -316,16 +504,34 @@ export namespace coin {
316
504
  }
317
505
 
318
506
  export namespace guid {
319
- export class GUID {
320
- static TYPE_QNAME = "0x1::guid::GUID";
507
+ export interface GUID {
321
508
  id: guid.ID;
322
509
  }
323
510
 
324
- export class ID {
325
- static TYPE_QNAME = "0x1::guid::ID";
511
+ export namespace GUID {
512
+ export const TYPE_QNAME = "0x1::guid::GUID";
513
+
514
+ const TYPE = new TypeDescriptor<GUID>(GUID.TYPE_QNAME);
515
+
516
+ export function type(): TypeDescriptor<GUID> {
517
+ return TYPE.apply();
518
+ }
519
+ }
520
+
521
+ export interface ID {
326
522
  creation_num: bigint;
327
523
  addr: Address;
328
524
  }
525
+
526
+ export namespace ID {
527
+ export const TYPE_QNAME = "0x1::guid::ID";
528
+
529
+ const TYPE = new TypeDescriptor<ID>(ID.TYPE_QNAME);
530
+
531
+ export function type(): TypeDescriptor<ID> {
532
+ return TYPE.apply();
533
+ }
534
+ }
329
535
  }
330
536
 
331
537
  export namespace hash {}
@@ -378,16 +584,24 @@ export class block extends AptosBaseProcessor {
378
584
  }
379
585
 
380
586
  export namespace block {
381
- export class BlockResource {
382
- static TYPE_QNAME = "0x1::block::BlockResource";
587
+ export interface BlockResource {
383
588
  height: bigint;
384
589
  epoch_interval: bigint;
385
590
  new_block_events: event.EventHandle<block.NewBlockEvent>;
386
591
  update_epoch_interval_events: event.EventHandle<block.UpdateEpochIntervalEvent>;
387
592
  }
388
593
 
389
- export class NewBlockEvent {
390
- static TYPE_QNAME = "0x1::block::NewBlockEvent";
594
+ export namespace BlockResource {
595
+ export const TYPE_QNAME = "0x1::block::BlockResource";
596
+
597
+ const TYPE = new TypeDescriptor<BlockResource>(BlockResource.TYPE_QNAME);
598
+
599
+ export function type(): TypeDescriptor<BlockResource> {
600
+ return TYPE.apply();
601
+ }
602
+ }
603
+
604
+ export interface NewBlockEvent {
391
605
  hash: Address;
392
606
  epoch: bigint;
393
607
  round: bigint;
@@ -398,18 +612,39 @@ export namespace block {
398
612
  time_microseconds: bigint;
399
613
  }
400
614
 
615
+ export namespace NewBlockEvent {
616
+ export const TYPE_QNAME = "0x1::block::NewBlockEvent";
617
+
618
+ const TYPE = new TypeDescriptor<NewBlockEvent>(NewBlockEvent.TYPE_QNAME);
619
+
620
+ export function type(): TypeDescriptor<NewBlockEvent> {
621
+ return TYPE.apply();
622
+ }
623
+ }
624
+
401
625
  export interface NewBlockEventInstance
402
626
  extends TypedEventInstance<NewBlockEvent> {
403
627
  data_decoded: NewBlockEvent;
404
628
  type_arguments: [];
405
629
  }
406
630
 
407
- export class UpdateEpochIntervalEvent {
408
- static TYPE_QNAME = "0x1::block::UpdateEpochIntervalEvent";
631
+ export interface UpdateEpochIntervalEvent {
409
632
  old_epoch_interval: bigint;
410
633
  new_epoch_interval: bigint;
411
634
  }
412
635
 
636
+ export namespace UpdateEpochIntervalEvent {
637
+ export const TYPE_QNAME = "0x1::block::UpdateEpochIntervalEvent";
638
+
639
+ const TYPE = new TypeDescriptor<UpdateEpochIntervalEvent>(
640
+ UpdateEpochIntervalEvent.TYPE_QNAME
641
+ );
642
+
643
+ export function type(): TypeDescriptor<UpdateEpochIntervalEvent> {
644
+ return TYPE.apply();
645
+ }
646
+ }
647
+
413
648
  export interface UpdateEpochIntervalEventInstance
414
649
  extends TypedEventInstance<UpdateEpochIntervalEvent> {
415
650
  data_decoded: UpdateEpochIntervalEvent;
@@ -422,11 +657,22 @@ export namespace debug {}
422
657
  export namespace error {}
423
658
 
424
659
  export namespace event {
425
- export class EventHandle<T0> {
426
- static TYPE_QNAME = "0x1::event::EventHandle";
660
+ export interface EventHandle<T0> {
427
661
  counter: bigint;
428
662
  guid: guid.GUID;
429
663
  }
664
+
665
+ export namespace EventHandle {
666
+ export const TYPE_QNAME = "0x1::event::EventHandle";
667
+
668
+ const TYPE = new TypeDescriptor<EventHandle<any>>(EventHandle.TYPE_QNAME);
669
+
670
+ export function type<T0>(
671
+ arg0: TypeDescriptor<T0> = ANY_TYPE
672
+ ): TypeDescriptor<EventHandle<T0>> {
673
+ return TYPE.apply(arg0);
674
+ }
675
+ }
430
676
  }
431
677
 
432
678
  export class stake extends AptosBaseProcessor {
@@ -844,137 +1090,277 @@ export class stake extends AptosBaseProcessor {
844
1090
  }
845
1091
 
846
1092
  export namespace stake {
847
- export class AddStakeEvent {
848
- static TYPE_QNAME = "0x1::stake::AddStakeEvent";
1093
+ export interface AddStakeEvent {
849
1094
  pool_address: Address;
850
1095
  amount_added: bigint;
851
1096
  }
852
1097
 
1098
+ export namespace AddStakeEvent {
1099
+ export const TYPE_QNAME = "0x1::stake::AddStakeEvent";
1100
+
1101
+ const TYPE = new TypeDescriptor<AddStakeEvent>(AddStakeEvent.TYPE_QNAME);
1102
+
1103
+ export function type(): TypeDescriptor<AddStakeEvent> {
1104
+ return TYPE.apply();
1105
+ }
1106
+ }
1107
+
853
1108
  export interface AddStakeEventInstance
854
1109
  extends TypedEventInstance<AddStakeEvent> {
855
1110
  data_decoded: AddStakeEvent;
856
1111
  type_arguments: [];
857
1112
  }
858
1113
 
859
- export class AllowedValidators {
860
- static TYPE_QNAME = "0x1::stake::AllowedValidators";
1114
+ export interface AllowedValidators {
861
1115
  accounts: Address[];
862
1116
  }
863
1117
 
864
- export class AptosCoinCapabilities {
865
- static TYPE_QNAME = "0x1::stake::AptosCoinCapabilities";
1118
+ export namespace AllowedValidators {
1119
+ export const TYPE_QNAME = "0x1::stake::AllowedValidators";
1120
+
1121
+ const TYPE = new TypeDescriptor<AllowedValidators>(
1122
+ AllowedValidators.TYPE_QNAME
1123
+ );
1124
+
1125
+ export function type(): TypeDescriptor<AllowedValidators> {
1126
+ return TYPE.apply();
1127
+ }
1128
+ }
1129
+
1130
+ export interface AptosCoinCapabilities {
866
1131
  mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
867
1132
  }
868
1133
 
869
- export class DistributeRewardsEvent {
870
- static TYPE_QNAME = "0x1::stake::DistributeRewardsEvent";
1134
+ export namespace AptosCoinCapabilities {
1135
+ export const TYPE_QNAME = "0x1::stake::AptosCoinCapabilities";
1136
+
1137
+ const TYPE = new TypeDescriptor<AptosCoinCapabilities>(
1138
+ AptosCoinCapabilities.TYPE_QNAME
1139
+ );
1140
+
1141
+ export function type(): TypeDescriptor<AptosCoinCapabilities> {
1142
+ return TYPE.apply();
1143
+ }
1144
+ }
1145
+
1146
+ export interface DistributeRewardsEvent {
871
1147
  pool_address: Address;
872
1148
  rewards_amount: bigint;
873
1149
  }
874
1150
 
1151
+ export namespace DistributeRewardsEvent {
1152
+ export const TYPE_QNAME = "0x1::stake::DistributeRewardsEvent";
1153
+
1154
+ const TYPE = new TypeDescriptor<DistributeRewardsEvent>(
1155
+ DistributeRewardsEvent.TYPE_QNAME
1156
+ );
1157
+
1158
+ export function type(): TypeDescriptor<DistributeRewardsEvent> {
1159
+ return TYPE.apply();
1160
+ }
1161
+ }
1162
+
875
1163
  export interface DistributeRewardsEventInstance
876
1164
  extends TypedEventInstance<DistributeRewardsEvent> {
877
1165
  data_decoded: DistributeRewardsEvent;
878
1166
  type_arguments: [];
879
1167
  }
880
1168
 
881
- export class IncreaseLockupEvent {
882
- static TYPE_QNAME = "0x1::stake::IncreaseLockupEvent";
1169
+ export interface IncreaseLockupEvent {
883
1170
  pool_address: Address;
884
1171
  old_locked_until_secs: bigint;
885
1172
  new_locked_until_secs: bigint;
886
1173
  }
887
1174
 
1175
+ export namespace IncreaseLockupEvent {
1176
+ export const TYPE_QNAME = "0x1::stake::IncreaseLockupEvent";
1177
+
1178
+ const TYPE = new TypeDescriptor<IncreaseLockupEvent>(
1179
+ IncreaseLockupEvent.TYPE_QNAME
1180
+ );
1181
+
1182
+ export function type(): TypeDescriptor<IncreaseLockupEvent> {
1183
+ return TYPE.apply();
1184
+ }
1185
+ }
1186
+
888
1187
  export interface IncreaseLockupEventInstance
889
1188
  extends TypedEventInstance<IncreaseLockupEvent> {
890
1189
  data_decoded: IncreaseLockupEvent;
891
1190
  type_arguments: [];
892
1191
  }
893
1192
 
894
- export class IndividualValidatorPerformance {
895
- static TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
1193
+ export interface IndividualValidatorPerformance {
896
1194
  successful_proposals: bigint;
897
1195
  failed_proposals: bigint;
898
1196
  }
899
1197
 
900
- export class JoinValidatorSetEvent {
901
- static TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
1198
+ export namespace IndividualValidatorPerformance {
1199
+ export const TYPE_QNAME = "0x1::stake::IndividualValidatorPerformance";
1200
+
1201
+ const TYPE = new TypeDescriptor<IndividualValidatorPerformance>(
1202
+ IndividualValidatorPerformance.TYPE_QNAME
1203
+ );
1204
+
1205
+ export function type(): TypeDescriptor<IndividualValidatorPerformance> {
1206
+ return TYPE.apply();
1207
+ }
1208
+ }
1209
+
1210
+ export interface JoinValidatorSetEvent {
902
1211
  pool_address: Address;
903
1212
  }
904
1213
 
1214
+ export namespace JoinValidatorSetEvent {
1215
+ export const TYPE_QNAME = "0x1::stake::JoinValidatorSetEvent";
1216
+
1217
+ const TYPE = new TypeDescriptor<JoinValidatorSetEvent>(
1218
+ JoinValidatorSetEvent.TYPE_QNAME
1219
+ );
1220
+
1221
+ export function type(): TypeDescriptor<JoinValidatorSetEvent> {
1222
+ return TYPE.apply();
1223
+ }
1224
+ }
1225
+
905
1226
  export interface JoinValidatorSetEventInstance
906
1227
  extends TypedEventInstance<JoinValidatorSetEvent> {
907
1228
  data_decoded: JoinValidatorSetEvent;
908
1229
  type_arguments: [];
909
1230
  }
910
1231
 
911
- export class LeaveValidatorSetEvent {
912
- static TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
1232
+ export interface LeaveValidatorSetEvent {
913
1233
  pool_address: Address;
914
1234
  }
915
1235
 
1236
+ export namespace LeaveValidatorSetEvent {
1237
+ export const TYPE_QNAME = "0x1::stake::LeaveValidatorSetEvent";
1238
+
1239
+ const TYPE = new TypeDescriptor<LeaveValidatorSetEvent>(
1240
+ LeaveValidatorSetEvent.TYPE_QNAME
1241
+ );
1242
+
1243
+ export function type(): TypeDescriptor<LeaveValidatorSetEvent> {
1244
+ return TYPE.apply();
1245
+ }
1246
+ }
1247
+
916
1248
  export interface LeaveValidatorSetEventInstance
917
1249
  extends TypedEventInstance<LeaveValidatorSetEvent> {
918
1250
  data_decoded: LeaveValidatorSetEvent;
919
1251
  type_arguments: [];
920
1252
  }
921
1253
 
922
- export class OwnerCapability {
923
- static TYPE_QNAME = "0x1::stake::OwnerCapability";
1254
+ export interface OwnerCapability {
924
1255
  pool_address: Address;
925
1256
  }
926
1257
 
927
- export class ReactivateStakeEvent {
928
- static TYPE_QNAME = "0x1::stake::ReactivateStakeEvent";
1258
+ export namespace OwnerCapability {
1259
+ export const TYPE_QNAME = "0x1::stake::OwnerCapability";
1260
+
1261
+ const TYPE = new TypeDescriptor<OwnerCapability>(
1262
+ OwnerCapability.TYPE_QNAME
1263
+ );
1264
+
1265
+ export function type(): TypeDescriptor<OwnerCapability> {
1266
+ return TYPE.apply();
1267
+ }
1268
+ }
1269
+
1270
+ export interface ReactivateStakeEvent {
929
1271
  pool_address: Address;
930
1272
  amount: bigint;
931
1273
  }
932
1274
 
1275
+ export namespace ReactivateStakeEvent {
1276
+ export const TYPE_QNAME = "0x1::stake::ReactivateStakeEvent";
1277
+
1278
+ const TYPE = new TypeDescriptor<ReactivateStakeEvent>(
1279
+ ReactivateStakeEvent.TYPE_QNAME
1280
+ );
1281
+
1282
+ export function type(): TypeDescriptor<ReactivateStakeEvent> {
1283
+ return TYPE.apply();
1284
+ }
1285
+ }
1286
+
933
1287
  export interface ReactivateStakeEventInstance
934
1288
  extends TypedEventInstance<ReactivateStakeEvent> {
935
1289
  data_decoded: ReactivateStakeEvent;
936
1290
  type_arguments: [];
937
1291
  }
938
1292
 
939
- export class RegisterValidatorCandidateEvent {
940
- static TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
1293
+ export interface RegisterValidatorCandidateEvent {
941
1294
  pool_address: Address;
942
1295
  }
943
1296
 
1297
+ export namespace RegisterValidatorCandidateEvent {
1298
+ export const TYPE_QNAME = "0x1::stake::RegisterValidatorCandidateEvent";
1299
+
1300
+ const TYPE = new TypeDescriptor<RegisterValidatorCandidateEvent>(
1301
+ RegisterValidatorCandidateEvent.TYPE_QNAME
1302
+ );
1303
+
1304
+ export function type(): TypeDescriptor<RegisterValidatorCandidateEvent> {
1305
+ return TYPE.apply();
1306
+ }
1307
+ }
1308
+
944
1309
  export interface RegisterValidatorCandidateEventInstance
945
1310
  extends TypedEventInstance<RegisterValidatorCandidateEvent> {
946
1311
  data_decoded: RegisterValidatorCandidateEvent;
947
1312
  type_arguments: [];
948
1313
  }
949
1314
 
950
- export class RotateConsensusKeyEvent {
951
- static TYPE_QNAME = "0x1::stake::RotateConsensusKeyEvent";
1315
+ export interface RotateConsensusKeyEvent {
952
1316
  pool_address: Address;
953
1317
  old_consensus_pubkey: string;
954
1318
  new_consensus_pubkey: string;
955
1319
  }
956
1320
 
1321
+ export namespace RotateConsensusKeyEvent {
1322
+ export const TYPE_QNAME = "0x1::stake::RotateConsensusKeyEvent";
1323
+
1324
+ const TYPE = new TypeDescriptor<RotateConsensusKeyEvent>(
1325
+ RotateConsensusKeyEvent.TYPE_QNAME
1326
+ );
1327
+
1328
+ export function type(): TypeDescriptor<RotateConsensusKeyEvent> {
1329
+ return TYPE.apply();
1330
+ }
1331
+ }
1332
+
957
1333
  export interface RotateConsensusKeyEventInstance
958
1334
  extends TypedEventInstance<RotateConsensusKeyEvent> {
959
1335
  data_decoded: RotateConsensusKeyEvent;
960
1336
  type_arguments: [];
961
1337
  }
962
1338
 
963
- export class SetOperatorEvent {
964
- static TYPE_QNAME = "0x1::stake::SetOperatorEvent";
1339
+ export interface SetOperatorEvent {
965
1340
  pool_address: Address;
966
1341
  old_operator: Address;
967
1342
  new_operator: Address;
968
1343
  }
969
1344
 
1345
+ export namespace SetOperatorEvent {
1346
+ export const TYPE_QNAME = "0x1::stake::SetOperatorEvent";
1347
+
1348
+ const TYPE = new TypeDescriptor<SetOperatorEvent>(
1349
+ SetOperatorEvent.TYPE_QNAME
1350
+ );
1351
+
1352
+ export function type(): TypeDescriptor<SetOperatorEvent> {
1353
+ return TYPE.apply();
1354
+ }
1355
+ }
1356
+
970
1357
  export interface SetOperatorEventInstance
971
1358
  extends TypedEventInstance<SetOperatorEvent> {
972
1359
  data_decoded: SetOperatorEvent;
973
1360
  type_arguments: [];
974
1361
  }
975
1362
 
976
- export class StakePool {
977
- static TYPE_QNAME = "0x1::stake::StakePool";
1363
+ export interface StakePool {
978
1364
  active: coin.Coin<aptos_coin.AptosCoin>;
979
1365
  inactive: coin.Coin<aptos_coin.AptosCoin>;
980
1366
  pending_active: coin.Coin<aptos_coin.AptosCoin>;
@@ -996,20 +1382,40 @@ export namespace stake {
996
1382
  leave_validator_set_events: event.EventHandle<stake.LeaveValidatorSetEvent>;
997
1383
  }
998
1384
 
999
- export class UnlockStakeEvent {
1000
- static TYPE_QNAME = "0x1::stake::UnlockStakeEvent";
1385
+ export namespace StakePool {
1386
+ export const TYPE_QNAME = "0x1::stake::StakePool";
1387
+
1388
+ const TYPE = new TypeDescriptor<StakePool>(StakePool.TYPE_QNAME);
1389
+
1390
+ export function type(): TypeDescriptor<StakePool> {
1391
+ return TYPE.apply();
1392
+ }
1393
+ }
1394
+
1395
+ export interface UnlockStakeEvent {
1001
1396
  pool_address: Address;
1002
1397
  amount_unlocked: bigint;
1003
1398
  }
1004
1399
 
1400
+ export namespace UnlockStakeEvent {
1401
+ export const TYPE_QNAME = "0x1::stake::UnlockStakeEvent";
1402
+
1403
+ const TYPE = new TypeDescriptor<UnlockStakeEvent>(
1404
+ UnlockStakeEvent.TYPE_QNAME
1405
+ );
1406
+
1407
+ export function type(): TypeDescriptor<UnlockStakeEvent> {
1408
+ return TYPE.apply();
1409
+ }
1410
+ }
1411
+
1005
1412
  export interface UnlockStakeEventInstance
1006
1413
  extends TypedEventInstance<UnlockStakeEvent> {
1007
1414
  data_decoded: UnlockStakeEvent;
1008
1415
  type_arguments: [];
1009
1416
  }
1010
1417
 
1011
- export class UpdateNetworkAndFullnodeAddressesEvent {
1012
- static TYPE_QNAME = "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
1418
+ export interface UpdateNetworkAndFullnodeAddressesEvent {
1013
1419
  pool_address: Address;
1014
1420
  old_network_addresses: string;
1015
1421
  new_network_addresses: string;
@@ -1017,39 +1423,91 @@ export namespace stake {
1017
1423
  new_fullnode_addresses: string;
1018
1424
  }
1019
1425
 
1426
+ export namespace UpdateNetworkAndFullnodeAddressesEvent {
1427
+ export const TYPE_QNAME =
1428
+ "0x1::stake::UpdateNetworkAndFullnodeAddressesEvent";
1429
+
1430
+ const TYPE = new TypeDescriptor<UpdateNetworkAndFullnodeAddressesEvent>(
1431
+ UpdateNetworkAndFullnodeAddressesEvent.TYPE_QNAME
1432
+ );
1433
+
1434
+ export function type(): TypeDescriptor<UpdateNetworkAndFullnodeAddressesEvent> {
1435
+ return TYPE.apply();
1436
+ }
1437
+ }
1438
+
1020
1439
  export interface UpdateNetworkAndFullnodeAddressesEventInstance
1021
1440
  extends TypedEventInstance<UpdateNetworkAndFullnodeAddressesEvent> {
1022
1441
  data_decoded: UpdateNetworkAndFullnodeAddressesEvent;
1023
1442
  type_arguments: [];
1024
1443
  }
1025
1444
 
1026
- export class ValidatorConfig {
1027
- static TYPE_QNAME = "0x1::stake::ValidatorConfig";
1445
+ export interface ValidatorConfig {
1028
1446
  consensus_pubkey: string;
1029
1447
  network_addresses: string;
1030
1448
  fullnode_addresses: string;
1031
1449
  validator_index: bigint;
1032
1450
  }
1033
1451
 
1034
- export class ValidatorFees {
1035
- static TYPE_QNAME = "0x1::stake::ValidatorFees";
1452
+ export namespace ValidatorConfig {
1453
+ export const TYPE_QNAME = "0x1::stake::ValidatorConfig";
1454
+
1455
+ const TYPE = new TypeDescriptor<ValidatorConfig>(
1456
+ ValidatorConfig.TYPE_QNAME
1457
+ );
1458
+
1459
+ export function type(): TypeDescriptor<ValidatorConfig> {
1460
+ return TYPE.apply();
1461
+ }
1462
+ }
1463
+
1464
+ export interface ValidatorFees {
1036
1465
  fees_table: table.Table<Address, coin.Coin<aptos_coin.AptosCoin>>;
1037
1466
  }
1038
1467
 
1039
- export class ValidatorInfo {
1040
- static TYPE_QNAME = "0x1::stake::ValidatorInfo";
1468
+ export namespace ValidatorFees {
1469
+ export const TYPE_QNAME = "0x1::stake::ValidatorFees";
1470
+
1471
+ const TYPE = new TypeDescriptor<ValidatorFees>(ValidatorFees.TYPE_QNAME);
1472
+
1473
+ export function type(): TypeDescriptor<ValidatorFees> {
1474
+ return TYPE.apply();
1475
+ }
1476
+ }
1477
+
1478
+ export interface ValidatorInfo {
1041
1479
  addr: Address;
1042
1480
  voting_power: bigint;
1043
1481
  config: stake.ValidatorConfig;
1044
1482
  }
1045
1483
 
1046
- export class ValidatorPerformance {
1047
- static TYPE_QNAME = "0x1::stake::ValidatorPerformance";
1484
+ export namespace ValidatorInfo {
1485
+ export const TYPE_QNAME = "0x1::stake::ValidatorInfo";
1486
+
1487
+ const TYPE = new TypeDescriptor<ValidatorInfo>(ValidatorInfo.TYPE_QNAME);
1488
+
1489
+ export function type(): TypeDescriptor<ValidatorInfo> {
1490
+ return TYPE.apply();
1491
+ }
1492
+ }
1493
+
1494
+ export interface ValidatorPerformance {
1048
1495
  validators: stake.IndividualValidatorPerformance[];
1049
1496
  }
1050
1497
 
1051
- export class ValidatorSet {
1052
- static TYPE_QNAME = "0x1::stake::ValidatorSet";
1498
+ export namespace ValidatorPerformance {
1499
+ export const TYPE_QNAME = "0x1::stake::ValidatorPerformance";
1500
+
1501
+ const TYPE = new TypeDescriptor<ValidatorPerformance>(
1502
+ ValidatorPerformance.TYPE_QNAME
1503
+ );
1504
+
1505
+ export function type(): TypeDescriptor<ValidatorPerformance> {
1506
+ return TYPE.apply();
1507
+ }
1508
+ }
1509
+
1510
+ export interface ValidatorSet {
1053
1511
  consensus_scheme: number;
1054
1512
  active_validators: stake.ValidatorInfo[];
1055
1513
  pending_inactive: stake.ValidatorInfo[];
@@ -1058,12 +1516,33 @@ export namespace stake {
1058
1516
  total_joining_power: bigint;
1059
1517
  }
1060
1518
 
1061
- export class WithdrawStakeEvent {
1062
- static TYPE_QNAME = "0x1::stake::WithdrawStakeEvent";
1519
+ export namespace ValidatorSet {
1520
+ export const TYPE_QNAME = "0x1::stake::ValidatorSet";
1521
+
1522
+ const TYPE = new TypeDescriptor<ValidatorSet>(ValidatorSet.TYPE_QNAME);
1523
+
1524
+ export function type(): TypeDescriptor<ValidatorSet> {
1525
+ return TYPE.apply();
1526
+ }
1527
+ }
1528
+
1529
+ export interface WithdrawStakeEvent {
1063
1530
  pool_address: Address;
1064
1531
  amount_withdrawn: bigint;
1065
1532
  }
1066
1533
 
1534
+ export namespace WithdrawStakeEvent {
1535
+ export const TYPE_QNAME = "0x1::stake::WithdrawStakeEvent";
1536
+
1537
+ const TYPE = new TypeDescriptor<WithdrawStakeEvent>(
1538
+ WithdrawStakeEvent.TYPE_QNAME
1539
+ );
1540
+
1541
+ export function type(): TypeDescriptor<WithdrawStakeEvent> {
1542
+ return TYPE.apply();
1543
+ }
1544
+ }
1545
+
1067
1546
  export interface WithdrawStakeEventInstance
1068
1547
  extends TypedEventInstance<WithdrawStakeEvent> {
1069
1548
  data_decoded: WithdrawStakeEvent;
@@ -1145,15 +1624,38 @@ export namespace stake {
1145
1624
  }
1146
1625
 
1147
1626
  export namespace table {
1148
- export class Box<T0> {
1149
- static TYPE_QNAME = "0x1::table::Box";
1627
+ export interface Box<T0> {
1150
1628
  val: T0;
1151
1629
  }
1152
1630
 
1153
- export class Table<T0, T1> {
1154
- static TYPE_QNAME = "0x1::table::Table";
1631
+ export namespace Box {
1632
+ export const TYPE_QNAME = "0x1::table::Box";
1633
+
1634
+ const TYPE = new TypeDescriptor<Box<any>>(Box.TYPE_QNAME);
1635
+
1636
+ export function type<T0>(
1637
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1638
+ ): TypeDescriptor<Box<T0>> {
1639
+ return TYPE.apply(arg0);
1640
+ }
1641
+ }
1642
+
1643
+ export interface Table<T0, T1> {
1155
1644
  handle: Address;
1156
1645
  }
1646
+
1647
+ export namespace Table {
1648
+ export const TYPE_QNAME = "0x1::table::Table";
1649
+
1650
+ const TYPE = new TypeDescriptor<Table<any, any>>(Table.TYPE_QNAME);
1651
+
1652
+ export function type<T0, T1>(
1653
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
1654
+ arg1: TypeDescriptor<T1> = ANY_TYPE
1655
+ ): TypeDescriptor<Table<T0, T1>> {
1656
+ return TYPE.apply(arg0, arg1);
1657
+ }
1658
+ }
1157
1659
  }
1158
1660
 
1159
1661
  export namespace math64 {}
@@ -1203,64 +1705,149 @@ export class object_ extends AptosBaseProcessor {
1203
1705
  }
1204
1706
 
1205
1707
  export namespace object_ {
1206
- export class ConstructorRef {
1207
- static TYPE_QNAME = "0x1::object::ConstructorRef";
1708
+ export interface ConstructorRef {
1208
1709
  self: Address;
1209
1710
  can_delete: Boolean;
1210
1711
  }
1211
1712
 
1212
- export class DeleteRef {
1213
- static TYPE_QNAME = "0x1::object::DeleteRef";
1713
+ export namespace ConstructorRef {
1714
+ export const TYPE_QNAME = "0x1::object::ConstructorRef";
1715
+
1716
+ const TYPE = new TypeDescriptor<ConstructorRef>(ConstructorRef.TYPE_QNAME);
1717
+
1718
+ export function type(): TypeDescriptor<ConstructorRef> {
1719
+ return TYPE.apply();
1720
+ }
1721
+ }
1722
+
1723
+ export interface DeleteRef {
1214
1724
  self: Address;
1215
1725
  }
1216
1726
 
1217
- export class ExtendRef {
1218
- static TYPE_QNAME = "0x1::object::ExtendRef";
1727
+ export namespace DeleteRef {
1728
+ export const TYPE_QNAME = "0x1::object::DeleteRef";
1729
+
1730
+ const TYPE = new TypeDescriptor<DeleteRef>(DeleteRef.TYPE_QNAME);
1731
+
1732
+ export function type(): TypeDescriptor<DeleteRef> {
1733
+ return TYPE.apply();
1734
+ }
1735
+ }
1736
+
1737
+ export interface ExtendRef {
1219
1738
  self: Address;
1220
1739
  }
1221
1740
 
1222
- export class LinearTransferRef {
1223
- static TYPE_QNAME = "0x1::object::LinearTransferRef";
1741
+ export namespace ExtendRef {
1742
+ export const TYPE_QNAME = "0x1::object::ExtendRef";
1743
+
1744
+ const TYPE = new TypeDescriptor<ExtendRef>(ExtendRef.TYPE_QNAME);
1745
+
1746
+ export function type(): TypeDescriptor<ExtendRef> {
1747
+ return TYPE.apply();
1748
+ }
1749
+ }
1750
+
1751
+ export interface LinearTransferRef {
1224
1752
  self: Address;
1225
1753
  owner: Address;
1226
1754
  }
1227
1755
 
1228
- export class Object<T0> {
1229
- static TYPE_QNAME = "0x1::object::Object";
1756
+ export namespace LinearTransferRef {
1757
+ export const TYPE_QNAME = "0x1::object::LinearTransferRef";
1758
+
1759
+ const TYPE = new TypeDescriptor<LinearTransferRef>(
1760
+ LinearTransferRef.TYPE_QNAME
1761
+ );
1762
+
1763
+ export function type(): TypeDescriptor<LinearTransferRef> {
1764
+ return TYPE.apply();
1765
+ }
1766
+ }
1767
+
1768
+ export interface Object<T0> {
1230
1769
  inner: Address;
1231
1770
  }
1232
1771
 
1233
- export class ObjectCore {
1234
- static TYPE_QNAME = "0x1::object::ObjectCore";
1772
+ export namespace Object {
1773
+ export const TYPE_QNAME = "0x1::object::Object";
1774
+
1775
+ const TYPE = new TypeDescriptor<Object<any>>(Object.TYPE_QNAME);
1776
+
1777
+ export function type<T0>(
1778
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1779
+ ): TypeDescriptor<Object<T0>> {
1780
+ return TYPE.apply(arg0);
1781
+ }
1782
+ }
1783
+
1784
+ export interface ObjectCore {
1235
1785
  guid_creation_num: bigint;
1236
1786
  owner: Address;
1237
1787
  allow_ungated_transfer: Boolean;
1238
1788
  transfer_events: event.EventHandle<object_.TransferEvent>;
1239
1789
  }
1240
1790
 
1241
- export class ObjectGroup {
1242
- static TYPE_QNAME = "0x1::object::ObjectGroup";
1791
+ export namespace ObjectCore {
1792
+ export const TYPE_QNAME = "0x1::object::ObjectCore";
1793
+
1794
+ const TYPE = new TypeDescriptor<ObjectCore>(ObjectCore.TYPE_QNAME);
1795
+
1796
+ export function type(): TypeDescriptor<ObjectCore> {
1797
+ return TYPE.apply();
1798
+ }
1799
+ }
1800
+
1801
+ export interface ObjectGroup {
1243
1802
  dummy_field: Boolean;
1244
1803
  }
1245
1804
 
1246
- export class TransferEvent {
1247
- static TYPE_QNAME = "0x1::object::TransferEvent";
1805
+ export namespace ObjectGroup {
1806
+ export const TYPE_QNAME = "0x1::object::ObjectGroup";
1807
+
1808
+ const TYPE = new TypeDescriptor<ObjectGroup>(ObjectGroup.TYPE_QNAME);
1809
+
1810
+ export function type(): TypeDescriptor<ObjectGroup> {
1811
+ return TYPE.apply();
1812
+ }
1813
+ }
1814
+
1815
+ export interface TransferEvent {
1248
1816
  object: Address;
1249
1817
  from: Address;
1250
1818
  to: Address;
1251
1819
  }
1252
1820
 
1821
+ export namespace TransferEvent {
1822
+ export const TYPE_QNAME = "0x1::object::TransferEvent";
1823
+
1824
+ const TYPE = new TypeDescriptor<TransferEvent>(TransferEvent.TYPE_QNAME);
1825
+
1826
+ export function type(): TypeDescriptor<TransferEvent> {
1827
+ return TYPE.apply();
1828
+ }
1829
+ }
1830
+
1253
1831
  export interface TransferEventInstance
1254
1832
  extends TypedEventInstance<TransferEvent> {
1255
1833
  data_decoded: TransferEvent;
1256
1834
  type_arguments: [];
1257
1835
  }
1258
1836
 
1259
- export class TransferRef {
1260
- static TYPE_QNAME = "0x1::object::TransferRef";
1837
+ export interface TransferRef {
1261
1838
  self: Address;
1262
1839
  }
1263
1840
 
1841
+ export namespace TransferRef {
1842
+ export const TYPE_QNAME = "0x1::object::TransferRef";
1843
+
1844
+ const TYPE = new TypeDescriptor<TransferRef>(TransferRef.TYPE_QNAME);
1845
+
1846
+ export function type(): TypeDescriptor<TransferRef> {
1847
+ return TYPE.apply();
1848
+ }
1849
+ }
1850
+
1264
1851
  export interface TransferCallPayload
1265
1852
  extends TypedFunctionPayload<[Address, Address]> {
1266
1853
  arguments_decoded: [Address, Address];
@@ -1269,19 +1856,39 @@ export namespace object_ {
1269
1856
  }
1270
1857
 
1271
1858
  export namespace option {
1272
- export class Option<T0> {
1273
- static TYPE_QNAME = "0x1::option::Option";
1859
+ export interface Option<T0> {
1274
1860
  vec: T0[] | string;
1275
1861
  }
1862
+
1863
+ export namespace Option {
1864
+ export const TYPE_QNAME = "0x1::option::Option";
1865
+
1866
+ const TYPE = new TypeDescriptor<Option<any>>(Option.TYPE_QNAME);
1867
+
1868
+ export function type<T0>(
1869
+ arg0: TypeDescriptor<T0> = ANY_TYPE
1870
+ ): TypeDescriptor<Option<T0>> {
1871
+ return TYPE.apply(arg0);
1872
+ }
1873
+ }
1276
1874
  }
1277
1875
 
1278
1876
  export namespace signer {}
1279
1877
 
1280
1878
  export namespace string_ {
1281
- export class String {
1282
- static TYPE_QNAME = "0x1::string::String";
1879
+ export interface String {
1283
1880
  bytes: string;
1284
1881
  }
1882
+
1883
+ export namespace String {
1884
+ export const TYPE_QNAME = "0x1::string::String";
1885
+
1886
+ const TYPE = new TypeDescriptor<String>(String.TYPE_QNAME);
1887
+
1888
+ export function type(): TypeDescriptor<String> {
1889
+ return TYPE.apply();
1890
+ }
1891
+ }
1285
1892
  }
1286
1893
 
1287
1894
  export namespace vector {}
@@ -1360,8 +1967,7 @@ export class voting extends AptosBaseProcessor {
1360
1967
  }
1361
1968
 
1362
1969
  export namespace voting {
1363
- export class CreateProposalEvent {
1364
- static TYPE_QNAME = "0x1::voting::CreateProposalEvent";
1970
+ export interface CreateProposalEvent {
1365
1971
  proposal_id: bigint;
1366
1972
  early_resolution_vote_threshold: option.Option<bigint>;
1367
1973
  execution_hash: string;
@@ -1370,14 +1976,25 @@ export namespace voting {
1370
1976
  min_vote_threshold: bigint;
1371
1977
  }
1372
1978
 
1979
+ export namespace CreateProposalEvent {
1980
+ export const TYPE_QNAME = "0x1::voting::CreateProposalEvent";
1981
+
1982
+ const TYPE = new TypeDescriptor<CreateProposalEvent>(
1983
+ CreateProposalEvent.TYPE_QNAME
1984
+ );
1985
+
1986
+ export function type(): TypeDescriptor<CreateProposalEvent> {
1987
+ return TYPE.apply();
1988
+ }
1989
+ }
1990
+
1373
1991
  export interface CreateProposalEventInstance
1374
1992
  extends TypedEventInstance<CreateProposalEvent> {
1375
1993
  data_decoded: CreateProposalEvent;
1376
1994
  type_arguments: [];
1377
1995
  }
1378
1996
 
1379
- export class Proposal<T0> {
1380
- static TYPE_QNAME = "0x1::voting::Proposal";
1997
+ export interface Proposal<T0> {
1381
1998
  proposer: Address;
1382
1999
  execution_content: option.Option<T0>;
1383
2000
  metadata: simple_map.SimpleMap<string, string>;
@@ -1392,57 +2009,120 @@ export namespace voting {
1392
2009
  resolution_time_secs: bigint;
1393
2010
  }
1394
2011
 
1395
- export class RegisterForumEvent {
1396
- static TYPE_QNAME = "0x1::voting::RegisterForumEvent";
2012
+ export namespace Proposal {
2013
+ export const TYPE_QNAME = "0x1::voting::Proposal";
2014
+
2015
+ const TYPE = new TypeDescriptor<Proposal<any>>(Proposal.TYPE_QNAME);
2016
+
2017
+ export function type<T0>(
2018
+ arg0: TypeDescriptor<T0> = ANY_TYPE
2019
+ ): TypeDescriptor<Proposal<T0>> {
2020
+ return TYPE.apply(arg0);
2021
+ }
2022
+ }
2023
+
2024
+ export interface RegisterForumEvent {
1397
2025
  hosting_account: Address;
1398
2026
  proposal_type_info: type_info.TypeInfo;
1399
2027
  }
1400
2028
 
2029
+ export namespace RegisterForumEvent {
2030
+ export const TYPE_QNAME = "0x1::voting::RegisterForumEvent";
2031
+
2032
+ const TYPE = new TypeDescriptor<RegisterForumEvent>(
2033
+ RegisterForumEvent.TYPE_QNAME
2034
+ );
2035
+
2036
+ export function type(): TypeDescriptor<RegisterForumEvent> {
2037
+ return TYPE.apply();
2038
+ }
2039
+ }
2040
+
1401
2041
  export interface RegisterForumEventInstance
1402
2042
  extends TypedEventInstance<RegisterForumEvent> {
1403
2043
  data_decoded: RegisterForumEvent;
1404
2044
  type_arguments: [];
1405
2045
  }
1406
2046
 
1407
- export class ResolveProposal {
1408
- static TYPE_QNAME = "0x1::voting::ResolveProposal";
2047
+ export interface ResolveProposal {
1409
2048
  proposal_id: bigint;
1410
2049
  yes_votes: bigint;
1411
2050
  no_votes: bigint;
1412
2051
  resolved_early: Boolean;
1413
2052
  }
1414
2053
 
2054
+ export namespace ResolveProposal {
2055
+ export const TYPE_QNAME = "0x1::voting::ResolveProposal";
2056
+
2057
+ const TYPE = new TypeDescriptor<ResolveProposal>(
2058
+ ResolveProposal.TYPE_QNAME
2059
+ );
2060
+
2061
+ export function type(): TypeDescriptor<ResolveProposal> {
2062
+ return TYPE.apply();
2063
+ }
2064
+ }
2065
+
1415
2066
  export interface ResolveProposalInstance
1416
2067
  extends TypedEventInstance<ResolveProposal> {
1417
2068
  data_decoded: ResolveProposal;
1418
2069
  type_arguments: [];
1419
2070
  }
1420
2071
 
1421
- export class VoteEvent {
1422
- static TYPE_QNAME = "0x1::voting::VoteEvent";
2072
+ export interface VoteEvent {
1423
2073
  proposal_id: bigint;
1424
2074
  num_votes: bigint;
1425
2075
  }
1426
2076
 
2077
+ export namespace VoteEvent {
2078
+ export const TYPE_QNAME = "0x1::voting::VoteEvent";
2079
+
2080
+ const TYPE = new TypeDescriptor<VoteEvent>(VoteEvent.TYPE_QNAME);
2081
+
2082
+ export function type(): TypeDescriptor<VoteEvent> {
2083
+ return TYPE.apply();
2084
+ }
2085
+ }
2086
+
1427
2087
  export interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
1428
2088
  data_decoded: VoteEvent;
1429
2089
  type_arguments: [];
1430
2090
  }
1431
2091
 
1432
- export class VotingEvents {
1433
- static TYPE_QNAME = "0x1::voting::VotingEvents";
2092
+ export interface VotingEvents {
1434
2093
  create_proposal_events: event.EventHandle<voting.CreateProposalEvent>;
1435
2094
  register_forum_events: event.EventHandle<voting.RegisterForumEvent>;
1436
2095
  resolve_proposal_events: event.EventHandle<voting.ResolveProposal>;
1437
2096
  vote_events: event.EventHandle<voting.VoteEvent>;
1438
2097
  }
1439
2098
 
1440
- export class VotingForum<T0> {
1441
- static TYPE_QNAME = "0x1::voting::VotingForum";
2099
+ export namespace VotingEvents {
2100
+ export const TYPE_QNAME = "0x1::voting::VotingEvents";
2101
+
2102
+ const TYPE = new TypeDescriptor<VotingEvents>(VotingEvents.TYPE_QNAME);
2103
+
2104
+ export function type(): TypeDescriptor<VotingEvents> {
2105
+ return TYPE.apply();
2106
+ }
2107
+ }
2108
+
2109
+ export interface VotingForum<T0> {
1442
2110
  proposals: table.Table<bigint, voting.Proposal<T0>>;
1443
2111
  events: voting.VotingEvents;
1444
2112
  next_proposal_id: bigint;
1445
2113
  }
2114
+
2115
+ export namespace VotingForum {
2116
+ export const TYPE_QNAME = "0x1::voting::VotingForum";
2117
+
2118
+ const TYPE = new TypeDescriptor<VotingForum<any>>(VotingForum.TYPE_QNAME);
2119
+
2120
+ export function type<T0>(
2121
+ arg0: TypeDescriptor<T0> = ANY_TYPE
2122
+ ): TypeDescriptor<VotingForum<T0>> {
2123
+ return TYPE.apply(arg0);
2124
+ }
2125
+ }
1446
2126
  }
1447
2127
 
1448
2128
  export class account extends AptosBaseProcessor {
@@ -1640,8 +2320,7 @@ export class account extends AptosBaseProcessor {
1640
2320
  }
1641
2321
 
1642
2322
  export namespace account {
1643
- export class Account {
1644
- static TYPE_QNAME = "0x1::account::Account";
2323
+ export interface Account {
1645
2324
  authentication_key: string;
1646
2325
  sequence_number: bigint;
1647
2326
  guid_creation_num: bigint;
@@ -1651,84 +2330,221 @@ export namespace account {
1651
2330
  signer_capability_offer: account.CapabilityOffer<account.SignerCapability>;
1652
2331
  }
1653
2332
 
1654
- export class CapabilityOffer<T0> {
1655
- static TYPE_QNAME = "0x1::account::CapabilityOffer";
2333
+ export namespace Account {
2334
+ export const TYPE_QNAME = "0x1::account::Account";
2335
+
2336
+ const TYPE = new TypeDescriptor<Account>(Account.TYPE_QNAME);
2337
+
2338
+ export function type(): TypeDescriptor<Account> {
2339
+ return TYPE.apply();
2340
+ }
2341
+ }
2342
+
2343
+ export interface CapabilityOffer<T0> {
1656
2344
  for: option.Option<Address>;
1657
2345
  }
1658
2346
 
1659
- export class CoinRegisterEvent {
1660
- static TYPE_QNAME = "0x1::account::CoinRegisterEvent";
2347
+ export namespace CapabilityOffer {
2348
+ export const TYPE_QNAME = "0x1::account::CapabilityOffer";
2349
+
2350
+ const TYPE = new TypeDescriptor<CapabilityOffer<any>>(
2351
+ CapabilityOffer.TYPE_QNAME
2352
+ );
2353
+
2354
+ export function type<T0>(
2355
+ arg0: TypeDescriptor<T0> = ANY_TYPE
2356
+ ): TypeDescriptor<CapabilityOffer<T0>> {
2357
+ return TYPE.apply(arg0);
2358
+ }
2359
+ }
2360
+
2361
+ export interface CoinRegisterEvent {
1661
2362
  type_info: type_info.TypeInfo;
1662
2363
  }
1663
2364
 
2365
+ export namespace CoinRegisterEvent {
2366
+ export const TYPE_QNAME = "0x1::account::CoinRegisterEvent";
2367
+
2368
+ const TYPE = new TypeDescriptor<CoinRegisterEvent>(
2369
+ CoinRegisterEvent.TYPE_QNAME
2370
+ );
2371
+
2372
+ export function type(): TypeDescriptor<CoinRegisterEvent> {
2373
+ return TYPE.apply();
2374
+ }
2375
+ }
2376
+
1664
2377
  export interface CoinRegisterEventInstance
1665
2378
  extends TypedEventInstance<CoinRegisterEvent> {
1666
2379
  data_decoded: CoinRegisterEvent;
1667
2380
  type_arguments: [];
1668
2381
  }
1669
2382
 
1670
- export class KeyRotationEvent {
1671
- static TYPE_QNAME = "0x1::account::KeyRotationEvent";
2383
+ export interface KeyRotationEvent {
1672
2384
  old_authentication_key: string;
1673
2385
  new_authentication_key: string;
1674
2386
  }
1675
2387
 
2388
+ export namespace KeyRotationEvent {
2389
+ export const TYPE_QNAME = "0x1::account::KeyRotationEvent";
2390
+
2391
+ const TYPE = new TypeDescriptor<KeyRotationEvent>(
2392
+ KeyRotationEvent.TYPE_QNAME
2393
+ );
2394
+
2395
+ export function type(): TypeDescriptor<KeyRotationEvent> {
2396
+ return TYPE.apply();
2397
+ }
2398
+ }
2399
+
1676
2400
  export interface KeyRotationEventInstance
1677
2401
  extends TypedEventInstance<KeyRotationEvent> {
1678
2402
  data_decoded: KeyRotationEvent;
1679
2403
  type_arguments: [];
1680
2404
  }
1681
2405
 
1682
- export class OriginatingAddress {
1683
- static TYPE_QNAME = "0x1::account::OriginatingAddress";
2406
+ export interface OriginatingAddress {
1684
2407
  address_map: table.Table<Address, Address>;
1685
2408
  }
1686
2409
 
1687
- export class RotationCapability {
1688
- static TYPE_QNAME = "0x1::account::RotationCapability";
2410
+ export namespace OriginatingAddress {
2411
+ export const TYPE_QNAME = "0x1::account::OriginatingAddress";
2412
+
2413
+ const TYPE = new TypeDescriptor<OriginatingAddress>(
2414
+ OriginatingAddress.TYPE_QNAME
2415
+ );
2416
+
2417
+ export function type(): TypeDescriptor<OriginatingAddress> {
2418
+ return TYPE.apply();
2419
+ }
2420
+ }
2421
+
2422
+ export interface RotationCapability {
1689
2423
  account: Address;
1690
2424
  }
1691
2425
 
1692
- export class RotationCapabilityOfferProofChallenge {
1693
- static TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallenge";
2426
+ export namespace RotationCapability {
2427
+ export const TYPE_QNAME = "0x1::account::RotationCapability";
2428
+
2429
+ const TYPE = new TypeDescriptor<RotationCapability>(
2430
+ RotationCapability.TYPE_QNAME
2431
+ );
2432
+
2433
+ export function type(): TypeDescriptor<RotationCapability> {
2434
+ return TYPE.apply();
2435
+ }
2436
+ }
2437
+
2438
+ export interface RotationCapabilityOfferProofChallenge {
1694
2439
  sequence_number: bigint;
1695
2440
  recipient_address: Address;
1696
2441
  }
1697
2442
 
1698
- export class RotationCapabilityOfferProofChallengeV2 {
1699
- static TYPE_QNAME = "0x1::account::RotationCapabilityOfferProofChallengeV2";
2443
+ export namespace RotationCapabilityOfferProofChallenge {
2444
+ export const TYPE_QNAME =
2445
+ "0x1::account::RotationCapabilityOfferProofChallenge";
2446
+
2447
+ const TYPE = new TypeDescriptor<RotationCapabilityOfferProofChallenge>(
2448
+ RotationCapabilityOfferProofChallenge.TYPE_QNAME
2449
+ );
2450
+
2451
+ export function type(): TypeDescriptor<RotationCapabilityOfferProofChallenge> {
2452
+ return TYPE.apply();
2453
+ }
2454
+ }
2455
+
2456
+ export interface RotationCapabilityOfferProofChallengeV2 {
1700
2457
  chain_id: number;
1701
2458
  sequence_number: bigint;
1702
2459
  source_address: Address;
1703
2460
  recipient_address: Address;
1704
2461
  }
1705
2462
 
1706
- export class RotationProofChallenge {
1707
- static TYPE_QNAME = "0x1::account::RotationProofChallenge";
2463
+ export namespace RotationCapabilityOfferProofChallengeV2 {
2464
+ export const TYPE_QNAME =
2465
+ "0x1::account::RotationCapabilityOfferProofChallengeV2";
2466
+
2467
+ const TYPE = new TypeDescriptor<RotationCapabilityOfferProofChallengeV2>(
2468
+ RotationCapabilityOfferProofChallengeV2.TYPE_QNAME
2469
+ );
2470
+
2471
+ export function type(): TypeDescriptor<RotationCapabilityOfferProofChallengeV2> {
2472
+ return TYPE.apply();
2473
+ }
2474
+ }
2475
+
2476
+ export interface RotationProofChallenge {
1708
2477
  sequence_number: bigint;
1709
2478
  originator: Address;
1710
2479
  current_auth_key: Address;
1711
2480
  new_public_key: string;
1712
2481
  }
1713
2482
 
1714
- export class SignerCapability {
1715
- static TYPE_QNAME = "0x1::account::SignerCapability";
2483
+ export namespace RotationProofChallenge {
2484
+ export const TYPE_QNAME = "0x1::account::RotationProofChallenge";
2485
+
2486
+ const TYPE = new TypeDescriptor<RotationProofChallenge>(
2487
+ RotationProofChallenge.TYPE_QNAME
2488
+ );
2489
+
2490
+ export function type(): TypeDescriptor<RotationProofChallenge> {
2491
+ return TYPE.apply();
2492
+ }
2493
+ }
2494
+
2495
+ export interface SignerCapability {
1716
2496
  account: Address;
1717
2497
  }
1718
2498
 
1719
- export class SignerCapabilityOfferProofChallenge {
1720
- static TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallenge";
2499
+ export namespace SignerCapability {
2500
+ export const TYPE_QNAME = "0x1::account::SignerCapability";
2501
+
2502
+ const TYPE = new TypeDescriptor<SignerCapability>(
2503
+ SignerCapability.TYPE_QNAME
2504
+ );
2505
+
2506
+ export function type(): TypeDescriptor<SignerCapability> {
2507
+ return TYPE.apply();
2508
+ }
2509
+ }
2510
+
2511
+ export interface SignerCapabilityOfferProofChallenge {
1721
2512
  sequence_number: bigint;
1722
2513
  recipient_address: Address;
1723
2514
  }
1724
2515
 
1725
- export class SignerCapabilityOfferProofChallengeV2 {
1726
- static TYPE_QNAME = "0x1::account::SignerCapabilityOfferProofChallengeV2";
2516
+ export namespace SignerCapabilityOfferProofChallenge {
2517
+ export const TYPE_QNAME =
2518
+ "0x1::account::SignerCapabilityOfferProofChallenge";
2519
+
2520
+ const TYPE = new TypeDescriptor<SignerCapabilityOfferProofChallenge>(
2521
+ SignerCapabilityOfferProofChallenge.TYPE_QNAME
2522
+ );
2523
+
2524
+ export function type(): TypeDescriptor<SignerCapabilityOfferProofChallenge> {
2525
+ return TYPE.apply();
2526
+ }
2527
+ }
2528
+
2529
+ export interface SignerCapabilityOfferProofChallengeV2 {
1727
2530
  sequence_number: bigint;
1728
2531
  source_address: Address;
1729
2532
  recipient_address: Address;
1730
2533
  }
1731
2534
 
2535
+ export namespace SignerCapabilityOfferProofChallengeV2 {
2536
+ export const TYPE_QNAME =
2537
+ "0x1::account::SignerCapabilityOfferProofChallengeV2";
2538
+
2539
+ const TYPE = new TypeDescriptor<SignerCapabilityOfferProofChallengeV2>(
2540
+ SignerCapabilityOfferProofChallengeV2.TYPE_QNAME
2541
+ );
2542
+
2543
+ export function type(): TypeDescriptor<SignerCapabilityOfferProofChallengeV2> {
2544
+ return TYPE.apply();
2545
+ }
2546
+ }
2547
+
1732
2548
  export interface OfferRotationCapabilityPayload
1733
2549
  extends TypedFunctionPayload<[string, number, string, Address]> {
1734
2550
  arguments_decoded: [string, number, string, Address];
@@ -1781,37 +2597,89 @@ export namespace account {
1781
2597
  }
1782
2598
 
1783
2599
  export namespace ed25519 {
1784
- export class Signature {
1785
- static TYPE_QNAME = "0x1::ed25519::Signature";
2600
+ export interface Signature {
1786
2601
  bytes: string;
1787
2602
  }
1788
2603
 
1789
- export class SignedMessage<T0> {
1790
- static TYPE_QNAME = "0x1::ed25519::SignedMessage";
2604
+ export namespace Signature {
2605
+ export const TYPE_QNAME = "0x1::ed25519::Signature";
2606
+
2607
+ const TYPE = new TypeDescriptor<Signature>(Signature.TYPE_QNAME);
2608
+
2609
+ export function type(): TypeDescriptor<Signature> {
2610
+ return TYPE.apply();
2611
+ }
2612
+ }
2613
+
2614
+ export interface SignedMessage<T0> {
1791
2615
  type_info: type_info.TypeInfo;
1792
2616
  inner: T0;
1793
2617
  }
1794
2618
 
1795
- export class UnvalidatedPublicKey {
1796
- static TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
2619
+ export namespace SignedMessage {
2620
+ export const TYPE_QNAME = "0x1::ed25519::SignedMessage";
2621
+
2622
+ const TYPE = new TypeDescriptor<SignedMessage<any>>(
2623
+ SignedMessage.TYPE_QNAME
2624
+ );
2625
+
2626
+ export function type<T0>(
2627
+ arg0: TypeDescriptor<T0> = ANY_TYPE
2628
+ ): TypeDescriptor<SignedMessage<T0>> {
2629
+ return TYPE.apply(arg0);
2630
+ }
2631
+ }
2632
+
2633
+ export interface UnvalidatedPublicKey {
1797
2634
  bytes: string;
1798
2635
  }
1799
2636
 
1800
- export class ValidatedPublicKey {
1801
- static TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
2637
+ export namespace UnvalidatedPublicKey {
2638
+ export const TYPE_QNAME = "0x1::ed25519::UnvalidatedPublicKey";
2639
+
2640
+ const TYPE = new TypeDescriptor<UnvalidatedPublicKey>(
2641
+ UnvalidatedPublicKey.TYPE_QNAME
2642
+ );
2643
+
2644
+ export function type(): TypeDescriptor<UnvalidatedPublicKey> {
2645
+ return TYPE.apply();
2646
+ }
2647
+ }
2648
+
2649
+ export interface ValidatedPublicKey {
1802
2650
  bytes: string;
1803
2651
  }
2652
+
2653
+ export namespace ValidatedPublicKey {
2654
+ export const TYPE_QNAME = "0x1::ed25519::ValidatedPublicKey";
2655
+
2656
+ const TYPE = new TypeDescriptor<ValidatedPublicKey>(
2657
+ ValidatedPublicKey.TYPE_QNAME
2658
+ );
2659
+
2660
+ export function type(): TypeDescriptor<ValidatedPublicKey> {
2661
+ return TYPE.apply();
2662
+ }
2663
+ }
1804
2664
  }
1805
2665
 
1806
2666
  export namespace genesis {
1807
- export class AccountMap {
1808
- static TYPE_QNAME = "0x1::genesis::AccountMap";
2667
+ export interface AccountMap {
1809
2668
  account_address: Address;
1810
2669
  balance: bigint;
1811
2670
  }
1812
2671
 
1813
- export class EmployeeAccountMap {
1814
- static TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
2672
+ export namespace AccountMap {
2673
+ export const TYPE_QNAME = "0x1::genesis::AccountMap";
2674
+
2675
+ const TYPE = new TypeDescriptor<AccountMap>(AccountMap.TYPE_QNAME);
2676
+
2677
+ export function type(): TypeDescriptor<AccountMap> {
2678
+ return TYPE.apply();
2679
+ }
2680
+ }
2681
+
2682
+ export interface EmployeeAccountMap {
1815
2683
  accounts: Address[];
1816
2684
  validator: genesis.ValidatorConfigurationWithCommission;
1817
2685
  vesting_schedule_numerator: bigint[];
@@ -1819,8 +2687,19 @@ export namespace genesis {
1819
2687
  beneficiary_resetter: Address;
1820
2688
  }
1821
2689
 
1822
- export class ValidatorConfiguration {
1823
- static TYPE_QNAME = "0x1::genesis::ValidatorConfiguration";
2690
+ export namespace EmployeeAccountMap {
2691
+ export const TYPE_QNAME = "0x1::genesis::EmployeeAccountMap";
2692
+
2693
+ const TYPE = new TypeDescriptor<EmployeeAccountMap>(
2694
+ EmployeeAccountMap.TYPE_QNAME
2695
+ );
2696
+
2697
+ export function type(): TypeDescriptor<EmployeeAccountMap> {
2698
+ return TYPE.apply();
2699
+ }
2700
+ }
2701
+
2702
+ export interface ValidatorConfiguration {
1824
2703
  owner_address: Address;
1825
2704
  operator_address: Address;
1826
2705
  voter_address: Address;
@@ -1831,12 +2710,36 @@ export namespace genesis {
1831
2710
  full_node_network_addresses: string;
1832
2711
  }
1833
2712
 
1834
- export class ValidatorConfigurationWithCommission {
1835
- static TYPE_QNAME = "0x1::genesis::ValidatorConfigurationWithCommission";
2713
+ export namespace ValidatorConfiguration {
2714
+ export const TYPE_QNAME = "0x1::genesis::ValidatorConfiguration";
2715
+
2716
+ const TYPE = new TypeDescriptor<ValidatorConfiguration>(
2717
+ ValidatorConfiguration.TYPE_QNAME
2718
+ );
2719
+
2720
+ export function type(): TypeDescriptor<ValidatorConfiguration> {
2721
+ return TYPE.apply();
2722
+ }
2723
+ }
2724
+
2725
+ export interface ValidatorConfigurationWithCommission {
1836
2726
  validator_config: genesis.ValidatorConfiguration;
1837
2727
  commission_percentage: bigint;
1838
2728
  join_during_genesis: Boolean;
1839
2729
  }
2730
+
2731
+ export namespace ValidatorConfigurationWithCommission {
2732
+ export const TYPE_QNAME =
2733
+ "0x1::genesis::ValidatorConfigurationWithCommission";
2734
+
2735
+ const TYPE = new TypeDescriptor<ValidatorConfigurationWithCommission>(
2736
+ ValidatorConfigurationWithCommission.TYPE_QNAME
2737
+ );
2738
+
2739
+ export function type(): TypeDescriptor<ValidatorConfigurationWithCommission> {
2740
+ return TYPE.apply();
2741
+ }
2742
+ }
1840
2743
  }
1841
2744
 
1842
2745
  export namespace math128 {}
@@ -1872,16 +2775,36 @@ export class version extends AptosBaseProcessor {
1872
2775
  }
1873
2776
 
1874
2777
  export namespace version {
1875
- export class SetVersionCapability {
1876
- static TYPE_QNAME = "0x1::version::SetVersionCapability";
2778
+ export interface SetVersionCapability {
1877
2779
  dummy_field: Boolean;
1878
2780
  }
1879
2781
 
1880
- export class Version {
1881
- static TYPE_QNAME = "0x1::version::Version";
2782
+ export namespace SetVersionCapability {
2783
+ export const TYPE_QNAME = "0x1::version::SetVersionCapability";
2784
+
2785
+ const TYPE = new TypeDescriptor<SetVersionCapability>(
2786
+ SetVersionCapability.TYPE_QNAME
2787
+ );
2788
+
2789
+ export function type(): TypeDescriptor<SetVersionCapability> {
2790
+ return TYPE.apply();
2791
+ }
2792
+ }
2793
+
2794
+ export interface Version {
1882
2795
  major: bigint;
1883
2796
  }
1884
2797
 
2798
+ export namespace Version {
2799
+ export const TYPE_QNAME = "0x1::version::Version";
2800
+
2801
+ const TYPE = new TypeDescriptor<Version>(Version.TYPE_QNAME);
2802
+
2803
+ export function type(): TypeDescriptor<Version> {
2804
+ return TYPE.apply();
2805
+ }
2806
+ }
2807
+
1885
2808
  export interface SetVersionPayload extends TypedFunctionPayload<[bigint]> {
1886
2809
  arguments_decoded: [bigint];
1887
2810
  type_arguments: [];
@@ -2323,28 +3246,47 @@ export class vesting extends AptosBaseProcessor {
2323
3246
  }
2324
3247
 
2325
3248
  export namespace vesting {
2326
- export class AdminStore {
2327
- static TYPE_QNAME = "0x1::vesting::AdminStore";
3249
+ export interface AdminStore {
2328
3250
  vesting_contracts: Address[];
2329
3251
  nonce: bigint;
2330
3252
  create_events: event.EventHandle<vesting.CreateVestingContractEvent>;
2331
3253
  }
2332
3254
 
2333
- export class AdminWithdrawEvent {
2334
- static TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
3255
+ export namespace AdminStore {
3256
+ export const TYPE_QNAME = "0x1::vesting::AdminStore";
3257
+
3258
+ const TYPE = new TypeDescriptor<AdminStore>(AdminStore.TYPE_QNAME);
3259
+
3260
+ export function type(): TypeDescriptor<AdminStore> {
3261
+ return TYPE.apply();
3262
+ }
3263
+ }
3264
+
3265
+ export interface AdminWithdrawEvent {
2335
3266
  admin: Address;
2336
3267
  vesting_contract_address: Address;
2337
3268
  amount: bigint;
2338
3269
  }
2339
3270
 
3271
+ export namespace AdminWithdrawEvent {
3272
+ export const TYPE_QNAME = "0x1::vesting::AdminWithdrawEvent";
3273
+
3274
+ const TYPE = new TypeDescriptor<AdminWithdrawEvent>(
3275
+ AdminWithdrawEvent.TYPE_QNAME
3276
+ );
3277
+
3278
+ export function type(): TypeDescriptor<AdminWithdrawEvent> {
3279
+ return TYPE.apply();
3280
+ }
3281
+ }
3282
+
2340
3283
  export interface AdminWithdrawEventInstance
2341
3284
  extends TypedEventInstance<AdminWithdrawEvent> {
2342
3285
  data_decoded: AdminWithdrawEvent;
2343
3286
  type_arguments: [];
2344
3287
  }
2345
3288
 
2346
- export class CreateVestingContractEvent {
2347
- static TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
3289
+ export interface CreateVestingContractEvent {
2348
3290
  operator: Address;
2349
3291
  voter: Address;
2350
3292
  grant_amount: bigint;
@@ -2354,41 +3296,74 @@ export namespace vesting {
2354
3296
  commission_percentage: bigint;
2355
3297
  }
2356
3298
 
3299
+ export namespace CreateVestingContractEvent {
3300
+ export const TYPE_QNAME = "0x1::vesting::CreateVestingContractEvent";
3301
+
3302
+ const TYPE = new TypeDescriptor<CreateVestingContractEvent>(
3303
+ CreateVestingContractEvent.TYPE_QNAME
3304
+ );
3305
+
3306
+ export function type(): TypeDescriptor<CreateVestingContractEvent> {
3307
+ return TYPE.apply();
3308
+ }
3309
+ }
3310
+
2357
3311
  export interface CreateVestingContractEventInstance
2358
3312
  extends TypedEventInstance<CreateVestingContractEvent> {
2359
3313
  data_decoded: CreateVestingContractEvent;
2360
3314
  type_arguments: [];
2361
3315
  }
2362
3316
 
2363
- export class DistributeEvent {
2364
- static TYPE_QNAME = "0x1::vesting::DistributeEvent";
3317
+ export interface DistributeEvent {
2365
3318
  admin: Address;
2366
3319
  vesting_contract_address: Address;
2367
3320
  amount: bigint;
2368
3321
  }
2369
3322
 
3323
+ export namespace DistributeEvent {
3324
+ export const TYPE_QNAME = "0x1::vesting::DistributeEvent";
3325
+
3326
+ const TYPE = new TypeDescriptor<DistributeEvent>(
3327
+ DistributeEvent.TYPE_QNAME
3328
+ );
3329
+
3330
+ export function type(): TypeDescriptor<DistributeEvent> {
3331
+ return TYPE.apply();
3332
+ }
3333
+ }
3334
+
2370
3335
  export interface DistributeEventInstance
2371
3336
  extends TypedEventInstance<DistributeEvent> {
2372
3337
  data_decoded: DistributeEvent;
2373
3338
  type_arguments: [];
2374
3339
  }
2375
3340
 
2376
- export class ResetLockupEvent {
2377
- static TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
3341
+ export interface ResetLockupEvent {
2378
3342
  admin: Address;
2379
3343
  vesting_contract_address: Address;
2380
3344
  staking_pool_address: Address;
2381
3345
  new_lockup_expiration_secs: bigint;
2382
3346
  }
2383
3347
 
3348
+ export namespace ResetLockupEvent {
3349
+ export const TYPE_QNAME = "0x1::vesting::ResetLockupEvent";
3350
+
3351
+ const TYPE = new TypeDescriptor<ResetLockupEvent>(
3352
+ ResetLockupEvent.TYPE_QNAME
3353
+ );
3354
+
3355
+ export function type(): TypeDescriptor<ResetLockupEvent> {
3356
+ return TYPE.apply();
3357
+ }
3358
+ }
3359
+
2384
3360
  export interface ResetLockupEventInstance
2385
3361
  extends TypedEventInstance<ResetLockupEvent> {
2386
3362
  data_decoded: ResetLockupEvent;
2387
3363
  type_arguments: [];
2388
3364
  }
2389
3365
 
2390
- export class SetBeneficiaryEvent {
2391
- static TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
3366
+ export interface SetBeneficiaryEvent {
2392
3367
  admin: Address;
2393
3368
  vesting_contract_address: Address;
2394
3369
  shareholder: Address;
@@ -2396,48 +3371,88 @@ export namespace vesting {
2396
3371
  new_beneficiary: Address;
2397
3372
  }
2398
3373
 
3374
+ export namespace SetBeneficiaryEvent {
3375
+ export const TYPE_QNAME = "0x1::vesting::SetBeneficiaryEvent";
3376
+
3377
+ const TYPE = new TypeDescriptor<SetBeneficiaryEvent>(
3378
+ SetBeneficiaryEvent.TYPE_QNAME
3379
+ );
3380
+
3381
+ export function type(): TypeDescriptor<SetBeneficiaryEvent> {
3382
+ return TYPE.apply();
3383
+ }
3384
+ }
3385
+
2399
3386
  export interface SetBeneficiaryEventInstance
2400
3387
  extends TypedEventInstance<SetBeneficiaryEvent> {
2401
3388
  data_decoded: SetBeneficiaryEvent;
2402
3389
  type_arguments: [];
2403
3390
  }
2404
3391
 
2405
- export class StakingInfo {
2406
- static TYPE_QNAME = "0x1::vesting::StakingInfo";
3392
+ export interface StakingInfo {
2407
3393
  pool_address: Address;
2408
3394
  operator: Address;
2409
3395
  voter: Address;
2410
3396
  commission_percentage: bigint;
2411
3397
  }
2412
3398
 
2413
- export class TerminateEvent {
2414
- static TYPE_QNAME = "0x1::vesting::TerminateEvent";
3399
+ export namespace StakingInfo {
3400
+ export const TYPE_QNAME = "0x1::vesting::StakingInfo";
3401
+
3402
+ const TYPE = new TypeDescriptor<StakingInfo>(StakingInfo.TYPE_QNAME);
3403
+
3404
+ export function type(): TypeDescriptor<StakingInfo> {
3405
+ return TYPE.apply();
3406
+ }
3407
+ }
3408
+
3409
+ export interface TerminateEvent {
2415
3410
  admin: Address;
2416
3411
  vesting_contract_address: Address;
2417
3412
  }
2418
3413
 
3414
+ export namespace TerminateEvent {
3415
+ export const TYPE_QNAME = "0x1::vesting::TerminateEvent";
3416
+
3417
+ const TYPE = new TypeDescriptor<TerminateEvent>(TerminateEvent.TYPE_QNAME);
3418
+
3419
+ export function type(): TypeDescriptor<TerminateEvent> {
3420
+ return TYPE.apply();
3421
+ }
3422
+ }
3423
+
2419
3424
  export interface TerminateEventInstance
2420
3425
  extends TypedEventInstance<TerminateEvent> {
2421
3426
  data_decoded: TerminateEvent;
2422
3427
  type_arguments: [];
2423
3428
  }
2424
3429
 
2425
- export class UnlockRewardsEvent {
2426
- static TYPE_QNAME = "0x1::vesting::UnlockRewardsEvent";
3430
+ export interface UnlockRewardsEvent {
2427
3431
  admin: Address;
2428
3432
  vesting_contract_address: Address;
2429
3433
  staking_pool_address: Address;
2430
3434
  amount: bigint;
2431
3435
  }
2432
3436
 
3437
+ export namespace UnlockRewardsEvent {
3438
+ export const TYPE_QNAME = "0x1::vesting::UnlockRewardsEvent";
3439
+
3440
+ const TYPE = new TypeDescriptor<UnlockRewardsEvent>(
3441
+ UnlockRewardsEvent.TYPE_QNAME
3442
+ );
3443
+
3444
+ export function type(): TypeDescriptor<UnlockRewardsEvent> {
3445
+ return TYPE.apply();
3446
+ }
3447
+ }
3448
+
2433
3449
  export interface UnlockRewardsEventInstance
2434
3450
  extends TypedEventInstance<UnlockRewardsEvent> {
2435
3451
  data_decoded: UnlockRewardsEvent;
2436
3452
  type_arguments: [];
2437
3453
  }
2438
3454
 
2439
- export class UpdateOperatorEvent {
2440
- static TYPE_QNAME = "0x1::vesting::UpdateOperatorEvent";
3455
+ export interface UpdateOperatorEvent {
2441
3456
  admin: Address;
2442
3457
  vesting_contract_address: Address;
2443
3458
  staking_pool_address: Address;
@@ -2446,14 +3461,25 @@ export namespace vesting {
2446
3461
  commission_percentage: bigint;
2447
3462
  }
2448
3463
 
3464
+ export namespace UpdateOperatorEvent {
3465
+ export const TYPE_QNAME = "0x1::vesting::UpdateOperatorEvent";
3466
+
3467
+ const TYPE = new TypeDescriptor<UpdateOperatorEvent>(
3468
+ UpdateOperatorEvent.TYPE_QNAME
3469
+ );
3470
+
3471
+ export function type(): TypeDescriptor<UpdateOperatorEvent> {
3472
+ return TYPE.apply();
3473
+ }
3474
+ }
3475
+
2449
3476
  export interface UpdateOperatorEventInstance
2450
3477
  extends TypedEventInstance<UpdateOperatorEvent> {
2451
3478
  data_decoded: UpdateOperatorEvent;
2452
3479
  type_arguments: [];
2453
3480
  }
2454
3481
 
2455
- export class UpdateVoterEvent {
2456
- static TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
3482
+ export interface UpdateVoterEvent {
2457
3483
  admin: Address;
2458
3484
  vesting_contract_address: Address;
2459
3485
  staking_pool_address: Address;
@@ -2461,14 +3487,25 @@ export namespace vesting {
2461
3487
  new_voter: Address;
2462
3488
  }
2463
3489
 
3490
+ export namespace UpdateVoterEvent {
3491
+ export const TYPE_QNAME = "0x1::vesting::UpdateVoterEvent";
3492
+
3493
+ const TYPE = new TypeDescriptor<UpdateVoterEvent>(
3494
+ UpdateVoterEvent.TYPE_QNAME
3495
+ );
3496
+
3497
+ export function type(): TypeDescriptor<UpdateVoterEvent> {
3498
+ return TYPE.apply();
3499
+ }
3500
+ }
3501
+
2464
3502
  export interface UpdateVoterEventInstance
2465
3503
  extends TypedEventInstance<UpdateVoterEvent> {
2466
3504
  data_decoded: UpdateVoterEvent;
2467
3505
  type_arguments: [];
2468
3506
  }
2469
3507
 
2470
- export class VestEvent {
2471
- static TYPE_QNAME = "0x1::vesting::VestEvent";
3508
+ export interface VestEvent {
2472
3509
  admin: Address;
2473
3510
  vesting_contract_address: Address;
2474
3511
  staking_pool_address: Address;
@@ -2476,18 +3513,38 @@ export namespace vesting {
2476
3513
  amount: bigint;
2477
3514
  }
2478
3515
 
3516
+ export namespace VestEvent {
3517
+ export const TYPE_QNAME = "0x1::vesting::VestEvent";
3518
+
3519
+ const TYPE = new TypeDescriptor<VestEvent>(VestEvent.TYPE_QNAME);
3520
+
3521
+ export function type(): TypeDescriptor<VestEvent> {
3522
+ return TYPE.apply();
3523
+ }
3524
+ }
3525
+
2479
3526
  export interface VestEventInstance extends TypedEventInstance<VestEvent> {
2480
3527
  data_decoded: VestEvent;
2481
3528
  type_arguments: [];
2482
3529
  }
2483
3530
 
2484
- export class VestingAccountManagement {
2485
- static TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
3531
+ export interface VestingAccountManagement {
2486
3532
  roles: simple_map.SimpleMap<string, Address>;
2487
3533
  }
2488
3534
 
2489
- export class VestingContract {
2490
- static TYPE_QNAME = "0x1::vesting::VestingContract";
3535
+ export namespace VestingAccountManagement {
3536
+ export const TYPE_QNAME = "0x1::vesting::VestingAccountManagement";
3537
+
3538
+ const TYPE = new TypeDescriptor<VestingAccountManagement>(
3539
+ VestingAccountManagement.TYPE_QNAME
3540
+ );
3541
+
3542
+ export function type(): TypeDescriptor<VestingAccountManagement> {
3543
+ return TYPE.apply();
3544
+ }
3545
+ }
3546
+
3547
+ export interface VestingContract {
2491
3548
  state: bigint;
2492
3549
  admin: Address;
2493
3550
  grant_pool: pool_u64.Pool;
@@ -2508,14 +3565,37 @@ export namespace vesting {
2508
3565
  admin_withdraw_events: event.EventHandle<vesting.AdminWithdrawEvent>;
2509
3566
  }
2510
3567
 
2511
- export class VestingSchedule {
2512
- static TYPE_QNAME = "0x1::vesting::VestingSchedule";
3568
+ export namespace VestingContract {
3569
+ export const TYPE_QNAME = "0x1::vesting::VestingContract";
3570
+
3571
+ const TYPE = new TypeDescriptor<VestingContract>(
3572
+ VestingContract.TYPE_QNAME
3573
+ );
3574
+
3575
+ export function type(): TypeDescriptor<VestingContract> {
3576
+ return TYPE.apply();
3577
+ }
3578
+ }
3579
+
3580
+ export interface VestingSchedule {
2513
3581
  schedule: fixed_point32.FixedPoint32[];
2514
3582
  start_timestamp_secs: bigint;
2515
3583
  period_duration: bigint;
2516
3584
  last_vested_period: bigint;
2517
3585
  }
2518
3586
 
3587
+ export namespace VestingSchedule {
3588
+ export const TYPE_QNAME = "0x1::vesting::VestingSchedule";
3589
+
3590
+ const TYPE = new TypeDescriptor<VestingSchedule>(
3591
+ VestingSchedule.TYPE_QNAME
3592
+ );
3593
+
3594
+ export function type(): TypeDescriptor<VestingSchedule> {
3595
+ return TYPE.apply();
3596
+ }
3597
+ }
3598
+
2519
3599
  export interface AdminWithdrawPayload
2520
3600
  extends TypedFunctionPayload<[Address]> {
2521
3601
  arguments_decoded: [Address];
@@ -2598,68 +3678,147 @@ export namespace vesting {
2598
3678
  type_arguments: [];
2599
3679
  }
2600
3680
 
2601
- export interface VestPayload extends TypedFunctionPayload<[Address]> {
2602
- arguments_decoded: [Address];
2603
- type_arguments: [];
3681
+ export interface VestPayload extends TypedFunctionPayload<[Address]> {
3682
+ arguments_decoded: [Address];
3683
+ type_arguments: [];
3684
+ }
3685
+
3686
+ export interface VestManyPayload extends TypedFunctionPayload<[Address[]]> {
3687
+ arguments_decoded: [Address[]];
3688
+ type_arguments: [];
3689
+ }
3690
+ }
3691
+
3692
+ export namespace bls12381 {
3693
+ export interface AggrOrMultiSignature {
3694
+ bytes: string;
3695
+ }
3696
+
3697
+ export namespace AggrOrMultiSignature {
3698
+ export const TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
3699
+
3700
+ const TYPE = new TypeDescriptor<AggrOrMultiSignature>(
3701
+ AggrOrMultiSignature.TYPE_QNAME
3702
+ );
3703
+
3704
+ export function type(): TypeDescriptor<AggrOrMultiSignature> {
3705
+ return TYPE.apply();
3706
+ }
3707
+ }
3708
+
3709
+ export interface AggrPublicKeysWithPoP {
3710
+ bytes: string;
3711
+ }
3712
+
3713
+ export namespace AggrPublicKeysWithPoP {
3714
+ export const TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
3715
+
3716
+ const TYPE = new TypeDescriptor<AggrPublicKeysWithPoP>(
3717
+ AggrPublicKeysWithPoP.TYPE_QNAME
3718
+ );
3719
+
3720
+ export function type(): TypeDescriptor<AggrPublicKeysWithPoP> {
3721
+ return TYPE.apply();
3722
+ }
3723
+ }
3724
+
3725
+ export interface ProofOfPossession {
3726
+ bytes: string;
2604
3727
  }
2605
3728
 
2606
- export interface VestManyPayload extends TypedFunctionPayload<[Address[]]> {
2607
- arguments_decoded: [Address[]];
2608
- type_arguments: [];
3729
+ export namespace ProofOfPossession {
3730
+ export const TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
3731
+
3732
+ const TYPE = new TypeDescriptor<ProofOfPossession>(
3733
+ ProofOfPossession.TYPE_QNAME
3734
+ );
3735
+
3736
+ export function type(): TypeDescriptor<ProofOfPossession> {
3737
+ return TYPE.apply();
3738
+ }
2609
3739
  }
2610
- }
2611
3740
 
2612
- export namespace bls12381 {
2613
- export class AggrOrMultiSignature {
2614
- static TYPE_QNAME = "0x1::bls12381::AggrOrMultiSignature";
3741
+ export interface PublicKey {
2615
3742
  bytes: string;
2616
3743
  }
2617
3744
 
2618
- export class AggrPublicKeysWithPoP {
2619
- static TYPE_QNAME = "0x1::bls12381::AggrPublicKeysWithPoP";
2620
- bytes: string;
3745
+ export namespace PublicKey {
3746
+ export const TYPE_QNAME = "0x1::bls12381::PublicKey";
3747
+
3748
+ const TYPE = new TypeDescriptor<PublicKey>(PublicKey.TYPE_QNAME);
3749
+
3750
+ export function type(): TypeDescriptor<PublicKey> {
3751
+ return TYPE.apply();
3752
+ }
2621
3753
  }
2622
3754
 
2623
- export class ProofOfPossession {
2624
- static TYPE_QNAME = "0x1::bls12381::ProofOfPossession";
3755
+ export interface PublicKeyWithPoP {
2625
3756
  bytes: string;
2626
3757
  }
2627
3758
 
2628
- export class PublicKey {
2629
- static TYPE_QNAME = "0x1::bls12381::PublicKey";
2630
- bytes: string;
3759
+ export namespace PublicKeyWithPoP {
3760
+ export const TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
3761
+
3762
+ const TYPE = new TypeDescriptor<PublicKeyWithPoP>(
3763
+ PublicKeyWithPoP.TYPE_QNAME
3764
+ );
3765
+
3766
+ export function type(): TypeDescriptor<PublicKeyWithPoP> {
3767
+ return TYPE.apply();
3768
+ }
2631
3769
  }
2632
3770
 
2633
- export class PublicKeyWithPoP {
2634
- static TYPE_QNAME = "0x1::bls12381::PublicKeyWithPoP";
3771
+ export interface Signature {
2635
3772
  bytes: string;
2636
3773
  }
2637
3774
 
2638
- export class Signature {
2639
- static TYPE_QNAME = "0x1::bls12381::Signature";
2640
- bytes: string;
3775
+ export namespace Signature {
3776
+ export const TYPE_QNAME = "0x1::bls12381::Signature";
3777
+
3778
+ const TYPE = new TypeDescriptor<Signature>(Signature.TYPE_QNAME);
3779
+
3780
+ export function type(): TypeDescriptor<Signature> {
3781
+ return TYPE.apply();
3782
+ }
2641
3783
  }
2642
3784
  }
2643
3785
 
2644
3786
  export namespace chain_id {
2645
- export class ChainId {
2646
- static TYPE_QNAME = "0x1::chain_id::ChainId";
3787
+ export interface ChainId {
2647
3788
  id: number;
2648
3789
  }
3790
+
3791
+ export namespace ChainId {
3792
+ export const TYPE_QNAME = "0x1::chain_id::ChainId";
3793
+
3794
+ const TYPE = new TypeDescriptor<ChainId>(ChainId.TYPE_QNAME);
3795
+
3796
+ export function type(): TypeDescriptor<ChainId> {
3797
+ return TYPE.apply();
3798
+ }
3799
+ }
2649
3800
  }
2650
3801
 
2651
3802
  export namespace features {
2652
- export class Features {
2653
- static TYPE_QNAME = "0x1::features::Features";
3803
+ export interface Features {
2654
3804
  features: string;
2655
3805
  }
3806
+
3807
+ export namespace Features {
3808
+ export const TYPE_QNAME = "0x1::features::Features";
3809
+
3810
+ const TYPE = new TypeDescriptor<Features>(Features.TYPE_QNAME);
3811
+
3812
+ export function type(): TypeDescriptor<Features> {
3813
+ return TYPE.apply();
3814
+ }
3815
+ }
2656
3816
  }
2657
3817
 
2658
3818
  export namespace from_bcs {}
2659
3819
 
2660
3820
  export namespace pool_u64 {
2661
- export class Pool {
2662
- static TYPE_QNAME = "0x1::pool_u64::Pool";
3821
+ export interface Pool {
2663
3822
  shareholders_limit: bigint;
2664
3823
  total_coins: bigint;
2665
3824
  total_shares: bigint;
@@ -2667,43 +3826,102 @@ export namespace pool_u64 {
2667
3826
  shareholders: Address[];
2668
3827
  scaling_factor: bigint;
2669
3828
  }
3829
+
3830
+ export namespace Pool {
3831
+ export const TYPE_QNAME = "0x1::pool_u64::Pool";
3832
+
3833
+ const TYPE = new TypeDescriptor<Pool>(Pool.TYPE_QNAME);
3834
+
3835
+ export function type(): TypeDescriptor<Pool> {
3836
+ return TYPE.apply();
3837
+ }
3838
+ }
2670
3839
  }
2671
3840
 
2672
3841
  export namespace secp256k1 {
2673
- export class ECDSARawPublicKey {
2674
- static TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
3842
+ export interface ECDSARawPublicKey {
2675
3843
  bytes: string;
2676
3844
  }
2677
3845
 
2678
- export class ECDSASignature {
2679
- static TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
3846
+ export namespace ECDSARawPublicKey {
3847
+ export const TYPE_QNAME = "0x1::secp256k1::ECDSARawPublicKey";
3848
+
3849
+ const TYPE = new TypeDescriptor<ECDSARawPublicKey>(
3850
+ ECDSARawPublicKey.TYPE_QNAME
3851
+ );
3852
+
3853
+ export function type(): TypeDescriptor<ECDSARawPublicKey> {
3854
+ return TYPE.apply();
3855
+ }
3856
+ }
3857
+
3858
+ export interface ECDSASignature {
2680
3859
  bytes: string;
2681
3860
  }
3861
+
3862
+ export namespace ECDSASignature {
3863
+ export const TYPE_QNAME = "0x1::secp256k1::ECDSASignature";
3864
+
3865
+ const TYPE = new TypeDescriptor<ECDSASignature>(ECDSASignature.TYPE_QNAME);
3866
+
3867
+ export function type(): TypeDescriptor<ECDSASignature> {
3868
+ return TYPE.apply();
3869
+ }
3870
+ }
2682
3871
  }
2683
3872
 
2684
3873
  export namespace timestamp {
2685
- export class CurrentTimeMicroseconds {
2686
- static TYPE_QNAME = "0x1::timestamp::CurrentTimeMicroseconds";
3874
+ export interface CurrentTimeMicroseconds {
2687
3875
  microseconds: bigint;
2688
3876
  }
3877
+
3878
+ export namespace CurrentTimeMicroseconds {
3879
+ export const TYPE_QNAME = "0x1::timestamp::CurrentTimeMicroseconds";
3880
+
3881
+ const TYPE = new TypeDescriptor<CurrentTimeMicroseconds>(
3882
+ CurrentTimeMicroseconds.TYPE_QNAME
3883
+ );
3884
+
3885
+ export function type(): TypeDescriptor<CurrentTimeMicroseconds> {
3886
+ return TYPE.apply();
3887
+ }
3888
+ }
2689
3889
  }
2690
3890
 
2691
3891
  export namespace type_info {
2692
- export class TypeInfo {
2693
- static TYPE_QNAME = "0x1::type_info::TypeInfo";
3892
+ export interface TypeInfo {
2694
3893
  account_address: Address;
2695
3894
  module_name: string;
2696
3895
  struct_name: string;
2697
3896
  }
3897
+
3898
+ export namespace TypeInfo {
3899
+ export const TYPE_QNAME = "0x1::type_info::TypeInfo";
3900
+
3901
+ const TYPE = new TypeDescriptor<TypeInfo>(TypeInfo.TYPE_QNAME);
3902
+
3903
+ export function type(): TypeDescriptor<TypeInfo> {
3904
+ return TYPE.apply();
3905
+ }
3906
+ }
2698
3907
  }
2699
3908
 
2700
3909
  export namespace aggregator {
2701
- export class Aggregator {
2702
- static TYPE_QNAME = "0x1::aggregator::Aggregator";
3910
+ export interface Aggregator {
2703
3911
  handle: Address;
2704
3912
  key: Address;
2705
3913
  limit: bigint;
2706
3914
  }
3915
+
3916
+ export namespace Aggregator {
3917
+ export const TYPE_QNAME = "0x1::aggregator::Aggregator";
3918
+
3919
+ const TYPE = new TypeDescriptor<Aggregator>(Aggregator.TYPE_QNAME);
3920
+
3921
+ export function type(): TypeDescriptor<Aggregator> {
3922
+ return TYPE.apply();
3923
+ }
3924
+ }
2707
3925
  }
2708
3926
 
2709
3927
  export class aptos_coin extends AptosBaseProcessor {
@@ -2775,26 +3993,64 @@ export class aptos_coin extends AptosBaseProcessor {
2775
3993
  }
2776
3994
 
2777
3995
  export namespace aptos_coin {
2778
- export class AptosCoin {
2779
- static TYPE_QNAME = "0x1::aptos_coin::AptosCoin";
3996
+ export interface AptosCoin {
2780
3997
  dummy_field: Boolean;
2781
3998
  }
2782
3999
 
2783
- export class DelegatedMintCapability {
2784
- static TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
4000
+ export namespace AptosCoin {
4001
+ export const TYPE_QNAME = "0x1::aptos_coin::AptosCoin";
4002
+
4003
+ const TYPE = new TypeDescriptor<AptosCoin>(AptosCoin.TYPE_QNAME);
4004
+
4005
+ export function type(): TypeDescriptor<AptosCoin> {
4006
+ return TYPE.apply();
4007
+ }
4008
+ }
4009
+
4010
+ export interface DelegatedMintCapability {
2785
4011
  to: Address;
2786
4012
  }
2787
4013
 
2788
- export class Delegations {
2789
- static TYPE_QNAME = "0x1::aptos_coin::Delegations";
4014
+ export namespace DelegatedMintCapability {
4015
+ export const TYPE_QNAME = "0x1::aptos_coin::DelegatedMintCapability";
4016
+
4017
+ const TYPE = new TypeDescriptor<DelegatedMintCapability>(
4018
+ DelegatedMintCapability.TYPE_QNAME
4019
+ );
4020
+
4021
+ export function type(): TypeDescriptor<DelegatedMintCapability> {
4022
+ return TYPE.apply();
4023
+ }
4024
+ }
4025
+
4026
+ export interface Delegations {
2790
4027
  inner: aptos_coin.DelegatedMintCapability[];
2791
4028
  }
2792
4029
 
2793
- export class MintCapStore {
2794
- static TYPE_QNAME = "0x1::aptos_coin::MintCapStore";
4030
+ export namespace Delegations {
4031
+ export const TYPE_QNAME = "0x1::aptos_coin::Delegations";
4032
+
4033
+ const TYPE = new TypeDescriptor<Delegations>(Delegations.TYPE_QNAME);
4034
+
4035
+ export function type(): TypeDescriptor<Delegations> {
4036
+ return TYPE.apply();
4037
+ }
4038
+ }
4039
+
4040
+ export interface MintCapStore {
2795
4041
  mint_cap: coin.MintCapability<aptos_coin.AptosCoin>;
2796
4042
  }
2797
4043
 
4044
+ export namespace MintCapStore {
4045
+ export const TYPE_QNAME = "0x1::aptos_coin::MintCapStore";
4046
+
4047
+ const TYPE = new TypeDescriptor<MintCapStore>(MintCapStore.TYPE_QNAME);
4048
+
4049
+ export function type(): TypeDescriptor<MintCapStore> {
4050
+ return TYPE.apply();
4051
+ }
4052
+ }
4053
+
2798
4054
  export interface ClaimMintCapabilityPayload extends TypedFunctionPayload<[]> {
2799
4055
  arguments_decoded: [];
2800
4056
  type_arguments: [];
@@ -2815,76 +4071,186 @@ export namespace aptos_coin {
2815
4071
  export namespace aptos_hash {}
2816
4072
 
2817
4073
  export namespace big_vector {
2818
- export class BigVector<T0> {
2819
- static TYPE_QNAME = "0x1::big_vector::BigVector";
4074
+ export interface BigVector<T0> {
2820
4075
  buckets: table_with_length.TableWithLength<bigint, T0[] | string>;
2821
4076
  end_index: bigint;
2822
4077
  bucket_size: bigint;
2823
4078
  }
4079
+
4080
+ export namespace BigVector {
4081
+ export const TYPE_QNAME = "0x1::big_vector::BigVector";
4082
+
4083
+ const TYPE = new TypeDescriptor<BigVector<any>>(BigVector.TYPE_QNAME);
4084
+
4085
+ export function type<T0>(
4086
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4087
+ ): TypeDescriptor<BigVector<T0>> {
4088
+ return TYPE.apply(arg0);
4089
+ }
4090
+ }
2824
4091
  }
2825
4092
 
2826
4093
  export namespace bit_vector {
2827
- export class BitVector {
2828
- static TYPE_QNAME = "0x1::bit_vector::BitVector";
4094
+ export interface BitVector {
2829
4095
  length: bigint;
2830
4096
  bit_field: Boolean[];
2831
4097
  }
4098
+
4099
+ export namespace BitVector {
4100
+ export const TYPE_QNAME = "0x1::bit_vector::BitVector";
4101
+
4102
+ const TYPE = new TypeDescriptor<BitVector>(BitVector.TYPE_QNAME);
4103
+
4104
+ export function type(): TypeDescriptor<BitVector> {
4105
+ return TYPE.apply();
4106
+ }
4107
+ }
2832
4108
  }
2833
4109
 
2834
4110
  export namespace capability {
2835
- export class Cap<T0> {
2836
- static TYPE_QNAME = "0x1::capability::Cap";
4111
+ export interface Cap<T0> {
2837
4112
  root: Address;
2838
4113
  }
2839
4114
 
2840
- export class CapDelegateState<T0> {
2841
- static TYPE_QNAME = "0x1::capability::CapDelegateState";
4115
+ export namespace Cap {
4116
+ export const TYPE_QNAME = "0x1::capability::Cap";
4117
+
4118
+ const TYPE = new TypeDescriptor<Cap<any>>(Cap.TYPE_QNAME);
4119
+
4120
+ export function type<T0>(
4121
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4122
+ ): TypeDescriptor<Cap<T0>> {
4123
+ return TYPE.apply(arg0);
4124
+ }
4125
+ }
4126
+
4127
+ export interface CapDelegateState<T0> {
2842
4128
  root: Address;
2843
4129
  }
2844
4130
 
2845
- export class CapState<T0> {
2846
- static TYPE_QNAME = "0x1::capability::CapState";
4131
+ export namespace CapDelegateState {
4132
+ export const TYPE_QNAME = "0x1::capability::CapDelegateState";
4133
+
4134
+ const TYPE = new TypeDescriptor<CapDelegateState<any>>(
4135
+ CapDelegateState.TYPE_QNAME
4136
+ );
4137
+
4138
+ export function type<T0>(
4139
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4140
+ ): TypeDescriptor<CapDelegateState<T0>> {
4141
+ return TYPE.apply(arg0);
4142
+ }
4143
+ }
4144
+
4145
+ export interface CapState<T0> {
2847
4146
  delegates: Address[];
2848
4147
  }
2849
4148
 
2850
- export class LinearCap<T0> {
2851
- static TYPE_QNAME = "0x1::capability::LinearCap";
4149
+ export namespace CapState {
4150
+ export const TYPE_QNAME = "0x1::capability::CapState";
4151
+
4152
+ const TYPE = new TypeDescriptor<CapState<any>>(CapState.TYPE_QNAME);
4153
+
4154
+ export function type<T0>(
4155
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4156
+ ): TypeDescriptor<CapState<T0>> {
4157
+ return TYPE.apply(arg0);
4158
+ }
4159
+ }
4160
+
4161
+ export interface LinearCap<T0> {
2852
4162
  root: Address;
2853
4163
  }
4164
+
4165
+ export namespace LinearCap {
4166
+ export const TYPE_QNAME = "0x1::capability::LinearCap";
4167
+
4168
+ const TYPE = new TypeDescriptor<LinearCap<any>>(LinearCap.TYPE_QNAME);
4169
+
4170
+ export function type<T0>(
4171
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4172
+ ): TypeDescriptor<LinearCap<T0>> {
4173
+ return TYPE.apply(arg0);
4174
+ }
4175
+ }
2854
4176
  }
2855
4177
 
2856
4178
  export namespace comparator {
2857
- export class Result {
2858
- static TYPE_QNAME = "0x1::comparator::Result";
4179
+ export interface Result {
2859
4180
  inner: number;
2860
4181
  }
4182
+
4183
+ export namespace Result {
4184
+ export const TYPE_QNAME = "0x1::comparator::Result";
4185
+
4186
+ const TYPE = new TypeDescriptor<Result>(Result.TYPE_QNAME);
4187
+
4188
+ export function type(): TypeDescriptor<Result> {
4189
+ return TYPE.apply();
4190
+ }
4191
+ }
2861
4192
  }
2862
4193
 
2863
4194
  export namespace math_fixed {}
2864
4195
 
2865
4196
  export namespace simple_map {
2866
- export class Element<T0, T1> {
2867
- static TYPE_QNAME = "0x1::simple_map::Element";
4197
+ export interface Element<T0, T1> {
2868
4198
  key: T0;
2869
4199
  value: T1;
2870
4200
  }
2871
4201
 
2872
- export class SimpleMap<T0, T1> {
2873
- static TYPE_QNAME = "0x1::simple_map::SimpleMap";
4202
+ export namespace Element {
4203
+ export const TYPE_QNAME = "0x1::simple_map::Element";
4204
+
4205
+ const TYPE = new TypeDescriptor<Element<any, any>>(Element.TYPE_QNAME);
4206
+
4207
+ export function type<T0, T1>(
4208
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
4209
+ arg1: TypeDescriptor<T1> = ANY_TYPE
4210
+ ): TypeDescriptor<Element<T0, T1>> {
4211
+ return TYPE.apply(arg0, arg1);
4212
+ }
4213
+ }
4214
+
4215
+ export interface SimpleMap<T0, T1> {
2874
4216
  data: simple_map.Element<T0, T1>[];
2875
4217
  }
4218
+
4219
+ export namespace SimpleMap {
4220
+ export const TYPE_QNAME = "0x1::simple_map::SimpleMap";
4221
+
4222
+ const TYPE = new TypeDescriptor<SimpleMap<any, any>>(SimpleMap.TYPE_QNAME);
4223
+
4224
+ export function type<T0, T1>(
4225
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
4226
+ arg1: TypeDescriptor<T1> = ANY_TYPE
4227
+ ): TypeDescriptor<SimpleMap<T0, T1>> {
4228
+ return TYPE.apply(arg0, arg1);
4229
+ }
4230
+ }
2876
4231
  }
2877
4232
 
2878
4233
  export namespace smart_table {
2879
- export class Entry<T0, T1> {
2880
- static TYPE_QNAME = "0x1::smart_table::Entry";
4234
+ export interface Entry<T0, T1> {
2881
4235
  hash: bigint;
2882
4236
  key: T0;
2883
4237
  value: T1;
2884
4238
  }
2885
4239
 
2886
- export class SmartTable<T0, T1> {
2887
- static TYPE_QNAME = "0x1::smart_table::SmartTable";
4240
+ export namespace Entry {
4241
+ export const TYPE_QNAME = "0x1::smart_table::Entry";
4242
+
4243
+ const TYPE = new TypeDescriptor<Entry<any, any>>(Entry.TYPE_QNAME);
4244
+
4245
+ export function type<T0, T1>(
4246
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
4247
+ arg1: TypeDescriptor<T1> = ANY_TYPE
4248
+ ): TypeDescriptor<Entry<T0, T1>> {
4249
+ return TYPE.apply(arg0, arg1);
4250
+ }
4251
+ }
4252
+
4253
+ export interface SmartTable<T0, T1> {
2888
4254
  buckets: table_with_length.TableWithLength<
2889
4255
  bigint,
2890
4256
  smart_table.Entry<T0, T1>[]
@@ -2895,24 +4261,56 @@ export namespace smart_table {
2895
4261
  split_load_threshold: number;
2896
4262
  target_bucket_size: bigint;
2897
4263
  }
4264
+
4265
+ export namespace SmartTable {
4266
+ export const TYPE_QNAME = "0x1::smart_table::SmartTable";
4267
+
4268
+ const TYPE = new TypeDescriptor<SmartTable<any, any>>(
4269
+ SmartTable.TYPE_QNAME
4270
+ );
4271
+
4272
+ export function type<T0, T1>(
4273
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
4274
+ arg1: TypeDescriptor<T1> = ANY_TYPE
4275
+ ): TypeDescriptor<SmartTable<T0, T1>> {
4276
+ return TYPE.apply(arg0, arg1);
4277
+ }
4278
+ }
2898
4279
  }
2899
4280
 
2900
4281
  export namespace storage_gas {
2901
- export class GasCurve {
2902
- static TYPE_QNAME = "0x1::storage_gas::GasCurve";
4282
+ export interface GasCurve {
2903
4283
  min_gas: bigint;
2904
4284
  max_gas: bigint;
2905
4285
  points: storage_gas.Point[];
2906
4286
  }
2907
4287
 
2908
- export class Point {
2909
- static TYPE_QNAME = "0x1::storage_gas::Point";
4288
+ export namespace GasCurve {
4289
+ export const TYPE_QNAME = "0x1::storage_gas::GasCurve";
4290
+
4291
+ const TYPE = new TypeDescriptor<GasCurve>(GasCurve.TYPE_QNAME);
4292
+
4293
+ export function type(): TypeDescriptor<GasCurve> {
4294
+ return TYPE.apply();
4295
+ }
4296
+ }
4297
+
4298
+ export interface Point {
2910
4299
  x: bigint;
2911
4300
  y: bigint;
2912
4301
  }
2913
4302
 
2914
- export class StorageGas {
2915
- static TYPE_QNAME = "0x1::storage_gas::StorageGas";
4303
+ export namespace Point {
4304
+ export const TYPE_QNAME = "0x1::storage_gas::Point";
4305
+
4306
+ const TYPE = new TypeDescriptor<Point>(Point.TYPE_QNAME);
4307
+
4308
+ export function type(): TypeDescriptor<Point> {
4309
+ return TYPE.apply();
4310
+ }
4311
+ }
4312
+
4313
+ export interface StorageGas {
2916
4314
  per_item_read: bigint;
2917
4315
  per_item_create: bigint;
2918
4316
  per_item_write: bigint;
@@ -2921,53 +4319,130 @@ export namespace storage_gas {
2921
4319
  per_byte_write: bigint;
2922
4320
  }
2923
4321
 
2924
- export class StorageGasConfig {
2925
- static TYPE_QNAME = "0x1::storage_gas::StorageGasConfig";
4322
+ export namespace StorageGas {
4323
+ export const TYPE_QNAME = "0x1::storage_gas::StorageGas";
4324
+
4325
+ const TYPE = new TypeDescriptor<StorageGas>(StorageGas.TYPE_QNAME);
4326
+
4327
+ export function type(): TypeDescriptor<StorageGas> {
4328
+ return TYPE.apply();
4329
+ }
4330
+ }
4331
+
4332
+ export interface StorageGasConfig {
2926
4333
  item_config: storage_gas.UsageGasConfig;
2927
4334
  byte_config: storage_gas.UsageGasConfig;
2928
4335
  }
2929
4336
 
2930
- export class UsageGasConfig {
2931
- static TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
4337
+ export namespace StorageGasConfig {
4338
+ export const TYPE_QNAME = "0x1::storage_gas::StorageGasConfig";
4339
+
4340
+ const TYPE = new TypeDescriptor<StorageGasConfig>(
4341
+ StorageGasConfig.TYPE_QNAME
4342
+ );
4343
+
4344
+ export function type(): TypeDescriptor<StorageGasConfig> {
4345
+ return TYPE.apply();
4346
+ }
4347
+ }
4348
+
4349
+ export interface UsageGasConfig {
2932
4350
  target_usage: bigint;
2933
4351
  read_curve: storage_gas.GasCurve;
2934
4352
  create_curve: storage_gas.GasCurve;
2935
4353
  write_curve: storage_gas.GasCurve;
2936
4354
  }
4355
+
4356
+ export namespace UsageGasConfig {
4357
+ export const TYPE_QNAME = "0x1::storage_gas::UsageGasConfig";
4358
+
4359
+ const TYPE = new TypeDescriptor<UsageGasConfig>(UsageGasConfig.TYPE_QNAME);
4360
+
4361
+ export function type(): TypeDescriptor<UsageGasConfig> {
4362
+ return TYPE.apply();
4363
+ }
4364
+ }
2937
4365
  }
2938
4366
 
2939
4367
  export namespace chain_status {
2940
- export class GenesisEndMarker {
2941
- static TYPE_QNAME = "0x1::chain_status::GenesisEndMarker";
4368
+ export interface GenesisEndMarker {
2942
4369
  dummy_field: Boolean;
2943
4370
  }
4371
+
4372
+ export namespace GenesisEndMarker {
4373
+ export const TYPE_QNAME = "0x1::chain_status::GenesisEndMarker";
4374
+
4375
+ const TYPE = new TypeDescriptor<GenesisEndMarker>(
4376
+ GenesisEndMarker.TYPE_QNAME
4377
+ );
4378
+
4379
+ export function type(): TypeDescriptor<GenesisEndMarker> {
4380
+ return TYPE.apply();
4381
+ }
4382
+ }
2944
4383
  }
2945
4384
 
2946
4385
  export namespace copyable_any {
2947
- export class Any {
2948
- static TYPE_QNAME = "0x1::copyable_any::Any";
4386
+ export interface Any {
2949
4387
  type_name: string;
2950
4388
  data: string;
2951
4389
  }
4390
+
4391
+ export namespace Any {
4392
+ export const TYPE_QNAME = "0x1::copyable_any::Any";
4393
+
4394
+ const TYPE = new TypeDescriptor<Any>(Any.TYPE_QNAME);
4395
+
4396
+ export function type(): TypeDescriptor<Any> {
4397
+ return TYPE.apply();
4398
+ }
4399
+ }
2952
4400
  }
2953
4401
 
2954
4402
  export namespace gas_schedule {
2955
- export class GasEntry {
2956
- static TYPE_QNAME = "0x1::gas_schedule::GasEntry";
4403
+ export interface GasEntry {
2957
4404
  key: string;
2958
4405
  val: bigint;
2959
4406
  }
2960
4407
 
2961
- export class GasSchedule {
2962
- static TYPE_QNAME = "0x1::gas_schedule::GasSchedule";
4408
+ export namespace GasEntry {
4409
+ export const TYPE_QNAME = "0x1::gas_schedule::GasEntry";
4410
+
4411
+ const TYPE = new TypeDescriptor<GasEntry>(GasEntry.TYPE_QNAME);
4412
+
4413
+ export function type(): TypeDescriptor<GasEntry> {
4414
+ return TYPE.apply();
4415
+ }
4416
+ }
4417
+
4418
+ export interface GasSchedule {
2963
4419
  entries: gas_schedule.GasEntry[];
2964
4420
  }
2965
4421
 
2966
- export class GasScheduleV2 {
2967
- static TYPE_QNAME = "0x1::gas_schedule::GasScheduleV2";
4422
+ export namespace GasSchedule {
4423
+ export const TYPE_QNAME = "0x1::gas_schedule::GasSchedule";
4424
+
4425
+ const TYPE = new TypeDescriptor<GasSchedule>(GasSchedule.TYPE_QNAME);
4426
+
4427
+ export function type(): TypeDescriptor<GasSchedule> {
4428
+ return TYPE.apply();
4429
+ }
4430
+ }
4431
+
4432
+ export interface GasScheduleV2 {
2968
4433
  feature_version: bigint;
2969
4434
  entries: gas_schedule.GasEntry[];
2970
4435
  }
4436
+
4437
+ export namespace GasScheduleV2 {
4438
+ export const TYPE_QNAME = "0x1::gas_schedule::GasScheduleV2";
4439
+
4440
+ const TYPE = new TypeDescriptor<GasScheduleV2>(GasScheduleV2.TYPE_QNAME);
4441
+
4442
+ export function type(): TypeDescriptor<GasScheduleV2> {
4443
+ return TYPE.apply();
4444
+ }
4445
+ }
2971
4446
  }
2972
4447
 
2973
4448
  export class managed_coin extends AptosBaseProcessor {
@@ -3049,13 +4524,24 @@ export class managed_coin extends AptosBaseProcessor {
3049
4524
  }
3050
4525
 
3051
4526
  export namespace managed_coin {
3052
- export class Capabilities<T0> {
3053
- static TYPE_QNAME = "0x1::managed_coin::Capabilities";
4527
+ export interface Capabilities<T0> {
3054
4528
  burn_cap: coin.BurnCapability<T0>;
3055
4529
  freeze_cap: coin.FreezeCapability<T0>;
3056
4530
  mint_cap: coin.MintCapability<T0>;
3057
4531
  }
3058
4532
 
4533
+ export namespace Capabilities {
4534
+ export const TYPE_QNAME = "0x1::managed_coin::Capabilities";
4535
+
4536
+ const TYPE = new TypeDescriptor<Capabilities<any>>(Capabilities.TYPE_QNAME);
4537
+
4538
+ export function type<T0>(
4539
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4540
+ ): TypeDescriptor<Capabilities<T0>> {
4541
+ return TYPE.apply(arg0);
4542
+ }
4543
+ }
4544
+
3059
4545
  export interface BurnPayload<T0 = any>
3060
4546
  extends TypedFunctionPayload<[bigint]> {
3061
4547
  arguments_decoded: [bigint];
@@ -3081,30 +4567,70 @@ export namespace managed_coin {
3081
4567
  }
3082
4568
 
3083
4569
  export namespace ristretto255 {
3084
- export class CompressedRistretto {
3085
- static TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
4570
+ export interface CompressedRistretto {
3086
4571
  data: string;
3087
4572
  }
3088
4573
 
3089
- export class RistrettoPoint {
3090
- static TYPE_QNAME = "0x1::ristretto255::RistrettoPoint";
4574
+ export namespace CompressedRistretto {
4575
+ export const TYPE_QNAME = "0x1::ristretto255::CompressedRistretto";
4576
+
4577
+ const TYPE = new TypeDescriptor<CompressedRistretto>(
4578
+ CompressedRistretto.TYPE_QNAME
4579
+ );
4580
+
4581
+ export function type(): TypeDescriptor<CompressedRistretto> {
4582
+ return TYPE.apply();
4583
+ }
4584
+ }
4585
+
4586
+ export interface RistrettoPoint {
3091
4587
  handle: bigint;
3092
4588
  }
3093
4589
 
3094
- export class Scalar {
3095
- static TYPE_QNAME = "0x1::ristretto255::Scalar";
4590
+ export namespace RistrettoPoint {
4591
+ export const TYPE_QNAME = "0x1::ristretto255::RistrettoPoint";
4592
+
4593
+ const TYPE = new TypeDescriptor<RistrettoPoint>(RistrettoPoint.TYPE_QNAME);
4594
+
4595
+ export function type(): TypeDescriptor<RistrettoPoint> {
4596
+ return TYPE.apply();
4597
+ }
4598
+ }
4599
+
4600
+ export interface Scalar {
3096
4601
  data: string;
3097
4602
  }
4603
+
4604
+ export namespace Scalar {
4605
+ export const TYPE_QNAME = "0x1::ristretto255::Scalar";
4606
+
4607
+ const TYPE = new TypeDescriptor<Scalar>(Scalar.TYPE_QNAME);
4608
+
4609
+ export function type(): TypeDescriptor<Scalar> {
4610
+ return TYPE.apply();
4611
+ }
4612
+ }
3098
4613
  }
3099
4614
 
3100
4615
  export namespace smart_vector {
3101
- export class SmartVector<T0> {
3102
- static TYPE_QNAME = "0x1::smart_vector::SmartVector";
4616
+ export interface SmartVector<T0> {
3103
4617
  inline_vec: T0[] | string;
3104
4618
  big_vec: big_vector.BigVector<T0>[];
3105
4619
  inline_capacity: option.Option<bigint>;
3106
4620
  bucket_size: option.Option<bigint>;
3107
4621
  }
4622
+
4623
+ export namespace SmartVector {
4624
+ export const TYPE_QNAME = "0x1::smart_vector::SmartVector";
4625
+
4626
+ const TYPE = new TypeDescriptor<SmartVector<any>>(SmartVector.TYPE_QNAME);
4627
+
4628
+ export function type<T0>(
4629
+ arg0: TypeDescriptor<T0> = ANY_TYPE
4630
+ ): TypeDescriptor<SmartVector<T0>> {
4631
+ return TYPE.apply(arg0);
4632
+ }
4633
+ }
3108
4634
  }
3109
4635
 
3110
4636
  export class aptos_account extends AptosBaseProcessor {
@@ -3241,24 +4767,46 @@ export class aptos_account extends AptosBaseProcessor {
3241
4767
  }
3242
4768
 
3243
4769
  export namespace aptos_account {
3244
- export class DirectCoinTransferConfigUpdatedEvent {
3245
- static TYPE_QNAME =
3246
- "0x1::aptos_account::DirectCoinTransferConfigUpdatedEvent";
4770
+ export interface DirectCoinTransferConfigUpdatedEvent {
3247
4771
  new_allow_direct_transfers: Boolean;
3248
4772
  }
3249
4773
 
4774
+ export namespace DirectCoinTransferConfigUpdatedEvent {
4775
+ export const TYPE_QNAME =
4776
+ "0x1::aptos_account::DirectCoinTransferConfigUpdatedEvent";
4777
+
4778
+ const TYPE = new TypeDescriptor<DirectCoinTransferConfigUpdatedEvent>(
4779
+ DirectCoinTransferConfigUpdatedEvent.TYPE_QNAME
4780
+ );
4781
+
4782
+ export function type(): TypeDescriptor<DirectCoinTransferConfigUpdatedEvent> {
4783
+ return TYPE.apply();
4784
+ }
4785
+ }
4786
+
3250
4787
  export interface DirectCoinTransferConfigUpdatedEventInstance
3251
4788
  extends TypedEventInstance<DirectCoinTransferConfigUpdatedEvent> {
3252
4789
  data_decoded: DirectCoinTransferConfigUpdatedEvent;
3253
4790
  type_arguments: [];
3254
4791
  }
3255
4792
 
3256
- export class DirectTransferConfig {
3257
- static TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
4793
+ export interface DirectTransferConfig {
3258
4794
  allow_arbitrary_coin_transfers: Boolean;
3259
4795
  update_coin_transfer_events: event.EventHandle<aptos_account.DirectCoinTransferConfigUpdatedEvent>;
3260
4796
  }
3261
4797
 
4798
+ export namespace DirectTransferConfig {
4799
+ export const TYPE_QNAME = "0x1::aptos_account::DirectTransferConfig";
4800
+
4801
+ const TYPE = new TypeDescriptor<DirectTransferConfig>(
4802
+ DirectTransferConfig.TYPE_QNAME
4803
+ );
4804
+
4805
+ export function type(): TypeDescriptor<DirectTransferConfig> {
4806
+ return TYPE.apply();
4807
+ }
4808
+ }
4809
+
3262
4810
  export interface BatchTransferPayload
3263
4811
  extends TypedFunctionPayload<[Address[], bigint[]]> {
3264
4812
  arguments_decoded: [Address[], bigint[]];
@@ -3299,27 +4847,67 @@ export namespace aptos_account {
3299
4847
  export namespace create_signer {}
3300
4848
 
3301
4849
  export namespace fixed_point32 {
3302
- export class FixedPoint32 {
3303
- static TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
4850
+ export interface FixedPoint32 {
3304
4851
  value: bigint;
3305
4852
  }
4853
+
4854
+ export namespace FixedPoint32 {
4855
+ export const TYPE_QNAME = "0x1::fixed_point32::FixedPoint32";
4856
+
4857
+ const TYPE = new TypeDescriptor<FixedPoint32>(FixedPoint32.TYPE_QNAME);
4858
+
4859
+ export function type(): TypeDescriptor<FixedPoint32> {
4860
+ return TYPE.apply();
4861
+ }
4862
+ }
3306
4863
  }
3307
4864
 
3308
4865
  export namespace multi_ed25519 {
3309
- export class Signature {
3310
- static TYPE_QNAME = "0x1::multi_ed25519::Signature";
4866
+ export interface Signature {
3311
4867
  bytes: string;
3312
4868
  }
3313
4869
 
3314
- export class UnvalidatedPublicKey {
3315
- static TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
4870
+ export namespace Signature {
4871
+ export const TYPE_QNAME = "0x1::multi_ed25519::Signature";
4872
+
4873
+ const TYPE = new TypeDescriptor<Signature>(Signature.TYPE_QNAME);
4874
+
4875
+ export function type(): TypeDescriptor<Signature> {
4876
+ return TYPE.apply();
4877
+ }
4878
+ }
4879
+
4880
+ export interface UnvalidatedPublicKey {
3316
4881
  bytes: string;
3317
4882
  }
3318
4883
 
3319
- export class ValidatedPublicKey {
3320
- static TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
4884
+ export namespace UnvalidatedPublicKey {
4885
+ export const TYPE_QNAME = "0x1::multi_ed25519::UnvalidatedPublicKey";
4886
+
4887
+ const TYPE = new TypeDescriptor<UnvalidatedPublicKey>(
4888
+ UnvalidatedPublicKey.TYPE_QNAME
4889
+ );
4890
+
4891
+ export function type(): TypeDescriptor<UnvalidatedPublicKey> {
4892
+ return TYPE.apply();
4893
+ }
4894
+ }
4895
+
4896
+ export interface ValidatedPublicKey {
3321
4897
  bytes: string;
3322
4898
  }
4899
+
4900
+ export namespace ValidatedPublicKey {
4901
+ export const TYPE_QNAME = "0x1::multi_ed25519::ValidatedPublicKey";
4902
+
4903
+ const TYPE = new TypeDescriptor<ValidatedPublicKey>(
4904
+ ValidatedPublicKey.TYPE_QNAME
4905
+ );
4906
+
4907
+ export function type(): TypeDescriptor<ValidatedPublicKey> {
4908
+ return TYPE.apply();
4909
+ }
4910
+ }
3323
4911
  }
3324
4912
 
3325
4913
  export class staking_proxy extends AptosBaseProcessor {
@@ -3533,27 +5121,55 @@ export namespace staking_proxy {
3533
5121
  }
3534
5122
 
3535
5123
  export namespace state_storage {
3536
- export class GasParameter {
3537
- static TYPE_QNAME = "0x1::state_storage::GasParameter";
5124
+ export interface GasParameter {
3538
5125
  usage: state_storage.Usage;
3539
5126
  }
3540
5127
 
3541
- export class StateStorageUsage {
3542
- static TYPE_QNAME = "0x1::state_storage::StateStorageUsage";
5128
+ export namespace GasParameter {
5129
+ export const TYPE_QNAME = "0x1::state_storage::GasParameter";
5130
+
5131
+ const TYPE = new TypeDescriptor<GasParameter>(GasParameter.TYPE_QNAME);
5132
+
5133
+ export function type(): TypeDescriptor<GasParameter> {
5134
+ return TYPE.apply();
5135
+ }
5136
+ }
5137
+
5138
+ export interface StateStorageUsage {
3543
5139
  epoch: bigint;
3544
5140
  usage: state_storage.Usage;
3545
5141
  }
3546
5142
 
3547
- export class Usage {
3548
- static TYPE_QNAME = "0x1::state_storage::Usage";
5143
+ export namespace StateStorageUsage {
5144
+ export const TYPE_QNAME = "0x1::state_storage::StateStorageUsage";
5145
+
5146
+ const TYPE = new TypeDescriptor<StateStorageUsage>(
5147
+ StateStorageUsage.TYPE_QNAME
5148
+ );
5149
+
5150
+ export function type(): TypeDescriptor<StateStorageUsage> {
5151
+ return TYPE.apply();
5152
+ }
5153
+ }
5154
+
5155
+ export interface Usage {
3549
5156
  items: bigint;
3550
5157
  bytes: bigint;
3551
5158
  }
5159
+
5160
+ export namespace Usage {
5161
+ export const TYPE_QNAME = "0x1::state_storage::Usage";
5162
+
5163
+ const TYPE = new TypeDescriptor<Usage>(Usage.TYPE_QNAME);
5164
+
5165
+ export function type(): TypeDescriptor<Usage> {
5166
+ return TYPE.apply();
5167
+ }
5168
+ }
3552
5169
  }
3553
5170
 
3554
5171
  export namespace staking_config {
3555
- export class StakingConfig {
3556
- static TYPE_QNAME = "0x1::staking_config::StakingConfig";
5172
+ export interface StakingConfig {
3557
5173
  minimum_stake: bigint;
3558
5174
  maximum_stake: bigint;
3559
5175
  recurring_lockup_duration_secs: bigint;
@@ -3562,6 +5178,16 @@ export namespace staking_config {
3562
5178
  rewards_rate_denominator: bigint;
3563
5179
  voting_power_increase_limit: bigint;
3564
5180
  }
5181
+
5182
+ export namespace StakingConfig {
5183
+ export const TYPE_QNAME = "0x1::staking_config::StakingConfig";
5184
+
5185
+ const TYPE = new TypeDescriptor<StakingConfig>(StakingConfig.TYPE_QNAME);
5186
+
5187
+ export function type(): TypeDescriptor<StakingConfig> {
5188
+ return TYPE.apply();
5189
+ }
5190
+ }
3565
5191
  }
3566
5192
 
3567
5193
  export class delegation_pool extends AptosBaseProcessor {
@@ -3807,22 +5433,30 @@ export class delegation_pool extends AptosBaseProcessor {
3807
5433
  }
3808
5434
 
3809
5435
  export namespace delegation_pool {
3810
- export class AddStakeEvent {
3811
- static TYPE_QNAME = "0x1::delegation_pool::AddStakeEvent";
5436
+ export interface AddStakeEvent {
3812
5437
  pool_address: Address;
3813
5438
  delegator_address: Address;
3814
5439
  amount_added: bigint;
3815
5440
  add_stake_fee: bigint;
3816
5441
  }
3817
5442
 
5443
+ export namespace AddStakeEvent {
5444
+ export const TYPE_QNAME = "0x1::delegation_pool::AddStakeEvent";
5445
+
5446
+ const TYPE = new TypeDescriptor<AddStakeEvent>(AddStakeEvent.TYPE_QNAME);
5447
+
5448
+ export function type(): TypeDescriptor<AddStakeEvent> {
5449
+ return TYPE.apply();
5450
+ }
5451
+ }
5452
+
3818
5453
  export interface AddStakeEventInstance
3819
5454
  extends TypedEventInstance<AddStakeEvent> {
3820
5455
  data_decoded: AddStakeEvent;
3821
5456
  type_arguments: [];
3822
5457
  }
3823
5458
 
3824
- export class DelegationPool {
3825
- static TYPE_QNAME = "0x1::delegation_pool::DelegationPool";
5459
+ export interface DelegationPool {
3826
5460
  active_shares: pool_u64_unbound.Pool;
3827
5461
  observed_lockup_cycle: delegation_pool.ObservedLockupCycle;
3828
5462
  inactive_shares: table.Table<
@@ -3843,63 +5477,139 @@ export namespace delegation_pool {
3843
5477
  distribute_commission_events: event.EventHandle<delegation_pool.DistributeCommissionEvent>;
3844
5478
  }
3845
5479
 
3846
- export class DelegationPoolOwnership {
3847
- static TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
5480
+ export namespace DelegationPool {
5481
+ export const TYPE_QNAME = "0x1::delegation_pool::DelegationPool";
5482
+
5483
+ const TYPE = new TypeDescriptor<DelegationPool>(DelegationPool.TYPE_QNAME);
5484
+
5485
+ export function type(): TypeDescriptor<DelegationPool> {
5486
+ return TYPE.apply();
5487
+ }
5488
+ }
5489
+
5490
+ export interface DelegationPoolOwnership {
3848
5491
  pool_address: Address;
3849
5492
  }
3850
5493
 
3851
- export class DistributeCommissionEvent {
3852
- static TYPE_QNAME = "0x1::delegation_pool::DistributeCommissionEvent";
5494
+ export namespace DelegationPoolOwnership {
5495
+ export const TYPE_QNAME = "0x1::delegation_pool::DelegationPoolOwnership";
5496
+
5497
+ const TYPE = new TypeDescriptor<DelegationPoolOwnership>(
5498
+ DelegationPoolOwnership.TYPE_QNAME
5499
+ );
5500
+
5501
+ export function type(): TypeDescriptor<DelegationPoolOwnership> {
5502
+ return TYPE.apply();
5503
+ }
5504
+ }
5505
+
5506
+ export interface DistributeCommissionEvent {
3853
5507
  pool_address: Address;
3854
5508
  operator: Address;
3855
5509
  commission_active: bigint;
3856
5510
  commission_pending_inactive: bigint;
3857
5511
  }
3858
5512
 
5513
+ export namespace DistributeCommissionEvent {
5514
+ export const TYPE_QNAME = "0x1::delegation_pool::DistributeCommissionEvent";
5515
+
5516
+ const TYPE = new TypeDescriptor<DistributeCommissionEvent>(
5517
+ DistributeCommissionEvent.TYPE_QNAME
5518
+ );
5519
+
5520
+ export function type(): TypeDescriptor<DistributeCommissionEvent> {
5521
+ return TYPE.apply();
5522
+ }
5523
+ }
5524
+
3859
5525
  export interface DistributeCommissionEventInstance
3860
5526
  extends TypedEventInstance<DistributeCommissionEvent> {
3861
5527
  data_decoded: DistributeCommissionEvent;
3862
5528
  type_arguments: [];
3863
5529
  }
3864
5530
 
3865
- export class ObservedLockupCycle {
3866
- static TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
5531
+ export interface ObservedLockupCycle {
3867
5532
  index: bigint;
3868
5533
  }
3869
5534
 
3870
- export class ReactivateStakeEvent {
3871
- static TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
5535
+ export namespace ObservedLockupCycle {
5536
+ export const TYPE_QNAME = "0x1::delegation_pool::ObservedLockupCycle";
5537
+
5538
+ const TYPE = new TypeDescriptor<ObservedLockupCycle>(
5539
+ ObservedLockupCycle.TYPE_QNAME
5540
+ );
5541
+
5542
+ export function type(): TypeDescriptor<ObservedLockupCycle> {
5543
+ return TYPE.apply();
5544
+ }
5545
+ }
5546
+
5547
+ export interface ReactivateStakeEvent {
3872
5548
  pool_address: Address;
3873
5549
  delegator_address: Address;
3874
5550
  amount_reactivated: bigint;
3875
5551
  }
3876
5552
 
5553
+ export namespace ReactivateStakeEvent {
5554
+ export const TYPE_QNAME = "0x1::delegation_pool::ReactivateStakeEvent";
5555
+
5556
+ const TYPE = new TypeDescriptor<ReactivateStakeEvent>(
5557
+ ReactivateStakeEvent.TYPE_QNAME
5558
+ );
5559
+
5560
+ export function type(): TypeDescriptor<ReactivateStakeEvent> {
5561
+ return TYPE.apply();
5562
+ }
5563
+ }
5564
+
3877
5565
  export interface ReactivateStakeEventInstance
3878
5566
  extends TypedEventInstance<ReactivateStakeEvent> {
3879
5567
  data_decoded: ReactivateStakeEvent;
3880
5568
  type_arguments: [];
3881
5569
  }
3882
5570
 
3883
- export class UnlockStakeEvent {
3884
- static TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
5571
+ export interface UnlockStakeEvent {
3885
5572
  pool_address: Address;
3886
5573
  delegator_address: Address;
3887
5574
  amount_unlocked: bigint;
3888
5575
  }
3889
5576
 
5577
+ export namespace UnlockStakeEvent {
5578
+ export const TYPE_QNAME = "0x1::delegation_pool::UnlockStakeEvent";
5579
+
5580
+ const TYPE = new TypeDescriptor<UnlockStakeEvent>(
5581
+ UnlockStakeEvent.TYPE_QNAME
5582
+ );
5583
+
5584
+ export function type(): TypeDescriptor<UnlockStakeEvent> {
5585
+ return TYPE.apply();
5586
+ }
5587
+ }
5588
+
3890
5589
  export interface UnlockStakeEventInstance
3891
5590
  extends TypedEventInstance<UnlockStakeEvent> {
3892
5591
  data_decoded: UnlockStakeEvent;
3893
5592
  type_arguments: [];
3894
5593
  }
3895
5594
 
3896
- export class WithdrawStakeEvent {
3897
- static TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
5595
+ export interface WithdrawStakeEvent {
3898
5596
  pool_address: Address;
3899
5597
  delegator_address: Address;
3900
5598
  amount_withdrawn: bigint;
3901
5599
  }
3902
5600
 
5601
+ export namespace WithdrawStakeEvent {
5602
+ export const TYPE_QNAME = "0x1::delegation_pool::WithdrawStakeEvent";
5603
+
5604
+ const TYPE = new TypeDescriptor<WithdrawStakeEvent>(
5605
+ WithdrawStakeEvent.TYPE_QNAME
5606
+ );
5607
+
5608
+ export function type(): TypeDescriptor<WithdrawStakeEvent> {
5609
+ return TYPE.apply();
5610
+ }
5611
+ }
5612
+
3903
5613
  export interface WithdrawStakeEventInstance
3904
5614
  extends TypedEventInstance<WithdrawStakeEvent> {
3905
5615
  data_decoded: WithdrawStakeEvent;
@@ -3989,23 +5699,52 @@ export class reconfiguration extends AptosBaseProcessor {
3989
5699
  }
3990
5700
 
3991
5701
  export namespace reconfiguration {
3992
- export class Configuration {
3993
- static TYPE_QNAME = "0x1::reconfiguration::Configuration";
5702
+ export interface Configuration {
3994
5703
  epoch: bigint;
3995
5704
  last_reconfiguration_time: bigint;
3996
5705
  events: event.EventHandle<reconfiguration.NewEpochEvent>;
3997
5706
  }
3998
5707
 
3999
- export class DisableReconfiguration {
4000
- static TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
5708
+ export namespace Configuration {
5709
+ export const TYPE_QNAME = "0x1::reconfiguration::Configuration";
5710
+
5711
+ const TYPE = new TypeDescriptor<Configuration>(Configuration.TYPE_QNAME);
5712
+
5713
+ export function type(): TypeDescriptor<Configuration> {
5714
+ return TYPE.apply();
5715
+ }
5716
+ }
5717
+
5718
+ export interface DisableReconfiguration {
4001
5719
  dummy_field: Boolean;
4002
5720
  }
4003
5721
 
4004
- export class NewEpochEvent {
4005
- static TYPE_QNAME = "0x1::reconfiguration::NewEpochEvent";
5722
+ export namespace DisableReconfiguration {
5723
+ export const TYPE_QNAME = "0x1::reconfiguration::DisableReconfiguration";
5724
+
5725
+ const TYPE = new TypeDescriptor<DisableReconfiguration>(
5726
+ DisableReconfiguration.TYPE_QNAME
5727
+ );
5728
+
5729
+ export function type(): TypeDescriptor<DisableReconfiguration> {
5730
+ return TYPE.apply();
5731
+ }
5732
+ }
5733
+
5734
+ export interface NewEpochEvent {
4006
5735
  epoch: bigint;
4007
5736
  }
4008
5737
 
5738
+ export namespace NewEpochEvent {
5739
+ export const TYPE_QNAME = "0x1::reconfiguration::NewEpochEvent";
5740
+
5741
+ const TYPE = new TypeDescriptor<NewEpochEvent>(NewEpochEvent.TYPE_QNAME);
5742
+
5743
+ export function type(): TypeDescriptor<NewEpochEvent> {
5744
+ return TYPE.apply();
5745
+ }
5746
+ }
5747
+
4009
5748
  export interface NewEpochEventInstance
4010
5749
  extends TypedEventInstance<NewEpochEvent> {
4011
5750
  data_decoded: NewEpochEvent;
@@ -4014,17 +5753,39 @@ export namespace reconfiguration {
4014
5753
  }
4015
5754
 
4016
5755
  export namespace transaction_fee {
4017
- export class AptosCoinCapabilities {
4018
- static TYPE_QNAME = "0x1::transaction_fee::AptosCoinCapabilities";
5756
+ export interface AptosCoinCapabilities {
4019
5757
  burn_cap: coin.BurnCapability<aptos_coin.AptosCoin>;
4020
5758
  }
4021
5759
 
4022
- export class CollectedFeesPerBlock {
4023
- static TYPE_QNAME = "0x1::transaction_fee::CollectedFeesPerBlock";
5760
+ export namespace AptosCoinCapabilities {
5761
+ export const TYPE_QNAME = "0x1::transaction_fee::AptosCoinCapabilities";
5762
+
5763
+ const TYPE = new TypeDescriptor<AptosCoinCapabilities>(
5764
+ AptosCoinCapabilities.TYPE_QNAME
5765
+ );
5766
+
5767
+ export function type(): TypeDescriptor<AptosCoinCapabilities> {
5768
+ return TYPE.apply();
5769
+ }
5770
+ }
5771
+
5772
+ export interface CollectedFeesPerBlock {
4024
5773
  amount: coin.AggregatableCoin<aptos_coin.AptosCoin>;
4025
5774
  proposer: option.Option<Address>;
4026
5775
  burn_percentage: number;
4027
5776
  }
5777
+
5778
+ export namespace CollectedFeesPerBlock {
5779
+ export const TYPE_QNAME = "0x1::transaction_fee::CollectedFeesPerBlock";
5780
+
5781
+ const TYPE = new TypeDescriptor<CollectedFeesPerBlock>(
5782
+ CollectedFeesPerBlock.TYPE_QNAME
5783
+ );
5784
+
5785
+ export function type(): TypeDescriptor<CollectedFeesPerBlock> {
5786
+ return TYPE.apply();
5787
+ }
5788
+ }
4028
5789
  }
4029
5790
 
4030
5791
  export class aptos_governance extends AptosBaseProcessor {
@@ -4169,13 +5930,23 @@ export class aptos_governance extends AptosBaseProcessor {
4169
5930
  }
4170
5931
 
4171
5932
  export namespace aptos_governance {
4172
- export class ApprovedExecutionHashes {
4173
- static TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
5933
+ export interface ApprovedExecutionHashes {
4174
5934
  hashes: simple_map.SimpleMap<bigint, string>;
4175
5935
  }
4176
5936
 
4177
- export class CreateProposalEvent {
4178
- static TYPE_QNAME = "0x1::aptos_governance::CreateProposalEvent";
5937
+ export namespace ApprovedExecutionHashes {
5938
+ export const TYPE_QNAME = "0x1::aptos_governance::ApprovedExecutionHashes";
5939
+
5940
+ const TYPE = new TypeDescriptor<ApprovedExecutionHashes>(
5941
+ ApprovedExecutionHashes.TYPE_QNAME
5942
+ );
5943
+
5944
+ export function type(): TypeDescriptor<ApprovedExecutionHashes> {
5945
+ return TYPE.apply();
5946
+ }
5947
+ }
5948
+
5949
+ export interface CreateProposalEvent {
4179
5950
  proposer: Address;
4180
5951
  stake_pool: Address;
4181
5952
  proposal_id: bigint;
@@ -4183,52 +5954,116 @@ export namespace aptos_governance {
4183
5954
  proposal_metadata: simple_map.SimpleMap<string, string>;
4184
5955
  }
4185
5956
 
5957
+ export namespace CreateProposalEvent {
5958
+ export const TYPE_QNAME = "0x1::aptos_governance::CreateProposalEvent";
5959
+
5960
+ const TYPE = new TypeDescriptor<CreateProposalEvent>(
5961
+ CreateProposalEvent.TYPE_QNAME
5962
+ );
5963
+
5964
+ export function type(): TypeDescriptor<CreateProposalEvent> {
5965
+ return TYPE.apply();
5966
+ }
5967
+ }
5968
+
4186
5969
  export interface CreateProposalEventInstance
4187
5970
  extends TypedEventInstance<CreateProposalEvent> {
4188
5971
  data_decoded: CreateProposalEvent;
4189
5972
  type_arguments: [];
4190
5973
  }
4191
5974
 
4192
- export class GovernanceConfig {
4193
- static TYPE_QNAME = "0x1::aptos_governance::GovernanceConfig";
5975
+ export interface GovernanceConfig {
4194
5976
  min_voting_threshold: bigint;
4195
5977
  required_proposer_stake: bigint;
4196
5978
  voting_duration_secs: bigint;
4197
5979
  }
4198
5980
 
4199
- export class GovernanceEvents {
4200
- static TYPE_QNAME = "0x1::aptos_governance::GovernanceEvents";
5981
+ export namespace GovernanceConfig {
5982
+ export const TYPE_QNAME = "0x1::aptos_governance::GovernanceConfig";
5983
+
5984
+ const TYPE = new TypeDescriptor<GovernanceConfig>(
5985
+ GovernanceConfig.TYPE_QNAME
5986
+ );
5987
+
5988
+ export function type(): TypeDescriptor<GovernanceConfig> {
5989
+ return TYPE.apply();
5990
+ }
5991
+ }
5992
+
5993
+ export interface GovernanceEvents {
4201
5994
  create_proposal_events: event.EventHandle<aptos_governance.CreateProposalEvent>;
4202
5995
  update_config_events: event.EventHandle<aptos_governance.UpdateConfigEvent>;
4203
5996
  vote_events: event.EventHandle<aptos_governance.VoteEvent>;
4204
5997
  }
4205
5998
 
4206
- export class GovernanceResponsbility {
4207
- static TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
5999
+ export namespace GovernanceEvents {
6000
+ export const TYPE_QNAME = "0x1::aptos_governance::GovernanceEvents";
6001
+
6002
+ const TYPE = new TypeDescriptor<GovernanceEvents>(
6003
+ GovernanceEvents.TYPE_QNAME
6004
+ );
6005
+
6006
+ export function type(): TypeDescriptor<GovernanceEvents> {
6007
+ return TYPE.apply();
6008
+ }
6009
+ }
6010
+
6011
+ export interface GovernanceResponsbility {
4208
6012
  signer_caps: simple_map.SimpleMap<Address, account.SignerCapability>;
4209
6013
  }
4210
6014
 
4211
- export class RecordKey {
4212
- static TYPE_QNAME = "0x1::aptos_governance::RecordKey";
6015
+ export namespace GovernanceResponsbility {
6016
+ export const TYPE_QNAME = "0x1::aptos_governance::GovernanceResponsbility";
6017
+
6018
+ const TYPE = new TypeDescriptor<GovernanceResponsbility>(
6019
+ GovernanceResponsbility.TYPE_QNAME
6020
+ );
6021
+
6022
+ export function type(): TypeDescriptor<GovernanceResponsbility> {
6023
+ return TYPE.apply();
6024
+ }
6025
+ }
6026
+
6027
+ export interface RecordKey {
4213
6028
  stake_pool: Address;
4214
6029
  proposal_id: bigint;
4215
6030
  }
4216
6031
 
4217
- export class UpdateConfigEvent {
4218
- static TYPE_QNAME = "0x1::aptos_governance::UpdateConfigEvent";
6032
+ export namespace RecordKey {
6033
+ export const TYPE_QNAME = "0x1::aptos_governance::RecordKey";
6034
+
6035
+ const TYPE = new TypeDescriptor<RecordKey>(RecordKey.TYPE_QNAME);
6036
+
6037
+ export function type(): TypeDescriptor<RecordKey> {
6038
+ return TYPE.apply();
6039
+ }
6040
+ }
6041
+
6042
+ export interface UpdateConfigEvent {
4219
6043
  min_voting_threshold: bigint;
4220
6044
  required_proposer_stake: bigint;
4221
6045
  voting_duration_secs: bigint;
4222
6046
  }
4223
6047
 
6048
+ export namespace UpdateConfigEvent {
6049
+ export const TYPE_QNAME = "0x1::aptos_governance::UpdateConfigEvent";
6050
+
6051
+ const TYPE = new TypeDescriptor<UpdateConfigEvent>(
6052
+ UpdateConfigEvent.TYPE_QNAME
6053
+ );
6054
+
6055
+ export function type(): TypeDescriptor<UpdateConfigEvent> {
6056
+ return TYPE.apply();
6057
+ }
6058
+ }
6059
+
4224
6060
  export interface UpdateConfigEventInstance
4225
6061
  extends TypedEventInstance<UpdateConfigEvent> {
4226
6062
  data_decoded: UpdateConfigEvent;
4227
6063
  type_arguments: [];
4228
6064
  }
4229
6065
 
4230
- export class VoteEvent {
4231
- static TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
6066
+ export interface VoteEvent {
4232
6067
  proposal_id: bigint;
4233
6068
  voter: Address;
4234
6069
  stake_pool: Address;
@@ -4236,16 +6071,35 @@ export namespace aptos_governance {
4236
6071
  should_pass: Boolean;
4237
6072
  }
4238
6073
 
6074
+ export namespace VoteEvent {
6075
+ export const TYPE_QNAME = "0x1::aptos_governance::VoteEvent";
6076
+
6077
+ const TYPE = new TypeDescriptor<VoteEvent>(VoteEvent.TYPE_QNAME);
6078
+
6079
+ export function type(): TypeDescriptor<VoteEvent> {
6080
+ return TYPE.apply();
6081
+ }
6082
+ }
6083
+
4239
6084
  export interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
4240
6085
  data_decoded: VoteEvent;
4241
6086
  type_arguments: [];
4242
6087
  }
4243
6088
 
4244
- export class VotingRecords {
4245
- static TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
6089
+ export interface VotingRecords {
4246
6090
  votes: table.Table<aptos_governance.RecordKey, Boolean>;
4247
6091
  }
4248
6092
 
6093
+ export namespace VotingRecords {
6094
+ export const TYPE_QNAME = "0x1::aptos_governance::VotingRecords";
6095
+
6096
+ const TYPE = new TypeDescriptor<VotingRecords>(VotingRecords.TYPE_QNAME);
6097
+
6098
+ export function type(): TypeDescriptor<VotingRecords> {
6099
+ return TYPE.apply();
6100
+ }
6101
+ }
6102
+
4249
6103
  export interface AddApprovedScriptHashScriptPayload
4250
6104
  extends TypedFunctionPayload<[bigint]> {
4251
6105
  arguments_decoded: [bigint];
@@ -4272,10 +6126,21 @@ export namespace aptos_governance {
4272
6126
  }
4273
6127
 
4274
6128
  export namespace consensus_config {
4275
- export class ConsensusConfig {
4276
- static TYPE_QNAME = "0x1::consensus_config::ConsensusConfig";
6129
+ export interface ConsensusConfig {
4277
6130
  config: string;
4278
6131
  }
6132
+
6133
+ export namespace ConsensusConfig {
6134
+ export const TYPE_QNAME = "0x1::consensus_config::ConsensusConfig";
6135
+
6136
+ const TYPE = new TypeDescriptor<ConsensusConfig>(
6137
+ ConsensusConfig.TYPE_QNAME
6138
+ );
6139
+
6140
+ export function type(): TypeDescriptor<ConsensusConfig> {
6141
+ return TYPE.apply();
6142
+ }
6143
+ }
4279
6144
  }
4280
6145
 
4281
6146
  export class multisig_account extends AptosBaseProcessor {
@@ -4725,65 +6590,115 @@ export class multisig_account extends AptosBaseProcessor {
4725
6590
  }
4726
6591
 
4727
6592
  export namespace multisig_account {
4728
- export class AddOwnersEvent {
4729
- static TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
6593
+ export interface AddOwnersEvent {
4730
6594
  owners_added: Address[];
4731
6595
  }
4732
6596
 
6597
+ export namespace AddOwnersEvent {
6598
+ export const TYPE_QNAME = "0x1::multisig_account::AddOwnersEvent";
6599
+
6600
+ const TYPE = new TypeDescriptor<AddOwnersEvent>(AddOwnersEvent.TYPE_QNAME);
6601
+
6602
+ export function type(): TypeDescriptor<AddOwnersEvent> {
6603
+ return TYPE.apply();
6604
+ }
6605
+ }
6606
+
4733
6607
  export interface AddOwnersEventInstance
4734
6608
  extends TypedEventInstance<AddOwnersEvent> {
4735
6609
  data_decoded: AddOwnersEvent;
4736
6610
  type_arguments: [];
4737
6611
  }
4738
6612
 
4739
- export class CreateTransactionEvent {
4740
- static TYPE_QNAME = "0x1::multisig_account::CreateTransactionEvent";
6613
+ export interface CreateTransactionEvent {
4741
6614
  creator: Address;
4742
6615
  sequence_number: bigint;
4743
6616
  transaction: multisig_account.MultisigTransaction;
4744
6617
  }
4745
6618
 
6619
+ export namespace CreateTransactionEvent {
6620
+ export const TYPE_QNAME = "0x1::multisig_account::CreateTransactionEvent";
6621
+
6622
+ const TYPE = new TypeDescriptor<CreateTransactionEvent>(
6623
+ CreateTransactionEvent.TYPE_QNAME
6624
+ );
6625
+
6626
+ export function type(): TypeDescriptor<CreateTransactionEvent> {
6627
+ return TYPE.apply();
6628
+ }
6629
+ }
6630
+
4746
6631
  export interface CreateTransactionEventInstance
4747
6632
  extends TypedEventInstance<CreateTransactionEvent> {
4748
6633
  data_decoded: CreateTransactionEvent;
4749
6634
  type_arguments: [];
4750
6635
  }
4751
6636
 
4752
- export class ExecuteRejectedTransactionEvent {
4753
- static TYPE_QNAME =
4754
- "0x1::multisig_account::ExecuteRejectedTransactionEvent";
6637
+ export interface ExecuteRejectedTransactionEvent {
4755
6638
  sequence_number: bigint;
4756
6639
  num_rejections: bigint;
4757
6640
  executor: Address;
4758
6641
  }
4759
6642
 
6643
+ export namespace ExecuteRejectedTransactionEvent {
6644
+ export const TYPE_QNAME =
6645
+ "0x1::multisig_account::ExecuteRejectedTransactionEvent";
6646
+
6647
+ const TYPE = new TypeDescriptor<ExecuteRejectedTransactionEvent>(
6648
+ ExecuteRejectedTransactionEvent.TYPE_QNAME
6649
+ );
6650
+
6651
+ export function type(): TypeDescriptor<ExecuteRejectedTransactionEvent> {
6652
+ return TYPE.apply();
6653
+ }
6654
+ }
6655
+
4760
6656
  export interface ExecuteRejectedTransactionEventInstance
4761
6657
  extends TypedEventInstance<ExecuteRejectedTransactionEvent> {
4762
6658
  data_decoded: ExecuteRejectedTransactionEvent;
4763
6659
  type_arguments: [];
4764
6660
  }
4765
6661
 
4766
- export class ExecutionError {
4767
- static TYPE_QNAME = "0x1::multisig_account::ExecutionError";
6662
+ export interface ExecutionError {
4768
6663
  abort_location: string;
4769
6664
  error_type: string;
4770
6665
  error_code: bigint;
4771
6666
  }
4772
6667
 
4773
- export class MetadataUpdatedEvent {
4774
- static TYPE_QNAME = "0x1::multisig_account::MetadataUpdatedEvent";
6668
+ export namespace ExecutionError {
6669
+ export const TYPE_QNAME = "0x1::multisig_account::ExecutionError";
6670
+
6671
+ const TYPE = new TypeDescriptor<ExecutionError>(ExecutionError.TYPE_QNAME);
6672
+
6673
+ export function type(): TypeDescriptor<ExecutionError> {
6674
+ return TYPE.apply();
6675
+ }
6676
+ }
6677
+
6678
+ export interface MetadataUpdatedEvent {
4775
6679
  old_metadata: simple_map.SimpleMap<string, string>;
4776
6680
  new_metadata: simple_map.SimpleMap<string, string>;
4777
6681
  }
4778
6682
 
6683
+ export namespace MetadataUpdatedEvent {
6684
+ export const TYPE_QNAME = "0x1::multisig_account::MetadataUpdatedEvent";
6685
+
6686
+ const TYPE = new TypeDescriptor<MetadataUpdatedEvent>(
6687
+ MetadataUpdatedEvent.TYPE_QNAME
6688
+ );
6689
+
6690
+ export function type(): TypeDescriptor<MetadataUpdatedEvent> {
6691
+ return TYPE.apply();
6692
+ }
6693
+ }
6694
+
4779
6695
  export interface MetadataUpdatedEventInstance
4780
6696
  extends TypedEventInstance<MetadataUpdatedEvent> {
4781
6697
  data_decoded: MetadataUpdatedEvent;
4782
6698
  type_arguments: [];
4783
6699
  }
4784
6700
 
4785
- export class MultisigAccount {
4786
- static TYPE_QNAME = "0x1::multisig_account::MultisigAccount";
6701
+ export interface MultisigAccount {
4787
6702
  owners: Address[];
4788
6703
  num_signatures_required: bigint;
4789
6704
  transactions: table.Table<bigint, multisig_account.MultisigTransaction>;
@@ -4802,8 +6717,19 @@ export namespace multisig_account {
4802
6717
  metadata_updated_events: event.EventHandle<multisig_account.MetadataUpdatedEvent>;
4803
6718
  }
4804
6719
 
4805
- export class MultisigAccountCreationMessage {
4806
- static TYPE_QNAME = "0x1::multisig_account::MultisigAccountCreationMessage";
6720
+ export namespace MultisigAccount {
6721
+ export const TYPE_QNAME = "0x1::multisig_account::MultisigAccount";
6722
+
6723
+ const TYPE = new TypeDescriptor<MultisigAccount>(
6724
+ MultisigAccount.TYPE_QNAME
6725
+ );
6726
+
6727
+ export function type(): TypeDescriptor<MultisigAccount> {
6728
+ return TYPE.apply();
6729
+ }
6730
+ }
6731
+
6732
+ export interface MultisigAccountCreationMessage {
4807
6733
  chain_id: number;
4808
6734
  account_address: Address;
4809
6735
  sequence_number: bigint;
@@ -4811,8 +6737,20 @@ export namespace multisig_account {
4811
6737
  num_signatures_required: bigint;
4812
6738
  }
4813
6739
 
4814
- export class MultisigTransaction {
4815
- static TYPE_QNAME = "0x1::multisig_account::MultisigTransaction";
6740
+ export namespace MultisigAccountCreationMessage {
6741
+ export const TYPE_QNAME =
6742
+ "0x1::multisig_account::MultisigAccountCreationMessage";
6743
+
6744
+ const TYPE = new TypeDescriptor<MultisigAccountCreationMessage>(
6745
+ MultisigAccountCreationMessage.TYPE_QNAME
6746
+ );
6747
+
6748
+ export function type(): TypeDescriptor<MultisigAccountCreationMessage> {
6749
+ return TYPE.apply();
6750
+ }
6751
+ }
6752
+
6753
+ export interface MultisigTransaction {
4816
6754
  payload: option.Option<string>;
4817
6755
  payload_hash: option.Option<string>;
4818
6756
  votes: simple_map.SimpleMap<Address, Boolean>;
@@ -4820,20 +6758,41 @@ export namespace multisig_account {
4820
6758
  creation_time_secs: bigint;
4821
6759
  }
4822
6760
 
4823
- export class RemoveOwnersEvent {
4824
- static TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
6761
+ export namespace MultisigTransaction {
6762
+ export const TYPE_QNAME = "0x1::multisig_account::MultisigTransaction";
6763
+
6764
+ const TYPE = new TypeDescriptor<MultisigTransaction>(
6765
+ MultisigTransaction.TYPE_QNAME
6766
+ );
6767
+
6768
+ export function type(): TypeDescriptor<MultisigTransaction> {
6769
+ return TYPE.apply();
6770
+ }
6771
+ }
6772
+
6773
+ export interface RemoveOwnersEvent {
4825
6774
  owners_removed: Address[];
4826
6775
  }
4827
6776
 
6777
+ export namespace RemoveOwnersEvent {
6778
+ export const TYPE_QNAME = "0x1::multisig_account::RemoveOwnersEvent";
6779
+
6780
+ const TYPE = new TypeDescriptor<RemoveOwnersEvent>(
6781
+ RemoveOwnersEvent.TYPE_QNAME
6782
+ );
6783
+
6784
+ export function type(): TypeDescriptor<RemoveOwnersEvent> {
6785
+ return TYPE.apply();
6786
+ }
6787
+ }
6788
+
4828
6789
  export interface RemoveOwnersEventInstance
4829
6790
  extends TypedEventInstance<RemoveOwnersEvent> {
4830
6791
  data_decoded: RemoveOwnersEvent;
4831
6792
  type_arguments: [];
4832
6793
  }
4833
6794
 
4834
- export class TransactionExecutionFailedEvent {
4835
- static TYPE_QNAME =
4836
- "0x1::multisig_account::TransactionExecutionFailedEvent";
6795
+ export interface TransactionExecutionFailedEvent {
4837
6796
  executor: Address;
4838
6797
  sequence_number: bigint;
4839
6798
  transaction_payload: string;
@@ -4841,46 +6800,91 @@ export namespace multisig_account {
4841
6800
  execution_error: multisig_account.ExecutionError;
4842
6801
  }
4843
6802
 
6803
+ export namespace TransactionExecutionFailedEvent {
6804
+ export const TYPE_QNAME =
6805
+ "0x1::multisig_account::TransactionExecutionFailedEvent";
6806
+
6807
+ const TYPE = new TypeDescriptor<TransactionExecutionFailedEvent>(
6808
+ TransactionExecutionFailedEvent.TYPE_QNAME
6809
+ );
6810
+
6811
+ export function type(): TypeDescriptor<TransactionExecutionFailedEvent> {
6812
+ return TYPE.apply();
6813
+ }
6814
+ }
6815
+
4844
6816
  export interface TransactionExecutionFailedEventInstance
4845
6817
  extends TypedEventInstance<TransactionExecutionFailedEvent> {
4846
6818
  data_decoded: TransactionExecutionFailedEvent;
4847
6819
  type_arguments: [];
4848
6820
  }
4849
6821
 
4850
- export class TransactionExecutionSucceededEvent {
4851
- static TYPE_QNAME =
4852
- "0x1::multisig_account::TransactionExecutionSucceededEvent";
6822
+ export interface TransactionExecutionSucceededEvent {
4853
6823
  executor: Address;
4854
6824
  sequence_number: bigint;
4855
6825
  transaction_payload: string;
4856
6826
  num_approvals: bigint;
4857
6827
  }
4858
6828
 
6829
+ export namespace TransactionExecutionSucceededEvent {
6830
+ export const TYPE_QNAME =
6831
+ "0x1::multisig_account::TransactionExecutionSucceededEvent";
6832
+
6833
+ const TYPE = new TypeDescriptor<TransactionExecutionSucceededEvent>(
6834
+ TransactionExecutionSucceededEvent.TYPE_QNAME
6835
+ );
6836
+
6837
+ export function type(): TypeDescriptor<TransactionExecutionSucceededEvent> {
6838
+ return TYPE.apply();
6839
+ }
6840
+ }
6841
+
4859
6842
  export interface TransactionExecutionSucceededEventInstance
4860
6843
  extends TypedEventInstance<TransactionExecutionSucceededEvent> {
4861
6844
  data_decoded: TransactionExecutionSucceededEvent;
4862
6845
  type_arguments: [];
4863
6846
  }
4864
6847
 
4865
- export class UpdateSignaturesRequiredEvent {
4866
- static TYPE_QNAME = "0x1::multisig_account::UpdateSignaturesRequiredEvent";
6848
+ export interface UpdateSignaturesRequiredEvent {
4867
6849
  old_num_signatures_required: bigint;
4868
6850
  new_num_signatures_required: bigint;
4869
6851
  }
4870
6852
 
6853
+ export namespace UpdateSignaturesRequiredEvent {
6854
+ export const TYPE_QNAME =
6855
+ "0x1::multisig_account::UpdateSignaturesRequiredEvent";
6856
+
6857
+ const TYPE = new TypeDescriptor<UpdateSignaturesRequiredEvent>(
6858
+ UpdateSignaturesRequiredEvent.TYPE_QNAME
6859
+ );
6860
+
6861
+ export function type(): TypeDescriptor<UpdateSignaturesRequiredEvent> {
6862
+ return TYPE.apply();
6863
+ }
6864
+ }
6865
+
4871
6866
  export interface UpdateSignaturesRequiredEventInstance
4872
6867
  extends TypedEventInstance<UpdateSignaturesRequiredEvent> {
4873
6868
  data_decoded: UpdateSignaturesRequiredEvent;
4874
6869
  type_arguments: [];
4875
6870
  }
4876
6871
 
4877
- export class VoteEvent {
4878
- static TYPE_QNAME = "0x1::multisig_account::VoteEvent";
6872
+ export interface VoteEvent {
4879
6873
  owner: Address;
4880
6874
  sequence_number: bigint;
4881
6875
  approved: Boolean;
4882
6876
  }
4883
6877
 
6878
+ export namespace VoteEvent {
6879
+ export const TYPE_QNAME = "0x1::multisig_account::VoteEvent";
6880
+
6881
+ const TYPE = new TypeDescriptor<VoteEvent>(VoteEvent.TYPE_QNAME);
6882
+
6883
+ export function type(): TypeDescriptor<VoteEvent> {
6884
+ return TYPE.apply();
6885
+ }
6886
+ }
6887
+
4884
6888
  export interface VoteEventInstance extends TypedEventInstance<VoteEvent> {
4885
6889
  data_decoded: VoteEvent;
4886
6890
  type_arguments: [];
@@ -4986,13 +6990,22 @@ export namespace multisig_account {
4986
6990
  }
4987
6991
 
4988
6992
  export namespace pool_u64_unbound {
4989
- export class Pool {
4990
- static TYPE_QNAME = "0x1::pool_u64_unbound::Pool";
6993
+ export interface Pool {
4991
6994
  total_coins: bigint;
4992
6995
  total_shares: bigint;
4993
6996
  shares: table_with_length.TableWithLength<Address, bigint>;
4994
6997
  scaling_factor: bigint;
4995
6998
  }
6999
+
7000
+ export namespace Pool {
7001
+ export const TYPE_QNAME = "0x1::pool_u64_unbound::Pool";
7002
+
7003
+ const TYPE = new TypeDescriptor<Pool>(Pool.TYPE_QNAME);
7004
+
7005
+ export function type(): TypeDescriptor<Pool> {
7006
+ return TYPE.apply();
7007
+ }
7008
+ }
4996
7009
  }
4997
7010
 
4998
7011
  export class resource_account extends AptosBaseProcessor {
@@ -5071,11 +7084,20 @@ export class resource_account extends AptosBaseProcessor {
5071
7084
  }
5072
7085
 
5073
7086
  export namespace resource_account {
5074
- export class Container {
5075
- static TYPE_QNAME = "0x1::resource_account::Container";
7087
+ export interface Container {
5076
7088
  store: simple_map.SimpleMap<Address, account.SignerCapability>;
5077
7089
  }
5078
7090
 
7091
+ export namespace Container {
7092
+ export const TYPE_QNAME = "0x1::resource_account::Container";
7093
+
7094
+ const TYPE = new TypeDescriptor<Container>(Container.TYPE_QNAME);
7095
+
7096
+ export function type(): TypeDescriptor<Container> {
7097
+ return TYPE.apply();
7098
+ }
7099
+ }
7100
+
5079
7101
  export interface CreateResourceAccountPayload
5080
7102
  extends TypedFunctionPayload<[string, string]> {
5081
7103
  arguments_decoded: [string, string];
@@ -5486,34 +7508,53 @@ export class staking_contract extends AptosBaseProcessor {
5486
7508
  }
5487
7509
 
5488
7510
  export namespace staking_contract {
5489
- export class AddDistributionEvent {
5490
- static TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
7511
+ export interface AddDistributionEvent {
5491
7512
  operator: Address;
5492
7513
  pool_address: Address;
5493
7514
  amount: bigint;
5494
7515
  }
5495
7516
 
7517
+ export namespace AddDistributionEvent {
7518
+ export const TYPE_QNAME = "0x1::staking_contract::AddDistributionEvent";
7519
+
7520
+ const TYPE = new TypeDescriptor<AddDistributionEvent>(
7521
+ AddDistributionEvent.TYPE_QNAME
7522
+ );
7523
+
7524
+ export function type(): TypeDescriptor<AddDistributionEvent> {
7525
+ return TYPE.apply();
7526
+ }
7527
+ }
7528
+
5496
7529
  export interface AddDistributionEventInstance
5497
7530
  extends TypedEventInstance<AddDistributionEvent> {
5498
7531
  data_decoded: AddDistributionEvent;
5499
7532
  type_arguments: [];
5500
7533
  }
5501
7534
 
5502
- export class AddStakeEvent {
5503
- static TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
7535
+ export interface AddStakeEvent {
5504
7536
  operator: Address;
5505
7537
  pool_address: Address;
5506
7538
  amount: bigint;
5507
7539
  }
5508
7540
 
7541
+ export namespace AddStakeEvent {
7542
+ export const TYPE_QNAME = "0x1::staking_contract::AddStakeEvent";
7543
+
7544
+ const TYPE = new TypeDescriptor<AddStakeEvent>(AddStakeEvent.TYPE_QNAME);
7545
+
7546
+ export function type(): TypeDescriptor<AddStakeEvent> {
7547
+ return TYPE.apply();
7548
+ }
7549
+ }
7550
+
5509
7551
  export interface AddStakeEventInstance
5510
7552
  extends TypedEventInstance<AddStakeEvent> {
5511
7553
  data_decoded: AddStakeEvent;
5512
7554
  type_arguments: [];
5513
7555
  }
5514
7556
 
5515
- export class CreateStakingContractEvent {
5516
- static TYPE_QNAME = "0x1::staking_contract::CreateStakingContractEvent";
7557
+ export interface CreateStakingContractEvent {
5517
7558
  operator: Address;
5518
7559
  voter: Address;
5519
7560
  pool_address: Address;
@@ -5521,54 +7562,99 @@ export namespace staking_contract {
5521
7562
  commission_percentage: bigint;
5522
7563
  }
5523
7564
 
7565
+ export namespace CreateStakingContractEvent {
7566
+ export const TYPE_QNAME =
7567
+ "0x1::staking_contract::CreateStakingContractEvent";
7568
+
7569
+ const TYPE = new TypeDescriptor<CreateStakingContractEvent>(
7570
+ CreateStakingContractEvent.TYPE_QNAME
7571
+ );
7572
+
7573
+ export function type(): TypeDescriptor<CreateStakingContractEvent> {
7574
+ return TYPE.apply();
7575
+ }
7576
+ }
7577
+
5524
7578
  export interface CreateStakingContractEventInstance
5525
7579
  extends TypedEventInstance<CreateStakingContractEvent> {
5526
7580
  data_decoded: CreateStakingContractEvent;
5527
7581
  type_arguments: [];
5528
7582
  }
5529
7583
 
5530
- export class DistributeEvent {
5531
- static TYPE_QNAME = "0x1::staking_contract::DistributeEvent";
7584
+ export interface DistributeEvent {
5532
7585
  operator: Address;
5533
7586
  pool_address: Address;
5534
7587
  recipient: Address;
5535
7588
  amount: bigint;
5536
7589
  }
5537
7590
 
7591
+ export namespace DistributeEvent {
7592
+ export const TYPE_QNAME = "0x1::staking_contract::DistributeEvent";
7593
+
7594
+ const TYPE = new TypeDescriptor<DistributeEvent>(
7595
+ DistributeEvent.TYPE_QNAME
7596
+ );
7597
+
7598
+ export function type(): TypeDescriptor<DistributeEvent> {
7599
+ return TYPE.apply();
7600
+ }
7601
+ }
7602
+
5538
7603
  export interface DistributeEventInstance
5539
7604
  extends TypedEventInstance<DistributeEvent> {
5540
7605
  data_decoded: DistributeEvent;
5541
7606
  type_arguments: [];
5542
7607
  }
5543
7608
 
5544
- export class RequestCommissionEvent {
5545
- static TYPE_QNAME = "0x1::staking_contract::RequestCommissionEvent";
7609
+ export interface RequestCommissionEvent {
5546
7610
  operator: Address;
5547
7611
  pool_address: Address;
5548
7612
  accumulated_rewards: bigint;
5549
7613
  commission_amount: bigint;
5550
7614
  }
5551
7615
 
7616
+ export namespace RequestCommissionEvent {
7617
+ export const TYPE_QNAME = "0x1::staking_contract::RequestCommissionEvent";
7618
+
7619
+ const TYPE = new TypeDescriptor<RequestCommissionEvent>(
7620
+ RequestCommissionEvent.TYPE_QNAME
7621
+ );
7622
+
7623
+ export function type(): TypeDescriptor<RequestCommissionEvent> {
7624
+ return TYPE.apply();
7625
+ }
7626
+ }
7627
+
5552
7628
  export interface RequestCommissionEventInstance
5553
7629
  extends TypedEventInstance<RequestCommissionEvent> {
5554
7630
  data_decoded: RequestCommissionEvent;
5555
7631
  type_arguments: [];
5556
7632
  }
5557
7633
 
5558
- export class ResetLockupEvent {
5559
- static TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
7634
+ export interface ResetLockupEvent {
5560
7635
  operator: Address;
5561
7636
  pool_address: Address;
5562
7637
  }
5563
7638
 
7639
+ export namespace ResetLockupEvent {
7640
+ export const TYPE_QNAME = "0x1::staking_contract::ResetLockupEvent";
7641
+
7642
+ const TYPE = new TypeDescriptor<ResetLockupEvent>(
7643
+ ResetLockupEvent.TYPE_QNAME
7644
+ );
7645
+
7646
+ export function type(): TypeDescriptor<ResetLockupEvent> {
7647
+ return TYPE.apply();
7648
+ }
7649
+ }
7650
+
5564
7651
  export interface ResetLockupEventInstance
5565
7652
  extends TypedEventInstance<ResetLockupEvent> {
5566
7653
  data_decoded: ResetLockupEvent;
5567
7654
  type_arguments: [];
5568
7655
  }
5569
7656
 
5570
- export class StakingContract {
5571
- static TYPE_QNAME = "0x1::staking_contract::StakingContract";
7657
+ export interface StakingContract {
5572
7658
  principal: bigint;
5573
7659
  pool_address: Address;
5574
7660
  owner_cap: stake.OwnerCapability;
@@ -5577,19 +7663,52 @@ export namespace staking_contract {
5577
7663
  signer_cap: account.SignerCapability;
5578
7664
  }
5579
7665
 
5580
- export class StakingGroupContainer {
5581
- static TYPE_QNAME = "0x1::staking_contract::StakingGroupContainer";
7666
+ export namespace StakingContract {
7667
+ export const TYPE_QNAME = "0x1::staking_contract::StakingContract";
7668
+
7669
+ const TYPE = new TypeDescriptor<StakingContract>(
7670
+ StakingContract.TYPE_QNAME
7671
+ );
7672
+
7673
+ export function type(): TypeDescriptor<StakingContract> {
7674
+ return TYPE.apply();
7675
+ }
7676
+ }
7677
+
7678
+ export interface StakingGroupContainer {
5582
7679
  dummy_field: Boolean;
5583
7680
  }
5584
7681
 
5585
- export class StakingGroupUpdateCommissionEvent {
5586
- static TYPE_QNAME =
5587
- "0x1::staking_contract::StakingGroupUpdateCommissionEvent";
7682
+ export namespace StakingGroupContainer {
7683
+ export const TYPE_QNAME = "0x1::staking_contract::StakingGroupContainer";
7684
+
7685
+ const TYPE = new TypeDescriptor<StakingGroupContainer>(
7686
+ StakingGroupContainer.TYPE_QNAME
7687
+ );
7688
+
7689
+ export function type(): TypeDescriptor<StakingGroupContainer> {
7690
+ return TYPE.apply();
7691
+ }
7692
+ }
7693
+
7694
+ export interface StakingGroupUpdateCommissionEvent {
5588
7695
  update_commission_events: event.EventHandle<staking_contract.UpdateCommissionEvent>;
5589
7696
  }
5590
7697
 
5591
- export class Store {
5592
- static TYPE_QNAME = "0x1::staking_contract::Store";
7698
+ export namespace StakingGroupUpdateCommissionEvent {
7699
+ export const TYPE_QNAME =
7700
+ "0x1::staking_contract::StakingGroupUpdateCommissionEvent";
7701
+
7702
+ const TYPE = new TypeDescriptor<StakingGroupUpdateCommissionEvent>(
7703
+ StakingGroupUpdateCommissionEvent.TYPE_QNAME
7704
+ );
7705
+
7706
+ export function type(): TypeDescriptor<StakingGroupUpdateCommissionEvent> {
7707
+ return TYPE.apply();
7708
+ }
7709
+ }
7710
+
7711
+ export interface Store {
5593
7712
  staking_contracts: simple_map.SimpleMap<
5594
7713
  Address,
5595
7714
  staking_contract.StakingContract
@@ -5605,55 +7724,109 @@ export namespace staking_contract {
5605
7724
  distribute_events: event.EventHandle<staking_contract.DistributeEvent>;
5606
7725
  }
5607
7726
 
5608
- export class SwitchOperatorEvent {
5609
- static TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
7727
+ export namespace Store {
7728
+ export const TYPE_QNAME = "0x1::staking_contract::Store";
7729
+
7730
+ const TYPE = new TypeDescriptor<Store>(Store.TYPE_QNAME);
7731
+
7732
+ export function type(): TypeDescriptor<Store> {
7733
+ return TYPE.apply();
7734
+ }
7735
+ }
7736
+
7737
+ export interface SwitchOperatorEvent {
5610
7738
  old_operator: Address;
5611
7739
  new_operator: Address;
5612
7740
  pool_address: Address;
5613
7741
  }
5614
7742
 
7743
+ export namespace SwitchOperatorEvent {
7744
+ export const TYPE_QNAME = "0x1::staking_contract::SwitchOperatorEvent";
7745
+
7746
+ const TYPE = new TypeDescriptor<SwitchOperatorEvent>(
7747
+ SwitchOperatorEvent.TYPE_QNAME
7748
+ );
7749
+
7750
+ export function type(): TypeDescriptor<SwitchOperatorEvent> {
7751
+ return TYPE.apply();
7752
+ }
7753
+ }
7754
+
5615
7755
  export interface SwitchOperatorEventInstance
5616
7756
  extends TypedEventInstance<SwitchOperatorEvent> {
5617
7757
  data_decoded: SwitchOperatorEvent;
5618
7758
  type_arguments: [];
5619
7759
  }
5620
7760
 
5621
- export class UnlockStakeEvent {
5622
- static TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
7761
+ export interface UnlockStakeEvent {
5623
7762
  operator: Address;
5624
7763
  pool_address: Address;
5625
7764
  amount: bigint;
5626
7765
  commission_paid: bigint;
5627
7766
  }
5628
7767
 
7768
+ export namespace UnlockStakeEvent {
7769
+ export const TYPE_QNAME = "0x1::staking_contract::UnlockStakeEvent";
7770
+
7771
+ const TYPE = new TypeDescriptor<UnlockStakeEvent>(
7772
+ UnlockStakeEvent.TYPE_QNAME
7773
+ );
7774
+
7775
+ export function type(): TypeDescriptor<UnlockStakeEvent> {
7776
+ return TYPE.apply();
7777
+ }
7778
+ }
7779
+
5629
7780
  export interface UnlockStakeEventInstance
5630
7781
  extends TypedEventInstance<UnlockStakeEvent> {
5631
7782
  data_decoded: UnlockStakeEvent;
5632
7783
  type_arguments: [];
5633
7784
  }
5634
7785
 
5635
- export class UpdateCommissionEvent {
5636
- static TYPE_QNAME = "0x1::staking_contract::UpdateCommissionEvent";
7786
+ export interface UpdateCommissionEvent {
5637
7787
  staker: Address;
5638
7788
  operator: Address;
5639
7789
  old_commission_percentage: bigint;
5640
7790
  new_commission_percentage: bigint;
5641
7791
  }
5642
7792
 
7793
+ export namespace UpdateCommissionEvent {
7794
+ export const TYPE_QNAME = "0x1::staking_contract::UpdateCommissionEvent";
7795
+
7796
+ const TYPE = new TypeDescriptor<UpdateCommissionEvent>(
7797
+ UpdateCommissionEvent.TYPE_QNAME
7798
+ );
7799
+
7800
+ export function type(): TypeDescriptor<UpdateCommissionEvent> {
7801
+ return TYPE.apply();
7802
+ }
7803
+ }
7804
+
5643
7805
  export interface UpdateCommissionEventInstance
5644
7806
  extends TypedEventInstance<UpdateCommissionEvent> {
5645
7807
  data_decoded: UpdateCommissionEvent;
5646
7808
  type_arguments: [];
5647
7809
  }
5648
7810
 
5649
- export class UpdateVoterEvent {
5650
- static TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
7811
+ export interface UpdateVoterEvent {
5651
7812
  operator: Address;
5652
7813
  pool_address: Address;
5653
7814
  old_voter: Address;
5654
7815
  new_voter: Address;
5655
7816
  }
5656
7817
 
7818
+ export namespace UpdateVoterEvent {
7819
+ export const TYPE_QNAME = "0x1::staking_contract::UpdateVoterEvent";
7820
+
7821
+ const TYPE = new TypeDescriptor<UpdateVoterEvent>(
7822
+ UpdateVoterEvent.TYPE_QNAME
7823
+ );
7824
+
7825
+ export function type(): TypeDescriptor<UpdateVoterEvent> {
7826
+ return TYPE.apply();
7827
+ }
7828
+ }
7829
+
5657
7830
  export interface UpdateVoterEventInstance
5658
7831
  extends TypedEventInstance<UpdateVoterEvent> {
5659
7832
  data_decoded: UpdateVoterEvent;
@@ -5729,46 +7902,101 @@ export namespace staking_contract {
5729
7902
  export namespace system_addresses {}
5730
7903
 
5731
7904
  export namespace table_with_length {
5732
- export class TableWithLength<T0, T1> {
5733
- static TYPE_QNAME = "0x1::table_with_length::TableWithLength";
7905
+ export interface TableWithLength<T0, T1> {
5734
7906
  inner: table.Table<T0, T1>;
5735
7907
  length: bigint;
5736
7908
  }
7909
+
7910
+ export namespace TableWithLength {
7911
+ export const TYPE_QNAME = "0x1::table_with_length::TableWithLength";
7912
+
7913
+ const TYPE = new TypeDescriptor<TableWithLength<any, any>>(
7914
+ TableWithLength.TYPE_QNAME
7915
+ );
7916
+
7917
+ export function type<T0, T1>(
7918
+ arg0: TypeDescriptor<T0> = ANY_TYPE,
7919
+ arg1: TypeDescriptor<T1> = ANY_TYPE
7920
+ ): TypeDescriptor<TableWithLength<T0, T1>> {
7921
+ return TYPE.apply(arg0, arg1);
7922
+ }
7923
+ }
5737
7924
  }
5738
7925
 
5739
7926
  export namespace aggregator_factory {
5740
- export class AggregatorFactory {
5741
- static TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
7927
+ export interface AggregatorFactory {
5742
7928
  phantom_table: table.Table<Address, bigint>;
5743
7929
  }
7930
+
7931
+ export namespace AggregatorFactory {
7932
+ export const TYPE_QNAME = "0x1::aggregator_factory::AggregatorFactory";
7933
+
7934
+ const TYPE = new TypeDescriptor<AggregatorFactory>(
7935
+ AggregatorFactory.TYPE_QNAME
7936
+ );
7937
+
7938
+ export function type(): TypeDescriptor<AggregatorFactory> {
7939
+ return TYPE.apply();
7940
+ }
7941
+ }
5744
7942
  }
5745
7943
 
5746
7944
  export namespace governance_proposal {
5747
- export class GovernanceProposal {
5748
- static TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
7945
+ export interface GovernanceProposal {
5749
7946
  dummy_field: Boolean;
5750
7947
  }
7948
+
7949
+ export namespace GovernanceProposal {
7950
+ export const TYPE_QNAME = "0x1::governance_proposal::GovernanceProposal";
7951
+
7952
+ const TYPE = new TypeDescriptor<GovernanceProposal>(
7953
+ GovernanceProposal.TYPE_QNAME
7954
+ );
7955
+
7956
+ export function type(): TypeDescriptor<GovernanceProposal> {
7957
+ return TYPE.apply();
7958
+ }
7959
+ }
5751
7960
  }
5752
7961
 
5753
7962
  export namespace optional_aggregator {
5754
- export class Integer {
5755
- static TYPE_QNAME = "0x1::optional_aggregator::Integer";
7963
+ export interface Integer {
5756
7964
  value: bigint;
5757
7965
  limit: bigint;
5758
7966
  }
5759
7967
 
5760
- export class OptionalAggregator {
5761
- static TYPE_QNAME = "0x1::optional_aggregator::OptionalAggregator";
7968
+ export namespace Integer {
7969
+ export const TYPE_QNAME = "0x1::optional_aggregator::Integer";
7970
+
7971
+ const TYPE = new TypeDescriptor<Integer>(Integer.TYPE_QNAME);
7972
+
7973
+ export function type(): TypeDescriptor<Integer> {
7974
+ return TYPE.apply();
7975
+ }
7976
+ }
7977
+
7978
+ export interface OptionalAggregator {
5762
7979
  aggregator: option.Option<aggregator.Aggregator>;
5763
7980
  integer: option.Option<optional_aggregator.Integer>;
5764
7981
  }
7982
+
7983
+ export namespace OptionalAggregator {
7984
+ export const TYPE_QNAME = "0x1::optional_aggregator::OptionalAggregator";
7985
+
7986
+ const TYPE = new TypeDescriptor<OptionalAggregator>(
7987
+ OptionalAggregator.TYPE_QNAME
7988
+ );
7989
+
7990
+ export function type(): TypeDescriptor<OptionalAggregator> {
7991
+ return TYPE.apply();
7992
+ }
7993
+ }
5765
7994
  }
5766
7995
 
5767
7996
  export namespace transaction_context {}
5768
7997
 
5769
7998
  export namespace transaction_validation {
5770
- export class TransactionValidation {
5771
- static TYPE_QNAME = "0x1::transaction_validation::TransactionValidation";
7999
+ export interface TransactionValidation {
5772
8000
  module_addr: Address;
5773
8001
  module_name: string;
5774
8002
  script_prologue_name: string;
@@ -5776,6 +8004,19 @@ export namespace transaction_validation {
5776
8004
  multi_agent_prologue_name: string;
5777
8005
  user_epilogue_name: string;
5778
8006
  }
8007
+
8008
+ export namespace TransactionValidation {
8009
+ export const TYPE_QNAME =
8010
+ "0x1::transaction_validation::TransactionValidation";
8011
+
8012
+ const TYPE = new TypeDescriptor<TransactionValidation>(
8013
+ TransactionValidation.TYPE_QNAME
8014
+ );
8015
+
8016
+ export function type(): TypeDescriptor<TransactionValidation> {
8017
+ return TYPE.apply();
8018
+ }
8019
+ }
5779
8020
  }
5780
8021
 
5781
8022
  const MODULES = JSON.parse(