pub trait WeightInfo {
    // Required methods
    fn set_members(m: u32, n: u32, p: u32) -> Weight;
    fn execute(b: u32, m: u32) -> Weight;
    fn propose_execute(b: u32, m: u32) -> Weight;
    fn propose_proposed(b: u32, m: u32, p: u32) -> Weight;
    fn vote(m: u32) -> Weight;
    fn close_early_disapproved(m: u32, p: u32) -> Weight;
    fn close_early_approved(b: u32, m: u32, p: u32) -> Weight;
    fn close_disapproved(m: u32, p: u32) -> Weight;
    fn close_approved(b: u32, m: u32, p: u32) -> Weight;
    fn disapprove_proposal(p: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_collective.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_members(m: u32, _n: u32, p: u32) -> Weight

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

source§

fn execute(b: u32, m: u32) -> Weight

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

source§

fn propose_execute(b: u32, m: u32) -> Weight

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

source§

fn propose_proposed(b: u32, m: u32, p: u32) -> Weight

The range of component b is [1, 1024]. The range of component m is [2, 100]. The range of component p is [1, 100].

source§

fn vote(m: u32) -> Weight

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

source§

fn close_early_disapproved(m: u32, p: u32) -> Weight

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

source§

fn close_early_approved(b: u32, m: u32, p: u32) -> Weight

The range of component b is [1, 1024]. The range of component m is [4, 100]. The range of component p is [1, 100].

source§

fn close_disapproved(m: u32, p: u32) -> Weight

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

source§

fn close_approved(b: u32, m: u32, p: u32) -> Weight

The range of component b is [1, 1024]. The range of component m is [4, 100]. The range of component p is [1, 100].

source§

fn disapprove_proposal(p: u32) -> Weight

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

Implementors§