pub trait WeightInfo {
    // Required methods
    fn vote_new() -> Weight;
    fn vote_existing() -> Weight;
    fn remove_vote() -> Weight;
    fn remove_other_vote() -> Weight;
    fn delegate(r: u32) -> Weight;
    fn undelegate(r: u32) -> Weight;
    fn unlock() -> Weight;
}
Expand description

Weight functions needed for pallet_conviction_voting.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn delegate(r: u32) -> Weight

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

source§

fn undelegate(r: u32) -> Weight

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

source§

fn vote_new() -> Weight

source§

fn vote_existing() -> Weight

source§

fn remove_vote() -> Weight

source§

fn remove_other_vote() -> Weight

source§

fn unlock() -> Weight

Implementors§