Skip to main content

ValidatorLeaveEvent

ValidatorLeaveEvent Objects

class ValidatorLeaveEvent(ValidatorLeaveEventProtocol)

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

try_from_bcs

@classmethod
def try_from_bcs(cls, bytes: bytes) -> ValidatorLeaveEvent

Decode from the BCS contents of an emitted event.

is_voluntary

def is_voluntary() -> bool

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