NAV & Pricing

A BLUEDW is worth the vault's value divided by the share supply. Both are on-chain, and the vault's deposit note computes the mint from them in the same transaction that settles it.

The definition

NAV per share = V / S
V = H_btc·p_btc + H_eth·p_eth + H_sol·p_sol
SymbolMeaning
H_iThe vault's holding of coin i
p_iPragma's median for coin i, read on-chain
VThe vault's value, coins only
SBLUEDW total supply, 8 decimals

The vault also keeps a little USDCx to pay its own network fees. That float is deliberately not counted in V: it is not backing, and counting it misprices shares when the basket is small.

Minting

The relay sends the coins it bought in an in-kind deposit note. The note computes, on-chain, before the coins enter the vault:

Δ = Σ carried_i · p_i                 # value of the coins in the note
s = Δ · S / V                         # shares minted

This is the deposit script the relay uses today (v2). Δ == 0 and s == 0 revert, so a deposit can never be a silent donation. V == 0 while shares exist reverts. Every price must be non-zero and at most 10 minutes old. Every deposit mints at the live ratio, so an existing holder is not diluted by a new one.

Into an empty vault (S == 0), v2 requires at least $10 and locks 1,000 base units of the minted shares forever, the standard defence against the first-depositor share-inflation attack. The live vault already had supply when v2 was allowlisted; its protection is that only the vault's owner can deposit at all.

Redeeming

The redeem note burns s shares and releases, for each coin:

a_i = s · H_i / S

No price is read: a holder of s of S shares receives s/S of every holding. The vault's composition after a redemption is the same as before it. The relay then sells those coins for USDCx; that part is DEX execution, not vault math. See Selling.

What you actually get, end to end

BuySell
Darwin fee30 bps of your USDCx30 bps of the USDCx proceeds
DEX execution~0.1–0.2% (market maker fee and spread)same, usually a little higher
Vault mathExact at Pragma pricesExact, no price

So a buy of $100 typically gives about $99.5–99.6 of NAV in BLUEDW, and a sell of $100 of NAV pays about $99.5. See Fees.

Where the prices come from

Inside the vault's notes, every price is a Pragma median read by foreign procedure invocation. The relay never supplies a price to the vault. Details and the pair table are on Oracle.

Prices outside the trade

WhereSource
The trade preview/api/nav-v, which reads the vault, the supply and Pragma from the node in one snapshot; the browser reads them itself only as a fallback
GET /api/nav-v?faucet=V and the per-coin holdings, computed from the vault and Pragma
GET /api/price/BLUEDWNAV per share, the time it was computed, and the real composition. This is the endpoint a wallet uses to price BLUEDW

How the app prices a trade before you sign

The vault has not run yet when you decide, so the app computes the same quantities:

  1. the share supply S, from the vault;
  2. each coin's holding H_i, from the vault;
  3. each coin's Pragma median;
  4. V = Σ H_i · p_i, then NAV = V / S.

The preview then subtracts Darwin's 30 bps. It cannot know the DEX execution in advance, so it is an estimate. The vault recomputes everything itself at settlement; a wrong preview costs precision, never correctness.

Drift between preview and fill

A minute or two passes between your signature and the vault's transaction. In that window, prices move and the DEX fills at the market. On a buy, the difference lands in the number of shares minted; on a sell, in the USDCx you receive. The app shows the realised amount once the trade settles, not the estimate it started from.