Get utilization ratio
Get utilization ratio

Avantis · Reads onchain state

Reads how much of the Avantis vault's capacity is reserved against open trades. The vault's utilizationRatio divides the reserve by its balance multiplied by the exchange's open interest multiplier and returns a percentage at ten decimals, read here as a fraction of one. Every withdrawal and redemption reverts if it would leave this at or above the withdraw threshold. Reach for it to gate an exit on the vault having room, comparing it against the withdraw threshold so the exit only fires when it will land.