Type Alias serai_client::validator_sets::ValidatorSetsEvent

source ·
pub type ValidatorSetsEvent = Event;

Aliased Type§

enum ValidatorSetsEvent {
    NewSet {
        set: ValidatorSet,
    },
    ParticipantRemoved {
        set: ValidatorSet,
        removed: SeraiAddress,
    },
    KeyGen {
        set: ExternalValidatorSet,
        key_pair: KeyPair,
    },
    AcceptedHandover {
        set: ValidatorSet,
    },
    SetRetired {
        set: ValidatorSet,
    },
    AllocationIncreased {
        validator: SeraiAddress,
        network: NetworkId,
        amount: Amount,
    },
    AllocationDecreased {
        validator: SeraiAddress,
        network: NetworkId,
        amount: Amount,
        delayed_until: Option<Session>,
    },
    DeallocationClaimed {
        validator: SeraiAddress,
        network: NetworkId,
        session: Session,
    },
}

Variants§

§

NewSet

Fields

§

ParticipantRemoved

Fields

§

KeyGen

Fields

§key_pair: KeyPair
§

AcceptedHandover

Fields

§

SetRetired

Fields

§

AllocationIncreased

Fields

§validator: SeraiAddress
§network: NetworkId
§amount: Amount
§

AllocationDecreased

Fields

§validator: SeraiAddress
§network: NetworkId
§amount: Amount
§delayed_until: Option<Session>
§

DeallocationClaimed

Fields

§validator: SeraiAddress
§network: NetworkId
§session: Session