pub(crate) fn calculate_voting_power_cap(
    cap: Fraction,
    total_eligible_voting_power: u128
) -> u64