[AIR-3][AIS-3][BPC-3][RES-3]

Governance Framework

Table of Contents

[AIS-3][BPC-3][DAO-3]

Overview

The Anya DAO governance framework enables token holders to collectively manage the protocol through a structured proposal and voting system.

Proposal Types

The DAO supports multiple proposal types, each with specific requirements and voting parameters:

  1. Protocol Upgrades
  2. Contract upgrades
  3. Parameter changes
  4. Feature additions/removals
  5. Treasury Management
  6. Fund allocations
  7. Investment decisions
  8. Protocol-owned liquidity operations
  9. Emission Schedule Adjustments
  10. Halving interval modifications
  11. Block reward changes
  12. Special emission events
  13. Community Grants
  14. Developer grants
  15. Marketing initiatives
  16. Community projects
  17. Governance System Changes
  18. Voting mechanism updates
  19. Proposal threshold adjustments
  20. Quorum requirement changes

Proposal Process

  1. Submission Phase
  2. Minimum 100 AGT to submit a proposal
  3. 3-day discussion period
  4. Technical feasibility review
  5. Voting Phase
  6. 10-day duration (BPC-3 minimum)
  7. 65% participation threshold (DAO-4 standard)
  8. Taproot voting proofs (BIP-341)
  9. PSBT transaction validation (BIP-174)
  10. Execution Phase
  11. 2-day timelock before execution
  12. Automatic execution for approved proposals
  13. Multi-signature security for treasury operations

Voting Power

Voting power in the DAO is determined by:

  • AGT token holdings
  • Governance participation history
  • Reputation score (based on contribution)

Governance System

Proposal Lifecycle

  1. Creation: Any token holder with sufficient balance can submit a proposal
  2. Voting Period: Token holders vote on the proposal (voting weight = token balance)
  3. Execution Delay: Successful proposals go through a timelock period
  4. Execution: Approved proposals are executed after the timelock

Proposal Types

  • Parameter Changes: Modify DAO settings
  • Token Actions: Token distribution or allocation changes
  • DEX Actions: Adjust DEX parameters or execute buybacks
  • Administrative Actions: Add/remove administrators

Voting Mechanism

  • Threshold: Minimum token balance needed to submit a proposal (100 AGT default)
  • Quorum: Minimum participation required for valid vote (30% default)
  • Approval: Percentage needed to pass a proposal (60% default)
  • Taproot Voting: Schnorr signature aggregation
  • Cross-Chain Validation: SPV proofs for Bitcoin-based votes
  • Privacy Option: CoinJoin-style vote mixing

Participation Guide

Getting Started

  1. Acquire AGT tokens
  2. DEX trading
  3. Liquidity provision
  4. Community contributions
  5. Delegate Voting Power
  6. Self-delegation
  7. Delegate to representatives
  8. Split delegation
  9. Create Proposals
  10. Proposal templates
  11. Documentation requirements
  12. Technical specifications
  13. Vote on Proposals
  14. Voting interface
  15. Voting strategies
  16. Vote timing considerations

Contract Usage Examples

;; Import the DAO trait
(use-trait dao-trait .dao-trait.dao-trait)

;; Function that uses the DAO
(define-public (submit-to-dao (dao-contract <dao-trait>) (title (string-ascii 256)) (description (string-utf8 4096)) (duration uint))
    (contract-call? dao-contract submit-proposal title description duration)
)

Creating a Proposal

;; Call the DAO contract to create a proposal
(contract-call? .dao-core submit-proposal "My Proposal" "This is a proposal description" u10080)

Administrative Functions

;; Update DAO settings (admin only)
(contract-call? .dao-core update-proposal-threshold u200)

;; Add an administrator (admin only)
(contract-call? .dao-core add-administrator 'ST2PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM)

API Integration

// Example: Creating a proposal
const proposal = await anyaDAO.createProposal({
  title: "Adjust Emission Schedule",
  description: "Modify halving interval to 115,000 blocks",
  actions: [
    {
      contract: "emission",
      method: "setHalvingInterval",
      params: ["115000"]
    }
  ]
});

Last updated: 2025-02-24

See Also