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

Used to check whether an account is allowed to participate in dApp staking or not.

Required Methods§

source

fn allowed_to_stake(account: &AccountId) -> bool

true if the account is allowed to stake, false otherwise.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<AccountId> AccountCheck<AccountId> for ()

Implementors§