Get vault

Get vault on Extra Finance

Base
Base

Reads onchain state

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.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Extra Finance · 15