vec_map

Class in @sentio/sdk/iota/builtin › _0x2

Defined in @sentio/sdk/iota/builtin › _0x2

Event and struct types of this Move module: @typemove/iota › 0x2::vec_map

Extends

Constructors

Constructor

new vec_map(options: IotaBindOptions): vec_map;

Parameters

ParameterType
optionsIotaBindOptions

Returns

vec_map

Overrides

IotaBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]IotaBaseProcessor.callHandlers
coderpublicMoveCoderundefinedIotaBaseProcessor.coder
configpublicIndexConfigureundefinedIotaBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]IotaBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedIotaBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]IotaBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticIotaBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

IotaBaseProcessor.getChainId


onEvent()

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

Parameters

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

Returns

this

Inherited from

IotaBaseProcessor.onEvent


onEventEntry()

onEventEntry(
   func: (event: EntryInstance, ctx: IotaContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, EntryInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): vec_map;

Parameters

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

Returns

vec_map


onEventVecMap()

onEventVecMap(
   func: (event: VecMapInstance, ctx: IotaContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, VecMapInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): vec_map;

Parameters

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

Returns

vec_map


onTransactionBlock()

onTransactionBlock(
   handler: (transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid, 
   filter?: TransactionFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse>
): this;

Parameters

ParameterType
handler(transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid
filter?TransactionFilter
handlerOptions?HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse>

Returns

this

Inherited from

IotaBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<IotaBindOptions>): vec_map;

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<IotaBindOptions>

Returns

vec_map

On this page