address_alias
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::address_alias
Extends
Constructors
Constructor
new address_alias(options: SuiBindOptions): address_alias;Parameters
| Parameter | Type |
|---|---|
options | SuiBindOptions |
Returns
address_alias
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
onEntryAdd()
onEntryAdd(
func: (call: AddPayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, AddPayload>
): address_alias;Parameters
| Parameter | Type |
|---|---|
func | (call: AddPayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, AddPayload> |
Returns
address_alias
onEntryEnable()
onEntryEnable(
func: (call: EnablePayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, EnablePayload>
): address_alias;Parameters
| Parameter | Type |
|---|---|
func | (call: EnablePayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, EnablePayload> |
Returns
address_alias
onEntryRemove()
onEntryRemove(
func: (call: RemovePayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RemovePayload>
): address_alias;Parameters
| Parameter | Type |
|---|---|
func | (call: RemovePayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RemovePayload> |
Returns
address_alias
onEntryReplaceAll()
onEntryReplaceAll(
func: (call: ReplaceAllPayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ReplaceAllPayload>
): address_alias;Parameters
| Parameter | Type |
|---|---|
func | (call: ReplaceAllPayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ReplaceAllPayload> |
Returns
address_alias
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
onEventAliasKey()
onEventAliasKey(
func: (event: AliasKeyInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, AliasKeyInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): address_alias;Parameters
| Parameter | Type |
|---|---|
func | (event: AliasKeyInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, AliasKeyInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
address_alias
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>): address_alias;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
address_alias