pub trait WeightInfo {
    // Required methods
    fn batch(c: u32) -> Weight;
    fn as_derivative() -> Weight;
    fn batch_all(c: u32) -> Weight;
    fn dispatch_as() -> Weight;
    fn force_batch(c: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_utility.

Required Methods§

source

fn batch(c: u32) -> Weight

source

fn as_derivative() -> Weight

source

fn batch_all(c: u32) -> Weight

source

fn dispatch_as() -> Weight

source

fn force_batch(c: u32) -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn batch(c: u32) -> Weight

Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen) The range of component c is [0, 1000].

source§

fn as_derivative() -> Weight

Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen)

source§

fn batch_all(c: u32) -> Weight

Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen) The range of component c is [0, 1000].

source§

fn force_batch(c: u32) -> Weight

Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, mode: MaxEncodedLen) The range of component c is [0, 1000].

source§

fn dispatch_as() -> Weight

Implementors§

source§

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