pub trait AccountCheck<AccountId> {
    // Required method
    fn allowed_candidacy(account: &AccountId) -> bool;
}
Expand description

Used to check whether an account is allowed to be a candidate.

Required Methods§

source

fn allowed_candidacy(account: &AccountId) -> bool

true if the account is allowed to be a candidate, false otherwise.

Object Safety§

This trait is not object safe.

Implementors§