Module pallet_election_provider_multi_phase::pallet[][src]

Expand description

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

Structs

The pallet implementing the on-chain logic.

Enums

Contains one variant per dispatchable that can be called by an extrinsic.

Error of the pallet that can be returned in response to dispatches.

The event emitted by this pallet.

Traits

Configuration trait of this pallet.

Functions

Type Definitions

Current phase.

Desired number of targets to elect for this round.

The minimum score that each ‘untrusted’ solution must attain in order to be considered feasible.

Deprecated

Type alias to Pallet, to be used by construct_runtime.

Current best solution, signed or unsigned, queued to be returned upon elect.

Internal counter for the number of rounds.

Snapshot data of the round.

The metadata of the RoundSnapshot