SygnumVaultHistoricalReader
Documentation for eth_defi.tokenised_fund.sygnum.historical.SygnumVaultHistoricalReader Python class.
- class SygnumVaultHistoricalReader
Bases:
eth_defi.vault.base.VaultHistoricalReaderRead FILQ supply and its official Chainlink bundle NAV.
FILQ’s price feed is a Chainlink bundle proxy rather than an AggregatorV3 feed. Historical state reads use
latestBundle()at the sampled block; the targeted Sygnum backfill separately reads every accepted report event througheth_defi.chainlink.bundle_aggregatorand Hypersync.Create the FILQ state reader.
- Parameters
vault – FILQ adapter.
stateful – Retained for shared reader compatibility.
Attributes summary
addressfirst_blockMethods summary
__init__(vault, stateful)Create the FILQ state reader.
Construct FILQ supply and Chainlink bundle calls.
process_result(block_number, timestamp, ...)Convert supply and bundle results to a priced history row.
- __init__(vault, stateful)
Create the FILQ state reader.
- Parameters
vault (SygnumVault) – FILQ adapter.
stateful (bool) – Retained for shared reader compatibility.
- construct_multicalls()
Construct FILQ supply and Chainlink bundle calls.
- Returns
Supply, bundle, report-timestamp and schema-validation calls.
- Return type
collections.abc.Iterable[eth_defi.event_reader.multicall_batcher.EncodedCall]
- process_result(block_number, timestamp, call_results)
Convert supply and bundle results to a priced history row.
- Parameters
block_number (int) – Historical block number.
timestamp (datetime.datetime) – Naive UTC block timestamp.
call_results (list[eth_defi.event_reader.multicall_batcher.EncodedCallResult]) – Multicall results from
construct_multicalls().
- Returns
FILQ supply, NAV/share and total NAV history row.
- Return type