Trait pallet_utility::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn batch(c: u32) -> Weight;
fn as_derivative() -> Weight;
fn batch_all(c: u32) -> Weight;
fn dispatch_as() -> Weight;
fn force_batch(c: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_utility
.
Required Methods§
fn batch(c: u32) -> Weight
fn as_derivative() -> Weight
fn batch_all(c: u32) -> Weight
fn dispatch_as() -> Weight
fn force_batch(c: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn batch(c: u32) -> Weight
fn batch(c: 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 c
is [0, 1000]
.
source§fn as_derivative() -> Weight
fn as_derivative() -> 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
)
source§fn batch_all(c: u32) -> Weight
fn batch_all(c: 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 c
is [0, 1000]
.
source§fn force_batch(c: u32) -> Weight
fn force_batch(c: 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 c
is [0, 1000]
.