Trait frame_election_provider_support::onchain::Config[][src]

pub trait Config {
    type BlockWeights: Get<BlockWeights>;
    type AccountId: IdentifierT;
    type BlockNumber;
    type Accuracy: PerThing128;
    type DataProvider: ElectionDataProvider<Self::AccountId, Self::BlockNumber>;
}
Expand description

Configuration trait of OnChainSequentialPhragmen.

Note that this is similar to a pallet traits, but OnChainSequentialPhragmen is not a pallet.

Associated Types

The block limits.

The account identifier type.

The block number type.

The accuracy used to compute the election:

Something that provides the data for election.

Implementors