[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:
- Protocol Upgrades
- Contract upgrades
- Parameter changes
- Feature additions/removals
- Treasury Management
- Fund allocations
- Investment decisions
- Protocol-owned liquidity operations
- Emission Schedule Adjustments
- Halving interval modifications
- Block reward changes
- Special emission events
- Community Grants
- Developer grants
- Marketing initiatives
- Community projects
- Governance System Changes
- Voting mechanism updates
- Proposal threshold adjustments
- Quorum requirement changes
Proposal Process¶
- Submission Phase
- Minimum 100 AGT to submit a proposal
- 3-day discussion period
- Technical feasibility review
- Voting Phase
- 10-day duration (BPC-3 minimum)
- 65% participation threshold (DAO-4 standard)
- Taproot voting proofs (BIP-341)
- PSBT transaction validation (BIP-174)
- Execution Phase
- 2-day timelock before execution
- Automatic execution for approved proposals
- 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¶
- Creation: Any token holder with sufficient balance can submit a proposal
- Voting Period: Token holders vote on the proposal (voting weight = token balance)
- Execution Delay: Successful proposals go through a timelock period
- 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¶
- Acquire AGT tokens
- DEX trading
- Liquidity provision
- Community contributions
- Delegate Voting Power
- Self-delegation
- Delegate to representatives
- Split delegation
- Create Proposals
- Proposal templates
- Documentation requirements
- Technical specifications
- Vote on Proposals
- Voting interface
- Voting strategies
- 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"]
}
]
});
Related Documents¶
- Governance Token - Token used for governance
- Treasury Management - Treasury control via governance
- Bitcoin Compliance - BIP compliance for voting
- API Reference - Technical API documentation
Last updated: 2025-02-24