mark_state_entry_suppressed
Documentation for eth_defi.vault.top_vaults_json.mark_state_entry_suppressed function.
- mark_state_entry_suppressed(state, key, reason, now_text, current_row=None, threshold_tvl=None)
Persist structural suppression for a vault.
- Parameters
state (dict) – Sticky export state.
key (str) – Canonical vault key.
reason (str) – Suppression reason.
now_text (str) – Current timestamp formatted for state.
current_row (Optional[eth_defi.vault.top_vaults_json.CurrentVaultRow]) – Current row, if available.
threshold_tvl (Optional[float]) – Active
MIN_TVLthreshold, if the current row qualified.
- Return type
None