pub trait WeightInfo {
Show 22 methods // Required methods fn propose() -> Weight; fn second() -> Weight; fn vote_new() -> Weight; fn vote_existing() -> Weight; fn emergency_cancel() -> Weight; fn blacklist() -> Weight; fn external_propose() -> Weight; fn external_propose_majority() -> Weight; fn external_propose_default() -> Weight; fn fast_track() -> Weight; fn veto_external() -> Weight; fn cancel_proposal() -> Weight; fn cancel_referendum() -> Weight; fn on_initialize_base(r: u32) -> Weight; fn on_initialize_base_with_launch_period(r: u32) -> Weight; fn delegate(r: u32) -> Weight; fn undelegate(r: u32) -> Weight; fn clear_public_proposals() -> Weight; fn unlock_remove(r: u32) -> Weight; fn unlock_set(r: u32) -> Weight; fn remove_vote(r: u32) -> Weight; fn remove_other_vote(r: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_democracy.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn on_initialize_base(r: u32) -> Weight

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

source§

fn on_initialize_base_with_launch_period(r: u32) -> Weight

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

source§

fn delegate(r: u32) -> Weight

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

source§

fn undelegate(r: u32) -> Weight

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

source§

fn unlock_remove(r: u32) -> Weight

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

source§

fn unlock_set(r: u32) -> Weight

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

source§

fn remove_vote(r: u32) -> Weight

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

source§

fn remove_other_vote(r: u32) -> Weight

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

source§

fn propose() -> Weight

source§

fn second() -> Weight

source§

fn vote_new() -> Weight

source§

fn vote_existing() -> Weight

source§

fn emergency_cancel() -> Weight

source§

fn blacklist() -> Weight

source§

fn external_propose() -> Weight

source§

fn external_propose_majority() -> Weight

source§

fn external_propose_default() -> Weight

source§

fn fast_track() -> Weight

source§

fn veto_external() -> Weight

source§

fn cancel_proposal() -> Weight

source§

fn cancel_referendum() -> Weight

source§

fn clear_public_proposals() -> Weight

Implementors§