Type Alias distance_oracle::runtime::sudo::Event

source ·
pub type Event = Event;

Aliased Type§

enum Event {
    Sudid {
        sudo_result: Result<(), DispatchError>,
    },
    KeyChanged {
        old: Option<AccountId32>,
        new: AccountId32,
    },
    KeyRemoved,
    SudoAsDone {
        sudo_result: Result<(), DispatchError>,
    },
}

Variants§

§

Sudid

Fields

§sudo_result: Result<(), DispatchError>
§

KeyChanged

Fields

§old: Option<AccountId32>
§new: AccountId32
§

KeyRemoved

§

SudoAsDone

Fields

§sudo_result: Result<(), DispatchError>