prepare_filter

Documentation for eth_defi.event_reader.reader.prepare_filter function.

prepare_filter(events)[source]

Creates internal filter to match contract events.

Parameters

events (List[web3.contract.ContractEvent]) –

Return type

eth_defi.event_reader.filter.Filter