Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

ERC-4626

ERC-4626 is a tokenized vault standard on Ethereum that defines a common interface for yield-bearing vaults, allowing users to deposit tokens and receive a receipt token representing their share of the vault's assets.

Technical definition

ERC-4626 is an Ethereum Improvement Proposal (EIP) that specifies a standardized interface for tokenized vaults, which are smart contracts that pool assets (e.g., stablecoins or ETH) and generate yield through strategies like lending or liquidity provision. The standard defines functions for depositing, withdrawing, and querying balances, ensuring compatibility between vaults and interfaces. It introduces a receipt token (e.g., shares) that represents a user's proportional ownership of the vault's assets and accrued yield, enabling composability across DeFi protocols.

An analogy

Imagine a shared piggy bank where everyone contributes coins, and the bank generates interest over time. Instead of tracking individual contributions, the bank issues receipts (like IOUs) that prove how much each person owns. These receipts can then be used elsewhere, such as exchanging them for goods or depositing them into another bank.

Why it matters

ERC-4626 standardizes yield-bearing vaults, reducing fragmentation in DeFi and enabling seamless integration between protocols. It simplifies user experience by providing a consistent way to interact with vaults across different platforms.

Where it came from

ERC-4626 was proposed in December 2021 by a group of Ethereum developers, including representatives from Yearn Finance, OpenZeppelin, and Rari Capital. It was finalized as an Ethereum Improvement Proposal (EIP) in May 2022.

Example in practice

A user deposits 100 USDC into an ERC-4626 vault that invests in a lending protocol. The vault mints 100 vault tokens (e.g., yvUSDC) representing the user's share. Later, the user can redeem these tokens for their share of the vault's assets plus accrued yield, or use them as collateral in another DeFi protocol.

Common misconceptions

  • ERC-4626 vaults are risk-free → Correction: Vaults inherit risks from their underlying strategies, such as smart contract vulnerabilities, impermanent loss, or protocol insolvency.
  • ERC-4626 tokens are always pegged 1:1 to the deposited asset → Correction: The receipt token's value fluctuates based on the vault's yield and strategy performance; it is not guaranteed to maintain a 1:1 peg.

Risks & limitations

  • Smart contract risk: Bugs or vulnerabilities in the vault or underlying strategy can lead to loss of funds.
  • Strategy risk: Poorly designed yield strategies may underperform or fail, reducing returns or causing losses.
  • Impermanent loss: If the vault interacts with liquidity pools, market volatility can lead to losses compared to holding the asset directly.
  • Centralization risk: Some vaults rely on centralized or multisig-controlled components, introducing single points of failure.
  • Regulatory risk: Evolving regulations may impact the legality or operation of certain vault strategies.

Related terms

About "ERC-4626" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can ERC-4626 vaults be used with any token?

No. The standard is designed for tokens that can be deposited and withdrawn in a fungible manner, such as stablecoins or ETH. Non-fungible or illiquid tokens (e.g., NFTs) are not compatible with ERC-4626.

Do ERC-4626 vaults guarantee returns?

No. ERC-4626 only standardizes the interface for vaults; the actual returns depend on the underlying strategy's performance, which may be positive, negative, or zero.

Are ERC-4626 vaults audited?

Not necessarily. While some vaults are audited by third parties, others may not undergo formal audits. Users should research the vault's code, team, and audit history before depositing funds.