# 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](https://docs.lagoon.finance/vault/vault-valuation).
{% 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](https://docs.lagoon.finance/vault/vault-valuation).

## Update the vault valuation

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

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](https://docs.lagoon.finance/vault/deploy-your-vault/access-your-vault-on-lagoon).

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

### Current vault state

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

<figure><img src="https://2098527692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vcVbvvRrtwZ0uaFrufF%2Fuploads%2Fh7cbOF7b4Hk4wyISVESW%2FScreenshot%202025-04-25%20at%2019.18.14.png?alt=media&#x26;token=f62111af-7c92-40f9-802b-9e9dfc67fe4c" 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="https://2098527692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vcVbvvRrtwZ0uaFrufF%2Fuploads%2FNQkUAwemSdeep22oJ1aF%2FScreenshot%202025-04-25%20at%2019.23.42.png?alt=media&#x26;token=d4edeef9-def4-4ccc-9157-78f4580b1ffa" 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="https://2098527692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5vcVbvvRrtwZ0uaFrufF%2Fuploads%2FnITpvGkyXYPEEIkXZwM8%2FScreenshot%202025-04-28%20at%2014.40.03.png?alt=media&#x26;token=99d6f2b3-073e-456d-9ea9-9e5cb561afb2" 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++.&#x20;
* **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 %}
