pub trait WeightInfo {
    // Required methods
    fn enable_liquidity_source() -> Weight;
    fn disable_liquidity_source() -> Weight;
    fn check_indivisible_assets() -> Weight;
    fn new_trivial() -> Weight;
    fn is_forbidden_filter() -> Weight;
    fn list_liquidity_sources() -> Weight;
    fn set_adar_commission_ratio() -> Weight;
}
Expand description

Weight functions needed for liquidity_proxy.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn enable_liquidity_source() -> Weight

Storage: TradingPair LockedLiquiditySources (r:1 w:1) Proof Skipped: TradingPair LockedLiquiditySources (max_values: Some(1), max_size: None, mode: Measured)

source§

fn disable_liquidity_source() -> Weight

Storage: TradingPair LockedLiquiditySources (r:1 w:1) Proof Skipped: TradingPair LockedLiquiditySources (max_values: Some(1), max_size: None, mode: Measured)

source§

fn check_indivisible_assets() -> Weight

Storage: Assets AssetInfos (r:2 w:0) Proof Skipped: Assets AssetInfos (max_values: None, max_size: None, mode: Measured)

source§

fn new_trivial() -> Weight

Storage: XSTPool EnabledSynthetics (r:2 w:0) Proof Skipped: XSTPool EnabledSynthetics (max_values: None, max_size: None, mode: Measured)

source§

fn is_forbidden_filter() -> Weight

Storage: MulticollateralBondingCurvePool EnabledTargets (r:1 w:0) Proof Skipped: MulticollateralBondingCurvePool EnabledTargets (max_values: Some(1), max_size: None, mode: Measured)

source§

fn list_liquidity_sources() -> Weight

Storage: DEXAPI EnabledSourceTypes (r:1 w:0) Proof Skipped: DEXAPI EnabledSourceTypes (max_values: Some(1), max_size: None, mode: Measured) Storage: DEXManager DEXInfos (r:1 w:0) Proof Skipped: DEXManager DEXInfos (max_values: None, max_size: None, mode: Measured) Storage: PoolXYK Properties (r:1 w:0) Proof Skipped: PoolXYK Properties (max_values: None, max_size: None, mode: Measured) Storage: MulticollateralBondingCurvePool EnabledTargets (r:1 w:0) Proof Skipped: MulticollateralBondingCurvePool EnabledTargets (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_adar_commission_ratio() -> Weight

Storage: LiquidityProxy ADARCommissionRatio (r:0 w:1) Proof Skipped: LiquidityProxy ADARCommissionRatio (max_values: Some(1), max_size: None, mode: Measured)

Implementors§

source§

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