referrerpolicy=no-referrer-when-downgrade

Trait pallet_recovery::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn as_recovered() -> Weight;
    fn set_recovered() -> Weight;
    fn create_recovery(n: u32) -> Weight;
    fn initiate_recovery() -> Weight;
    fn vouch_recovery(n: u32) -> Weight;
    fn claim_recovery(n: u32) -> Weight;
    fn close_recovery(n: u32) -> Weight;
    fn remove_recovery(n: u32) -> Weight;
    fn cancel_recovered() -> Weight;
}
Expand description

Weight functions needed for pallet_recovery.

Required Methods§

source

fn as_recovered() -> Weight

source

fn set_recovered() -> Weight

source

fn create_recovery(n: u32) -> Weight

source

fn initiate_recovery() -> Weight

source

fn vouch_recovery(n: u32) -> Weight

source

fn claim_recovery(n: u32) -> Weight

source

fn close_recovery(n: u32) -> Weight

source

fn remove_recovery(n: u32) -> Weight

source

fn cancel_recovered() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn as_recovered() -> Weight

Storage: Recovery::Proxy (r:1 w:0) Proof: Recovery::Proxy (max_values: None, max_size: Some(80), added: 2555, 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)

source§

fn set_recovered() -> Weight

Storage: Recovery::Proxy (r:0 w:1) Proof: Recovery::Proxy (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)

source§

fn create_recovery(n: u32) -> Weight

Storage: Recovery::Recoverable (r:1 w:1) Proof: Recovery::Recoverable (max_values: None, max_size: Some(351), added: 2826, mode: MaxEncodedLen) The range of component n is [1, 9].

source§

fn initiate_recovery() -> Weight

Storage: Recovery::Recoverable (r:1 w:0) Proof: Recovery::Recoverable (max_values: None, max_size: Some(351), added: 2826, mode: MaxEncodedLen) Storage: Recovery::ActiveRecoveries (r:1 w:1) Proof: Recovery::ActiveRecoveries (max_values: None, max_size: Some(389), added: 2864, mode: MaxEncodedLen)

source§

fn vouch_recovery(n: u32) -> Weight

Storage: Recovery::Recoverable (r:1 w:0) Proof: Recovery::Recoverable (max_values: None, max_size: Some(351), added: 2826, mode: MaxEncodedLen) Storage: Recovery::ActiveRecoveries (r:1 w:1) Proof: Recovery::ActiveRecoveries (max_values: None, max_size: Some(389), added: 2864, mode: MaxEncodedLen) The range of component n is [1, 9].

source§

fn claim_recovery(n: u32) -> Weight

Storage: Recovery::Recoverable (r:1 w:0) Proof: Recovery::Recoverable (max_values: None, max_size: Some(351), added: 2826, mode: MaxEncodedLen) Storage: Recovery::ActiveRecoveries (r:1 w:0) Proof: Recovery::ActiveRecoveries (max_values: None, max_size: Some(389), added: 2864, mode: MaxEncodedLen) Storage: Recovery::Proxy (r:1 w:1) Proof: Recovery::Proxy (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) The range of component n is [1, 9].

source§

fn close_recovery(n: u32) -> Weight

Storage: Recovery::ActiveRecoveries (r:1 w:1) Proof: Recovery::ActiveRecoveries (max_values: None, max_size: Some(389), added: 2864, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component n is [1, 9].

source§

fn remove_recovery(n: u32) -> Weight

Storage: Recovery::ActiveRecoveries (r:1 w:0) Proof: Recovery::ActiveRecoveries (max_values: None, max_size: Some(389), added: 2864, mode: MaxEncodedLen) Storage: Recovery::Recoverable (r:1 w:1) Proof: Recovery::Recoverable (max_values: None, max_size: Some(351), added: 2826, mode: MaxEncodedLen) The range of component n is [1, 9].

source§

fn cancel_recovered() -> Weight

Storage: Recovery::Proxy (r:1 w:1) Proof: Recovery::Proxy (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)

Implementors§

source§

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