pub trait WeightInfo {
    // Required methods
    fn apply_item_actions_add(s: u32) -> Weight;
    fn apply_item_actions_delete(n: u32) -> Weight;
    fn upsert_page(s: u32) -> Weight;
    fn delete_page() -> Weight;
    fn apply_item_actions_with_signature_v2_add(s: u32) -> Weight;
    fn apply_item_actions_with_signature_v2_delete(n: u32) -> Weight;
    fn upsert_page_with_signature_v2(s: u32) -> Weight;
    fn delete_page_with_signature_v2() -> Weight;
}
Expand description

Weight functions needed for pallet_stateful_storage.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn apply_item_actions_add(s: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Msa::DelegatorAndProviderToDelegation (r:1 w:0) Proof: Msa::DelegatorAndProviderToDelegation (max_values: None, max_size: Some(217), added: 2692, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) Proof: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) The range of component s is [1024, 5120].

source§

fn apply_item_actions_delete(_n: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Msa::DelegatorAndProviderToDelegation (r:1 w:0) Proof: Msa::DelegatorAndProviderToDelegation (max_values: None, max_size: Some(217), added: 2692, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) Proof: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) The range of component n is [1, 5].

source§

fn upsert_page(s: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Msa::DelegatorAndProviderToDelegation (r:1 w:0) Proof: Msa::DelegatorAndProviderToDelegation (max_values: None, max_size: Some(217), added: 2692, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) Proof: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) The range of component s is [1, 1024].

source§

fn delete_page() -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Msa::DelegatorAndProviderToDelegation (r:1 w:0) Proof: Msa::DelegatorAndProviderToDelegation (max_values: None, max_size: Some(217), added: 2692, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) Proof: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1)

source§

fn apply_item_actions_with_signature_v2_add(s: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) Proof: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) The range of component s is [1024, 5120].

source§

fn apply_item_actions_with_signature_v2_delete(_n: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) Proof: UNKNOWN KEY 0xbd1557c8db6bd8599a811a7175fbc2fc6400 (r:1 w:1) The range of component n is [1, 5].

source§

fn upsert_page_with_signature_v2(s: u32) -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) Proof: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) The range of component s is [1, 1024].

source§

fn delete_page_with_signature_v2() -> Weight

Storage: Msa::PublicKeyToMsaId (r:1 w:0) Proof: Msa::PublicKeyToMsaId (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: Schemas::SchemaInfos (r:1 w:0) Proof: Schemas::SchemaInfos (max_values: None, max_size: Some(15), added: 2490, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1) Proof: UNKNOWN KEY 0x0763c98381dc89abe38627fe2f98cb7af1577fbf1d628fdddb4ebfc6e8d95fb1 (r:1 w:1)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>