build_priced_vaults
Documentation for eth_defi.tokenised_fund.securitize.backfill.build_priced_vaults function.
- build_priced_vaults(web3, products, token_cache)
Build adapters only for DSTokens with a configured historical NAV.
Unpriced DSTokens must remain leads and metadata rows, but their history cannot be inferred from supply alone and therefore must not rewrite price parquet rows.
- Parameters
web3 (web3.main.Web3) – Connection for one product chain.
products (collections.abc.Iterable[tuple[eth_defi.tokenised_fund.securitize.description.SecuritizeProduct, int]]) – Product and deployment-block pairs with a price estimate.
token_cache (eth_defi.token.TokenDiskCache) – Shared ERC-20 metadata cache.
- Returns
Vault adapters with their individual history start blocks.
- Return type