🗂️
Module Library
  • Governance Modules Library Overview
    • Projects using the Governance Modules
  • Power Attribution
    • Neural Governance
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Signalling Forms
    • Quorum Delegation
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Reputation Metrics
    • Trust Graph Bonus
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
  • Identity Management
    • Tier-based Role Certifier
      • Specification
      • Implementation Instructions
      • Tuning Guidelines
      • Simulations
Powered by GitBook
On this page
  • 1) Decide on Quorum Delegation Parameters
  • 2) Implement Base Module
  1. Signalling Forms
  2. Quorum Delegation

Implementation Instructions

PreviousSpecificationNextTuning Guidelines

Last updated 1 year ago

Authors: BlockScience and SDF, July 2023

A PoC implementation in Rust for Soroban by Alejo Mendoza, Karol Bisztyga and Mateusz Kowalski is located in the voting-poc GitHub repository. It implements the Neural Governance, Quorum Delegation and the Trust Graph Bonus governance modules and we'll use it as the basis for providing instructions.

A technical summary for learnings when implementing an MVP version of Neural Quorum Governance on SCF can be found on a post by Karol Bisztyga: SCF Voting Mechanism Implementation.

1) Decide on Quorum Delegation Parameters

pub const QUORUM_SIZE: u32 = 5;
pub const QUORUM_PARTICIPATION_TRESHOLD: u32 = 3;

pub const MIN_DELEGATEES: u32 = 5;
pub const MAX_DELEGATEES: u32 = 10;

2) Implement Base Module

An example for instructions to set this up can be found here.

https://github.com/alejomendoza/voting-poc/blob/84611b625a607bd26d0db5b6f5efe125af769f0d/src/voting_system/src/types.rs#L7