Function levana_perpswap_cosmos::compat::calc_notional_size

source ยท
pub fn calc_notional_size(
    leverage: LeverageToBase,
    direction: DirectionToBase,
    market_type: MarketType,
    price_point: &PricePoint,
    collateral: NonZero<Collateral>,
) -> Result<Signed<Notional>>