pub trait WeightInfo {
    // Required methods
    fn propose_new_fee() -> Weight;
    fn apply_new_fee(n: u32) -> Weight;
    fn remove_fee(n: u32) -> Weight;
    fn charge_fee(n: u32) -> Weight;
    fn uncharge_fee(n: u32) -> Weight;
    fn update_portfolio_valuation(n: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_pool_fees.

Required Methods§

source

fn propose_new_fee() -> Weight

source

fn apply_new_fee(n: u32) -> Weight

source

fn remove_fee(n: u32) -> Weight

source

fn charge_fee(n: u32) -> Weight

source

fn uncharge_fee(n: u32) -> Weight

source

fn update_portfolio_valuation(n: u32) -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn propose_new_fee() -> Weight

source§

fn apply_new_fee(n: u32) -> Weight

source§

fn remove_fee(n: u32) -> Weight

source§

fn charge_fee(n: u32) -> Weight

source§

fn uncharge_fee(n: u32) -> Weight

source§

fn update_portfolio_valuation(n: u32) -> Weight

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>