> For the complete documentation index, see [llms.txt](https://x3defi.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://x3defi.gitbook.io/main/products/finance/xfactory/automated-staking-vaults.md).

# Automated Staking (Vaults)

## What is a Vault?

Vaults are investment instruments that employ a specific set of strategies for yield farming. They make use of automation to continually invest and reinvest deposited funds, which helps to achieve high levels of compound interest. By using our vault to compound your gains, you save thousands of transactions with their associated gas costs and precious personal time. Instead of manually harvesting and selling rewards, buying more tokens, and reinvesting that continuously, a vault does all that automatically at a high frequency.

**Despite what the name 'Vault' suggests, user funds are never locked in any vault**. One could always withdraw from a vault at any moment in time. X3DEFI also does not own user funds staked in vaults. However, it is generally best to view vaults as investment tools to store funds for the medium to long term in order to have the effects of compounding really kick in.

When browsing the vaults on the platform, you will see the annual percentage yield (APY), which takes the frequent compounding into consideration, compared to the annual percentage rate (APR), which does not. You will also see daily interest percentages and the total amount invested in a vault by all users (TVL).

Summarizing, vaults can:

* Efficiently execute yield farming strategies.
* Compound rewards into the initially deposited token amount.
* Reinvest earned profits.

Users can sit back and relax, and watch their investment grow!

### Next Steps

-> Check out our Vault space on our website: [http://xfactory.darkx.money/#/vaults<br>](<http://xfactory.darkx.money/#/vaults&#xA;>)-> Check the underlying [contracts](/main/links/smart-contracts.md).


---

# 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://x3defi.gitbook.io/main/products/finance/xfactory/automated-staking-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.
