ValidatorLeaveEvent
Namespace: IotaSdk
A typed view of a 0x3::validator_set::ValidatorLeaveEvent.
public class ValidatorLeaveEvent : IValidatorLeaveEvent, System.IDisposable
Inheritance Object → ValidatorLeaveEvent
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
IsVoluntary()
Whether the validator left voluntarily (vs. being removed).
public bool IsVoluntary()
Returns
StakingPoolId()
public ObjectId StakingPoolId()
Returns
ValidatorAddress()
public Address ValidatorAddress()
Returns
TryFromBcs(Byte[])
Decode from the BCS contents of an emitted event.
public static ValidatorLeaveEvent TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]