Skip to content

Commit 0c32f78

Browse files
committed
latex fix, and share rounding to floor
1 parent 6cb18e9 commit 0c32f78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

XLS-0065-single-asset-vault/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ The vault's share price is derived from a **Net Asset Value (NAV)** that exclude
204204

205205
The vault uses an **asymmetric** valuation model to compute deposit and withdrawal exchange rates:
206206

207-
- **Deposit valuation**: $\text{NAV}_{deposit} = \Gamma_{assets} - \Omega$
208-
- **Withdrawal valuation**: $\text{NAV}_{withdraw} = \Gamma_{assets} - \Omega - \iota$
207+
- **Deposit valuation**: $NAV_{deposit} = \Gamma_{assets} - \Omega$
208+
- **Withdrawal valuation**: $NAV_{withdraw} = \Gamma_{assets} - \Omega - \iota$
209209

210210
Unrealized interest ($\Omega$) is excluded from both directions. This ensures that the share price reflects only realized value — it remains stable when a loan is issued and increases only when the borrower actually repays interest.
211211

@@ -285,13 +285,13 @@ First, the requested asset amount ($\Delta_{assets\_requested}$) is converted in
285285

286286
$$\Delta_{shares} = \frac{\Delta_{assets\_requested} \times \Gamma_{shares}}{(\Gamma_{assets} - \Omega - \iota)}$$
287287

288-
This calculated $\Delta_{shares}$ amount is **rounded to the nearest whole number**.
288+
This calculated $\Delta_{shares}$ amount is **rounded down (floor)** to the nearest whole number.
289289

290-
Next, the rounded number of shares from Step 1 is used to calculate the final asset payout ($\Delta_{assets\_out}$), using the same logic as a redemption.
290+
Next, the floored number of shares from Step 1 is used to calculate the final asset payout ($\Delta_{assets\_out}$), using the same logic as a redemption.
291291

292292
$$\Delta_{assets\_out} = \frac{\Delta_{shares} \times (\Gamma_{assets} - \Omega - \iota)}{\Gamma_{shares}}$$
293293

294-
Due to the rounding in Step 1, this final payout may differ slightly from the user's requested amount.
294+
Due to the floor rounding in Step 1, this final payout may be slightly less than the user's requested amount.
295295

296296
**Vault State Update**
297297

0 commit comments

Comments
 (0)