apply_morpho_not_in_api_check

Documentation for eth_defi.research.vault_metrics.apply_morpho_not_in_api_check function.

apply_morpho_not_in_api_check(risk, notes, flags)

Blacklist Morpho vaults missing from Morpho API.

Dynamic scan flags are not visible to get_vault_risk(), because that helper only reads the static manual flag table. This helper handles the Morpho-specific dynamic blacklist flag before metrics export.

Parameters
Returns

Updated risk, notes, and flags.

Return type

tuple[eth_defi.vault.risk.VaultTechnicalRisk | None, str | None, set[eth_defi.vault.flag.VaultFlag]]