Trait frame_support::traits::VoteTally
source · pub trait VoteTally<Votes, Class> {
// Required methods
fn new(_: Class) -> Self;
fn ayes(&self, class: Class) -> Votes;
fn support(&self, class: Class) -> Perbill;
fn approval(&self, class: Class) -> Perbill;
}