Get total assets

Get total assets on Avantis

Base
Base

Reads onchain state

Reads the stablecoin the Avantis vault holds, the balance every vault share is a claim on. The vault's totalAssets is its own stablecoin balance. Trader losses and fees the vault is allocated raise it and trader profits paid out lower it, so it moves with the exchange's flow against its liquidity providers. Reach for it to watch the vault's size, to detect a drawdown against a stored earlier value, or to compute a holding's share of the vault against its total supply.

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

On other protocols · 5