> For the complete documentation index, see [llms.txt](https://docs.lagoon.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lagoon.finance/vault/how-to/update-the-vault-valuation-and-settle-requests.md).

# Update the vault valuation & settle requests

## The first valuation update

{% hint style="danger" %}
Before updating the valuation of a vault, please read how it works [here](/vault/vault-valuation.md).
{% endhint %}

If it is your first valuation update, the input value will be 0, regardless of the fact that there are pending deposit requests. If you don't understand why, please check the documentation on how the [vault valuation works](/vault/vault-valuation.md).

## Update the vault valuation

In Lagoon, the valuation of the vault is injected into the smart contract by the [Valuation Provider](/vault/roles-and-capacities/valuation-oracle.md).

For more security, it is a two-step procedure:

* First, the Valuation Provider will store a valuation proposal in the vault.
* Then, the curator can accept this valuation by calling either `settleDeposit/settleRedeem`. Note that they are not exactly equivalent; you can learn more [here](#settledeposit-vs-settleredeem).

To access the management page, please check this [tutorial](/vault/deploy-your-vault/access-your-vault-on-lagoon.md).

{% hint style="danger" %}
The first valuation injected must be 0. Please read how the valuation works [here](/vault/vault-valuation.md).
{% endhint %}

### Current vault state

On this page, you can see the current state of your vault.

<figure><img src="/files/dYppKt8ByD6RLdXvop2z" alt=""><figcaption><p>Current vault state</p></figcaption></figure>

#### Simulation mode & propose valuation

By touching the input bar, you will enter the simulation mode. It will display in green the new vault state if the valuation was settled.

<figure><img src="/files/L9Y6rIvocyNWqRla4Ozq" alt=""><figcaption><p>Vault state with a new valuation</p></figcaption></figure>

Click `Propose new valuation` button to initiate the transaction.

### Approve valuation & settle

<figure><img src="/files/lFjvDihkzM6TdSa9mNLf" alt=""><figcaption><p>A vault ready to be settled by the curator</p></figcaption></figure>

After the Valuation Provider proposed the new valuation, the Curator can validate it.

Let's have a look at the information displayed.

* **Total assets and new total assets -** here we can see a valuation update from \~2,508,115 USD0++ to \~2,508,330 USD0++.
* **Calculated Fees -** Since the new valuation is lower than *Asset at the high-water mark*, no performance fees will be taken, and the high-water mark will remain unchanged. On the other hand, management fees are taken.
* **Requests** - There are \~30,460 USD0++ ready to be deposited and \~624.94 ustUSR++ (vault shares) ready to be redeemed. To redeem the shares, the vault will use the assets being deposited and those present in the curator's address. It is the case because we are going to call `settleDeposit` , it would not be the case if we called `settleRedeem` .That's why the section *Underlying to Unwind* is empty; there are enough pending deposits to settle the redemptions.
* **Settle with deposits** button - See next section.

#### SettleDeposit vs SettleRedeem

Approving the valuation passes by two possible functions: `settleDeposit` and `settleRedeem`. Here is a table enumerating each function behavior:

| Behavior                                       | settleDeposit | settleRedeem |
| ---------------------------------------------- | ------------- | ------------ |
| check for consistency in the valuation updated | ✅             | ✅            |
| take fees                                      | ✅             | ✅            |
| settle deposit requests                        | ✅             | ❌            |
| try to settle redemption requests              | ✅             | ✅            |

{% hint style="info" %}
Why does the *settleDeposit* operation try to settle redemption requests?

That is because the best moment to honor redemption requests is when there is a maximum of underlying in the curator address, it is the case after a settlement of deposits.
{% endhint %}

{% hint style="info" %}
Why do the settlement calls only **try** to settle redemptions?

In order to improve the curator's flexibility, the settlement of redemptions will only happen if there are enough assets in the curator's address. It is the curator's job to make sure it is the case.
{% endhint %}

{% hint style="info" %}
Can I update the valuation if there are no deposit/redeem requests?

Yes, you can, everything will work the same.
{% endhint %}


---

# 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:

```
GET https://docs.lagoon.finance/vault/how-to/update-the-vault-valuation-and-settle-requests.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.
