Function catalyst_toolbox::rewards::proposers::io::vecs_to_maps
source · pub fn vecs_to_maps(
proposals: Vec<Proposal>,
voteplans: Vec<VotePlanStatus>,
challenges: Vec<Challenge>
) -> Result<(HashMap<Hash, Proposal>, HashMap<Hash, VoteProposalStatus>, HashMap<i32, Challenge>)>