Module event_filter

Module event_filter 

Source
Expand description

Private event filter validation and sanitization.

Ports the TS PrivateEventFilterValidator which ensures filter parameters are valid relative to the current anchor block.

Structs§

PrivateEventFilterValidator
Validates and sanitizes private event filters.

Functions§

all_events_filter
Create a default “all events” query filter for a contract.
to_query_filter_unchecked
Convert a PrivateEventFilter to PrivateEventQueryFilter without anchor block validation (for testing or when anchor is unknown).