Skip to main content
ExponentVault exposes a loaded state snapshot, account readers, and valuation helpers. Import it from @exponent-labs/exponent-sdk. These reads do not commit an onchain AUM refresh.

Load and reload

Reload after confirmed mutations before building another operation from state. Keep atomic token and LP amounts as bigint.

Read valuation

The two bundle-valuation methods accept { allowSimulationFallback?, valuationClock? }. By default, simulation errors fall back to stored AUM with a warning. Set allowSimulationFallback: false when a successful simulated valuation is required. A valuation result does not refresh the vault account. Instant-withdrawal capacity and quote contracts are documented with deposits and withdrawals.

Prepare refresh inputs

Price updates must share the slot of the accounting calculation that uses them. Preserve protocol refresh ordering. See Refresh AUM for transaction packing and bundles. buildVaultRefreshTransactions packs ordered refresh instructions into unsigned v0 transactions using supplied tables and compute settings. assertVaultBundleFits checks the five-transaction Jito bundle limit; neither submits a bundle.