0xcalldata

ERC-4626 function

asset()

Returns the ERC-20 token address used as the vault’s underlying asset.

Selector
0x38d52e0f
Mutability
view

Generate asset calldata

Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.

This function takes no parameters.

calldata4 bytes
sel0x38d52e0f
asset()

How asset works

The asset contract is fixed metadata for the vault and the call has no arguments.

Parameters

This function takes no parameters. Its calldata is only the four-byte selector.

Return value

The underlying ERC-20 contract address.

address result

Return data comes back after execution and is not included in the calldata above.

View all ERC-4626 functions →