kiosk
Class in @sentio/sdk/sui/builtin › _0x2
Defined in @sentio/sdk/sui/builtin › _0x2
Event and struct types of this Move module: @typemove/sui › 0x2::kiosk
Extends
Constructors
Constructor
new kiosk(options: SuiBindOptions): kiosk;Parameters
| Parameter | Type |
|---|---|
options | SuiBindOptions |
Returns
kiosk
Overrides
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<Data_SuiCall>[] | [] | SuiBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | SuiBaseProcessor.coder |
config | public | IndexConfigure | undefined | SuiBaseProcessor.config |
eventHandlers | public | EventHandler<Data_SuiEvent>[] | [] | SuiBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | SuiBaseProcessor.moduleName |
objectChangeHandlers | public | ObjectChangeHandler<Data_SuiObjectChange>[] | [] | SuiBaseProcessor.objectChangeHandlers |
DEFAULT_OPTIONS | static | SuiBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryDefault()
onEntryDefault(
func: (call: DefaultPayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, DefaultPayload>
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (call: DefaultPayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, DefaultPayload> |
Returns
kiosk
onEvent()
onEvent(handler: (event: Event, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: Event, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, Event> |
Returns
this
Inherited from
onEventItem()
onEventItem(
func: (event: ItemInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ItemInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: ItemInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ItemInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onEventItemDelisted()
onEventItemDelisted(
func: (event: ItemDelistedInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ItemDelistedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: ItemDelistedInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ItemDelistedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onEventItemListed()
onEventItemListed(
func: (event: ItemListedInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ItemListedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: ItemListedInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ItemListedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onEventItemPurchased()
onEventItemPurchased(
func: (event: ItemPurchasedInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ItemPurchasedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: ItemPurchasedInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ItemPurchasedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onEventListing()
onEventListing(
func: (event: ListingInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ListingInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: ListingInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ListingInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onEventLock()
onEventLock(
func: (event: LockInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, LockInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): kiosk;Parameters
| Parameter | Type |
|---|---|
func | (event: LockInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, LockInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
kiosk
onTransactionBlock()
onTransactionBlock(
handler: (transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid,
filter?: TransactionFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ExecutedTransaction>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid |
filter? | TransactionFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ExecutedTransaction> |
Returns
this
Inherited from
SuiBaseProcessor.onTransactionBlock
bind()
static bind(options?: Partial<SuiBindOptions>): 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
| Parameter | Type |
|---|---|
options | Partial<SuiBindOptions> |
Returns
kiosk