EnzymeDepositHandlerUpdate
Documentation for eth_defi.enzyme.onyx_discovery.EnzymeDepositHandlerUpdate Python class.
- class EnzymeDepositHandlerUpdate
Bases:
objectOne mutable Onyx Shares deposit-handler membership update.
Sharesstores handler authority in a non-enumerable mapping, so callers must replay these events through their fixed discovery end block before reading current handler configuration. The event definitions are in the canonical Onyx Shares contract: https://github.com/enzymefinance/protocol-onyx/blob/main/src/shares/Shares.solAttributes summary
Shares contract emitting the update.
Handler whose active membership changed.
Whether the handler was added or removed.
Block containing the update.
Transaction-log ordering key within the block.
Methods summary
__init__(shares_address, handler_address, ...)- shares_address: eth_typing.evm.HexAddress
Shares contract emitting the update.
- handler_address: eth_typing.evm.HexAddress
Handler whose active membership changed.
- action: Literal['added', 'removed']
Whether the handler was added or removed.
- block_number: int
Block containing the update.
- log_index: int
Transaction-log ordering key within the block.
- __init__(shares_address, handler_address, action, block_number, log_index)
- Parameters
shares_address (eth_typing.evm.HexAddress) –
handler_address (eth_typing.evm.HexAddress) –
action (Literal['added', 'removed']) –
block_number (int) –
log_index (int) –
- Return type
None