Skip to content

Verifier Cabinet UI + Staking Interface #57

@LuminaEnvision

Description

@LuminaEnvision

Overview

This issue adds frontend functionality for the PoI Verifier Cabinet and staking dashboard for future community verifiers. It’s part of the broader PoI verification system.


🎯 Objectives

  • Build internal Verifier Dashboard UI (admin access only)
  • Enable PoI status review + manual approval/rejection
  • Build staking page for DCU to unlock community verifier role
  • Display verification statuses to end-users

🧩 Functional Requirements

1. Verifier Cabinet (Admin MVP)

  • New route: /admin/verifications
  • Table UI:
    • PoI ID
    • Image preview
    • UIC, user wallet
    • Timestamp, location
  • Buttons: ✅ Approve, ❌ Reject, ↩️ Feedback
  • Filter by status (Pending, Verified, Rejected)

2. DCU Staking UI

  • New route: /stake/verifier
  • Show current stake
  • Stake / Unstake buttons
  • Become a verifier info + eligibility

3. Campaign Pages

  • Display PoI status under user’s submission
  • “Awaiting Verification” / “Verified” / “Rejected”
  • Feedback view if provided by verifier

📱 Integration Requirements

  • API: GET /api/poi/:id/status
  • API: PATCH /api/poi/:id/verify
  • Web3 call: stakeDCU(), unstakeDCU(), isVerifier()

🔐 Dependencies

  • backend: PoI admin APIs, verification DB
  • contracts: Verifier staking smart contract

Related:

contracts issue 87: Link
backend issue 12: Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    💡 Ideas

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions