read_reader_states

Documentation for eth_defi.tokenised_fund.securitize.backfill.read_reader_states function.

read_reader_states(path)

Load saved price-reader states from a trusted local pickle.

Only selected Securitize states are removed before their histories are rewritten; all unrelated states are retained.

Parameters

path (pathlib.Path) – Reader-state pickle path.

Returns

Existing states, or an empty mapping when the file is absent.

Return type

dict[eth_defi.vault.base.VaultSpec, dict]