Skip to main content

TypeAlias.DppVcStatusState

type DppVcStatusState = ObjectEnum<typeof DppVcStatusState>;

Derived lifecycle state of a passport's Verifiable Credential, surfaced for the consumer-facing VC banner (epic #4155).

Produced by the backend in V1:

  • valid: certified on-chain; a signed VC is published and not expired/revoked.
  • pending: certification queued or retrying; no signed VC yet.
  • error: certification permanently failed (retries exhausted).

Contract-only in V1 — declared so #4155 can branch on them, but the backend has no infrastructure to emit them yet (no status list, no expiry policy):

  • expired: reserved for when validUntil is set and in the past.
  • revoked: reserved for a permanent revocation bit in a Bitstring Status List.
  • suspended: reserved for a temporary suspension bit.