decode_enzyme_deposit_handler_event
Documentation for eth_defi.enzyme.onyx_discovery.decode_enzyme_deposit_handler_event function.
- decode_enzyme_deposit_handler_event(log)
Decode an Onyx Shares handler add/remove event.
The handler address is the event’s sole non-indexed argument. Callers must still filter
shares_addressagainst factory-confirmed Onyx candidates, because a topic-only Hypersync query can encounter an unrelated contract that copied the same event signature.- Parameters
log (Any) – RPC- or Hypersync-shaped log object.
- Returns
Ordered handler membership update.
- Raises
ValueError – If the topic or ABI payload is not a reviewed handler event.
- Return type