Type Alias westend_runtime::StakingConfig
source · pub type StakingConfig = GenesisConfig<Runtime>;
Aliased Type§
struct StakingConfig {
pub validator_count: u32,
pub minimum_validator_count: u32,
pub invulnerables: Vec<AccountId32>,
pub force_era: Forcing,
pub slash_reward_fraction: Perbill,
pub canceled_payout: u128,
pub stakers: Vec<(AccountId32, AccountId32, u128, StakerStatus<AccountId32>)>,
pub min_nominator_bond: u128,
pub min_validator_bond: u128,
pub max_validator_count: Option<u32>,
pub max_nominator_count: Option<u32>,
}
Fields§
§validator_count: u32
§minimum_validator_count: u32
§invulnerables: Vec<AccountId32>
§force_era: Forcing
§slash_reward_fraction: Perbill
§canceled_payout: u128
§stakers: Vec<(AccountId32, AccountId32, u128, StakerStatus<AccountId32>)>
§min_nominator_bond: u128
§min_validator_bond: u128
§max_validator_count: Option<u32>
§max_nominator_count: Option<u32>