fetch_antarctic_settlements

Documentation for eth_defi.erc_4626.vault_protocol.antarctic.historical_context.fetch_antarctic_settlements function.

fetch_antarctic_settlements(*, hypersync_client, deployment, start_block, end_block, timestamp_cache_path=PosixPath('/home/runner/.tradingstrategy/block-timestamp'))

Fetch exact settlement observations, with cached source timestamps.

Uses indexed Hypersync logs, never eth_getLogs. Event timestamps go through the shared dense timestamp cache, which fills every header between the first and last event block; with a prepared production cache this fetches little, but against an empty cache it downloads the whole span. Reorg block hashes come from the source logs.

Parameters
Returns

Source observations in block/log order.

Return type

collections.abc.Iterator[eth_defi.erc_4626.vault_protocol.antarctic.historical_context.AntarcticSettlement]