Borrowing

How to deposit LP tokens

1. Choose the lending pool that corresponds to the LP tokens you want to deposit. You'll need to make sure you have LP tokens in your wallet for the lending pool. (If not, you can navigate to the corresponding decentralized exchange (DEX) and follow their instructions to add liquidity for the token pair).

2. For the lending pool, you'll see an overview of the information for each borrowable token in the lending pool, including the Total Supply, Total Borrowed, Utilization, Supply APR, and Borrow APR.

3. Click Deposit to open the Deposit dialog for LP tokens.

4. In the Deposit dialog, use the slider or enter the amount of LP tokens you wish to deposit. You can also click MAX to enter the maximum amount available.

5. If this is your first deposit of LP tokens for this lending pool, click Approve to approve the deposited amount and Confirm the transaction in your wallet. This may take a few seconds to update. If the button doesn't update after a few seconds, try refreshing the page.

6. Finally, click Deposit in the dialog to deposit your LP tokens and Confirm the transaction in your wallet.

How to leverage LP tokens

1. Choose the lending pool that corresponds to the LP tokens you want to leverage. Make sure you have already deposited LP tokens, as detailed in How to deposit LP tokens.

2. Click Leverage to open the leverage dialog for LP tokens.

3. In the Leverage dialog, use the slider or enter the amount of desired leverage. You'll see an overview of the New Leverage, New Liquidation Prices, Borrow Fees, Trading APR, Reward APR (if any), Borrow APR, and the Estimated APR for your leveraged position.

4. If necessary, click Approve for both tokens and Confirm the transactions in your wallet. This may take a few seconds to update.

5. Finally, click Leverage in the dialog to leverage your LP tokens and Confirm the transaction in your wallet.

How to deleverage LP tokens

1. Choose the lending pool that corresponds to the LP tokens you want to deleverage. You can only deleverage a position if you have leveraged LP tokens, as detailed in How to leverage LP tokens.

2. Click Deleverage to open the Deleverage dialog for LP tokens.

3. In the Deleverage dialog, use the slider or enter the amount of LP tokens you wish to deleverage. You can also click MAX to enter the maximum available. You'll see an overview of the New Leverage, New Liquidation Prices, Repay and Receive amounts, and the Estimated APR for your deleveraged position.

4. If necessary, click Approve to approve the deleveraged amount and Confirm the transaction in your wallet. This may take a few seconds to update.

5. Finally, click Deleverage in the dialog to deleverage your LP tokens and Confirm the transaction in your wallet.

6. Note that deleveraging breaks down the LP token collateral into its constituent tokens and uses them to repay the outstanding borrowed amounts. The remaining tokens are returned to your wallet as tokens in the token pair, rather than as LP tokens. If you wish to deleverage and keep the remaining collateral as LP tokens, choose a smaller amount that still corresponds to the “0 - Infinity” range for Liquidation Prices.

How to withdraw LP tokens

1. Choose the lending pool that corresponds to the LP tokens you want to withdraw. You can only withdraw if you have deposited LP tokens, as detailed in How to deposit LP tokens. If you have a leveraged position, you can only withdraw up to the available LP tokens for your position to remain sufficiently collateralized.

2. Click Withdraw to open the Withdraw dialog for LP tokens.

3. In the Withdraw dialog, use the slider or enter the amount of LP tokens you wish to withdraw. You can also click MAX to enter the maximum available. You'll see an overview of the New Leverage and New Liquidation Prices for your leveraged position, and the Transaction size (in the token pair) for your withdrawal.

4. If necessary, click Approve to approve the withdrawal amount and Confirm the transaction in your wallet. This may take a few seconds to update.

5. Finally, click Withdraw in the dialog to withdraw the LP tokens and Confirm the transaction in your wallet.

How to borrow tokens using LP tokens as collateral

1. Choose the lending pool that corresponds to the tokens you want to borrow. You can only borrow tokens if you have deposited LP tokens, as detailed in How to deposit LP tokens.

2. Click Borrow to open the Borrow dialog for the tokens you want to borrow.

3. In the Borrow dialog, use the slider or enter the amount of tokens you want to borrow. You can also click MAX to enter the maximum available. You'll see an overview of the New Leverage, New Liquidation Prices, Borrow Fee, Borrow APR, and the Farming APR (if any) for your leveraged position.

4. If necessary, click Approve to approve the borrowed amount and Confirm the transaction in your wallet. This may take a few seconds to update.

5. Finally, click Borrow in the dialog to borrow the tokens and Confirm the transaction in your wallet.

How to repay borrowed tokens

1. Choose the lending pool that corresponds to the borrowed tokens you want to repay. You can only repay if you have borrowed tokens, as detailed in How to leverage LP tokens and How to borrow tokens using LP tokens as collateral.

2. Click Repay to open the Repay dialog for the borrowed tokens you want to repay.

3. In the Repay dialog, use the slider or enter the amount of tokens you want to repay. You can also click MAX to enter the maximum available. You'll see an overview of the New Leverage and New Liquidation Prices for your leveraged position.

4. If necessary, click Approve to approve the repayment amount and Confirm the transaction in your wallet. This may take a few seconds to update.

5. Finally, click Repay in the dialog to repay the borrowed tokens and Confirm the transaction in your wallet.

Last updated