As discussed here - #15, explore having two separate external wrapper functions (depositAmounts and depositLiquidity) that each call the core function (_deposit). Both functions would call _getPool, and depositAmounts would also call _getLiquidityForAmts.
As discussed here - #15, explore having two separate external wrapper functions (
depositAmountsanddepositLiquidity) that each call the core function (_deposit). Both functions would call_getPool, anddepositAmountswould also call_getLiquidityForAmts.