

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.
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 Avantis ยท 37




































