Type Alias phronesis_runtime::StakingConfig
source · pub type StakingConfig = GenesisConfig<Runtime>;
Aliased Type§
struct StakingConfig {
pub validator_count: u32,
pub minimum_validator_count: u32,
pub invulnerables: Vec<AccountId20>,
pub force_era: Forcing,
pub slash_reward_fraction: Perbill,
pub canceled_payout: u128,
pub stakers: Vec<(AccountId20, AccountId20, u128, StakerStatus<AccountId20>)>,
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<AccountId20>
§force_era: Forcing
§slash_reward_fraction: Perbill
§canceled_payout: u128
§stakers: Vec<(AccountId20, AccountId20, u128, StakerStatus<AccountId20>)>
§min_nominator_bond: u128
§min_validator_bond: u128
§max_validator_count: Option<u32>
§max_nominator_count: Option<u32>