referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::tokens::GetSalary

pub trait GetSalary<Rank, AccountId, Balance> {
    // Required method
    fn get_salary(rank: Rank, who: &AccountId) -> Balance;
}
Expand description

Retrieve the salary for a member of a particular rank.

Required Methods§

fn get_salary(rank: Rank, who: &AccountId) -> Balance

Retrieve the salary for a given rank. The account ID is also supplied in case this changes things.

Object Safety§

This trait is not object safe.

Implementors§

§

impl<A, R, B, C> GetSalary<R, A, B> for ConvertRank<C>
where C: Convert<R, B>,