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
| Parameter | Type |
|---|---|
options | IotaBindOptions |
Returns
validator_set
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
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
onEventCommitteeValidatorJoinEvent()
onEventCommitteeValidatorJoinEvent(
func: (event: CommitteeValidatorJoinEventInstance, ctx: IotaContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, CommitteeValidatorJoinEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): validator_set;Parameters
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
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
| 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>): 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
| Parameter | Type |
|---|---|
options | Partial<IotaBindOptions> |
Returns
validator_set