Skip to main content

parse_initialize_event_hypersync

Function parse_initialize_event_hypersync 

Source
pub fn parse_initialize_event_hypersync(
    dex: SharedDex,
    log: &HypersyncLog,
) -> Result<InitializeEvent>
Expand description

Parses an initialize event from a Uniswap V3 log.

§Errors

Returns an error if the log parsing fails or if the event data is invalid.

§Panics

Panics if the contract address is not set in the log.