pub trait ValidatorExtractor {
    type AccountId;

    // Required method
    fn remove_validator(who: &Self::AccountId);
}

Required Associated Types§

Required Methods§

source

fn remove_validator(who: &Self::AccountId)

Removes given validator from pallet’s staking validators list

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ValidatorExtractor for Pallet<T>
where T: Config,

§

type AccountId = <T as Config>::AccountId

source§

fn remove_validator(who: &Self::AccountId)

Implementors§