pub trait WeightInfo {
    // Required methods
    fn claim() -> Weight;
    fn transfer() -> Weight;
    fn free() -> Weight;
    fn force_transfer() -> Weight;
    fn freeze() -> Weight;
}
Expand description

Weight functions needed for pallet_indices.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn claim() -> Weight

Storage: Indices::Accounts (r:1 w:1) Proof: Indices::Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)

source§

fn transfer() -> Weight

Storage: Indices::Accounts (r:1 w:1) Proof: Indices::Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn free() -> Weight

Storage: Indices::Accounts (r:1 w:1) Proof: Indices::Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)

source§

fn force_transfer() -> Weight

Storage: Indices::Accounts (r:1 w:1) Proof: Indices::Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn freeze() -> Weight

Storage: Indices::Accounts (r:1 w:1) Proof: Indices::Accounts (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)

Implementors§

source§

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