referrerpolicy=no-referrer-when-downgrade

Trait pallet_balances::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn transfer_allow_death() -> Weight;
    fn transfer_keep_alive() -> Weight;
    fn force_set_balance_creating() -> Weight;
    fn force_set_balance_killing() -> Weight;
    fn force_transfer() -> Weight;
    fn transfer_all() -> Weight;
    fn force_unreserve() -> Weight;
    fn upgrade_accounts(u: u32) -> Weight;
    fn force_adjust_total_issuance() -> Weight;
    fn burn_allow_death() -> Weight;
    fn burn_keep_alive() -> Weight;
}
Expand description

Weight functions needed for pallet_balances.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn transfer_allow_death() -> Weight

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

source§

fn transfer_keep_alive() -> Weight

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

source§

fn force_set_balance_creating() -> Weight

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

source§

fn force_set_balance_killing() -> Weight

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

source§

fn force_transfer() -> Weight

Storage: System::Account (r:2 w:2) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn transfer_all() -> Weight

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

source§

fn force_unreserve() -> Weight

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

source§

fn upgrade_accounts(u: u32) -> Weight

Storage: System::Account (r:999 w:999) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component u is [1, 1000].

source§

fn force_adjust_total_issuance() -> Weight

source§

fn burn_allow_death() -> Weight

source§

fn burn_keep_alive() -> Weight

Implementors§

source§

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