Module pallet_elections_phragmen::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Re-exports
pub use __tt_error_token_1 as tt_error_token;
pub use __tt_default_parts_7 as tt_default_parts;
Structs
- Can be used to configure the genesis state of this pallet.
- The pallet implementing the on-chain logic.
Enums
- Contains one variant per dispatchable that can be called by an extrinsic.
- Custom dispatch errors of this pallet.
- The event emitted by this pallet.
Traits
- Configuration trait of this pallet.
Type Definitions
- The present candidate list. A current member or runner-up can never enter this vector and is always implicitly assumed to be a candidate.
- The total number of vote rounds that have happened, excluding the upcoming one.
- The current elected members.
- ModuleDeprecatedType alias to
Pallet
, to be used byconstruct_runtime
. - The current reserved runners-up.
- Votes and locked stake of a particular voter.