@sentio/sdk 2.6.4-rc.3 → 2.7.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,7 @@ export declare class token extends AptosBaseProcessor {
16
16
  onEntryMintScript(func: (call: token.MintScriptPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): token;
17
17
  onEntryMutateTokenProperties(func: (call: token.MutateTokenPropertiesPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): token;
18
18
  onEntryOptInDirectTransfer(func: (call: token.OptInDirectTransferPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): token;
19
+ onEntryTransferWithOptIn(func: (call: token.TransferWithOptInPayload, ctx: AptosContext) => void, filter?: CallFilter, fetchConfig?: MoveFetchConfig): token;
19
20
  onEventCreateCollectionEvent(func: (event: token.CreateCollectionEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token;
20
21
  onEventCreateTokenDataEvent(func: (event: token.CreateTokenDataEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token;
21
22
  onEventMintTokenEvent(func: (event: token.MintTokenEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token;
@@ -277,6 +278,17 @@ export declare namespace token {
277
278
  arguments_decoded: [Boolean];
278
279
  type_arguments: [];
279
280
  }
281
+ interface TransferWithOptInPayload extends TypedFunctionPayload<[
282
+ Address,
283
+ string,
284
+ string,
285
+ bigint,
286
+ Address,
287
+ bigint
288
+ ]> {
289
+ arguments_decoded: [Address, string, string, bigint, Address, bigint];
290
+ type_arguments: [];
291
+ }
280
292
  }
281
293
  export declare namespace property_map {
282
294
  class PropertyMap {
@@ -460,4 +472,139 @@ export declare namespace token_transfers {
460
472
  type_arguments: [];
461
473
  }
462
474
  }
475
+ export declare class token_event_store extends AptosBaseProcessor {
476
+ constructor(options: AptosBindOptions);
477
+ static DEFAULT_OPTIONS: AptosBindOptions;
478
+ static bind(options?: Partial<AptosBindOptions>): token_event_store;
479
+ onEventCollectionUriMutateEvent(func: (event: token_event_store.CollectionUriMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
480
+ onEventCollectionMaxiumMutateEvent(func: (event: token_event_store.CollectionMaxiumMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
481
+ onEventCollectionDescriptionMutateEvent(func: (event: token_event_store.CollectionDescriptionMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
482
+ onEventOptInTransferEvent(func: (event: token_event_store.OptInTransferEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
483
+ onEventUriMutationEvent(func: (event: token_event_store.UriMutationEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
484
+ onEventDefaultPropertyMutateEvent(func: (event: token_event_store.DefaultPropertyMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
485
+ onEventDescriptionMutateEvent(func: (event: token_event_store.DescriptionMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
486
+ onEventRoyaltyMutateEvent(func: (event: token_event_store.RoyaltyMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
487
+ onEventMaxiumMutateEvent(func: (event: token_event_store.MaxiumMutateEventInstance, ctx: AptosContext) => void, fetchConfig?: MoveFetchConfig): token_event_store;
488
+ }
489
+ export declare namespace token_event_store {
490
+ class CollectionDescriptionMutateEvent {
491
+ static TYPE_QNAME: string;
492
+ creator_addr: Address;
493
+ collection_name: string;
494
+ old_description: string;
495
+ new_description: string;
496
+ }
497
+ interface CollectionDescriptionMutateEventInstance extends TypedEventInstance<CollectionDescriptionMutateEvent> {
498
+ data_decoded: CollectionDescriptionMutateEvent;
499
+ type_arguments: [];
500
+ }
501
+ class CollectionMaxiumMutateEvent {
502
+ static TYPE_QNAME: string;
503
+ creator_addr: Address;
504
+ collection_name: string;
505
+ old_maximum: bigint;
506
+ new_maximum: bigint;
507
+ }
508
+ interface CollectionMaxiumMutateEventInstance extends TypedEventInstance<CollectionMaxiumMutateEvent> {
509
+ data_decoded: CollectionMaxiumMutateEvent;
510
+ type_arguments: [];
511
+ }
512
+ class CollectionUriMutateEvent {
513
+ static TYPE_QNAME: string;
514
+ creator_addr: Address;
515
+ collection_name: string;
516
+ old_uri: string;
517
+ new_uri: string;
518
+ }
519
+ interface CollectionUriMutateEventInstance extends TypedEventInstance<CollectionUriMutateEvent> {
520
+ data_decoded: CollectionUriMutateEvent;
521
+ type_arguments: [];
522
+ }
523
+ class DefaultPropertyMutateEvent {
524
+ static TYPE_QNAME: string;
525
+ creator: Address;
526
+ collection: string;
527
+ token: string;
528
+ keys: string[];
529
+ old_values: _0x1.option.Option<property_map.PropertyValue>[];
530
+ new_values: property_map.PropertyValue[];
531
+ }
532
+ interface DefaultPropertyMutateEventInstance extends TypedEventInstance<DefaultPropertyMutateEvent> {
533
+ data_decoded: DefaultPropertyMutateEvent;
534
+ type_arguments: [];
535
+ }
536
+ class DescriptionMutateEvent {
537
+ static TYPE_QNAME: string;
538
+ creator: Address;
539
+ collection: string;
540
+ token: string;
541
+ old_description: string;
542
+ new_description: string;
543
+ }
544
+ interface DescriptionMutateEventInstance extends TypedEventInstance<DescriptionMutateEvent> {
545
+ data_decoded: DescriptionMutateEvent;
546
+ type_arguments: [];
547
+ }
548
+ class MaxiumMutateEvent {
549
+ static TYPE_QNAME: string;
550
+ creator: Address;
551
+ collection: string;
552
+ token: string;
553
+ old_maximum: bigint;
554
+ new_maximum: bigint;
555
+ }
556
+ interface MaxiumMutateEventInstance extends TypedEventInstance<MaxiumMutateEvent> {
557
+ data_decoded: MaxiumMutateEvent;
558
+ type_arguments: [];
559
+ }
560
+ class OptInTransferEvent {
561
+ static TYPE_QNAME: string;
562
+ opt_in: Boolean;
563
+ }
564
+ interface OptInTransferEventInstance extends TypedEventInstance<OptInTransferEvent> {
565
+ data_decoded: OptInTransferEvent;
566
+ type_arguments: [];
567
+ }
568
+ class RoyaltyMutateEvent {
569
+ static TYPE_QNAME: string;
570
+ creator: Address;
571
+ collection: string;
572
+ token: string;
573
+ old_royalty_numerator: bigint;
574
+ old_royalty_denominator: bigint;
575
+ old_royalty_payee_addr: Address;
576
+ new_royalty_numerator: bigint;
577
+ new_royalty_denominator: bigint;
578
+ new_royalty_payee_addr: Address;
579
+ }
580
+ interface RoyaltyMutateEventInstance extends TypedEventInstance<RoyaltyMutateEvent> {
581
+ data_decoded: RoyaltyMutateEvent;
582
+ type_arguments: [];
583
+ }
584
+ class TokenEventStoreV1 {
585
+ static TYPE_QNAME: string;
586
+ collection_uri_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionUriMutateEvent>;
587
+ collection_maximum_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionMaxiumMutateEvent>;
588
+ collection_description_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionDescriptionMutateEvent>;
589
+ opt_in_events: _0x1.event.EventHandle<token_event_store.OptInTransferEvent>;
590
+ uri_mutate_events: _0x1.event.EventHandle<token_event_store.UriMutationEvent>;
591
+ default_property_mutate_events: _0x1.event.EventHandle<token_event_store.DefaultPropertyMutateEvent>;
592
+ description_mutate_events: _0x1.event.EventHandle<token_event_store.DescriptionMutateEvent>;
593
+ royalty_mutate_events: _0x1.event.EventHandle<token_event_store.RoyaltyMutateEvent>;
594
+ maximum_mutate_events: _0x1.event.EventHandle<token_event_store.MaxiumMutateEvent>;
595
+ extension: _0x1.option.Option<_0x1.any_.Any>;
596
+ }
597
+ class UriMutationEvent {
598
+ static TYPE_QNAME: string;
599
+ creator: Address;
600
+ collection: string;
601
+ token: string;
602
+ old_uri: string;
603
+ new_uri: string;
604
+ }
605
+ interface UriMutationEventInstance extends TypedEventInstance<UriMutationEvent> {
606
+ data_decoded: UriMutationEvent;
607
+ type_arguments: [];
608
+ }
609
+ }
463
610
  export declare function loadAllTypes(coder: MoveCoder): void;