Close a Leveraged Yield Farming Position
Last updated
Was this helpful?
Last updated
Was this helpful?
To close a leveraged yield farming position, follow the steps below.
Go to the page.
Connect to your Web3 wallet (such as MetaMask) and make sure your network is set to Polygon. Click if you do not have the network in your wallet yet.
You will see your active positions in the “Your Positions” section.
Select a position you’d like to close and click "Close".
After clicking “Close”, you will see two methods you can select:
Minimize Trading: We will convert the minimum required amount of tokens into Base Token to pay back the debt and return the remaining assets to you. This can potentially save on slippage and trading fees.
Convert to [Base Token]: Your position value will all be converted to Base Token (the tokens you borrowed) and returned to you after paying back the debt.
Input what number of LP Token you would like to take directly (without removing liquidity)
You can review all the relevant information such as price impact and the approximate value you will receive.
Once you are happy with your selected method, you can click on “Close Position”
After clicking “Close Position”, you should get a pop-up notification in your MetaMask to accept the transaction.
Wait for the transaction to be processed.
Once the transaction has gone through, you should receive the base tokens back in your wallet
Please note that when you close a position, the position value will be converted into base tokens (USDC or USDT). Part of it will pay back your debt and accrued interest. Then, you’ll receive the remaining tokens in your wallet.
If your position’s debt size goes above the allowed risk threshold, it can be liquidated.
Please note that if your position is liquidation, the position value will be converted into base tokens (BUSD or MATIC). Part of it will pay back your debt, accrued interest, and the liquidation fee. Then, you’ll receive the remaining tokens in your wallet.
For manual reinvest position, you may also receive the reward tokens.