> For the complete documentation index, see [llms.txt](https://docs.moonwell.fi/moonwell/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moonwell.fi/moonwell/developers/protocol/4626-vaults.md).

# 4626 Vaults

[ERC-4626](https://ethereum.org/en/developers/docs/standards/tokens/erc-4626/) is a standard for tokenized vaults that simplifies the process of integrating with lending markets like Moonwell. Many protocols build on top of or compose with Moonwell's lending markets to lend assets and earn yield. Traditionally, this requires writing custom integration contracts to supply and redeem from the underlying markets.

To streamline the development process for applications composing with Moonwell, two ERC-4626 factory vaults have been created:

1. [**ERC20 Vault**](/moonwell/developers/protocol/4626-vaults/erc20-vault-deployment.md)**:** This vault allows users to deposit and withdraw ERC20 tokens into the Moonwell protocol.
2. [**ETH Vault**](/moonwell/developers/protocol/4626-vaults/eth-vault-deployment.md)**:** This vault enables users to deposit and withdraw ETH directly into the Moonwell protocol.

The addresses for these respective contracts can be found in the [Contracts](/moonwell/protocol-information/contracts.md) section of the Moonwell Docs.

### Benefits of Using ERC4626 Vaults

* **Standardization**: ERC4626 vaults provide a standardized interface for depositing and withdrawing assets, making it easier for developers to integrate with Moonwell and other compatible protocols.
* **Composability**: Applications built on top of ERC4626 vaults can seamlessly compose with other DeFi protocols, enabling the creation of more complex and feature-rich financial products.
* **Simplified Integration**: By leveraging ERC4626 vaults, developers can save time and effort by avoiding the need to write custom integration contracts for supplying and redeeming assets from Moonwell's lending market.
* **Improved User Experience**: ERC4626 vaults abstract away the complexities of interacting with lending markets, providing a more user-friendly experience for depositing and withdrawing assets while earning yield.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.moonwell.fi/moonwell/developers/protocol/4626-vaults.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
