تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

governance

بواسطة paulgnz

PDF & Documents
462التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

XPR Network governance — communities, proposals, voting on the gov contract.

الوصف

ما الذي تفعله هذه المهارة

Connects to XPR Network's on-chain governance system via the gov contract. Supports reading communities, proposals, and votes, as well as casting votes and creating proposals with fee payment. Works across six communities including XPR Network, Metal DAO, and LOAN Protocol.

Handles the multi-step proposal creation flow (content ID, fee transfer, postprop action) in a single tool call instead of requiring manual contract interaction.

متى تستخدمها

  • Checking active proposals before a community vote deadline
  • Voting yes or no on an XPR Grants funding proposal
  • Looking up vote totals and participation on a closed proposal
  • Creating a new proposal for Metal DAO governance
  • Reviewing which accounts voted and how on a ranked-choice proposal

مثال على سير العمل

الإدخال

User asks: what proposals are currently open in XPR Network governance?

الوكيل
  1. 1

    Call gov_list_proposals with communityId 3 and status filter for active proposals

  2. 2

    Retrieve proposal IDs and metadata from the response

  3. 3

    Call gov_get_proposal for each active proposal to fetch title, description, and current vote totals

  4. 4

    Return a summary of open proposals with candidate options and participation so far

الإخراج

A list of active XPR Network proposals with titles, voting options, current vote counts, and end times

المتطلبات

  • XPR Network account with sufficient token balance (XPR, XMT, LOAN, or XDOGE depending on community) to pay proposal creation fees
  • Gov API content ID from https://gov.api.xprnetwork.org (required when creating proposals)

التثبيت

clawhub install paulgnz/governance

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط