enzyme.events

Documentation for eth_defi.enzyme.events Python module.

Enzyme protocol event reader.

  • High level interface for Enzyme deposit and withdrawal events, with unit conversion and token data look up

  • Read different events from Enzyme vaults that are necessary for managing the available trading capital

Functions

fetch_vault_balance_events(vault, ...)

Get the deposits to Enzyme vault in a specific time range.

fetch_vault_balances(vault[, block_identifier])

Get the live balances of the vault tokens at a specific block.

Classes

Deposit

Enzyme deposit event wrapper.

EnzymeBalanceEvent

Enzyme deposit/redeem event wrapper.

LiveBalance

Current balance of a position in Enzyme vault.

Redemption

Enzyme deposit event wrapper.