display
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::display
Extends
Constructors
Constructor
new display(options: IotaBindOptions): display;Parameters
| Parameter | Type |
|---|---|
options | IotaBindOptions |
Returns
display
Overrides
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<Data_SuiCall>[] | [] | IotaBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | IotaBaseProcessor.coder |
config | public | IndexConfigure | undefined | IotaBaseProcessor.config |
eventHandlers | public | EventHandler<Data_SuiEvent>[] | [] | IotaBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | IotaBaseProcessor.moduleName |
objectChangeHandlers | public | ObjectChangeHandler<Data_SuiObjectChange>[] | [] | IotaBaseProcessor.objectChangeHandlers |
DEFAULT_OPTIONS | static | IotaBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryAdd()
onEntryAdd(
func: (call: AddPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, AddPayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: AddPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, AddPayload<any>> |
Returns
display
onEntryAddMultiple()
onEntryAddMultiple(
func: (call: AddMultiplePayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, AddMultiplePayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: AddMultiplePayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, AddMultiplePayload<any>> |
Returns
display
onEntryCreateAndKeep()
onEntryCreateAndKeep(
func: (call: CreateAndKeepPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, CreateAndKeepPayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: CreateAndKeepPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, CreateAndKeepPayload<any>> |
Returns
display
onEntryEdit()
onEntryEdit(
func: (call: EditPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, EditPayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: EditPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, EditPayload<any>> |
Returns
display
onEntryRemove()
onEntryRemove(
func: (call: RemovePayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RemovePayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: RemovePayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RemovePayload<any>> |
Returns
display
onEntryUpdateVersion()
onEntryUpdateVersion(
func: (call: UpdateVersionPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateVersionPayload<any>>
): display;Parameters
| Parameter | Type |
|---|---|
func | (call: UpdateVersionPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateVersionPayload<any>> |
Returns
display
onEvent()
onEvent(handler: (event: IotaEvent, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, IotaEvent>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: IotaEvent, ctx: IotaContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, IotaEvent> |
Returns
this
Inherited from
onEventDisplayCreated()
onEventDisplayCreated(
func: (event: DisplayCreatedInstance, ctx: IotaContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, DisplayCreatedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): display;Parameters
| Parameter | Type |
|---|---|
func | (event: DisplayCreatedInstance, ctx: IotaContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, DisplayCreatedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
display
onEventVersionUpdated()
onEventVersionUpdated(
func: (event: VersionUpdatedInstance, ctx: IotaContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, VersionUpdatedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): display;Parameters
| Parameter | Type |
|---|---|
func | (event: VersionUpdatedInstance, ctx: IotaContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, VersionUpdatedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
display
onTransactionBlock()
onTransactionBlock(
handler: (transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid,
filter?: TransactionFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid |
filter? | TransactionFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse> |
Returns
this
Inherited from
IotaBaseProcessor.onTransactionBlock
bind()
static bind(options?: Partial<IotaBindOptions>): display;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<IotaBindOptions> |
Returns
display