referrerpolicy=no-referrer-when-downgrade

Trait pallet_multisig::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn as_multi_threshold_1(z: u32) -> Weight;
    fn as_multi_create(s: u32, z: u32) -> Weight;
    fn as_multi_approve(s: u32, z: u32) -> Weight;
    fn as_multi_complete(s: u32, z: u32) -> Weight;
    fn approve_as_multi_create(s: u32) -> Weight;
    fn approve_as_multi_approve(s: u32) -> Weight;
    fn cancel_as_multi(s: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_multisig.

Required Methods§

source

fn as_multi_threshold_1(z: u32) -> Weight

source

fn as_multi_create(s: u32, z: u32) -> Weight

source

fn as_multi_approve(s: u32, z: u32) -> Weight

source

fn as_multi_complete(s: u32, z: u32) -> Weight

source

fn approve_as_multi_create(s: u32) -> Weight

source

fn approve_as_multi_approve(s: u32) -> Weight

source

fn cancel_as_multi(s: u32) -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn as_multi_threshold_1(z: 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 z is [0, 10000].

source§

fn as_multi_create(s: u32, z: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) The range of component s is [2, 100]. The range of component z is [0, 10000].

source§

fn as_multi_approve(s: u32, z: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) The range of component s is [3, 100]. The range of component z is [0, 10000].

source§

fn as_multi_complete(s: u32, z: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) 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 s is [2, 100]. The range of component z is [0, 10000].

source§

fn approve_as_multi_create(s: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) The range of component s is [2, 100].

source§

fn approve_as_multi_approve(s: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) The range of component s is [2, 100].

source§

fn cancel_as_multi(s: u32) -> Weight

Storage: Multisig::Multisigs (r:1 w:1) Proof: Multisig::Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) The range of component s is [2, 100].

Implementors§

source§

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