Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IERC7575Share

Inherits: IERC165

Interface of the ERC20 share token, as defined in https://eips.ethereum.org/EIPS/eip-7575

Functions

vault

Returns the address of the Vault for the given asset.

function vault(address asset) external view returns (address);

Parameters

NameTypeDescription
assetaddressthe ERC-20 token to deposit with into the Vault

Events

VaultUpdate

event VaultUpdate(address indexed asset, address vault);