Crate event_scanner

Crate event_scanner 

Source

Re-exports§

pub use block_range_scanner::RingBufferCapacity as PastBlocksStorageCapacity;

Modules§

block_range_scanner
Example usage:
robust_provider
Robust, retrying wrapper around Alloy providers.
test_utils

Macros§

assert_closed
assert_empty
assert_event_sequence
Asserts that a stream emits a specific sequence of events in order.
assert_event_sequence_final
Same as assert_event_sequence!, but invokes assert_empty! at the end.
assert_next
assert_range_coverage
Asserts that a stream of block ranges completely covers an expected block range.

Structs§

EventFilter
Type representing filters to apply when fetching events from the chain.
EventScanner
EventScannerBuilder
Historic
LatestEvents
Live
SyncFromBlock
SyncFromLatestEvents

Enums§

Notification
Notifications emitted by the scanner to signal state changes or important events.
ScannerError
ScannerMessage
Messages streamed by the scanner to subscribers.

Constants§

DEFAULT_MAX_CONCURRENT_FETCHES
Default number of maximum concurrent fetches for each scanner mode.

Type Aliases§

EventScannerResult
Message