referrerpolicy=no-referrer-when-downgrade
pallet_nomination_pools::mock

Type Alias PoolsConfig

Source
pub type PoolsConfig = GenesisConfig<Runtime>;

Aliased Type§

struct PoolsConfig {
    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: Config> BuildGenesisConfig for GenesisConfig<T>

Source§

fn build(&self)

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

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

Source§

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

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

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

Build the storage out of this builder.
Source§

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

Source§

fn default() -> Self

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

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

Source§

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

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

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

Source§

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

Serialize this value into the given Serde serializer. Read more