EnzymeDepositHandlerUpdate

Documentation for eth_defi.enzyme.onyx_discovery.EnzymeDepositHandlerUpdate Python class.

class EnzymeDepositHandlerUpdate

Bases: object

One mutable Onyx Shares deposit-handler membership update.

Shares stores 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.sol

Attributes summary

shares_address

Shares contract emitting the update.

handler_address

Handler whose active membership changed.

action

Whether the handler was added or removed.

block_number

Block containing the update.

log_index

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
Return type

None