# Earn

The **Earn** page on Mangrove’s DApp lets you explore and manage yield-generating positions within available vaults, built on Mangrove's flexible liquidity engine. These vaults leverage Mangrove’s unique liquidity provisioning to offer optimized yield strategies, allowing you to earn rewards while maintaining liquidity flexibility. With Mangrove’s composable infrastructure, yield opportunities are more dynamic and adaptable to market conditions, giving liquidity providers enhanced control over their earnings. You can deposit tokens to earn yields, view your active positions, and monitor key metrics for each vault.

#### **Step 1: Accessing the Earn Page**

In the Mangrove DApp sidebar, click the **"Earn"** icon (the piggy bank icon). This will take you to the Earn page, where you can view all available vaults and your active positions.

#### **Step 2: Viewing Vaults and Strategies**

The Earn page is divided into two sections:

* **My Positions**: Displays any active positions you currently hold in different vaults.
* **All Vaults**: Shows all available vaults, including their associated **market pairs** (e.g., WETH-USDC), **strategies** (such as Kandel), and **vault managers** (e.g., Redacted Labs). Key metrics, such as Total Value Locked (TVL) and annual percentage yield (APY), are also shown if available.

1. **Vault Market**: Each vault lists the token pair it supports, such as **WETH-USDC**.
2. **Strategy and Manager**: Each vault is managed by a specific strategy (like **Kandel**) and a vault manager (such as **Redacted Labs**).
3. **APY and TVL**: View potential returns (APY) and the total funds locked in the vault (TVL).
   * **Filter and Search Options**: Use the **Search Vault** bar to find a specific vault by name or market. You can also use the **Filter** button to narrow down the list based on different criteria.

<figure><img src="/files/pyTtZhVSn4AMvA2qNLxF" alt=""><figcaption></figcaption></figure>

#### **Step 3: Selecting a Vault and Viewing Details**

1. **Select a Vault**: Click on a vault from the list to view more detailed information. This will open the **Vault Details** page, providing deeper insights into the vault’s performance and requirements.
2. **Vault Details Overview**:
   * **TVL and APY**: Shows the total value locked in the vault and its projected annual yield.
   * **Performance Fee**: This is the percentage fee taken by the vault manager from the profits generated.
   * **Strategy and Manager**: Details on the strategy used in the vault and the entity managing it.
   * **Deposit and Withdrawal Options**: The page provides sections for **Deposit** and **Withdraw**, allowing you to manage your funds within the vault.
3. **Vault Description and Charts**: Each vault includes a description (currently placeholder text in some cases) and a **performance chart** displaying metrics like APY and TVL trends over time. Charts labeled "Vault charts coming soon!" indicate that historical data is not yet available.

#### **Step 4: Depositing Funds into a Vault**

1. **Deposit Section**: On the right side of the Vault Details page, you’ll find the **Deposit** section.
2. **Select Deposit Amount**:
   * You can deposit tokens like WETH or USDC by selecting the desired amount. Use the percentage shortcuts (25%, 50%, 75%, Max) to quickly choose how much of your balance you want to deposit.
3. **Confirm Deposit**: Once you’ve selected the amount, click the **Deposit** button. Confirm the transaction in your wallet to finalize the deposit.

   **Note**: Ensure you have enough tokens in your wallet for the selected deposit, as well as enough to cover any network fees.

<figure><img src="/files/np7pG46j2g0CnVAtyvKN" alt=""><figcaption></figcaption></figure>

#### **Step 5: Withdrawing Funds from a Vault**

1. **Withdraw Tab**: Next to the Deposit tab, you’ll see the **Withdraw** tab. Click here if you wish to remove funds from the vault.
2. **Select Withdrawal Amount**: Choose the percentage of your funds in the vault you’d like to withdraw (25%, 50%, 75%, Max).
3. **Confirm Withdrawal**: Click the **Withdraw** button and confirm the transaction in your wallet to complete the withdrawal process.

   **Note**: Be aware of any withdrawal fees or delays that might apply depending on the vault’s strategy.

#### **Step 6: Monitoring Your Position and Rewards**

1. **My Position**: Under **My Position**, you can track your current balances in the vault, including each token (e.g., WETH and USDC), the minted amount of any vault-specific tokens, and other details.
2. **Rewards**: Below My Position, you’ll see the [**Rewards** ](/dapp-guide/rewards.md)section, which shows any rewards you’ve accrued from the vault, such as **MGV tokens**. Click **Claim Rewards** to transfer any available rewards to your wallet.

<figure><img src="/files/goyTxRblCdac99S36xHF" alt=""><figcaption></figcaption></figure>

#### **Additional Vault Details**

At the bottom of the Vault Details page, you’ll find more specific information about the vault, such as:

* **Strategy Details**: Shows the vault’s strategy name, performance fee, and other technical data.
* **Chain and Manager Information**: Includes details on the blockchain network (e.g., Arbitrum One), vault manager, and any audits or security certifications.
* **Creation Date and Addresses**: Provides the creation date of the vault and addresses for the strategy and vault contracts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mangrove.exchange/dapp-guide/earn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
