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§

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(36), added: 2511, mode: MaxEncodedLen)

source§

fn update() -> Weight

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

source§

fn remove() -> Weight

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

Implementors§