Function hydra_dx_math::omnipool::calculate_delta_imbalance
source · pub fn calculate_delta_imbalance(
delta_hub_reserve: Balance,
imbalance: I129<Balance>,
hub_reserve: Balance
) -> Option<Balance>
Expand description
Calculate delta imbalance given delta hub reserve to be added to pool