kiosk

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::kiosk

Extends

Constructors

Constructor

new kiosk(options: IotaBindOptions): kiosk;

Parameters

ParameterType
optionsIotaBindOptions

Returns

kiosk

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


onEntryDefault()

onEntryDefault(
   func: (call: DefaultPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DefaultPayload>
): kiosk;

Parameters

ParameterType
func(call: DefaultPayload, ctx: IotaContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, DefaultPayload>

Returns

kiosk


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


onEventItem()

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

Parameters

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

Returns

kiosk


onEventItemDelisted()

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

Parameters

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

Returns

kiosk


onEventItemListed()

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

Parameters

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

Returns

kiosk


onEventItemPurchased()

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

Parameters

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

Returns

kiosk


onEventListing()

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

Parameters

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

Returns

kiosk


onEventLock()

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

Parameters

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

Returns

kiosk


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>): kiosk;

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

kiosk

On this page