backfill_chain

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

backfill_chain(chain_id, products, *, dry_run, scan_prices, clean_prices, frequency, vault_db, vault_db_path, price_database_path, cleaned_price_database_path, reader_state_database_path, token_cache)

Upsert one chain’s DSToken leads and rewrite only priced histories.

Product deployments are derived independently for the selected addresses. The shared metadata database receives only their rows, and the historical scanner receives only priced address filters.

Parameters
Returns

Tabular migration summary for the chain.

Return type

dict[str, object]