pub fn decode_log(log: &Log) -> Option<MarketEvent>Expand description
Decode a raw Alloy Log into a MarketEvent, if recognized.
Returns None for unrecognized events (MarginAdjusted, PerpCreated,
module registration events, ERC20 events, etc.).
§Errors
Returns None (not an error) if ABI decoding or value conversion fails.
This is intentional — a malformed log should not crash the event stream.