validator_set

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

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

Event and struct types of this Move module: @typemove/iota › 0x3::validator_set

Extends

Constructors

Constructor

new validator_set(options: IotaBindOptions): validator_set;

Parameters

ParameterType
optionsIotaBindOptions

Returns

validator_set

Overrides

IotaBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]IotaBaseProcessor.callHandlers
coderpublicMoveCoderundefinedIotaBaseProcessor.coder
configpublicIndexConfigureundefinedIotaBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]IotaBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedIotaBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]IotaBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticIotaBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

IotaBaseProcessor.getChainId


onEvent()

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

Parameters

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

Returns

this

Inherited from

IotaBaseProcessor.onEvent


onEventCommitteeValidatorJoinEvent()

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

Parameters

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

Returns

validator_set


onEventCommitteeValidatorLeaveEvent()

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

Parameters

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

Returns

validator_set


onEventValidatorEpochInfoEventV1()

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

Parameters

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

Returns

validator_set


onEventValidatorJoinEvent()

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

Parameters

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

Returns

validator_set


onEventValidatorLeaveEvent()

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

Parameters

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

Returns

validator_set


onTransactionBlock()

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

Parameters

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

Returns

this

Inherited from

IotaBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<IotaBindOptions>): 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<IotaBindOptions>

Returns

validator_set

On this page