Logótipo oficial do MASTR MASTR Apoiar o trabalho
Índice
← Início da wiki

Technical reference

ERC-4626: a vault share is not an immediately withdrawable balance

Read conversion rates, fees and withdrawal limits as separate quantities.

Source-based reference · Updated 12 September 2026

Os artigos de investigação e as referências são publicados em inglês. A navegação está disponível em sete idiomas.

Neste artigo
  1. Assets and shares
  2. A conversion is not a withdrawal quote
  3. Review the actual exit
  4. Sources

Assets and shares

An ERC-4626 vault manages an underlying ERC-20 asset and issues shares. A share balance is a claim calculated by the vault, not a promise that the same number of underlying tokens can leave immediately. The standard distinguishes deposit and mint operations from withdraw and redeem operations.

A conversion is not a withdrawal quote

convertToAssets describes an idealised conversion without operation-specific fees. previewRedeem estimates the assets returned for a particular redemption, while maxRedeem expresses the permitted limit. A positive conversion value can therefore coexist with a zero withdrawal limit. Using one of these functions as a substitute for the others hides an important part of the position.

Review the actual exit

For a lending integration, compare the share conversion with executable redemption, any queue and the liquidity available in the underlying strategy. Record rounding direction and the output minimum used by the transaction. A frontend showing only an appreciating share price does not establish that holders can exit at that price.

Sources

Leituras relacionadas

DeFi e governação

Bridge trust models

Bridges lock, burn, mint or release assets from cross-system messages.

MASTR

Apoiar a investigação independente

As investigações, as provas originais e os guias são de acesso livre. Os donativos voluntários ajudam a financiar a investigação e a manter disponíveis as ferramentas MASTR.

Abrir carteira