[][src]Trait eq_whitelists::CheckWhitelisted

pub trait CheckWhitelisted<AccountId> {
    fn in_whitelist(account_id: &AccountId) -> bool;
fn accounts() -> Vec<AccountId>; }

Interface for checking whitelisted accounts

Required methods

fn in_whitelist(account_id: &AccountId) -> bool

Checks if account_id is in whitelist

fn accounts() -> Vec<AccountId>

Gets a vector of all whitelisted accounts

Loading content...

Implementors

impl<T: Trait> CheckWhitelisted<<T as Trait>::AccountId> for Module<T>[src]

Loading content...