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§
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
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn as_recovered() -> Weight
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)
source§fn set_recovered() -> Weight
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
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
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
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
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
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
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
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)