On-chain

Vault Program

The Program responsible for Market Vault custody and Position Collateral accounting.

Market Vault

The Market Vault holds collateral for a specific Market. Avoid using low-level token account names as public domain language when the Vault concept is clearer.

Position Accounts

The MVP tracks Long and Short exposure with Position Accounts rather than minting transferable Long or Short Position Tokens.

Withdrawals

Users may Withdraw Available Collateral. They cannot withdraw Reserved Collateral or Position Collateral directly.