@sentio/sdk 2.13.0-rc.1 → 2.13.0-rc.11

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 (144) hide show
  1. package/lib/aptos/aptos-chain-adapter.d.ts +14 -0
  2. package/lib/aptos/aptos-chain-adapter.js +69 -0
  3. package/lib/aptos/aptos-chain-adapter.js.map +1 -0
  4. package/lib/aptos/aptos-plugin.js +5 -2
  5. package/lib/aptos/aptos-plugin.js.map +1 -1
  6. package/lib/aptos/aptos-processor.d.ts +7 -7
  7. package/lib/aptos/aptos-processor.js +15 -22
  8. package/lib/aptos/aptos-processor.js.map +1 -1
  9. package/lib/aptos/builtin/0x1.d.ts +1138 -493
  10. package/lib/aptos/builtin/0x1.js +1939 -1458
  11. package/lib/aptos/builtin/0x1.js.map +1 -1
  12. package/lib/aptos/builtin/0x3.d.ts +227 -104
  13. package/lib/aptos/builtin/0x3.js +373 -333
  14. package/lib/aptos/builtin/0x3.js.map +1 -1
  15. package/lib/aptos/codegen/codegen.d.ts +1 -1
  16. package/lib/aptos/codegen/codegen.js +6 -47
  17. package/lib/aptos/codegen/codegen.js.map +1 -1
  18. package/lib/aptos/codegen/run.js +1 -1
  19. package/lib/aptos/codegen/run.js.map +1 -1
  20. package/lib/aptos/context.d.ts +3 -0
  21. package/lib/aptos/context.js +5 -0
  22. package/lib/aptos/context.js.map +1 -1
  23. package/lib/aptos/ext/aptos-dex.d.ts +2 -1
  24. package/lib/aptos/ext/aptos-dex.js +1 -2
  25. package/lib/aptos/ext/aptos-dex.js.map +1 -1
  26. package/lib/aptos/index.d.ts +2 -0
  27. package/lib/aptos/index.js +2 -0
  28. package/lib/aptos/index.js.map +1 -1
  29. package/lib/aptos/models.d.ts +3 -11
  30. package/lib/aptos/models.js.map +1 -1
  31. package/lib/aptos/module-client.js +1 -1
  32. package/lib/aptos/module-client.js.map +1 -1
  33. package/lib/aptos/move-coder.d.ts +10 -10
  34. package/lib/aptos/move-coder.js +37 -18
  35. package/lib/aptos/move-coder.js.map +1 -1
  36. package/lib/aptos/utils.d.ts +2 -2
  37. package/lib/aptos/utils.js +10 -7
  38. package/lib/aptos/utils.js.map +1 -1
  39. package/lib/eth/base-processor-template.d.ts +4 -3
  40. package/lib/eth/base-processor-template.js +7 -7
  41. package/lib/eth/base-processor-template.js.map +1 -1
  42. package/lib/eth/base-processor.d.ts +9 -8
  43. package/lib/eth/base-processor.js +13 -11
  44. package/lib/eth/base-processor.js.map +1 -1
  45. package/lib/eth/eth-plugin.js +8 -5
  46. package/lib/eth/eth-plugin.js.map +1 -1
  47. package/lib/eth/eth.d.ts +9 -2
  48. package/lib/eth/eth.js +23 -1
  49. package/lib/eth/eth.js.map +1 -1
  50. package/lib/move/abstract-codegen.d.ts +11 -11
  51. package/lib/move/abstract-codegen.js +59 -22
  52. package/lib/move/abstract-codegen.js.map +1 -1
  53. package/lib/move/abstract-move-coder.d.ts +19 -25
  54. package/lib/move/abstract-move-coder.js +74 -51
  55. package/lib/move/abstract-move-coder.js.map +1 -1
  56. package/lib/move/chain-adapter.d.ts +11 -0
  57. package/lib/move/chain-adapter.js +3 -0
  58. package/lib/move/chain-adapter.js.map +1 -0
  59. package/lib/move/index.d.ts +1 -0
  60. package/lib/move/index.js +1 -0
  61. package/lib/move/index.js.map +1 -1
  62. package/lib/move/types.d.ts +31 -1
  63. package/lib/move/types.js +75 -16
  64. package/lib/move/types.js.map +1 -1
  65. package/lib/move/utils.js +6 -1
  66. package/lib/move/utils.js.map +1 -1
  67. package/lib/sui/builtin/0x1.d.ts +37 -18
  68. package/lib/sui/builtin/0x1.js +58 -32
  69. package/lib/sui/builtin/0x1.js.map +1 -1
  70. package/lib/sui/builtin/0x2.d.ts +275 -125
  71. package/lib/sui/builtin/0x2.js +463 -322
  72. package/lib/sui/builtin/0x2.js.map +1 -1
  73. package/lib/sui/builtin/0x3.d.ts +135 -60
  74. package/lib/sui/builtin/0x3.js +229 -272
  75. package/lib/sui/builtin/0x3.js.map +1 -1
  76. package/lib/sui/codegen/codegen.d.ts +1 -1
  77. package/lib/sui/codegen/codegen.js +10 -36
  78. package/lib/sui/codegen/codegen.js.map +1 -1
  79. package/lib/sui/codegen/run.js +1 -1
  80. package/lib/sui/codegen/run.js.map +1 -1
  81. package/lib/sui/context.d.ts +5 -1
  82. package/lib/sui/context.js +8 -1
  83. package/lib/sui/context.js.map +1 -1
  84. package/lib/sui/index.d.ts +1 -0
  85. package/lib/sui/index.js +1 -0
  86. package/lib/sui/index.js.map +1 -1
  87. package/lib/sui/models.d.ts +3 -11
  88. package/lib/sui/models.js.map +1 -1
  89. package/lib/sui/move-coder.d.ts +15 -15
  90. package/lib/sui/move-coder.js +43 -39
  91. package/lib/sui/move-coder.js.map +1 -1
  92. package/lib/sui/sui-chain-adapter.d.ts +14 -0
  93. package/lib/sui/sui-chain-adapter.js +69 -0
  94. package/lib/sui/sui-chain-adapter.js.map +1 -0
  95. package/lib/sui/sui-plugin.js +4 -2
  96. package/lib/sui/sui-plugin.js.map +1 -1
  97. package/lib/sui/sui-processor.d.ts +6 -3
  98. package/lib/sui/sui-processor.js +23 -14
  99. package/lib/sui/sui-processor.js.map +1 -1
  100. package/lib/sui/utils.d.ts +3 -3
  101. package/lib/sui/utils.js +20 -5
  102. package/lib/sui/utils.js.map +1 -1
  103. package/lib/testing/sui-facet.d.ts +2 -2
  104. package/lib/testing/sui-facet.js +16 -26
  105. package/lib/testing/sui-facet.js.map +1 -1
  106. package/package.json +4 -4
  107. package/src/aptos/aptos-chain-adapter.ts +81 -0
  108. package/src/aptos/aptos-plugin.ts +5 -2
  109. package/src/aptos/aptos-processor.ts +35 -31
  110. package/src/aptos/builtin/0x1.ts +2742 -500
  111. package/src/aptos/builtin/0x3.ts +529 -106
  112. package/src/aptos/codegen/codegen.ts +13 -57
  113. package/src/aptos/codegen/run.ts +1 -1
  114. package/src/aptos/context.ts +5 -0
  115. package/src/aptos/ext/aptos-dex.ts +4 -12
  116. package/src/aptos/index.ts +4 -0
  117. package/src/aptos/models.ts +3 -13
  118. package/src/aptos/module-client.ts +1 -1
  119. package/src/aptos/move-coder.ts +48 -25
  120. package/src/aptos/utils.ts +11 -8
  121. package/src/eth/base-processor-template.ts +20 -10
  122. package/src/eth/base-processor.ts +45 -25
  123. package/src/eth/eth-plugin.ts +9 -6
  124. package/src/eth/eth.ts +31 -2
  125. package/src/move/abstract-codegen.ts +74 -37
  126. package/src/move/abstract-move-coder.ts +87 -75
  127. package/src/move/chain-adapter.ts +17 -0
  128. package/src/move/index.ts +1 -0
  129. package/src/move/types.ts +97 -17
  130. package/src/move/utils.ts +6 -1
  131. package/src/sui/builtin/0x1.ts +75 -20
  132. package/src/sui/builtin/0x2.ts +670 -126
  133. package/src/sui/builtin/0x3.ts +326 -61
  134. package/src/sui/codegen/codegen.ts +17 -43
  135. package/src/sui/codegen/run.ts +1 -1
  136. package/src/sui/context.ts +9 -1
  137. package/src/sui/index.ts +1 -0
  138. package/src/sui/models.ts +3 -13
  139. package/src/sui/move-coder.ts +58 -53
  140. package/src/sui/sui-chain-adapter.ts +86 -0
  141. package/src/sui/sui-plugin.ts +4 -2
  142. package/src/sui/sui-processor.ts +39 -26
  143. package/src/sui/utils.ts +25 -5
  144. package/src/testing/sui-facet.ts +15 -30
