Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

ERC-4626 (Tokenized Vaults)

A standard for tokenized yield-bearing vaults on Ethereum, enabling consistent interfaces for depositing and withdrawing assets while tracking returns. It simplifies integration for DeFi applications like lending protocols or yield aggregators.

Technical definition

ERC-4626 is an Ethereum Improvement Proposal (EIP) that defines a standardized interface for tokenized vaults, which are smart contracts that pool user deposits to generate yield (e.g., via lending, staking, or liquidity mining). The standard specifies methods for depositing and withdrawing base assets (e.g., ETH, USDC) and minting/burning shares that represent proportional ownership of the vault’s assets and accrued yield. It ensures compatibility between vaults and external protocols by mandating consistent functions like `deposit()`, `withdraw()`, `totalAssets()`, and `previewDeposit()`. The standard also includes optional hooks for fee management and access control.

An analogy

Imagine a shared savings account where multiple people deposit money, and the bank (the vault) invests the pooled funds to earn interest. Each depositor gets a share of the account proportional to their contribution and the interest earned. ERC-4626 standardizes how this account operates and how shares are tracked, so any compatible app (like a budgeting tool or another bank) can interact with it seamlessly.

Why it matters

ERC-4626 reduces fragmentation in DeFi by providing a universal interface for yield-bearing vaults, making it easier for users and developers to move assets between protocols without custom integrations. It lowers the barrier to entry for new vault deployers and improves interoperability across the ecosystem.

Where it came from

ERC-4626 was proposed in February 2022 by a group of DeFi developers, including representatives from Yearn Finance, OpenZeppelin, and Rari Capital. It was officially published as an Ethereum Improvement Proposal (EIP-4626) in May 2022 and quickly gained adoption due to its practical utility in simplifying yield-bearing vaults.

Example in practice

Yearn Finance’s yETH vault is an ERC-4626-compliant tokenized vault that pools ETH deposits and automatically allocates them to lending protocols like Aave or Compound to maximize yield. Users receive yETH tokens representing their share of the vault, which appreciate over time as yield is generated. Other DeFi apps, such as a yield aggregator or a dashboard, can interact with the vault using the standard interface without needing custom code.

Common misconceptions

  • ERC-4626 vaults are risk-free → correction: Vaults inherit the risks of the underlying yield strategies (e.g., smart contract bugs, protocol insolvency, or impermanent loss).
  • ERC-4626 is only for Ethereum → correction: While it originated on Ethereum, the standard is blockchain-agnostic and can be deployed on other EVM-compatible chains like Polygon or Arbitrum.

Risks & limitations

  • Smart contract risk: Bugs in the vault or underlying yield strategy can lead to loss of funds.
  • Yield source risk: The protocols generating yield (e.g., lending platforms) may face insolvency or liquidity crises.
  • Impermanent loss: If the vault holds volatile assets (e.g., LP tokens), changes in asset prices can reduce returns.
  • Centralization risk: Some vaults may rely on centralized or multisig-controlled admin keys for upgrades or fee changes.
  • Gas fees: Interacting with vaults on Ethereum can incur high transaction costs during network congestion.

Related terms

About "ERC-4626 (Tokenized Vaults)" 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 for non-yield strategies, like token swaps?

No, ERC-4626 is specifically designed for yield-bearing strategies. While the interface could theoretically be repurposed, it is not intended for non-yield use cases like AMMs or token swaps.

Are ERC-4626 vaults audited by default?

No, ERC-4626 is a standard, not a certification. Vaults implementing the standard may or may not be audited. Users should verify audits independently.

How does ERC-4626 handle fees?

The standard includes optional fee management hooks (e.g., `setFee()`), but it does not mandate a fee structure. Vaults can implement their own fee logic, which may include performance fees, management fees, or withdrawal fees.

Can ERC-4626 vaults be used with non-ERC-20 assets?

The standard assumes the base asset is an ERC-20 token. While it’s possible to adapt it for non-ERC-20 assets (e.g., native ETH), this requires additional wrapper logic and is not natively supported.