Skip to main content
ExponentStrategyVault stores vault configuration, authorities, accounting, and tracked positions. Discriminator: [98, 228, 39, 201, 116, 210, 39, 11]. Field names below use onchain snake_case; SDK representations generally use camelCase. Amounts are atomic integers unless stated otherwise. Reserved bytes remain part of the serialized layout.

Vault fields

max_aum_supply is denominated in underlying-mint units. The initialization argument maxLpSupply sets this AUM cap.

Financials

Total stored AUM is aum_in_base + aum_in_base_in_positions. Effective LP supply is minted LP plus pending_management_fee_lp. last_refresh_slot is a slot number; fee accrual and window timestamps are Unix seconds. lp_balance is accounting supply, not a reserve-token balance.

Configuration

VaultRoleKind Borsh tags: 0 = Manager, 1 = Curator, 2 = Allocator, 3 = Sentinel.
Reserve shares, withdrawal cuts, slippage, and NAV thresholds use 10_000 = 100%. Management fee and proposal rejection use 1_000_000 = 100%. 10_000 therefore means 1% annual management fee. Defaults are a 12-hour interval withdrawal lock, zero management fee and cancellation cooldown, 350 bps maximum slippage, and 50 bps NAV threshold over an 86,400-second window. An instant-window limit of 0 falls back to the reserve share. Proposal defaults: 1-hour minimum and 7-day maximum voting, 48-hour default voting, 24-hour timelock, 10% rejection threshold, and one concurrent live proposal. Stored maximum-concurrent value 0 also means one. Initial proposal counters are zero. Weekly withdrawal settings use bit 0 for Sunday through bit 6 for Saturday, a nonzero seven-bit mask, interval ≥ 1 week, and a UTC-midnight reference timestamp not in the future. Requests within four hours of a window’s end move to the next eligible window. Interval lock bounds are 12 hours through 30 days.

Strategy positions

A mint is tracked either as a deposit asset or a TokenAccount position. Reserve mappings cover every active Kamino deposit/borrow reserve; farm mappings identify delegated farms. Share positions retain their valuation-interface mappings.

Status and NAV state

The NAV byte array starts with NAV1 magic in bytes 0–3, then window-start i64 in 4–11, baseline AUM u64 in 12–19, baseline effective LP supply u64 in 20–27, and four reserved bytes.