For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add / Remove Liquidity

Add Liquidity

You can add liquidity to a pool by navigating to the earn page, clicking on the pool you want to provide liquidity into and then adding in the two tokens of the pool in a 50:50 ratio. You can also zap in with one token. The zap features uses multiple DEXs to swap your token into the two tokens of the pool. There may be price impact, however.

Remove Liquidity

To remove liquidity from a pool, navigate to the portfolio page and click on the current supplied position that you would like to remove.

Navigate to the withdraw tab in the pool page. You can withdraw using zap or by doing it manually.

Zapping uses the GammaSwap DEX router to find the best prices and swaps your position into one token for you. If price impact is high or you prefer exiting into both tokens of the pool, you can withdraw manually by toggling the zap button off.

Closing a Perpetual Option

Navigate to the trade page for the market of the position you would look to close and select the close button.

You can also close a position from the portfolio page by going to the borrowed tab.

Exit Farm

To withdraw liquidity, you must first unstake your LP on the farm page and then withdraw your liquidity from the pool.

After unstaking, you can withdraw your liquidity on the pool page by adding the amount of GSLP you would like to withdraw and then click withdraw.

Last updated