governance
Installation
SKILL.md
XPR Network Governance
You have tools to interact with XPR Network's on-chain governance system via the gov contract. Communities create proposals, and token holders vote on them.
Key Concepts
- Communities — governance groups (XPR Network, Metal DAO, LOAN Protocol, XPR Grants, Metal X, D.O.G.E.). Each has its own voting strategy, proposal fee, and quorum.
- Proposals — on-chain records with candidates (voting options), start/end times, and an approval status. Proposal content (title, description) is stored off-chain in the Gov API.
- Voting Strategies — determine who can vote and how vote weight is calculated:
xpr-unstaked-and-staked-balances— weight = XPR balance (staked + unstaked)xmt-balances— weight = XMT balanceloan-and-sloan-balances— weight = LOAN + sLOAN balancekyc-verification— 1 vote per KYC-verified account
- Voting Systems —
"0"= single choice,"1"= multiple choice,"2"= ranked choice,"5"= approval voting - Quorum — minimum participation threshold (basis points, e.g. 300 = 3%)
- Proposal Fee — token payment required to create a proposal (varies by community, e.g. 20,000 XPR, 100 XMT, 50,000 LOAN)