Skip to content

SECURITY_WARNING_TYPES

const SECURITY_WARNING_TYPES: readonly ["infinite_approval", "dangerous_permissions", "untrusted_descriptor", "untrusted_spender", "ownership_change", "proxy_upgrade", "expired_deadline", "selector_mismatch", "missing_metadata", "interpolation_failed", "NO_TRUSTED_ATTESTATION"]

Defined in: packages/sdk/src/decode/types.ts:55

Source of truth for SecurityWarning.type. Adding a check here is what keeps it in the public union; do not maintain a parallel type list.