How it works
Vaults, shares, NAV, leads, and followers.
On this page
Each vault is an UmblynVault. The factory deploys it with CREATE2. The caller of createVault is stored as lead. The asset is fixed for the life of the vault.
Shares
A deposit mints shares to a receiver. The share balance is the claim. Shares can be transferred, except that a transfer which would leave a balance below shares locked for a pending withdrawal reverts with SharesLocked.
Conversions add a virtual offset of 1,000,000 shares and 1 asset unit. That is the usual ERC-4626 inflation guard. An empty vault does not price a tiny deposit into the whole supply.
NAV
totalAssets is the vault's balance of the asset plus the oracle value of each open position. navPerShare is that total times 1e18, divided by share supply. An empty vault returns 1e18.
The high water mark and the drawdown peak use this same per-share price. They are not a dollar index.
Lead and follower
The Lead calls executeTrade, chooses which factory-allowed tokens the vault may hold, and may only tighten risk. Followers call deposit or mint, then requestRedeem and later claim. Neither role can pull another holder's assets out by a direct transfer.