Reads an Extra Finance farming vault's state through the position manager's getVault.
The vault reports the pair, gauge, and tokens it farms; whether it is paused, frozen, and lending; the leverage a new position may take and the premium leverage veEXTRA holders may; the debt ratio past which positions are liquidated and its withdrawal, compounding, liquidation, range-stop, and protocol fees in basis points; how much of the pair's liquidity it has staked; and each debt's limit and the shares its positions hold of it.
Reach for it to gate an investment on a vault being open and lending, to read the liquidation threshold a position's debt ratio is held against, or to watch how much leverage a vault still allows.