pub trait WeightInfo {
    // Required methods
    fn add_member() -> Weight;
    fn remove_member(r: u32) -> Weight;
    fn promote_member(r: u32) -> Weight;
    fn demote_member(r: u32) -> Weight;
    fn vote() -> Weight;
    fn cleanup_poll(n: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_ranked_collective.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn remove_member(r: u32) -> Weight

The range of component r is [0, 10].

source§

fn promote_member(r: u32) -> Weight

The range of component r is [0, 10].

source§

fn demote_member(r: u32) -> Weight

The range of component r is [0, 10].

source§

fn cleanup_poll(n: u32) -> Weight

The range of component n is [0, 100].

source§

fn add_member() -> Weight

source§

fn vote() -> Weight

Implementors§