@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.
- package/lib/aptos/builtin/0x1.d.ts +1076 -431
- package/lib/aptos/builtin/0x1.js +1937 -1457
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +206 -83
- package/lib/aptos/builtin/0x3.js +371 -332
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.d.ts +1 -1
- package/lib/aptos/codegen/codegen.js +2 -2
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/codegen/run.js +1 -1
- package/lib/aptos/codegen/run.js.map +1 -1
- package/lib/aptos/ext/aptos-dex.d.ts +2 -1
- package/lib/aptos/ext/aptos-dex.js +1 -1
- package/lib/aptos/ext/aptos-dex.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -0
- package/lib/aptos/index.js +1 -0
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +3 -11
- package/lib/aptos/models.js.map +1 -1
- package/lib/aptos/move-coder.d.ts +3 -2
- package/lib/aptos/move-coder.js +11 -4
- package/lib/aptos/move-coder.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts +2 -2
- package/lib/move/abstract-codegen.js +36 -11
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/move/abstract-move-coder.d.ts +3 -7
- package/lib/move/abstract-move-coder.js +3 -3
- package/lib/move/abstract-move-coder.js.map +1 -1
- package/lib/move/types.d.ts +22 -1
- package/lib/move/types.js +46 -17
- package/lib/move/types.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +31 -12
- package/lib/sui/builtin/0x1.js +56 -31
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +256 -103
- package/lib/sui/builtin/0x2.js +461 -316
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +126 -51
- package/lib/sui/builtin/0x3.js +227 -271
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.d.ts +1 -1
- package/lib/sui/codegen/codegen.js +3 -2
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/codegen/run.js +1 -1
- package/lib/sui/codegen/run.js.map +1 -1
- package/lib/sui/index.d.ts +1 -0
- package/lib/sui/index.js +1 -0
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/models.d.ts +3 -11
- package/lib/sui/models.js.map +1 -1
- package/lib/sui/move-coder.d.ts +5 -5
- package/lib/sui/move-coder.js +14 -7
- package/lib/sui/move-coder.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +2688 -447
- package/src/aptos/builtin/0x3.ts +506 -84
- package/src/aptos/codegen/codegen.ts +7 -2
- package/src/aptos/codegen/run.ts +1 -1
- package/src/aptos/ext/aptos-dex.ts +3 -5
- package/src/aptos/index.ts +2 -0
- package/src/aptos/models.ts +3 -13
- package/src/aptos/move-coder.ts +14 -4
- package/src/move/abstract-codegen.ts +39 -13
- package/src/move/abstract-move-coder.ts +11 -16
- package/src/move/types.ts +63 -18
- package/src/sui/builtin/0x1.ts +67 -13
- package/src/sui/builtin/0x2.ts +649 -103
- package/src/sui/builtin/0x3.ts +315 -51
- package/src/sui/codegen/codegen.ts +8 -2
- package/src/sui/codegen/run.ts +1 -1
- package/src/sui/index.ts +1 -0
- package/src/sui/models.ts +3 -13
- package/src/sui/move-coder.ts +22 -15
package/src/aptos/builtin/0x3.ts
CHANGED
@@ -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,
|
@@ -305,20 +305,28 @@ export class token extends AptosBaseProcessor {
|
|
305
305
|
}
|
306
306
|
|
307
307
|
export namespace token {
|
308
|
-
export
|
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
|
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
|
331
|
-
|
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
|
338
|
-
|
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
|
347
|
-
|
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
|
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
|
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
|
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
|
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
|
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
|
430
|
-
|
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
|
437
|
-
|
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
|
450
|
-
|
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
|
457
|
-
|
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
|
463
|
-
|
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
|
472
|
-
|
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
|
482
|
-
|
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
|
490
|
-
|
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
|
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
|
625
|
-
|
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 {
|
@@ -699,20 +891,41 @@ export class token_coin_swap extends AptosBaseProcessor {
|
|
699
891
|
}
|
700
892
|
|
701
893
|
export namespace token_coin_swap {
|
702
|
-
export
|
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
|
709
|
-
|
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
|
715
|
-
|
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
|
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
|
740
|
-
|
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
|
745
|
-
|
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;
|
@@ -893,59 +1151,110 @@ export class token_transfers extends AptosBaseProcessor {
|
|
893
1151
|
}
|
894
1152
|
|
895
1153
|
export namespace token_transfers {
|
896
|
-
export
|
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
|
905
|
-
|
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
|
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
|
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
|
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]
|
@@ -1150,51 +1459,85 @@ export class token_event_store extends AptosBaseProcessor {
|
|
1150
1459
|
}
|
1151
1460
|
|
1152
1461
|
export namespace token_event_store {
|
1153
|
-
export
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
1287
|
-
|
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;
|