IERC7575Share
Inherits: IERC20, IERC165
Interface for ERC-7575 share functionality.
The share token MUST return the constant value true if 0xf815c03d is passed through the interfaceID argument.
Functions
vault
Returns the address of the Vault for the given asset.
function vault(address asset) external view returns (address);| Name | Type | Description |
|---|---|---|
asset | address | The address of the asset. |
| Name | Type | Description |
|---|---|---|
<none> | address | The address of the associated Vault. |
Events
VaultUpdate
Emitted when a vault is updated for a specific asset.
event VaultUpdate(address indexed asset, address vault);| Name | Type | Description |
|---|---|---|
asset | address | The address of the asset. |
vault | address | The address of the new vault. |