iter_midas_registry_products
Documentation for eth_defi.midas.registry.iter_midas_registry_products function.
- iter_midas_registry_products(*, require_historical_contracts=False, require_adapter_data=False)
Iterate product-like entries from the Pythonised Midas registry.
Payment token and access-control sections are skipped. If
require_historical_contractsis true, only entries with bothtokenanddataFeedare yielded. These are the minimum contracts needed for historical share price and TVL reads. Ifrequire_adapter_datais true, deployment metadata is also required so the shared scanner can create a historical lead with a deterministic start block.- Parameters
- Returns
Iterator of typed registry product entries.
- Return type
collections.abc.Iterator[eth_defi.midas.registry.MidasRegistryProduct]