squeeth-monorepo icon indicating copy to clipboard operation
squeeth-monorepo copied to clipboard

One-Click LP: Rebalance

Open daryakaviani opened this issue 2 years ago • 1 comments

Task: One-Click LP Rebalance

Description

Rebalance an LP position via the ControllerHelper's rebalanceLpInVault function. Liquidate current position, calculate new LP amounts based on new ticks, swap oSQTH and ETH to meet necessary amounts, and mint the new LP position.

Learn more about the One-Click LP API here.

daryakaviani avatar Jul 13 '22 06:07 daryakaviani

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
continuouscall ✅ Ready (Inspect) Visit Preview Aug 9, 2022 at 7:35AM (UTC)

vercel[bot] avatar Jul 13 '22 06:07 vercel[bot]