pub trait Approved<Balance> { fn approved(&self, tally: Tally<Balance>, electorate: Balance) -> bool; }
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.
tally
electorate
true
self