estimate_4626_redeem

Documentation for eth_defi.erc_4626.estimate.estimate_4626_redeem function.

estimate_4626_redeem(vault, owner, share_amount, receiver=None, block_identifier='latest', fallback_using_share_price=True)

Estimate how much denomination token (USDC) we get if we cash out the shares.

  • The vault should deduct its fees from this amount.

  • The estimation is done using previewRedeem()

See also

Parameters
Returns

Amount of USDC we get when existing the vault with the shares.

Return type

decimal.Decimal