Skip to main content

ValidatorLeaveEvent

type ValidatorLeaveEvent

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

type ValidatorLeaveEvent struct {
// contains filtered or unexported fields
}

func LiftFromExternalValidatorLeaveEvent

func LiftFromExternalValidatorLeaveEvent(handle uint64) *ValidatorLeaveEvent

func ValidatorLeaveEventTryFromBcs

func ValidatorLeaveEventTryFromBcs(bytes []byte) (*ValidatorLeaveEvent, error)

Decode from the BCS contents of an emitted event.

func (*ValidatorLeaveEvent) DebugString

func (_self *ValidatorLeaveEvent) DebugString() string

func (*ValidatorLeaveEvent) Destroy

func (object *ValidatorLeaveEvent) Destroy()

func (*ValidatorLeaveEvent) Epoch

func (_self *ValidatorLeaveEvent) Epoch() uint64

func (*ValidatorLeaveEvent) IsVoluntary

func (_self *ValidatorLeaveEvent) IsVoluntary() bool

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

func (*ValidatorLeaveEvent) StakingPoolId

func (_self *ValidatorLeaveEvent) StakingPoolId() *ObjectId

func (*ValidatorLeaveEvent) ValidatorAddress

func (_self *ValidatorLeaveEvent) ValidatorAddress() *Address