snarkvm_synthesizer::vm

Function to_next_committee_bonded_delegated_map

Source
pub fn to_next_committee_bonded_delegated_map<N: Network>(
    next_committee: &Committee<N>,
    next_stakers: &IndexMap<Address<N>, (Address<N>, u64)>,
    next_delegated: &IndexMap<Address<N>, u64>,
) -> (Vec<(Plaintext<N>, Value<N>)>, Vec<(Plaintext<N>, Value<N>)>, Vec<(Plaintext<N>, Value<N>)>)
Expand description

Returns the committee map, bonded map, and delegated map, given the committee and stakers.