Re-exports§
pub use self::weights::WeightInfo;
pub use self::pallet::*;
Modules§
- benchmarking
- ConvictionVoting pallet benchmarking.
- pallet
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet. - weights
- Autogenerated weights for
pallet_conviction_voting
Structs§
- Casting
- Information concerning the direct vote-casting of some voting power.
- Delegating
- Information concerning the delegation of some voting power.
- Delegations
- Amount of votes and capital placed in delegation for an account.
- Tally
- Info regarding an ongoing referendum.
- Vote
- A number of lock periods, plus a vote, one way or the other.
Enums§
- Account
Vote - A vote for a referendum of a particular account.
- Conviction
- A value denoting the strength of conviction of a vote.
- Status
- Represents the differents states of a referendum.
- Unvote
Scope - Whether an
unvote
operation is able to make actions that are not strictly always in the interest of an account. - Voting
- An indicator for what an account is doing; it can either be delegating or voting.
Traits§
- Voting
Hooks - Trait for voting hooks that are called during various stages of the voting process.