Skip to main content

ValidatorLeaveEvent

Namespace: IotaSdk

A typed view of a 0x3::validator_set::ValidatorLeaveEvent.

public class ValidatorLeaveEvent : IValidatorLeaveEvent, System.IDisposable

Inheritance ObjectValidatorLeaveEvent
Implements IValidatorLeaveEvent, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

ValidatorLeaveEvent(UInt64)

public ValidatorLeaveEvent(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Epoch()

public ulong Epoch()

Returns

UInt64

IsVoluntary()

Whether the validator left voluntarily (vs. being removed).

public bool IsVoluntary()

Returns

Boolean

StakingPoolId()

public ObjectId StakingPoolId()

Returns

ObjectId

ValidatorAddress()

public Address ValidatorAddress()

Returns

Address

TryFromBcs(Byte[])

Decode from the BCS contents of an emitted event.

public static ValidatorLeaveEvent TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

ValidatorLeaveEvent

Exceptions

SdkFfiException