Trait pallet_handles::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn claim_handle(b: u32) -> Weight;
fn change_handle(b: u32) -> Weight;
fn retire_handle() -> Weight;
}
Expand description
Weight functions needed for pallet_handles
.
Required Methods§
fn claim_handle(b: u32) -> Weight
fn change_handle(b: u32) -> Weight
fn retire_handle() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn claim_handle(b: u32) -> Weight
fn claim_handle(b: u32) -> Weight
Storage: Msa::PublicKeyToMsaId
(r:1 w:0)
Proof: Msa::PublicKeyToMsaId
(max_values
: None, max_size
: Some(48), added: 2523, mode: MaxEncodedLen
)
Storage: Handles::MSAIdToDisplayName
(r:1 w:1)
Proof: Handles::MSAIdToDisplayName
(max_values
: None, max_size
: Some(59), added: 2534, mode: MaxEncodedLen
)
Storage: Handles::CanonicalBaseHandleToSuffixIndex
(r:1 w:1)
Proof: Handles::CanonicalBaseHandleToSuffixIndex
(max_values
: None, max_size
: Some(53), added: 2528, mode: MaxEncodedLen
)
Storage: Handles::CanonicalBaseHandleAndSuffixToMSAId
(r:0 w:1)
Proof: Handles::CanonicalBaseHandleAndSuffixToMSAId
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component b
is [3, 30]
.
source§fn change_handle(b: u32) -> Weight
fn change_handle(b: u32) -> Weight
Storage: Msa::PublicKeyToMsaId
(r:1 w:0)
Proof: Msa::PublicKeyToMsaId
(max_values
: None, max_size
: Some(48), added: 2523, mode: MaxEncodedLen
)
Storage: Handles::MSAIdToDisplayName
(r:1 w:1)
Proof: Handles::MSAIdToDisplayName
(max_values
: None, max_size
: Some(59), added: 2534, mode: MaxEncodedLen
)
Storage: Handles::CanonicalBaseHandleToSuffixIndex
(r:1 w:1)
Proof: Handles::CanonicalBaseHandleToSuffixIndex
(max_values
: None, max_size
: Some(53), added: 2528, mode: MaxEncodedLen
)
Storage: Handles::CanonicalBaseHandleAndSuffixToMSAId
(r:0 w:2)
Proof: Handles::CanonicalBaseHandleAndSuffixToMSAId
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component b
is [3, 30]
.
source§fn retire_handle() -> Weight
fn retire_handle() -> Weight
Storage: Msa::PublicKeyToMsaId
(r:1 w:0)
Proof: Msa::PublicKeyToMsaId
(max_values
: None, max_size
: Some(48), added: 2523, mode: MaxEncodedLen
)
Storage: Handles::MSAIdToDisplayName
(r:1 w:1)
Proof: Handles::MSAIdToDisplayName
(max_values
: None, max_size
: Some(59), added: 2534, mode: MaxEncodedLen
)
Storage: Handles::CanonicalBaseHandleAndSuffixToMSAId
(r:0 w:1)
Proof: Handles::CanonicalBaseHandleAndSuffixToMSAId
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)