Skip to content

Reserve Health Dashboard & Real-Time Exposure Monitoring #118

@kelly-musk

Description

@kelly-musk

📋 Description

To manage the cNGN stablecoin effectively, the Treasury team needs a "Command Center" view. This dashboard will aggregate the data from the Collateral Verification Engine (#119) and the Reconciliation Worker (#121) into a real-time visual interface. It’s the primary tool for identifying liquidity risks or supply anomalies at a glance.

🎯 Objective

Provide high-level visibility into the health of the NGN reserves versus the circulating cNGN supply. The dashboard must offer immediate clarity on whether the system is fully collateralized and highlight any pending reconciliation issues.

🛠️ Technical Requirements

  • Key Performance Indicators (KPIs):
  • Visual Components:
    • Health Status Indicator: A prominent color-coded badge (Green: >100%, Yellow: 100-101%, Red: <100%).
    • Supply vs. Reserve Trend Line: A time-series chart showing the growth of both over the last 30 days.
    • Exposure Heatmap: (Optional/High Priority) Breakdown of reserves by custodian/bank to monitor counterparty risk.
  • Real-Time Updates: Use WebSockets or a high-frequency polling mechanism (e.g., every 30 seconds) to ensure the data is "Live."
  • Discrepancy Sidebar: A list of the top 5 unresolved discrepancies found by the Reconciliation Worker (#121).

✅ Acceptance Criteria

  1. The dashboard loads in under 2 seconds with accurate, cached-from-worker data.
  2. Users can toggle between "Daily," "Weekly," and "Monthly" views of the supply/reserve trend.
  3. The "Circuit Breaker" status (#120) is clearly visible (Active/Inactive).
  4. Data exported from the dashboard (CSV/PDF) matches the underlying database records exactly.

🟠 Priority: High

Labels: Frontend, Admin-UI, Analytics


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions