format_bad_flag_note
Documentation for eth_defi.research.vault_metrics.format_bad_flag_note function.
- format_bad_flag_note(bad_flags)
Create a generic note for vaults that carry bad scan flags.
This note is used before any protocol-specific metadata has been analysed. Later checks may replace it with a richer note if the generic bad flag and the protocol-specific warning describe the same underlying issue.
- Parameters
bad_flags (set[eth_defi.vault.flag.VaultFlag]) – Bad vault flags to report.
- Returns
Human-readable note.
- Return type