Skip to content

feat: implement governance monitoring framework#169

Merged
mijinummi merged 3 commits into
MD-Creative-Production:mainfrom
SharifIbrahimDev:feat/governance-framework-146
Jun 18, 2026
Merged

feat: implement governance monitoring framework#169
mijinummi merged 3 commits into
MD-Creative-Production:mainfrom
SharifIbrahimDev:feat/governance-framework-146

Conversation

@SharifIbrahimDev

Copy link
Copy Markdown

Closes #146

Description

This PR implements the Governance Monitoring Framework to track governance-related blockchain events affecting protocol security.

Features

  1. Governance Schema Models: Expanded prisma/schema.prisma with robust definitions for:
    • Proposal: Tracks the metadata and lifecycle of proposals.
    • Vote: Records specific voting parameters, including voter choice and weight.
    • GovernanceEvent: High-level event ledger mapped to transaction hashes.
  2. Governance Module: Built a complete module under apps/backend/src/modules/governance/.
    • Dedicated service encapsulating Prisma operations for safe database ingestion and query.
    • Extensible REST controller ready to be connected to dashboards or polling workers.
  3. Application Registration: GovernanceModule is fully wired into AppModule and passes backend build steps without issues.

The database changes have been generated via Prisma, and this modular structure will safely support expanding ingestion behaviors down the line.

@mijinummi mijinummi merged commit faa6808 into MD-Creative-Production:main Jun 18, 2026
11 checks passed
@mijinummi

Copy link
Copy Markdown
Collaborator

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Governance Monitoring Framework

2 participants