CurrentVaultRow
Documentation for eth_defi.vault.top_vaults_json.CurrentVaultRow Python class.
- class CurrentVaultRow
Bases:
objectNormalised current dataframe row for sticky export processing.
Attributes summary
Canonical state key,
chain_id-lowercase_address.JSON export row produced by
export_lifetime_row().Whether this current row can safely replace
last_exported_record.Whether the row timestamp is inside the freshness warning window.
Methods summary
__init__(key, record, export_safe, fresh)- key: str
Canonical state key,
chain_id-lowercase_address.
- record: dict
JSON export row produced by
export_lifetime_row().
- export_safe: bool
Whether this current row can safely replace
last_exported_record.
- fresh: bool
Whether the row timestamp is inside the freshness warning window.