@sentio/sdksuibuiltinNamespaces_0x3Classes

validator_set

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

Extends

Constructors

Constructor

new validator_set(options: SuiBindOptions): validator_set;

Parameters

ParameterType
optionsSuiBindOptions

Returns

validator_set

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


onEventValidatorEpochInfoEvent()

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

Parameters

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

Returns

validator_set


onEventValidatorEpochInfoEventV2()

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

Parameters

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

Returns

validator_set


onEventValidatorJoinEvent()

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

Parameters

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

Returns

validator_set


onEventValidatorLeaveEvent()

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

Parameters

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

Returns

validator_set


onEventVotingPowerAdmissionStartEpochKey()

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

Parameters

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

Returns

validator_set


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

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

validator_set

On this page