# How much is deployed into yield farms?

Once a user has successfully supplied the supply asset into a vault, this is added to the vault position with an external lender and can subsequently be used as both:

1. collateral for a loan by the user
2. collateral used for yield generation on behalf of users

For each vault, a vault target threshold (vtt) is configured, which is the loan-to-value ratio the vault will aim to rebalance to during certain transactions (see more later in document).

The amount of assets deployed into yield farms is determined by the following formula:

$$$
$$ vTAA = (vS \* P \* vTT) - vUB $$
$$$

where:

* vTAA = vault target active assets is the target amount deployed into yield farms
* vS = vault supply assets, the total amount supplied by users into the vault
* P = price of the borrow asset
* vTT = vault target threshold, determining how much to deploy in yield farms
* vUB = vault user borrows, total amount of borrow assets borrowed by users

Factors such as price movements and changes in either the amount of supply assets and/or user borrows will affect vault target active assets.


---

# 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.altitude.fi/general/yield-generation-process/how-much-is-deployed-into-yield-farms.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.
