CryptoNativeAdmission
Documentation for eth_defi.vault.crypto_vaults.CryptoNativeAdmission Python class.
- class CryptoNativeAdmission
Bases:
objectSummarise native-unit admission for one cleaned price frame.
The summary is calculated from the lifetime maximum finite
total_assetsvalue for each ETH/BTC vault. It is also used to filter the cleaned Parquet before the expensive metadata calculation.Attributes summary
Native ETH/BTC vault IDs represented by the input frame.
IDs whose lifetime peak reaches the configured family threshold.
Number of ETH/BTC source rows represented by the input frame.
Number of source rows belonging to qualifying IDs.
Per-family vault and row counts for audit logging.
Return native IDs rejected by the hard threshold.
Return the number of native rows belonging to rejected IDs.
Methods summary
__init__(native_ids, qualifying_ids, ...)- native_row_count: int
Number of ETH/BTC source rows represented by the input frame.
- qualifying_row_count: int
Number of source rows belonging to qualifying IDs.
- property skipped_ids: frozenset[str]
Return native IDs rejected by the hard threshold.
The difference is computed from immutable ID sets, so callers cannot accidentally alter the admission decision.
- Returns
Rejected native vault IDs.
- property skipped_row_count: int
Return the number of native rows belonging to rejected IDs.
This count is derived from the source and qualifying row totals used by the admission log.
- Returns
Number of rejected source rows.