NAV Calculation

NAV (Net Asset Value) is the intrinsic value per vault token.

function getNAV() public view returns (uint256) {
  uint256 total = getTotalAssets();
  uint256 supply = totalSupply();

  // Stabilize NAV for small vaults using virtual assets/shares.
  uint256 totalWithVirtual = total + navVirtualAssets;
  uint256 supplyWithVirtual = supply + navVirtualShares;

  return (totalWithVirtual * PRECISION) / supplyWithVirtual;
}

Total assets

getTotalAssets() includes:

  • EVM USDC balance held by the core contract.

  • Hyperliquid L1 spot account balance.

  • Hyperliquid L1 perp account value (includes unrealized P&L and funding).

  • Pending sells (subtracted).

Used to reduce volatility in small vaults:

Last updated