Docs / Money
The pool
The house pool is the counterparty of every position. It is the operator's capital; there are no outside depositors in this version.
At open, the pool reserves the position's max gain N x (1 - q0). The open is refused when total reserves would pass 80% of the pool's USDC, or one market's reserves would pass 25%. The best case of every position is set aside before it opens.
Pool USDC = USDC in the vault, minus what belongs to users (free balances, margins in positions, withdrawals in flight), minus the fee wallet's share not yet sent. The pool page shows each figure, read from the vault account on chain and from the book.
The operator can sweep only the pool's free capital: never user balances, margins or reserves.