referrerpolicy=no-referrer-when-downgrade
pub trait WeightInfo {
    // Required methods
    fn charge_asset_tx_payment_zero() -> Weight;
    fn charge_asset_tx_payment_native() -> Weight;
    fn charge_asset_tx_payment_asset() -> Weight;
}
Expand description

Weight functions needed for pallet_asset_conversion_tx_payment.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn charge_asset_tx_payment_native() -> Weight

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

source§

fn charge_asset_tx_payment_asset() -> Weight

Storage: Assets::Asset (r:1 w:1) Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen) Storage: Assets::Account (r:2 w:2) Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 charge_asset_tx_payment_zero() -> Weight

Implementors§

source§

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