estimate_4626_deposit

Documentation for eth_defi.erc_4626.estimate.estimate_4626_deposit function.

estimate_4626_deposit(vault, denomination_token_amount, block_identifier='latest')

Estimate how much shares we get for a deposit.

  • The vault should deduct its fees from this amount.

  • The estimation is done using previewRedeem()

Returns

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

Parameters
Return type

decimal.Decimal