@sentio/sdksuibuiltinNamespaces_0x3Classes

genesis

Class in @sentio/sdk/sui/builtin › _0x3

Defined in @sentio/sdk/sui/builtin › _0x3

Event and struct types of this Move module: @typemove/sui › 0x3::genesis

Extends

Constructors

Constructor

new genesis(options: SuiBindOptions): genesis;

Parameters

ParameterType
optionsSuiBindOptions

Returns

genesis

Overrides

SuiBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]SuiBaseProcessor.callHandlers
coderpublicMoveCoderundefinedSuiBaseProcessor.coder
configpublicIndexConfigureundefinedSuiBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]SuiBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedSuiBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]SuiBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticSuiBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

SuiBaseProcessor.getChainId


onEvent()

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

Parameters

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

Returns

this

Inherited from

SuiBaseProcessor.onEvent


onEventGenesisChainParameters()

onEventGenesisChainParameters(
   func: (event: GenesisChainParametersInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, GenesisChainParametersInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): genesis;

Parameters

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

Returns

genesis


onEventGenesisValidatorMetadata()

onEventGenesisValidatorMetadata(
   func: (event: GenesisValidatorMetadataInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, GenesisValidatorMetadataInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): genesis;

Parameters

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

Returns

genesis


onTransactionBlock()

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

Parameters

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

Returns

this

Inherited from

SuiBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<SuiBindOptions>): genesis;

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

Returns

genesis

On this page