SecuritizeVaultHistoricalReader
Documentation for eth_defi.tokenised_fund.securitize.historical.SecuritizeVaultHistoricalReader Python class.
- class SecuritizeVaultHistoricalReader
Bases:
eth_defi.vault.base.VaultHistoricalReaderRead Securitize token supply and reviewed NAV/share.
Securitize tokens expose ERC-20 supply but no common fund NAV interface. Fixed-price products use their reviewed adapter estimate; variable-NAV products read a RedStone push feed in the same historical multicall.
Create a historical reader.
- Parameters
vault – Securitize DSToken vault adapter.
stateful – Whether to attach shared adaptive reader state.
Attributes summary
addressfirst_blockMethods summary
__init__(vault, stateful)Create a historical reader.
Construct the supply and optional RedStone NAV multicalls.
process_result(block_number, timestamp, ...)Convert multicall results to a historical vault row.
- __init__(vault, stateful)
Create a historical reader.
- Parameters
vault (SecuritizeVault) – Securitize DSToken vault adapter.
stateful (bool) – Whether to attach shared adaptive reader state.
- construct_multicalls()
Construct the supply and optional RedStone NAV multicalls.
- Returns
Historical total-supply and NAV calls.
- Return type
collections.abc.Iterable[eth_defi.event_reader.multicall_batcher.EncodedCall]
- process_result(block_number, timestamp, call_results)
Convert multicall results to a historical vault 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]) – Total-supply and optional RedStone multicall results.
- Returns
Historical DSToken price and supply record.
- Return type