Function catalyst_toolbox::rewards::dreps::calc_dreps_rewards
source · pub fn calc_dreps_rewards(
snapshot: Vec<SnapshotInfo>,
votes: VoteCount,
drep_voting_group: VotingGroup,
top_dreps_to_reward: usize,
dreps_votes_threshold: Threshold,
total_rewards: Decimal
) -> Result<BTreeMap<Identifier, Rewards>, Error>