referrerpolicy=no-referrer-when-downgrade
westend_runtime

Type Alias NominationPoolsConfig

Source
pub type NominationPoolsConfig = GenesisConfig<Runtime>;

Aliased Type§

struct NominationPoolsConfig {
    pub min_join_bond: u128,
    pub min_create_bond: u128,
    pub max_pools: Option<u32>,
    pub max_members_per_pool: Option<u32>,
    pub max_members: Option<u32>,
    pub global_max_commission: Option<Perbill>,
}

Fields§

§min_join_bond: u128§min_create_bond: u128§max_pools: Option<u32>§max_members_per_pool: Option<u32>§max_members: Option<u32>§global_max_commission: Option<Perbill>

Trait Implementations

Source§

impl<T> BuildGenesisConfig for GenesisConfig<T>
where T: Config,

Source§

fn build(&self)

The build function puts initial GenesisConfig keys/values pairs into the storage.
Source§

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

Source§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.
Source§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.
Source§

impl<T> Default for GenesisConfig<T>
where T: Config,

Source§

fn default() -> GenesisConfig<T>

Returns the “default value” for a type. Read more
Source§

impl<'de, T> Deserialize<'de> for GenesisConfig<T>
where T: Config,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<GenesisConfig<T>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<T> Serialize for GenesisConfig<T>
where T: Config,

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more