# Pendle v2

<figure><img src="https://docs.enzyme.finance/~gitbook/image?url=https%3A%2F%2F2049782695-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWzXrybpj5e9VBbPlbYCJ%252Fuploads%252FbGGo3rCnyx6vo2brQkJ1%252Fpendlev2.png%3Falt%3Dmedia%26token%3Daf10be8b-1abc-449c-8ba5-4ca3966746df&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b7fee148&#x26;sv=2" alt=""><figcaption></figcaption></figure>

[Pendle](https://www.pendle.finance/) Finance is a decentralized finance protocol that specializes in the trading and management of tokenized future yields on Ethereum. It achieves this innovative approach by allowing users to separate ownership of the underlying yield-bearing asset from its future yield, creating tradable PT tokens. These PT tokens represent the future yield of various decentralized finance tokens and can be traded, leveraged, or hedged to optimize investment strategies.

This integration enables vault managers to engage in several key activities within the Pendle ecosystem directly from their Enzyme vaults. The integration allows vault managers to:

1. **Swap Stablecoin PT Tokens:** Vault managers can deposit or withdraw different PT tokens based on their assessment of market conditions and yield optimization strategies.
2. **Provide Liquidity on Pendle Pools:** By providing liquidity to Pendle’s pools, vault managers not only contribute to the market's depth but also earn transaction fees and additional rewards.
3. **Claim PENDLE & other Incentives from Liquidity Provision:** Rewarding active engagement within the Pendle Finance ecosystem.

This integration ensures that vault managers have access to all PT tokens whose underlying assets are part of the Enzyme asset universe, thereby broadening the scope for sophisticated investment maneuvers and enhanced portfolio performance.

#### How to Add a Market <a href="#how-to-add-a-market" id="how-to-add-a-market"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. On the market view, click on "Add".
4. Select your preferred TWAP duration.
5. Confirm the transaction and sign it with your connected wallet.

If you receive a message that the duration is not supported, please contact us at **<support@enzyme.finance>**.

#### How to Remove a Market <a href="#how-to-remove-a-market" id="how-to-remove-a-market"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. On the market view, click on "Remove".
4. Confirm the transaction and sign it with your connected wallet.

#### How to modify the twap duration on an existing market? <a href="#how-to-modify-the-twap-duration-on-an-existing-market" id="how-to-modify-the-twap-duration-on-an-existing-market"></a>

By default, the twap is set to 30 minutes as recommended by [Pendle](https://docs.pendle.finance/Developers/Integration/HowToIntegratePtAndLpOracle)

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. On the market view, click on "Edit" on the market you want to modify.
4. From the drop down list, select the new twap duration.
5. Confirm the transaction and sign it with your connected wallet.

#### How to Deposit Liquidity/Fixed Yield on Pendle <a href="#how-to-deposit-liquidity-fixed-yield-on-pendle" id="how-to-deposit-liquidity-fixed-yield-on-pendle"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. Locate the asset you wish to supply in the table view and click on the "Deposit" button.
4. Input the amount you wish to deposit and confirm by clicking on "Deposit."
5. Confirm the transaction and sign it with your connected wallet.

#### How to Withdraw Liquidity/Fixed Yield on Pendle <a href="#how-to-withdraw-liquidity-fixed-yield-on-pendle" id="how-to-withdraw-liquidity-fixed-yield-on-pendle"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. In the table view, click on the "Withdraw" button for the asset you intend to withdraw.
4. Specify the amount you wish to withdraw and click on "Withdraw."
5. Confirm the transaction and sign it with your connected wallet.

#### How to Claim Pendle Rewards <a href="#how-to-claim-pendle-rewards" id="how-to-claim-pendle-rewards"></a>

1. Go to your vault menu on the left-hand side panel and click on "Defi Protocols".
2. Select "**Pendle**" from the protocols list.
3. Locate the "Claim" button in the rewards table view and click on it.
4. Confirm the transaction and sign it with your connected wallet.


---

# 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.enzyme.finance/user-documentation/blue-management/protocols/pendle-v2.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.
