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
type BlockWeights: Get<BlockWeights>
type BlockWeights: Get<BlockWeights>The block limits.
type AccountId: IdentifierT
type AccountId: IdentifierTThe account identifier type.
type BlockNumber
type BlockNumberThe block number type.
type Accuracy: PerThing128
type Accuracy: PerThing128The accuracy used to compute the election:
type DataProvider: ElectionDataProvider<Self::AccountId, Self::BlockNumber>
type DataProvider: ElectionDataProvider<Self::AccountId, Self::BlockNumber>Something that provides the data for election.