pub fn assignment_staked_to_ratio_normalized<A: IdentifierT, P: PerThing128>(
staked: Vec<StakedAssignment<A>>
) -> Result<Vec<Assignment<A, P>>, Error>
Expand description
Same as assignment_staked_to_ratio
and try and do normalization.
pub fn assignment_staked_to_ratio_normalized<A: IdentifierT, P: PerThing128>(
staked: Vec<StakedAssignment<A>>
) -> Result<Vec<Assignment<A, P>>, Error>
Same as assignment_staked_to_ratio
and try and do normalization.