@vault:totalAssets
Total amount of underlying assets managed by an ERC-4626 vault, in base units of the asset.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: number
Syntax
Section titled “Syntax”@vault:totalAssets(vault)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
vault | address | ERC-4626 vault address |
Examples
Section titled “Examples”# Print the total WXDAI managed by the sDAI vaultprint "sDAI TVL:" @vault:totalAssets(0xaf204776c7245bF4147c2612BF6e5972Ee483701)See Also
Section titled “See Also”On-chain face (@totalAssets!)
Section titled “On-chain face (@totalAssets!)”Read totalAssets() at assertion time.