referrerpolicy=no-referrer-when-downgrade

WeightInfo

Trait WeightInfo 

Source
pub trait WeightInfo {
    // Required methods
    fn vesting_balance() -> Weight;
    fn vesting_balance_of() -> Weight;
}
Expand description

Weight functions needed for pallet_vesting_precompiles.

Required Methods§

Source

fn vesting_balance() -> Weight

Source

fn vesting_balance_of() -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WeightInfo for ()

Source§

fn vesting_balance() -> Weight

Storage: Vesting::Vesting (r:1 w:0) Proof: Vesting::Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)

Source§

fn vesting_balance_of() -> Weight

Storage: Revive::OriginalAccount (r:1 w:0) Proof: Revive::OriginalAccount (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: Vesting::Vesting (r:1 w:0) Proof: Vesting::Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen) Storage: System::Account (r:1 w:0) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

Implementors§

Source§

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