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>