Trait pallet_safe_mode::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn on_initialize_noop() -> Weight;
fn on_initialize_exit() -> Weight;
fn enter() -> Weight;
fn force_enter() -> Weight;
fn extend() -> Weight;
fn force_extend() -> Weight;
fn force_exit() -> Weight;
fn release_deposit() -> Weight;
fn force_release_deposit() -> Weight;
fn force_slash_deposit() -> Weight;
}
Expand description
Weight functions needed for pallet_safe_mode
.
Required Methods§
fn on_initialize_noop() -> Weight
fn on_initialize_exit() -> Weight
fn enter() -> Weight
fn force_enter() -> Weight
fn extend() -> Weight
fn force_extend() -> Weight
fn force_exit() -> Weight
fn release_deposit() -> Weight
fn force_release_deposit() -> Weight
fn force_slash_deposit() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn on_initialize_noop() -> Weight
fn on_initialize_noop() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:0)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn on_initialize_exit() -> Weight
fn on_initialize_exit() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn enter() -> Weight
fn enter() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
Storage: Balances::Holds
(r:1 w:1)
Proof: Balances::Holds
(max_values
: None, max_size
: Some(355), added: 2830, mode: MaxEncodedLen
)
Storage: SafeMode::Deposits
(r:0 w:1)
Proof: SafeMode::Deposits
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
source§fn force_enter() -> Weight
fn force_enter() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn extend() -> Weight
fn extend() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
Storage: Balances::Holds
(r:1 w:1)
Proof: Balances::Holds
(max_values
: None, max_size
: Some(355), added: 2830, mode: MaxEncodedLen
)
Storage: SafeMode::Deposits
(r:0 w:1)
Proof: SafeMode::Deposits
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
source§fn force_extend() -> Weight
fn force_extend() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn force_exit() -> Weight
fn force_exit() -> Weight
Storage: SafeMode::EnteredUntil
(r:1 w:1)
Proof: SafeMode::EnteredUntil
(max_values
: Some(1), max_size
: Some(4), added: 499, mode: MaxEncodedLen
)
source§fn release_deposit() -> Weight
fn release_deposit() -> Weight
Storage: SafeMode::Deposits
(r:1 w:1)
Proof: SafeMode::Deposits
(max_values
: None, max_size
: Some(68), added: 2543, 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: Balances::Holds
(r:1 w:1)
Proof: Balances::Holds
(max_values
: None, max_size
: Some(355), added: 2830, mode: MaxEncodedLen
)
source§fn force_release_deposit() -> Weight
fn force_release_deposit() -> Weight
Storage: SafeMode::Deposits
(r:1 w:1)
Proof: SafeMode::Deposits
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
Storage: Balances::Holds
(r:1 w:1)
Proof: Balances::Holds
(max_values
: None, max_size
: Some(355), added: 2830, mode: MaxEncodedLen
)
source§fn force_slash_deposit() -> Weight
fn force_slash_deposit() -> Weight
Storage: SafeMode::Deposits
(r:1 w:1)
Proof: SafeMode::Deposits
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
Storage: Balances::Holds
(r:1 w:1)
Proof: Balances::Holds
(max_values
: None, max_size
: Some(355), added: 2830, mode: MaxEncodedLen
)