token_event_store

Class in @sentio/sdk/aptos/builtin › _0x3

Defined in @sentio/sdk/aptos/builtin › _0x3

Event and struct types of this Move module: @typemove/aptos › 0x3::token_event_store

Extends

Constructors

Constructor

new token_event_store(options: AptosBindOptions): token_event_store;

Parameters

ParameterType
optionsAptosBindOptions

Returns

token_event_store

Overrides

AptosBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<AptCall>[][]AptosBaseProcessor.callHandlers
coderpublicMoveCoderundefinedAptosBaseProcessor.coder
configpublicIndexConfigureundefinedAptosBaseProcessor.config
eventHandlerspublicEventHandler<AptEvent>[][]AptosBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedAptosBaseProcessor.moduleName
resourceChangeHandlerspublicResourceChangeHandler<AptResource>[][]AptosBaseProcessor.resourceChangeHandlers
transactionIntervalHandlerspublicTransactionIntervalHandler[][]AptosBaseProcessor.transactionIntervalHandlers
DEFAULT_OPTIONSstaticAptosBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

AptosBaseProcessor.getChainId


onEvent()

onEvent(handler: (event: Event, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;

Parameters

ParameterType
handler(event: Event, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, Event>

Returns

this

Inherited from

AptosBaseProcessor.onEvent


onEventCollectionDescriptionMutate()

onEventCollectionDescriptionMutate(
   func: (event: CollectionDescriptionMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionDescriptionMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionDescriptionMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionDescriptionMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionDescriptionMutateEvent()

onEventCollectionDescriptionMutateEvent(
   func: (event: CollectionDescriptionMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionDescriptionMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionDescriptionMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionDescriptionMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionMaximumMutate()

onEventCollectionMaximumMutate(
   func: (event: CollectionMaximumMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionMaximumMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionMaximumMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionMaximumMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionMaxiumMutate()

onEventCollectionMaxiumMutate(
   func: (event: CollectionMaxiumMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionMaxiumMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionMaxiumMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionMaxiumMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionMaxiumMutateEvent()

onEventCollectionMaxiumMutateEvent(
   func: (event: CollectionMaxiumMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionMaxiumMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionMaxiumMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionMaxiumMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionUriMutate()

onEventCollectionUriMutate(
   func: (event: CollectionUriMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionUriMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionUriMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionUriMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventCollectionUriMutateEvent()

onEventCollectionUriMutateEvent(
   func: (event: CollectionUriMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CollectionUriMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: CollectionUriMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CollectionUriMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventDefaultPropertyMutate()

onEventDefaultPropertyMutate(
   func: (event: DefaultPropertyMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DefaultPropertyMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: DefaultPropertyMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, DefaultPropertyMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventDefaultPropertyMutateEvent()

onEventDefaultPropertyMutateEvent(
   func: (event: DefaultPropertyMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DefaultPropertyMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: DefaultPropertyMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, DefaultPropertyMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventDescriptionMutate()

onEventDescriptionMutate(
   func: (event: DescriptionMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DescriptionMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: DescriptionMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, DescriptionMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventDescriptionMutateEvent()

onEventDescriptionMutateEvent(
   func: (event: DescriptionMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DescriptionMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: DescriptionMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, DescriptionMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventMaximumMutate()

onEventMaximumMutate(
   func: (event: MaximumMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, MaximumMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: MaximumMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, MaximumMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventMaxiumMutateEvent()

onEventMaxiumMutateEvent(
   func: (event: MaxiumMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, MaxiumMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: MaxiumMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, MaxiumMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventOptInTransfer()

onEventOptInTransfer(
   func: (event: OptInTransferInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, OptInTransferInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: OptInTransferInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, OptInTransferInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventOptInTransferEvent()

onEventOptInTransferEvent(
   func: (event: OptInTransferEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, OptInTransferEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: OptInTransferEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, OptInTransferEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventRoyaltyMutate()

onEventRoyaltyMutate(
   func: (event: RoyaltyMutateInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, RoyaltyMutateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: RoyaltyMutateInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, RoyaltyMutateInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventRoyaltyMutateEvent()

onEventRoyaltyMutateEvent(
   func: (event: RoyaltyMutateEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, RoyaltyMutateEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: RoyaltyMutateEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, RoyaltyMutateEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventUriMutation()

onEventUriMutation(
   func: (event: UriMutationInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UriMutationInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: UriMutationInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, UriMutationInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onEventUriMutationEvent()

onEventUriMutationEvent(
   func: (event: UriMutationEventInstance, ctx: AptosContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UriMutationEventInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): token_event_store;

Parameters

ParameterType
func(event: UriMutationEventInstance, ctx: AptosContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, UriMutationEventInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

token_event_store


onResourceChange()

Call Signature

onResourceChange<T>(
   handler: (changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid, 
   typeDesc: 
  | string
  | TypeDescriptor<T>, 
   handlerOptions?: HandlerOptions<object, ResourceChange<T>[]>
): this;
Type Parameters
Type Parameter
T
Parameters
ParameterType
handler(changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid
typeDesc| string | TypeDescriptor<T>
handlerOptions?HandlerOptions<object, ResourceChange<T>[]>
Returns

this

Inherited from

AptosBaseProcessor.onResourceChange

Call Signature

onResourceChange<Descs extends readonly (
  | string
  | TypeDescriptor<any>)[]>(
   handler: (changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid, 
   typeDesc: [...Descs[]], 
   handlerOptions?: HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]>
): this;
Type Parameters
Type Parameter
Descs extends readonly ( | string | TypeDescriptor<any>)[]
Parameters
ParameterType
handler(changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid
typeDesc[...Descs[]]
handlerOptions?HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]>
Returns

this

Inherited from

AptosBaseProcessor.onResourceChange


onTimeInterval()

onTimeInterval(
   handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid, 
   timeIntervalInMinutes?: number, 
   backfillTimeIntervalInMinutes?: number, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;

Parameters

ParameterTypeDefault value
handler(transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoidundefined
timeIntervalInMinutesnumber60
backfillTimeIntervalInMinutesnumber240
handlerOptions?HandlerOptions<MoveFetchConfig, UserTransactionResponse>undefined

Returns

this

Inherited from

AptosBaseProcessor.onTimeInterval


onTransaction()

onTransaction(
   handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid, 
   transactionFilter?: object, 
   handleOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;

Parameters

ParameterType
handler(transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid
transactionFilter?{ includeFailed?: boolean; sender?: string; }
transactionFilter.includeFailed?boolean
transactionFilter.sender?string
handleOptions?HandlerOptions<MoveFetchConfig, UserTransactionResponse>

Returns

this

Inherited from

AptosBaseProcessor.onTransaction


onVersionInterval()

onVersionInterval(
   handler: (transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoid, 
   versionInterval?: number, 
   backfillVersionInterval?: number, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;

Parameters

ParameterTypeDefault value
handler(transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoidundefined
versionIntervalnumber100000
backfillVersionIntervalnumber400000
handlerOptions?HandlerOptions<MoveFetchConfig, UserTransactionResponse>undefined

Returns

this

Inherited from

AptosBaseProcessor.onVersionInterval


bind()

static bind(options?: Partial<AptosBindOptions>): token_event_store;

For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.

Parameters

ParameterType
optionsPartial<AptosBindOptions>

Returns

token_event_store

On this page