pub trait GetMaxVoters {
    type Class;

    // Required method
    fn get_max_voters(c: Self::Class) -> MemberIndex;
}
Expand description

Trait for getting the maximum number of voters for a given poll class.

Required Associated Types§

source

type Class

Poll class type.

Required Methods§

source

fn get_max_voters(c: Self::Class) -> MemberIndex

Return the maximum number of voters for the poll class c.

Implementors§

source§

impl<T: Config<I>, I: 'static> GetMaxVoters for Pallet<T, I>

§

type Class = <<T as Config<I>>::Polls as Polling<Tally<T, I, Pallet<T, I>>>>::Class