Description
Motivation
EIP-4626 introduces a standard API for tokenized Vaults representing shares of a single underlying ERC-20 token. This standard is an extension of the ERC-20 token that provides basic functionality for depositing and withdrawing tokens and reading balances.
Reference Implementations
-
See Solmate ERC-4626: a minimal and opinionated implementation of the standard with hooks for developers to easily insert custom logic into deposits and withdrawals.
-
See Vyper ERC-4626: a demo implementation of the standard in Vyper, with hooks for share price manipulation and other testing needs.
@Amxx from OpenZeppelin has already opened a draft PR currently here. I essentially opened this issue in order to track the development for anyone searching for this new ERC-4626.