ValidatorLeaveEvent
open class ValidatorLeaveEvent : Disposable, AutoCloseable, ValidatorLeaveEventInterface
A typed view of a 0x3::validator_set::ValidatorLeaveEvent.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| epoch | open override fun epoch(): ULong |
| isVoluntary | open override fun isVoluntary(): Boolean Whether the validator left voluntarily (vs. being removed). |
| stakingPoolId | open override fun stakingPoolId(): ObjectId |
| toString | open override fun toString(): String |
| validatorAddress | open override fun validatorAddress(): Address |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): ValidatorLeaveEvent Decode from the BCS contents of an emitted event. |