pub fn active_referenda() -> Vec<(ReferendumIndex, ReferendumInfo<T::BlockNumber, T::Proposal>)> {
		let next = Self::next_tally();
		let last = Self::referendum_count();
		(next..last).into_iter()
			.filter_map(|i| Self::referendum_info(i).map(|info| (i, info)))
			.collect()
	}
/// Get all referenda that are currently active and their corresponding info.
Get all referenda that are currently active and their corresponding info.
Get all referenda that are currently active and their corresponding info .
pub fn active_referenda() -> Vec<(ReferendumIndex, ReferendumInfo<T::BlockNumber, T::Proposal>)> {
		let next = Self::next_tally();
		let last = Self::referendum_count();
		(next..last).into_iter()
			.filter_map(|i| Self::referendum_info(i).map(|info| (i, info)))
			.collect()
	}
pub fn active_referenda ( ) -> Vec < ( ReferendumIndex , ReferendumInfo < T :: BlockNumber , T :: Proposal > ) > { let next = Self :: next_tally ( ) ; let last = Self :: referendum_count ( ) ; ( next .. last ) . into_iter ( ) . filter_map ( | i | Self :: referendum_info ( i ) . map ( | info | ( i , info ) ) ) . collect ( ) }
Get all referenda that are currently active and their corresponding info.
Get all referenda that are currently active and their corresponding info .