
ERC7540 · Reads onchain state
Reads how much of its asset one whole share of an asynchronous vault is worth. The vault's decimals are read, one share is formed at that scale, and convertToAssets prices it at the vault's current price, which moves as its manager updates it. Reach for it to gate a deposit or redemption request on the share price crossing a level, or to value a share balance in its asset.
On other protocols · 2