GMXHistoricalContextPrefillResult

Documentation for eth_defi.gmx.historical_context.GMXHistoricalContextPrefillResult Python class.

class GMXHistoricalContextPrefillResult

Bases: object

Summarise one incremental GMX observation fetch.

Records the source range and event counts for scanner diagnostics and operator-facing backfill output.

Attributes summary

chain_id

GMX deployment chain.

start_block

Inclusive source range boundary.

end_block

Exclusive source range boundary.

observations_fetched

Value-and-supply events decoded from the source range.

observations_inserted

Observations inserted or promoted to the current payload schema.

Methods summary

__init__(chain_id, start_block, end_block, ...)

chain_id: int

GMX deployment chain.

start_block: int

Inclusive source range boundary.

end_block: int

Exclusive source range boundary.

observations_fetched: int

Value-and-supply events decoded from the source range.

observations_inserted: int

Observations inserted or promoted to the current payload schema.

__init__(chain_id, start_block, end_block, observations_fetched, observations_inserted)
Parameters
  • chain_id (int) –

  • start_block (int) –

  • end_block (int) –

  • observations_fetched (int) –

  • observations_inserted (int) –

Return type

None