Type Alias pallet_core_fellowship::pallet::PartialParamsOf
source · pub type PartialParamsOf<T, I> = ParamsType<Option<<T as Config<I>>::Balance>, Option<BlockNumberFor<T>>, <T as Config<I>>::MaxRank>;
Aliased Type§
struct PartialParamsOf<T, I> {
pub active_salary: BoundedVec<Option<<T as Config<I>>::Balance>, <T as Config<I>>::MaxRank>,
pub passive_salary: BoundedVec<Option<<T as Config<I>>::Balance>, <T as Config<I>>::MaxRank>,
pub demotion_period: BoundedVec<Option<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>, <T as Config<I>>::MaxRank>,
pub min_promotion_period: BoundedVec<Option<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>, <T as Config<I>>::MaxRank>,
pub offboard_timeout: Option<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>,
}
Fields§
§active_salary: BoundedVec<Option<<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<Option<<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<Option<<<<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<Option<<<<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: Option<<<<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).