pub trait WeightInfo {
    // Required methods
    fn pause() -> Weight;
    fn unpause() -> Weight;
}
Expand description

Weight functions needed for tx_pause.

Required Methods§

source

fn pause() -> Weight

source

fn unpause() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn pause() -> Weight

Storage: TxPause PausedCalls (r:2 w:1) Proof: TxPause PausedCalls (max_values: None, max_size: Some(277), added: 2752, mode: MaxEncodedLen)

source§

fn unpause() -> Weight

Storage: TxPause PausedCalls (r:2 w:1) Proof: TxPause PausedCalls (max_values: None, max_size: Some(277), added: 2752, mode: MaxEncodedLen)

Implementors§

source§

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