validate_active_asseto_coverage
Documentation for eth_defi.tokenised_fund.asseto.backfill.validate_active_asseto_coverage function.
- validate_active_asseto_coverage(chain_id, active_product_ids, runtime_products, rows, price_history_ids)
Reject a backfill that would leave an active Asseto fund out of live data.
- Parameters
chain_id (int) – EVM chain being validated.
active_product_ids (set[str]) – Lower-case active token addresses.
runtime_products (collections.abc.Iterable[eth_defi.tokenised_fund.asseto.constants.AssetoProduct]) – Products represented by the current metadata scan.
rows (dict[eth_defi.vault.base.VaultSpec, dict]) – Fresh metadata rows.
price_history_ids (set[str]) – Lower-case addresses whose adapters found NAV history.
- Raises
RuntimeError – If an active product lacks price history or positive USD-compatible live metadata.
- Return type
None