event_reader.reader

Documentation for eth_defi.event_reader.reader module.

High performance EVM event reader.

For further reading see:

Functions

extract_events(web3, start_block, end_block, ...)

Perform eth_getLogs call over a block range.

extract_events_concurrent(start_block, ...)

Concurrency happy event extractor.

extract_timestamps_json_rpc(web3, ...)

Get block timestamps from block headers.

prepare_filter(events)

Creates internal filter to match contract events.

read_events(web3, start_block, end_block, ...)

Reads multiple events from the blockchain.

read_events_concurrent(executor, ...[, ...])

Reads multiple events from the blockchain parallel using a thread pool for IO.

Classes

ProgressUpdate

Informs any listener about the state of an event scan.