pub trait WeightInfo {
    // Required methods
    fn add_member(m: u32) -> Weight;
    fn remove_member(m: u32) -> Weight;
    fn swap_member(m: u32) -> Weight;
    fn reset_member(m: u32) -> Weight;
    fn change_key(m: u32) -> Weight;
    fn set_prime(m: u32) -> Weight;
    fn clear_prime(m: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_membership.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn add_member(m: u32) -> Weight

The range of component m is [1, 99].

source§

fn remove_member(m: u32) -> Weight

The range of component m is [2, 100].

source§

fn swap_member(m: u32) -> Weight

The range of component m is [2, 100].

source§

fn reset_member(m: u32) -> Weight

The range of component m is [1, 100].

source§

fn change_key(m: u32) -> Weight

The range of component m is [1, 100].

source§

fn set_prime(m: u32) -> Weight

The range of component m is [1, 100].

source§

fn clear_prime(m: u32) -> Weight

The range of component m is [1, 100].

Implementors§