SecuritizeVaultHistoricalReader

Documentation for eth_defi.tokenised_fund.securitize.historical.SecuritizeVaultHistoricalReader Python class.

class SecuritizeVaultHistoricalReader

Bases: eth_defi.vault.base.VaultHistoricalReader

Read 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

address

first_block

Methods summary

__init__(vault, stateful)

Create a historical reader.

construct_multicalls()

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
Returns

Historical DSToken price and supply record.

Return type

eth_defi.vault.base.VaultHistoricalRead