Uniswap V3, Financial Engineering, Stochastic Process, Pricing, Martingales.
calculations in smart contracts. P0​x+y=1, where x is the amount of ETH we invest in liquidity and y is the amount of USDC. Assuming that we provide liquidity in the range PL​<P0​<PH, we can solve for the values of x and y based on the liquidity increase rule and the constraint of total investment.