Module pallet_elections_phragmen::pallet[][src]

Expand description

The module that hosts all the FRAME types needed to add this pallet to a runtime.

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.

ModuleDeprecated

Type alias to Pallet, to be used by construct_runtime.

RawEventDeprecated

The current reserved runners-up.

Votes and locked stake of a particular voter.