pub trait Approved<Balance> {
    fn approved(&self, tally: Tally<Balance>, electorate: Balance) -> bool;
}

Required Methods§

Given a tally of votes and a total size of electorate, this returns true if the overall outcome is in favor of approval according to self’s threshold method.

Implementors§