Skip to main content

Strategy vault

StrategyVaultContract holds liquidity for one market and issues transferable shares. Its constructor fixes the paired market as its strategy. Only that market can authorize strategy deposits, redemptions, and payout draws; shareholders can transfer shares without gaining strategy authority.

Where each entry is documented​

PageWhat it holds
Constructor and share tokenConstructor bindings, token entries, share decimals, storage, and token errors.
Share pricingDeposits, redemptions, previews, the net_pnl mark, conversion formulas, and receipts.
Strategy withdrawStrategy authorization, market payout draws, and their effect on share backing.

Liquidity providers act through the market's vault orders. The factory deploys both contracts together.