Trait pallet_whitelist::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn whitelist_call() -> Weight;
fn remove_whitelisted_call() -> Weight;
fn dispatch_whitelisted_call(n: u32) -> Weight;
fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_whitelist.
Required Methods§
fn whitelist_call() -> Weight
fn remove_whitelisted_call() -> Weight
fn dispatch_whitelisted_call(n: u32) -> Weight
fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn whitelist_call() -> Weight
fn whitelist_call() -> Weight
Storage: Whitelist WhitelistedCall (r:1 w:1) Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
source§fn remove_whitelisted_call() -> Weight
fn remove_whitelisted_call() -> Weight
Storage: Whitelist WhitelistedCall (r:1 w:1) Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
source§fn dispatch_whitelisted_call(n: u32) -> Weight
fn dispatch_whitelisted_call(n: u32) -> Weight
Storage: Whitelist WhitelistedCall (r:1 w:1)
Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
Storage: Preimage PreimageFor (r:1 w:1)
Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured)
Storage: Preimage StatusFor (r:1 w:1)
Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
The range of component n
is [1, 4194294]
.
source§fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight
fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight
Storage: Whitelist WhitelistedCall (r:1 w:1)
Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
Storage: Preimage StatusFor (r:1 w:1)
Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
The range of component n
is [1, 10000]
.