pub fn calculate_remove_liquidity_state_changes(
asset_state: &AssetReserveState<Balance>,
shares_removed: Balance,
position: &Position<Balance>,
imbalance: I129<Balance>,
total_hub_reserve: Balance,
withdrawal_fee: FixedU128
) -> Option<LiquidityStateChange<Balance>>
Expand description
Calculate delta changes of remove liqudiity given current asset state and position from which liquidity should be removed.