
Avantis · Reads onchain state
Reads how many Avantis vault shares a stablecoin amount is worth at the vault's current rate. The vault's convertToShares applies no fee. Deposits pay none either, so it matches what a deposit of the amount mints, while an exit of the same value burns more shares once the collateral health fee is added. Reach for it to size a position in shares before depositing, or to express a stablecoin target as the share count a later redeem should burn.
On other protocols · 2