Skip to content

IERC7575Share

Git Source

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);
Parameters
NameTypeDescription
assetaddressThe address of the asset.
Returns
NameTypeDescription
<none>addressThe address of the associated Vault.

Events

VaultUpdate

Emitted when a vault is updated for a specific asset.

event VaultUpdate(address indexed asset, address vault);
Parameters
NameTypeDescription
assetaddressThe address of the asset.
vaultaddressThe address of the new vault.