Function catalyst_toolbox::rewards::voters::calc_voter_rewards
source · pub fn calc_voter_rewards(
vote_count: VoteCount,
voters: Vec<SnapshotInfo>,
vote_threshold: Threshold,
total_rewards: Rewards
) -> Result<BTreeMap<RewardAddress, Rewards>, Error>