Profit and first loss
Who gains, and who pays first
The vault's result is measured against just holding: what the same HBAR and USDC would be worth if the vault had not traded.
Profit
When the vault does better than holding, 20% of that profit goes to the agents and the rest stays in the vault with the depositors.
First loss
When the vault does worse than holding, the loss is taken from the round's bonds before depositors lose anything. This is the first loss.
First loss is capped at 20% of the round's bonds. A loss larger than that reaches depositors.
An example
A round has 100 HBAR in bonds, so first loss covers up to 20 HBAR.
| Vault loss | Paid by the bonds | Paid by depositors |
|---|---|---|
| 8 HBAR | 8 HBAR | 0 HBAR |
| 20 HBAR | 20 HBAR | 0 HBAR |
| 30 HBAR | 20 HBAR | 10 HBAR |
What else limits a loss
The vault never goes all in. It stays between 25% and 75% HBAR, and one trade is at most 20 HBAR. See The vault.