Type Alias pallet_core_fellowship::pallet::ParamsOf

source ·
pub type ParamsOf<T, I> = ParamsType<<T as Config<I>>::Balance, BlockNumberFor<T>, <T as Config<I>>::MaxRank>;

Aliased Type§

struct ParamsOf<T, I> {
    pub active_salary: BoundedVec<<T as Config<I>>::Balance, <T as Config<I>>::MaxRank>,
    pub passive_salary: BoundedVec<<T as Config<I>>::Balance, <T as Config<I>>::MaxRank>,
    pub demotion_period: BoundedVec<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::MaxRank>,
    pub min_promotion_period: BoundedVec<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::MaxRank>,
    pub offboard_timeout: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,
}

Fields§

§active_salary: BoundedVec<<T as Config<I>>::Balance, <T as Config<I>>::MaxRank>

The amounts to be paid when a member of a given rank (-1) is active.

§passive_salary: BoundedVec<<T as Config<I>>::Balance, <T as Config<I>>::MaxRank>

The amounts to be paid when a member of a given rank (-1) is passive.

§demotion_period: BoundedVec<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::MaxRank>

The period between which unproven members become demoted.

§min_promotion_period: BoundedVec<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::MaxRank>

The period between which members must wait before they may proceed to this rank.

§offboard_timeout: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

Amount by which an account can remain at rank 0 (candidate before being offboard entirely).