pub type Assignment<T> = Assignment<<T as Config>::AccountId, SolutionAccuracyOf<T>>;Expand description
The relative distribution of a voter’s stake among the winning targets.
Aliased Type§
struct Assignment<T> {
pub who: <T as Config>::AccountId,
pub distribution: Vec<(<T as Config>::AccountId, <<<T as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy)>,
}Fields§
§who: <T as Config>::AccountIdVoter’s identifier.
distribution: Vec<(<T as Config>::AccountId, <<<T as Config>::MinerConfig as MinerConfig>::Solution as NposSolution>::Accuracy)>The distribution of the voter’s stake.