MulticallHistoricalTask

Documentation for eth_defi.event_reader.multicall_batcher.MulticallHistoricalTask Python class.

class MulticallHistoricalTask

Bases: object

Pickled task send between multicall reader loop and subprocesses.

Send a batch of calls to a specific block.

Attributes summary

chain_id

web3factory

block_number

calls

require_multicall_result

timestamp

task_id

Methods summary

__init__(chain_id, web3factory, ...[, ...])

__init__(chain_id, web3factory, block_number, calls, require_multicall_result=False, timestamp=None, task_id=<factory>)
Parameters
Return type

None