@@ -4,7 +4,7 @@
4
4
 
5
5
  /* Generated modules for account 0x3 */
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,
@@ -201,7 +201,7 @@ export class token extends AptosBaseProcessor {
201
201
  event: token.CreateCollectionEventInstance,
202
202
  ctx: AptosContext
203
203
  ) => void,
204
- fetchConfig?: MoveFetchConfig
204
+ fetchConfig?: Partial<MoveFetchConfig>
205
205
  ): token {
206
206
  this.onMoveEvent(
207
207
  func,
@@ -218,7 +218,7 @@ export class token extends AptosBaseProcessor {
218
218
  event: token.CreateTokenDataEventInstance,
219
219
  ctx: AptosContext
220
220
  ) => void,
221
- fetchConfig?: MoveFetchConfig
221
+ fetchConfig?: Partial<MoveFetchConfig>
222
222
  ): token {
223
223
  this.onMoveEvent(
224
224
  func,
@@ -232,7 +232,7 @@ export class token extends AptosBaseProcessor {
232
232
 
233
233
  onEventMintTokenEvent(
234
234
  func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void,
235
- fetchConfig?: MoveFetchConfig
235
+ fetchConfig?: Partial<MoveFetchConfig>
236
236
  ): token {
237
237
  this.onMoveEvent(
238
238
  func,
@@ -246,7 +246,7 @@ export class token extends AptosBaseProcessor {
246
246
 
247
247
  onEventDepositEvent(
248
248
  func: (event: token.DepositEventInstance, ctx: AptosContext) => void,
249
- fetchConfig?: MoveFetchConfig
249
+ fetchConfig?: Partial<MoveFetchConfig>
250
250
  ): token {
251
251
  this.onMoveEvent(
252
252
  func,
@@ -260,7 +260,7 @@ export class token extends AptosBaseProcessor {
260
260
 
261
261
  onEventWithdrawEvent(
262
262
  func: (event: token.WithdrawEventInstance, ctx: AptosContext) => void,
263
- fetchConfig?: MoveFetchConfig
263
+ fetchConfig?: Partial<MoveFetchConfig>
264
264
  ): token {
265
265
  this.onMoveEvent(
266
266
  func,
@@ -274,7 +274,7 @@ export class token extends AptosBaseProcessor {
274
274
 
275
275
  onEventBurnTokenEvent(
276
276
  func: (event: token.BurnTokenEventInstance, ctx: AptosContext) => void,
277
- fetchConfig?: MoveFetchConfig
277
+ fetchConfig?: Partial<MoveFetchConfig>
278
278
  ): token {
279
279
  this.onMoveEvent(
280
280
  func,
@@ -291,7 +291,7 @@ export class token extends AptosBaseProcessor {
291
291
  event: token.MutateTokenPropertyMapEventInstance,
292
292
  ctx: AptosContext
293
293
  ) => void,
294
- fetchConfig?: MoveFetchConfig
294
+ fetchConfig?: Partial<MoveFetchConfig>
295
295
  ): token {
296
296
  this.onMoveEvent(
297
297
  func,
@@ -305,20 +305,28 @@ export class token extends AptosBaseProcessor {
305
305
  }
306
306
 
307
307
  export namespace token {
308
- export class BurnTokenEvent {
309
- static TYPE_QNAME = "0x3::token::BurnTokenEvent";
308
+ export interface BurnTokenEvent {
310
309
  id: token.TokenId;
311
310
  amount: bigint;
312
311
  }
313
312
 
313
+ export namespace BurnTokenEvent {
314
+ export const TYPE_QNAME = "0x3::token::BurnTokenEvent";
315
+
316
+ const TYPE = new TypeDescriptor<BurnTokenEvent>(BurnTokenEvent.TYPE_QNAME);
317
+
318
+ export function type(): TypeDescriptor<BurnTokenEvent> {
319
+ return TYPE.apply();
320
+ }
321
+ }
322
+
314
323
  export interface BurnTokenEventInstance
315
324
  extends TypedEventInstance<BurnTokenEvent> {
316
325
  data_decoded: BurnTokenEvent;
317
326
  type_arguments: [];
318
327
  }
319
328
 
320
- export class CollectionData {
321
- static TYPE_QNAME = "0x3::token::CollectionData";
329
+ export interface CollectionData {
322
330
  description: string;
323
331
  name: string;
324
332
  uri: string;
@@ -327,15 +335,35 @@ export namespace token {
327
335
  mutability_config: token.CollectionMutabilityConfig;
328
336
  }
329
337
 
330
- export class CollectionMutabilityConfig {
331
- static TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
338
+ export namespace CollectionData {
339
+ export const TYPE_QNAME = "0x3::token::CollectionData";
340
+
341
+ const TYPE = new TypeDescriptor<CollectionData>(CollectionData.TYPE_QNAME);
342
+
343
+ export function type(): TypeDescriptor<CollectionData> {
344
+ return TYPE.apply();
345
+ }
346
+ }
347
+
348
+ export interface CollectionMutabilityConfig {
332
349
  description: Boolean;
333
350
  uri: Boolean;
334
351
  maximum: Boolean;
335
352
  }
336
353
 
337
- export class Collections {
338
- static TYPE_QNAME = "0x3::token::Collections";
354
+ export namespace CollectionMutabilityConfig {
355
+ export const TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
356
+
357
+ const TYPE = new TypeDescriptor<CollectionMutabilityConfig>(
358
+ CollectionMutabilityConfig.TYPE_QNAME
359
+ );
360
+
361
+ export function type(): TypeDescriptor<CollectionMutabilityConfig> {
362
+ return TYPE.apply();
363
+ }
364
+ }
365
+
366
+ export interface Collections {
339
367
  collection_data: _0x1.table.Table<string, token.CollectionData>;
340
368
  token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
341
369
  create_collection_events: _0x1.event.EventHandle<token.CreateCollectionEvent>;
@@ -343,8 +371,17 @@ export namespace token {
343
371
  mint_token_events: _0x1.event.EventHandle<token.MintTokenEvent>;
344
372
  }
345
373
 
346
- export class CreateCollectionEvent {
347
- static TYPE_QNAME = "0x3::token::CreateCollectionEvent";
374
+ export namespace Collections {
375
+ export const TYPE_QNAME = "0x3::token::Collections";
376
+
377
+ const TYPE = new TypeDescriptor<Collections>(Collections.TYPE_QNAME);
378
+
379
+ export function type(): TypeDescriptor<Collections> {
380
+ return TYPE.apply();
381
+ }
382
+ }
383
+
384
+ export interface CreateCollectionEvent {
348
385
  creator: Address;
349
386
  collection_name: string;
350
387
  uri: string;
@@ -352,14 +389,25 @@ export namespace token {
352
389
  maximum: bigint;
353
390
  }
354
391
 
392
+ export namespace CreateCollectionEvent {
393
+ export const TYPE_QNAME = "0x3::token::CreateCollectionEvent";
394
+
395
+ const TYPE = new TypeDescriptor<CreateCollectionEvent>(
396
+ CreateCollectionEvent.TYPE_QNAME
397
+ );
398
+
399
+ export function type(): TypeDescriptor<CreateCollectionEvent> {
400
+ return TYPE.apply();
401
+ }
402
+ }
403
+
355
404
  export interface CreateCollectionEventInstance
356
405
  extends TypedEventInstance<CreateCollectionEvent> {
357
406
  data_decoded: CreateCollectionEvent;
358
407
  type_arguments: [];
359
408
  }
360
409
 
361
- export class CreateTokenDataEvent {
362
- static TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
410
+ export interface CreateTokenDataEvent {
363
411
  id: token.TokenDataId;
364
412
  description: string;
365
413
  maximum: bigint;
@@ -374,38 +422,67 @@ export namespace token {
374
422
  property_types: string[];
375
423
  }
376
424
 
425
+ export namespace CreateTokenDataEvent {
426
+ export const TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
427
+
428
+ const TYPE = new TypeDescriptor<CreateTokenDataEvent>(
429
+ CreateTokenDataEvent.TYPE_QNAME
430
+ );
431
+
432
+ export function type(): TypeDescriptor<CreateTokenDataEvent> {
433
+ return TYPE.apply();
434
+ }
435
+ }
436
+
377
437
  export interface CreateTokenDataEventInstance
378
438
  extends TypedEventInstance<CreateTokenDataEvent> {
379
439
  data_decoded: CreateTokenDataEvent;
380
440
  type_arguments: [];
381
441
  }
382
442
 
383
- export class DepositEvent {
384
- static TYPE_QNAME = "0x3::token::DepositEvent";
443
+ export interface DepositEvent {
385
444
  id: token.TokenId;
386
445
  amount: bigint;
387
446
  }
388
447
 
448
+ export namespace DepositEvent {
449
+ export const TYPE_QNAME = "0x3::token::DepositEvent";
450
+
451
+ const TYPE = new TypeDescriptor<DepositEvent>(DepositEvent.TYPE_QNAME);
452
+
453
+ export function type(): TypeDescriptor<DepositEvent> {
454
+ return TYPE.apply();
455
+ }
456
+ }
457
+
389
458
  export interface DepositEventInstance
390
459
  extends TypedEventInstance<DepositEvent> {
391
460
  data_decoded: DepositEvent;
392
461
  type_arguments: [];
393
462
  }
394
463
 
395
- export class MintTokenEvent {
396
- static TYPE_QNAME = "0x3::token::MintTokenEvent";
464
+ export interface MintTokenEvent {
397
465
  id: token.TokenDataId;
398
466
  amount: bigint;
399
467
  }
400
468
 
469
+ export namespace MintTokenEvent {
470
+ export const TYPE_QNAME = "0x3::token::MintTokenEvent";
471
+
472
+ const TYPE = new TypeDescriptor<MintTokenEvent>(MintTokenEvent.TYPE_QNAME);
473
+
474
+ export function type(): TypeDescriptor<MintTokenEvent> {
475
+ return TYPE.apply();
476
+ }
477
+ }
478
+
401
479
  export interface MintTokenEventInstance
402
480
  extends TypedEventInstance<MintTokenEvent> {
403
481
  data_decoded: MintTokenEvent;
404
482
  type_arguments: [];
405
483
  }
406
484
 
407
- export class MutateTokenPropertyMapEvent {
408
- static TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
485
+ export interface MutateTokenPropertyMapEvent {
409
486
  old_id: token.TokenId;
410
487
  new_id: token.TokenId;
411
488
  keys: string[];
@@ -413,28 +490,57 @@ export namespace token {
413
490
  types: string[];
414
491
  }
415
492
 
493
+ export namespace MutateTokenPropertyMapEvent {
494
+ export const TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
495
+
496
+ const TYPE = new TypeDescriptor<MutateTokenPropertyMapEvent>(
497
+ MutateTokenPropertyMapEvent.TYPE_QNAME
498
+ );
499
+
500
+ export function type(): TypeDescriptor<MutateTokenPropertyMapEvent> {
501
+ return TYPE.apply();
502
+ }
503
+ }
504
+
416
505
  export interface MutateTokenPropertyMapEventInstance
417
506
  extends TypedEventInstance<MutateTokenPropertyMapEvent> {
418
507
  data_decoded: MutateTokenPropertyMapEvent;
419
508
  type_arguments: [];
420
509
  }
421
510
 
422
- export class Royalty {
423
- static TYPE_QNAME = "0x3::token::Royalty";
511
+ export interface Royalty {
424
512
  royalty_points_numerator: bigint;
425
513
  royalty_points_denominator: bigint;
426
514
  payee_address: Address;
427
515
  }
428
516
 
429
- export class Token {
430
- static TYPE_QNAME = "0x3::token::Token";
517
+ export namespace Royalty {
518
+ export const TYPE_QNAME = "0x3::token::Royalty";
519
+
520
+ const TYPE = new TypeDescriptor<Royalty>(Royalty.TYPE_QNAME);
521
+
522
+ export function type(): TypeDescriptor<Royalty> {
523
+ return TYPE.apply();
524
+ }
525
+ }
526
+
527
+ export interface Token {
431
528
  id: token.TokenId;
432
529
  amount: bigint;
433
530
  token_properties: property_map.PropertyMap;
434
531
  }
435
532
 
436
- export class TokenData {
437
- static TYPE_QNAME = "0x3::token::TokenData";
533
+ export namespace Token {
534
+ export const TYPE_QNAME = "0x3::token::Token";
535
+
536
+ const TYPE = new TypeDescriptor<Token>(Token.TYPE_QNAME);
537
+
538
+ export function type(): TypeDescriptor<Token> {
539
+ return TYPE.apply();
540
+ }
541
+ }
542
+
543
+ export interface TokenData {
438
544
  maximum: bigint;
439
545
  largest_property_version: bigint;
440
546
  supply: bigint;
@@ -446,21 +552,48 @@ export namespace token {
446
552
  mutability_config: token.TokenMutabilityConfig;
447
553
  }
448
554
 
449
- export class TokenDataId {
450
- static TYPE_QNAME = "0x3::token::TokenDataId";
555
+ export namespace TokenData {
556
+ export const TYPE_QNAME = "0x3::token::TokenData";
557
+
558
+ const TYPE = new TypeDescriptor<TokenData>(TokenData.TYPE_QNAME);
559
+
560
+ export function type(): TypeDescriptor<TokenData> {
561
+ return TYPE.apply();
562
+ }
563
+ }
564
+
565
+ export interface TokenDataId {
451
566
  creator: Address;
452
567
  collection: string;
453
568
  name: string;
454
569
  }
455
570
 
456
- export class TokenId {
457
- static TYPE_QNAME = "0x3::token::TokenId";
571
+ export namespace TokenDataId {
572
+ export const TYPE_QNAME = "0x3::token::TokenDataId";
573
+
574
+ const TYPE = new TypeDescriptor<TokenDataId>(TokenDataId.TYPE_QNAME);
575
+
576
+ export function type(): TypeDescriptor<TokenDataId> {
577
+ return TYPE.apply();
578
+ }
579
+ }
580
+
581
+ export interface TokenId {
458
582
  token_data_id: token.TokenDataId;
459
583
  property_version: bigint;
460
584
  }
461
585
 
462
- export class TokenMutabilityConfig {
463
- static TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
586
+ export namespace TokenId {
587
+ export const TYPE_QNAME = "0x3::token::TokenId";
588
+
589
+ const TYPE = new TypeDescriptor<TokenId>(TokenId.TYPE_QNAME);
590
+
591
+ export function type(): TypeDescriptor<TokenId> {
592
+ return TYPE.apply();
593
+ }
594
+ }
595
+
596
+ export interface TokenMutabilityConfig {
464
597
  maximum: Boolean;
465
598
  uri: Boolean;
466
599
  royalty: Boolean;
@@ -468,8 +601,19 @@ export namespace token {
468
601
  properties: Boolean;
469
602
  }
470
603
 
471
- export class TokenStore {
472
- static TYPE_QNAME = "0x3::token::TokenStore";
604
+ export namespace TokenMutabilityConfig {
605
+ export const TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
606
+
607
+ const TYPE = new TypeDescriptor<TokenMutabilityConfig>(
608
+ TokenMutabilityConfig.TYPE_QNAME
609
+ );
610
+
611
+ export function type(): TypeDescriptor<TokenMutabilityConfig> {
612
+ return TYPE.apply();
613
+ }
614
+ }
615
+
616
+ export interface TokenStore {
473
617
  tokens: _0x1.table.Table<token.TokenId, token.Token>;
474
618
  direct_transfer: Boolean;
475
619
  deposit_events: _0x1.event.EventHandle<token.DepositEvent>;
@@ -478,20 +622,50 @@ export namespace token {
478
622
  mutate_token_property_events: _0x1.event.EventHandle<token.MutateTokenPropertyMapEvent>;
479
623
  }
480
624
 
481
- export class WithdrawCapability {
482
- static TYPE_QNAME = "0x3::token::WithdrawCapability";
625
+ export namespace TokenStore {
626
+ export const TYPE_QNAME = "0x3::token::TokenStore";
627
+
628
+ const TYPE = new TypeDescriptor<TokenStore>(TokenStore.TYPE_QNAME);
629
+
630
+ export function type(): TypeDescriptor<TokenStore> {
631
+ return TYPE.apply();
632
+ }
633
+ }
634
+
635
+ export interface WithdrawCapability {
483
636
  token_owner: Address;
484
637
  token_id: token.TokenId;
485
638
  amount: bigint;
486
639
  expiration_sec: bigint;
487
640
  }
488
641
 
489
- export class WithdrawEvent {
490
- static TYPE_QNAME = "0x3::token::WithdrawEvent";
642
+ export namespace WithdrawCapability {
643
+ export const TYPE_QNAME = "0x3::token::WithdrawCapability";
644
+
645
+ const TYPE = new TypeDescriptor<WithdrawCapability>(
646
+ WithdrawCapability.TYPE_QNAME
647
+ );
648
+
649
+ export function type(): TypeDescriptor<WithdrawCapability> {
650
+ return TYPE.apply();
651
+ }
652
+ }
653
+
654
+ export interface WithdrawEvent {
491
655
  id: token.TokenId;
492
656
  amount: bigint;
493
657
  }
494
658
 
659
+ export namespace WithdrawEvent {
660
+ export const TYPE_QNAME = "0x3::token::WithdrawEvent";
661
+
662
+ const TYPE = new TypeDescriptor<WithdrawEvent>(WithdrawEvent.TYPE_QNAME);
663
+
664
+ export function type(): TypeDescriptor<WithdrawEvent> {
665
+ return TYPE.apply();
666
+ }
667
+ }
668
+
495
669
  export interface WithdrawEventInstance
496
670
  extends TypedEventInstance<WithdrawEvent> {
497
671
  data_decoded: WithdrawEvent;
@@ -616,16 +790,34 @@ export namespace token {
616
790
  }
617
791
 
618
792
  export namespace property_map {
619
- export class PropertyMap {
620
- static TYPE_QNAME = "0x3::property_map::PropertyMap";
793
+ export interface PropertyMap {
621
794
  map: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
622
795
  }
623
796
 
624
- export class PropertyValue {
625
- static TYPE_QNAME = "0x3::property_map::PropertyValue";
797
+ export namespace PropertyMap {
798
+ export const TYPE_QNAME = "0x3::property_map::PropertyMap";
799
+
800
+ const TYPE = new TypeDescriptor<PropertyMap>(PropertyMap.TYPE_QNAME);
801
+
802
+ export function type(): TypeDescriptor<PropertyMap> {
803
+ return TYPE.apply();
804
+ }
805
+ }
806
+
807
+ export interface PropertyValue {
626
808
  value: string;
627
809
  type: string;
628
810
  }
811
+
812
+ export namespace PropertyValue {
813
+ export const TYPE_QNAME = "0x3::property_map::PropertyValue";
814
+
815
+ const TYPE = new TypeDescriptor<PropertyValue>(PropertyValue.TYPE_QNAME);
816
+
817
+ export function type(): TypeDescriptor<PropertyValue> {
818
+ return TYPE.apply();
819
+ }
820
+ }
629
821
  }
630
822
 
631
823
  export class token_coin_swap extends AptosBaseProcessor {
@@ -668,7 +860,7 @@ export class token_coin_swap extends AptosBaseProcessor {
668
860
  event: token_coin_swap.TokenListingEventInstance,
669
861
  ctx: AptosContext
670
862
  ) => void,
671
- fetchConfig?: MoveFetchConfig
863
+ fetchConfig?: Partial<MoveFetchConfig>
672
864
  ): token_coin_swap {
673
865
  this.onMoveEvent(
674
866
  func,
@@ -685,7 +877,7 @@ export class token_coin_swap extends AptosBaseProcessor {
685
877
  event: token_coin_swap.TokenSwapEventInstance,
686
878
  ctx: AptosContext
687
879
  ) => void,
688
- fetchConfig?: MoveFetchConfig
880
+ fetchConfig?: Partial<MoveFetchConfig>
689
881
  ): token_coin_swap {
690
882
  this.onMoveEvent(
691
883
  func,
@@ -699,20 +891,41 @@ export class token_coin_swap extends AptosBaseProcessor {
699
891
  }
700
892
 
701
893
  export namespace token_coin_swap {
702
- export class TokenCoinSwap<T0> {
703
- static TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
894
+ export interface TokenCoinSwap<T0> {
704
895
  token_amount: bigint;
705
896
  min_price_per_token: bigint;
706
897
  }
707
898
 
708
- export class TokenEscrow {
709
- static TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
899
+ export namespace TokenCoinSwap {
900
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
901
+
902
+ const TYPE = new TypeDescriptor<TokenCoinSwap<any>>(
903
+ TokenCoinSwap.TYPE_QNAME
904
+ );
905
+
906
+ export function type<T0>(
907
+ arg0: TypeDescriptor<T0> = ANY_TYPE
908
+ ): TypeDescriptor<TokenCoinSwap<T0>> {
909
+ return TYPE.apply(arg0);
910
+ }
911
+ }
912
+
913
+ export interface TokenEscrow {
710
914
  token: token.Token;
711
915
  locked_until_secs: bigint;
712
916
  }
713
917
 
714
- export class TokenListingEvent {
715
- static TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
918
+ export namespace TokenEscrow {
919
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
920
+
921
+ const TYPE = new TypeDescriptor<TokenEscrow>(TokenEscrow.TYPE_QNAME);
922
+
923
+ export function type(): TypeDescriptor<TokenEscrow> {
924
+ return TYPE.apply();
925
+ }
926
+ }
927
+
928
+ export interface TokenListingEvent {
716
929
  token_id: token.TokenId;
717
930
  amount: bigint;
718
931
  min_price: bigint;
@@ -720,14 +933,25 @@ export namespace token_coin_swap {
720
933
  coin_type_info: _0x1.type_info.TypeInfo;
721
934
  }
722
935
 
936
+ export namespace TokenListingEvent {
937
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
938
+
939
+ const TYPE = new TypeDescriptor<TokenListingEvent>(
940
+ TokenListingEvent.TYPE_QNAME
941
+ );
942
+
943
+ export function type(): TypeDescriptor<TokenListingEvent> {
944
+ return TYPE.apply();
945
+ }
946
+ }
947
+
723
948
  export interface TokenListingEventInstance
724
949
  extends TypedEventInstance<TokenListingEvent> {
725
950
  data_decoded: TokenListingEvent;
726
951
  type_arguments: [];
727
952
  }
728
953
 
729
- export class TokenListings<T0> {
730
- static TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
954
+ export interface TokenListings<T0> {
731
955
  listings: _0x1.table.Table<
732
956
  token.TokenId,
733
957
  token_coin_swap.TokenCoinSwap<T0>
@@ -736,13 +960,37 @@ export namespace token_coin_swap {
736
960
  swap_events: _0x1.event.EventHandle<token_coin_swap.TokenSwapEvent>;
737
961
  }
738
962
 
739
- export class TokenStoreEscrow {
740
- static TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
963
+ export namespace TokenListings {
964
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
965
+
966
+ const TYPE = new TypeDescriptor<TokenListings<any>>(
967
+ TokenListings.TYPE_QNAME
968
+ );
969
+
970
+ export function type<T0>(
971
+ arg0: TypeDescriptor<T0> = ANY_TYPE
972
+ ): TypeDescriptor<TokenListings<T0>> {
973
+ return TYPE.apply(arg0);
974
+ }
975
+ }
976
+
977
+ export interface TokenStoreEscrow {
741
978
  token_escrows: _0x1.table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
742
979
  }
743
980
 
744
- export class TokenSwapEvent {
745
- static TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
981
+ export namespace TokenStoreEscrow {
982
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
983
+
984
+ const TYPE = new TypeDescriptor<TokenStoreEscrow>(
985
+ TokenStoreEscrow.TYPE_QNAME
986
+ );
987
+
988
+ export function type(): TypeDescriptor<TokenStoreEscrow> {
989
+ return TYPE.apply();
990
+ }
991
+ }
992
+
993
+ export interface TokenSwapEvent {
746
994
  token_id: token.TokenId;
747
995
  token_buyer: Address;
748
996
  token_amount: bigint;
@@ -750,6 +998,16 @@ export namespace token_coin_swap {
750
998
  coin_type_info: _0x1.type_info.TypeInfo;
751
999
  }
752
1000
 
1001
+ export namespace TokenSwapEvent {
1002
+ export const TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
1003
+
1004
+ const TYPE = new TypeDescriptor<TokenSwapEvent>(TokenSwapEvent.TYPE_QNAME);
1005
+
1006
+ export function type(): TypeDescriptor<TokenSwapEvent> {
1007
+ return TYPE.apply();
1008
+ }
1009
+ }
1010
+
753
1011
  export interface TokenSwapEventInstance
754
1012
  extends TypedEventInstance<TokenSwapEvent> {
755
1013
  data_decoded: TokenSwapEvent;
@@ -845,7 +1103,7 @@ export class token_transfers extends AptosBaseProcessor {
845
1103
  event: token_transfers.TokenOfferEventInstance,
846
1104
  ctx: AptosContext
847
1105
  ) => void,
848
- fetchConfig?: MoveFetchConfig
1106
+ fetchConfig?: Partial<MoveFetchConfig>
849
1107
  ): token_transfers {
850
1108
  this.onMoveEvent(
851
1109
  func,
@@ -862,7 +1120,7 @@ export class token_transfers extends AptosBaseProcessor {
862
1120
  event: token_transfers.TokenCancelOfferEventInstance,
863
1121
  ctx: AptosContext
864
1122
  ) => void,
865
- fetchConfig?: MoveFetchConfig
1123
+ fetchConfig?: Partial<MoveFetchConfig>
866
1124
  ): token_transfers {
867
1125
  this.onMoveEvent(
868
1126
  func,
@@ -879,7 +1137,7 @@ export class token_transfers extends AptosBaseProcessor {
879
1137
  event: token_transfers.TokenClaimEventInstance,
880
1138
  ctx: AptosContext
881
1139
  ) => void,
882
- fetchConfig?: MoveFetchConfig
1140
+ fetchConfig?: Partial<MoveFetchConfig>
883
1141
  ): token_transfers {
884
1142
  this.onMoveEvent(
885
1143
  func,
@@ -893,59 +1151,110 @@ export class token_transfers extends AptosBaseProcessor {
893
1151
  }
894
1152
 
895
1153
  export namespace token_transfers {
896
- export class PendingClaims {
897
- static TYPE_QNAME = "0x3::token_transfers::PendingClaims";
1154
+ export interface PendingClaims {
898
1155
  pending_claims: _0x1.table.Table<token_transfers.TokenOfferId, token.Token>;
899
1156
  offer_events: _0x1.event.EventHandle<token_transfers.TokenOfferEvent>;
900
1157
  cancel_offer_events: _0x1.event.EventHandle<token_transfers.TokenCancelOfferEvent>;
901
1158
  claim_events: _0x1.event.EventHandle<token_transfers.TokenClaimEvent>;
902
1159
  }
903
1160
 
904
- export class TokenCancelOfferEvent {
905
- static TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
1161
+ export namespace PendingClaims {
1162
+ export const TYPE_QNAME = "0x3::token_transfers::PendingClaims";
1163
+
1164
+ const TYPE = new TypeDescriptor<PendingClaims>(PendingClaims.TYPE_QNAME);
1165
+
1166
+ export function type(): TypeDescriptor<PendingClaims> {
1167
+ return TYPE.apply();
1168
+ }
1169
+ }
1170
+
1171
+ export interface TokenCancelOfferEvent {
906
1172
  to_address: Address;
907
1173
  token_id: token.TokenId;
908
1174
  amount: bigint;
909
1175
  }
910
1176
 
1177
+ export namespace TokenCancelOfferEvent {
1178
+ export const TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
1179
+
1180
+ const TYPE = new TypeDescriptor<TokenCancelOfferEvent>(
1181
+ TokenCancelOfferEvent.TYPE_QNAME
1182
+ );
1183
+
1184
+ export function type(): TypeDescriptor<TokenCancelOfferEvent> {
1185
+ return TYPE.apply();
1186
+ }
1187
+ }
1188
+
911
1189
  export interface TokenCancelOfferEventInstance
912
1190
  extends TypedEventInstance<TokenCancelOfferEvent> {
913
1191
  data_decoded: TokenCancelOfferEvent;
914
1192
  type_arguments: [];
915
1193
  }
916
1194
 
917
- export class TokenClaimEvent {
918
- static TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
1195
+ export interface TokenClaimEvent {
919
1196
  to_address: Address;
920
1197
  token_id: token.TokenId;
921
1198
  amount: bigint;
922
1199
  }
923
1200
 
1201
+ export namespace TokenClaimEvent {
1202
+ export const TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
1203
+
1204
+ const TYPE = new TypeDescriptor<TokenClaimEvent>(
1205
+ TokenClaimEvent.TYPE_QNAME
1206
+ );
1207
+
1208
+ export function type(): TypeDescriptor<TokenClaimEvent> {
1209
+ return TYPE.apply();
1210
+ }
1211
+ }
1212
+
924
1213
  export interface TokenClaimEventInstance
925
1214
  extends TypedEventInstance<TokenClaimEvent> {
926
1215
  data_decoded: TokenClaimEvent;
927
1216
  type_arguments: [];
928
1217
  }
929
1218
 
930
- export class TokenOfferEvent {
931
- static TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
1219
+ export interface TokenOfferEvent {
932
1220
  to_address: Address;
933
1221
  token_id: token.TokenId;
934
1222
  amount: bigint;
935
1223
  }
936
1224
 
1225
+ export namespace TokenOfferEvent {
1226
+ export const TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
1227
+
1228
+ const TYPE = new TypeDescriptor<TokenOfferEvent>(
1229
+ TokenOfferEvent.TYPE_QNAME
1230
+ );
1231
+
1232
+ export function type(): TypeDescriptor<TokenOfferEvent> {
1233
+ return TYPE.apply();
1234
+ }
1235
+ }
1236
+
937
1237
  export interface TokenOfferEventInstance
938
1238
  extends TypedEventInstance<TokenOfferEvent> {
939
1239
  data_decoded: TokenOfferEvent;
940
1240
  type_arguments: [];
941
1241
  }
942
1242
 
943
- export class TokenOfferId {
944
- static TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
1243
+ export interface TokenOfferId {
945
1244
  to_addr: Address;
946
1245
  token_id: token.TokenId;
947
1246
  }
948
1247
 
1248
+ export namespace TokenOfferId {
1249
+ export const TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
1250
+
1251
+ const TYPE = new TypeDescriptor<TokenOfferId>(TokenOfferId.TYPE_QNAME);
1252
+
1253
+ export function type(): TypeDescriptor<TokenOfferId> {
1254
+ return TYPE.apply();
1255
+ }
1256
+ }
1257
+
949
1258
  export interface CancelOfferScriptPayload
950
1259
  extends TypedFunctionPayload<
951
1260
  [Address, Address, Address, string, string, bigint]
@@ -1000,7 +1309,7 @@ export class token_event_store extends AptosBaseProcessor {
1000
1309
  event: token_event_store.CollectionUriMutateEventInstance,
1001
1310
  ctx: AptosContext
1002
1311
  ) => void,
1003
- fetchConfig?: MoveFetchConfig
1312
+ fetchConfig?: Partial<MoveFetchConfig>
1004
1313
  ): token_event_store {
1005
1314
  this.onMoveEvent(
1006
1315
  func,
@@ -1017,7 +1326,7 @@ export class token_event_store extends AptosBaseProcessor {
1017
1326
  event: token_event_store.CollectionMaxiumMutateEventInstance,
1018
1327
  ctx: AptosContext
1019
1328
  ) => void,
1020
- fetchConfig?: MoveFetchConfig
1329
+ fetchConfig?: Partial<MoveFetchConfig>
1021
1330
  ): token_event_store {
1022
1331
  this.onMoveEvent(
1023
1332
  func,
@@ -1034,7 +1343,7 @@ export class token_event_store extends AptosBaseProcessor {
1034
1343
  event: token_event_store.CollectionDescriptionMutateEventInstance,
1035
1344
  ctx: AptosContext
1036
1345
  ) => void,
1037
- fetchConfig?: MoveFetchConfig
1346
+ fetchConfig?: Partial<MoveFetchConfig>
1038
1347
  ): token_event_store {
1039
1348
  this.onMoveEvent(
1040
1349
  func,
@@ -1051,7 +1360,7 @@ export class token_event_store extends AptosBaseProcessor {
1051
1360
  event: token_event_store.OptInTransferEventInstance,
1052
1361
  ctx: AptosContext
1053
1362
  ) => void,
1054
- fetchConfig?: MoveFetchConfig
1363
+ fetchConfig?: Partial<MoveFetchConfig>
1055
1364
  ): token_event_store {
1056
1365
  this.onMoveEvent(
1057
1366
  func,
@@ -1068,7 +1377,7 @@ export class token_event_store extends AptosBaseProcessor {
1068
1377
  event: token_event_store.UriMutationEventInstance,
1069
1378
  ctx: AptosContext
1070
1379
  ) => void,
1071
- fetchConfig?: MoveFetchConfig
1380
+ fetchConfig?: Partial<MoveFetchConfig>
1072
1381
  ): token_event_store {
1073
1382
  this.onMoveEvent(
1074
1383
  func,
@@ -1085,7 +1394,7 @@ export class token_event_store extends AptosBaseProcessor {
1085
1394
  event: token_event_store.DefaultPropertyMutateEventInstance,
1086
1395
  ctx: AptosContext
1087
1396
  ) => void,
1088
- fetchConfig?: MoveFetchConfig
1397
+ fetchConfig?: Partial<MoveFetchConfig>
1089
1398
  ): token_event_store {
1090
1399
  this.onMoveEvent(
1091
1400
  func,
@@ -1102,7 +1411,7 @@ export class token_event_store extends AptosBaseProcessor {
1102
1411
  event: token_event_store.DescriptionMutateEventInstance,
1103
1412
  ctx: AptosContext
1104
1413
  ) => void,
1105
- fetchConfig?: MoveFetchConfig
1414
+ fetchConfig?: Partial<MoveFetchConfig>
1106
1415
  ): token_event_store {
1107
1416
  this.onMoveEvent(
1108
1417
  func,
@@ -1119,7 +1428,7 @@ export class token_event_store extends AptosBaseProcessor {
1119
1428
  event: token_event_store.RoyaltyMutateEventInstance,
1120
1429
  ctx: AptosContext
1121
1430
  ) => void,
1122
- fetchConfig?: MoveFetchConfig
1431
+ fetchConfig?: Partial<MoveFetchConfig>
1123
1432
  ): token_event_store {
1124
1433
  this.onMoveEvent(
1125
1434
  func,
@@ -1136,7 +1445,7 @@ export class token_event_store extends AptosBaseProcessor {
1136
1445
  event: token_event_store.MaxiumMutateEventInstance,
1137
1446
  ctx: AptosContext
1138
1447
  ) => void,
1139
- fetchConfig?: MoveFetchConfig
1448
+ fetchConfig?: Partial<MoveFetchConfig>
1140
1449
  ): token_event_store {
1141
1450
  this.onMoveEvent(
1142
1451
  func,
@@ -1150,51 +1459,85 @@ export class token_event_store extends AptosBaseProcessor {
1150
1459
  }
1151
1460
 
1152
1461
  export namespace token_event_store {
1153
- export class CollectionDescriptionMutateEvent {
1154
- static TYPE_QNAME =
1155
- "0x3::token_event_store::CollectionDescriptionMutateEvent";
1462
+ export interface CollectionDescriptionMutateEvent {
1156
1463
  creator_addr: Address;
1157
1464
  collection_name: string;
1158
1465
  old_description: string;
1159
1466
  new_description: string;
1160
1467
  }
1161
1468
 
1469
+ export namespace CollectionDescriptionMutateEvent {
1470
+ export const TYPE_QNAME =
1471
+ "0x3::token_event_store::CollectionDescriptionMutateEvent";
1472
+
1473
+ const TYPE = new TypeDescriptor<CollectionDescriptionMutateEvent>(
1474
+ CollectionDescriptionMutateEvent.TYPE_QNAME
1475
+ );
1476
+
1477
+ export function type(): TypeDescriptor<CollectionDescriptionMutateEvent> {
1478
+ return TYPE.apply();
1479
+ }
1480
+ }
1481
+
1162
1482
  export interface CollectionDescriptionMutateEventInstance
1163
1483
  extends TypedEventInstance<CollectionDescriptionMutateEvent> {
1164
1484
  data_decoded: CollectionDescriptionMutateEvent;
1165
1485
  type_arguments: [];
1166
1486
  }
1167
1487
 
1168
- export class CollectionMaxiumMutateEvent {
1169
- static TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutateEvent";
1488
+ export interface CollectionMaxiumMutateEvent {
1170
1489
  creator_addr: Address;
1171
1490
  collection_name: string;
1172
1491
  old_maximum: bigint;
1173
1492
  new_maximum: bigint;
1174
1493
  }
1175
1494
 
1495
+ export namespace CollectionMaxiumMutateEvent {
1496
+ export const TYPE_QNAME =
1497
+ "0x3::token_event_store::CollectionMaxiumMutateEvent";
1498
+
1499
+ const TYPE = new TypeDescriptor<CollectionMaxiumMutateEvent>(
1500
+ CollectionMaxiumMutateEvent.TYPE_QNAME
1501
+ );
1502
+
1503
+ export function type(): TypeDescriptor<CollectionMaxiumMutateEvent> {
1504
+ return TYPE.apply();
1505
+ }
1506
+ }
1507
+
1176
1508
  export interface CollectionMaxiumMutateEventInstance
1177
1509
  extends TypedEventInstance<CollectionMaxiumMutateEvent> {
1178
1510
  data_decoded: CollectionMaxiumMutateEvent;
1179
1511
  type_arguments: [];
1180
1512
  }
1181
1513
 
1182
- export class CollectionUriMutateEvent {
1183
- static TYPE_QNAME = "0x3::token_event_store::CollectionUriMutateEvent";
1514
+ export interface CollectionUriMutateEvent {
1184
1515
  creator_addr: Address;
1185
1516
  collection_name: string;
1186
1517
  old_uri: string;
1187
1518
  new_uri: string;
1188
1519
  }
1189
1520
 
1521
+ export namespace CollectionUriMutateEvent {
1522
+ export const TYPE_QNAME =
1523
+ "0x3::token_event_store::CollectionUriMutateEvent";
1524
+
1525
+ const TYPE = new TypeDescriptor<CollectionUriMutateEvent>(
1526
+ CollectionUriMutateEvent.TYPE_QNAME
1527
+ );
1528
+
1529
+ export function type(): TypeDescriptor<CollectionUriMutateEvent> {
1530
+ return TYPE.apply();
1531
+ }
1532
+ }
1533
+
1190
1534
  export interface CollectionUriMutateEventInstance
1191
1535
  extends TypedEventInstance<CollectionUriMutateEvent> {
1192
1536
  data_decoded: CollectionUriMutateEvent;
1193
1537
  type_arguments: [];
1194
1538
  }
1195
1539
 
1196
- export class DefaultPropertyMutateEvent {
1197
- static TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutateEvent";
1540
+ export interface DefaultPropertyMutateEvent {
1198
1541
  creator: Address;
1199
1542
  collection: string;
1200
1543
  token: string;
@@ -1203,14 +1546,26 @@ export namespace token_event_store {
1203
1546
  new_values: property_map.PropertyValue[];
1204
1547
  }
1205
1548
 
1549
+ export namespace DefaultPropertyMutateEvent {
1550
+ export const TYPE_QNAME =
1551
+ "0x3::token_event_store::DefaultPropertyMutateEvent";
1552
+
1553
+ const TYPE = new TypeDescriptor<DefaultPropertyMutateEvent>(
1554
+ DefaultPropertyMutateEvent.TYPE_QNAME
1555
+ );
1556
+
1557
+ export function type(): TypeDescriptor<DefaultPropertyMutateEvent> {
1558
+ return TYPE.apply();
1559
+ }
1560
+ }
1561
+
1206
1562
  export interface DefaultPropertyMutateEventInstance
1207
1563
  extends TypedEventInstance<DefaultPropertyMutateEvent> {
1208
1564
  data_decoded: DefaultPropertyMutateEvent;
1209
1565
  type_arguments: [];
1210
1566
  }
1211
1567
 
1212
- export class DescriptionMutateEvent {
1213
- static TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
1568
+ export interface DescriptionMutateEvent {
1214
1569
  creator: Address;
1215
1570
  collection: string;
1216
1571
  token: string;
@@ -1218,14 +1573,25 @@ export namespace token_event_store {
1218
1573
  new_description: string;
1219
1574
  }
1220
1575
 
1576
+ export namespace DescriptionMutateEvent {
1577
+ export const TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
1578
+
1579
+ const TYPE = new TypeDescriptor<DescriptionMutateEvent>(
1580
+ DescriptionMutateEvent.TYPE_QNAME
1581
+ );
1582
+
1583
+ export function type(): TypeDescriptor<DescriptionMutateEvent> {
1584
+ return TYPE.apply();
1585
+ }
1586
+ }
1587
+
1221
1588
  export interface DescriptionMutateEventInstance
1222
1589
  extends TypedEventInstance<DescriptionMutateEvent> {
1223
1590
  data_decoded: DescriptionMutateEvent;
1224
1591
  type_arguments: [];
1225
1592
  }
1226
1593
 
1227
- export class MaxiumMutateEvent {
1228
- static TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
1594
+ export interface MaxiumMutateEvent {
1229
1595
  creator: Address;
1230
1596
  collection: string;
1231
1597
  token: string;
@@ -1233,25 +1599,47 @@ export namespace token_event_store {
1233
1599
  new_maximum: bigint;
1234
1600
  }
1235
1601
 
1602
+ export namespace MaxiumMutateEvent {
1603
+ export const TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
1604
+
1605
+ const TYPE = new TypeDescriptor<MaxiumMutateEvent>(
1606
+ MaxiumMutateEvent.TYPE_QNAME
1607
+ );
1608
+
1609
+ export function type(): TypeDescriptor<MaxiumMutateEvent> {
1610
+ return TYPE.apply();
1611
+ }
1612
+ }
1613
+
1236
1614
  export interface MaxiumMutateEventInstance
1237
1615
  extends TypedEventInstance<MaxiumMutateEvent> {
1238
1616
  data_decoded: MaxiumMutateEvent;
1239
1617
  type_arguments: [];
1240
1618
  }
1241
1619
 
1242
- export class OptInTransferEvent {
1243
- static TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
1620
+ export interface OptInTransferEvent {
1244
1621
  opt_in: Boolean;
1245
1622
  }
1246
1623
 
1624
+ export namespace OptInTransferEvent {
1625
+ export const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
1626
+
1627
+ const TYPE = new TypeDescriptor<OptInTransferEvent>(
1628
+ OptInTransferEvent.TYPE_QNAME
1629
+ );
1630
+
1631
+ export function type(): TypeDescriptor<OptInTransferEvent> {
1632
+ return TYPE.apply();
1633
+ }
1634
+ }
1635
+
1247
1636
  export interface OptInTransferEventInstance
1248
1637
  extends TypedEventInstance<OptInTransferEvent> {
1249
1638
  data_decoded: OptInTransferEvent;
1250
1639
  type_arguments: [];
1251
1640
  }
1252
1641
 
1253
- export class RoyaltyMutateEvent {
1254
- static TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
1642
+ export interface RoyaltyMutateEvent {
1255
1643
  creator: Address;
1256
1644
  collection: string;
1257
1645
  token: string;
@@ -1263,14 +1651,25 @@ export namespace token_event_store {
1263
1651
  new_royalty_payee_addr: Address;
1264
1652
  }
1265
1653
 
1654
+ export namespace RoyaltyMutateEvent {
1655
+ export const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
1656
+
1657
+ const TYPE = new TypeDescriptor<RoyaltyMutateEvent>(
1658
+ RoyaltyMutateEvent.TYPE_QNAME
1659
+ );
1660
+
1661
+ export function type(): TypeDescriptor<RoyaltyMutateEvent> {
1662
+ return TYPE.apply();
1663
+ }
1664
+ }
1665
+
1266
1666
  export interface RoyaltyMutateEventInstance
1267
1667
  extends TypedEventInstance<RoyaltyMutateEvent> {
1268
1668
  data_decoded: RoyaltyMutateEvent;
1269
1669
  type_arguments: [];
1270
1670
  }
1271
1671
 
1272
- export class TokenEventStoreV1 {
1273
- static TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
1672
+ export interface TokenEventStoreV1 {
1274
1673
  collection_uri_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionUriMutateEvent>;
1275
1674
  collection_maximum_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionMaxiumMutateEvent>;
1276
1675
  collection_description_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionDescriptionMutateEvent>;
@@ -1283,8 +1682,19 @@ export namespace token_event_store {
1283
1682
  extension: _0x1.option.Option<_0x1.any_.Any>;
1284
1683
  }
1285
1684
 
1286
- export class UriMutationEvent {
1287
- static TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
1685
+ export namespace TokenEventStoreV1 {
1686
+ export const TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
1687
+
1688
+ const TYPE = new TypeDescriptor<TokenEventStoreV1>(
1689
+ TokenEventStoreV1.TYPE_QNAME
1690
+ );
1691
+
1692
+ export function type(): TypeDescriptor<TokenEventStoreV1> {
1693
+ return TYPE.apply();
1694
+ }
1695
+ }
1696
+
1697
+ export interface UriMutationEvent {
1288
1698
  creator: Address;
1289
1699
  collection: string;
1290
1700
  token: string;
@@ -1292,6 +1702,18 @@ export namespace token_event_store {
1292
1702
  new_uri: string;
1293
1703
  }
1294
1704
 
1705
+ export namespace UriMutationEvent {
1706
+ export const TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
1707
+
1708
+ const TYPE = new TypeDescriptor<UriMutationEvent>(
1709
+ UriMutationEvent.TYPE_QNAME
1710
+ );
1711
+
1712
+ export function type(): TypeDescriptor<UriMutationEvent> {
1713
+ return TYPE.apply();
1714
+ }
1715
+ }
1716
+
1295
1717
  export interface UriMutationEventInstance
1296
1718
  extends TypedEventInstance<UriMutationEvent> {
1297
1719
  data_decoded: UriMutationEvent;
@@ -1310,4 +1732,5 @@ export function loadAllTypes(coder: MoveCoder) {
1310
1732
  }
1311
1733
  }
1312
1734
 
1313
- loadAllTypes(defaultMoveCoder());
1735
+ loadAllTypes(defaultMoveCoder(AptosNetwork.MAIN_NET));
1736
+ loadAllTypes(defaultMoveCoder(AptosNetwork.TEST_NET));