pub trait WeightInfo {
    // Required methods
    fn spend() -> Weight;
    fn propose_spend() -> Weight;
    fn reject_proposal() -> Weight;
    fn approve_proposal(p: u32) -> Weight;
    fn remove_approval() -> Weight;
    fn on_initialize_proposals(p: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_treasury.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn approve_proposal(p: u32) -> Weight

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

source§

fn on_initialize_proposals(p: u32) -> Weight

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

source§

fn spend() -> Weight

source§

fn propose_spend() -> Weight

source§

fn reject_proposal() -> Weight

source§

fn remove_approval() -> Weight

Implementors§