decode_settlement_prices
Documentation for eth_defi.tokenised_fund.securitize.settlement.decode_settlement_prices function.
- decode_settlement_prices(logs, feed)
Decode settlement logs into a block-ordered NAV timeline.
Only deposit settlements are priced. A fulfilled redemption generation logs a warning: its
navPricehas not yet been checked against a published NAV, and ignoring it could leave the deposit-only series stale if deposits stop settling.- Parameters
logs (collections.abc.Iterable[eth_defi.vault.flow_events.IndexedVaultFlowLog]) –
DepositGenerationFulfilledandRedemptionGenerationFulfilledlogs offeed.vault, sorted by block and log index as returned byfetch_vault_flow_logs_hypersync().feed (eth_defi.tokenised_fund.securitize.settlement.SecuritizeSettlementFeed) – Reviewed settlement feed.
- Returns
Deposit settlement prices sorted by block number.
- Return type
list[eth_defi.tokenised_fund.securitize.settlement.SecuritizeSettlementPrice]