Function hydra_dx_math::omnipool::calculate_spot_sprice
source · pub fn calculate_spot_sprice(
asset_a: &AssetReserveState<Balance>,
asset_b: &AssetReserveState<Balance>
) -> Option<FixedU128>
pub fn calculate_spot_sprice(
asset_a: &AssetReserveState<Balance>,
asset_b: &AssetReserveState<Balance>
) -> Option<FixedU128>