Trait pallet_collective::DefaultVote [−][src]
pub trait DefaultVote { fn default_vote(
prime_vote: Option<bool>,
yes_votes: MemberCount,
no_votes: MemberCount,
len: MemberCount
) -> bool; }
Expand description
Default voting strategy when a member is inactive.
Required methods
fn default_vote(
prime_vote: Option<bool>,
yes_votes: MemberCount,
no_votes: MemberCount,
len: MemberCount
) -> bool
fn default_vote(
prime_vote: Option<bool>,
yes_votes: MemberCount,
no_votes: MemberCount,
len: MemberCount
) -> bool
Get the default voting strategy, given:
- Whether the prime member voted Aye.
- Raw number of yes votes.
- Raw number of no votes.
- Total number of member count.