referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_conviction_voting::TallyOf

source ·
pub type TallyOf<T, I = ()> = Tally<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config<I>>::MaxTurnout>;

Aliased Type§

struct TallyOf<T, I = ()> {
    pub ayes: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
    pub nays: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
    pub support: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
    /* private fields */
}

Fields§

§ayes: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

The number of aye votes, expressed in terms of post-conviction lock-vote.

§nays: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

The number of nay votes, expressed in terms of post-conviction lock-vote.

§support: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

The basic number of aye votes, expressed pre-conviction.