referrerpolicy=no-referrer-when-downgrade

Trait pallet_asset_rate::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn create() -> Weight;
    fn update() -> Weight;
    fn remove() -> Weight;
}
Expand description

Weight functions needed for pallet_asset_rate.

Required Methods§

source

fn create() -> Weight

source

fn update() -> Weight

source

fn remove() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn create() -> Weight

Storage: AssetRate::ConversionRateToNative (r:1 w:1) Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)

source§

fn update() -> Weight

Storage: AssetRate::ConversionRateToNative (r:1 w:1) Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)

source§

fn remove() -> Weight

Storage: AssetRate::ConversionRateToNative (r:1 w:1) Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)

Implementors§

source§

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