OndoVaultHistoricalReader
Documentation for eth_defi.tokenised_fund.ondo.historical.OndoVaultHistoricalReader Python class.
- class OndoVaultHistoricalReader
Bases:
eth_defi.vault.base.VaultHistoricalReaderRead ERC-20 supply and issuer-published Ondo NAV/share.
Create a historical reader.
- Parameters
vault – Ondo tokenised fund adapter.
stateful – Whether to retain adaptive reader state.
Attributes summary
addressfirst_blockMethods summary
__init__(vault, stateful)Create a historical reader.
Construct total-supply and issuer NAV calls.
process_result(block_number, timestamp, ...)Convert issuer oracle results to a USD historical vault row.
- __init__(vault, stateful)
Create a historical reader.
- construct_multicalls()
Construct total-supply and issuer NAV calls.
- process_result(block_number, timestamp, call_results)
Convert issuer oracle results to a USD historical vault row.
- Parameters
block_number (int) –
timestamp (datetime.datetime) –
call_results (list[eth_defi.event_reader.multicall_batcher.EncodedCallResult]) –
- Return type