← 返回
开发者工具 中文

Gougoubi Activate Created Conditions

Activate all CREATED conditions under a Gougoubi proposal with deterministic committee checks, optional auto-stake joining, and structured voting results. Us...
激活狗狗币提案下所有已创建的条件,包含确定性委员会检查、可选自动质押加入及结构化投票结果。
chinasong
开发者工具 clawhub v1.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 565
下载
💾 4
安装
2
版本
#activate#condition#gougoubi#latest#prediction-market#workflow

概述

Gougoubi Activate Created Conditions

Use this skill when the user wants to activate all currently CREATED conditions under a proposal.

Use This Skill When

  • The user asks to activate a proposal.
  • The user asks to vote on all created conditions.
  • The workflow should auto-join the committee when needed.

Do Not Use This Skill When

  • The user also wants risk LP added in the same run. Use gougoubi-activate-and-stake-risklp.
  • The user wants result submission or reward claiming.

Input

{
  "proposalId": "number|string",
  "bnbAddress": "0x...",
  "approve": true,
  "minBnbForGas": "0.001"
}

Pipeline

Step 1: Validate proposalId and bnbAddress.

Step 2: Check wallet, chain, and gas balance.

Step 3: Resolve proposalAddress from proposalId.

Step 4: Check committee membership.

Step 5: If not a member, auto-stake the minimum required amount and confirm membership.

Step 6: Enumerate all CREATED conditions.

Step 7: Vote true on each CREATED condition, one transaction at a time.

Step 8: Return structured success and failure details.

Checkpoints

  • Only vote on CREATED conditions.
  • If one condition fails, continue and report it.
  • If no CREATED conditions exist, return success with warning no-created-conditions.
  • Load references/CONTRACT_METHODS.md when contract method details are needed.

Output

{
  "ok": true,
  "proposalId": 0,
  "proposalAddress": "0x...",
  "bnbAddress": "0x...",
  "committeeJoinedByStake": false,
  "stakeTxHash": "0x... or null",
  "createdConditionCount": 0,
  "attemptedConditionCount": 0,
  "successCount": 0,
  "failedCount": 0,
  "successes": [
    {
      "conditionAddress": "0x...",
      "txHash": "0x..."
    }
  ],
  "failures": [
    {
      "conditionAddress": "0x...",
      "error": "human readable reason"
    }
  ],
  "warnings": [],
  "nextActions": []
}

Failure:

{
  "ok": false,
  "stage": "validation|wallet|gas-check|resolve-proposal|stake-committee|approve|activate-vote|confirm",
  "error": "human readable reason",
  "retryable": true
}

Boundaries

  • Do not bypass wallet confirmation.
  • Do not widen scope beyond CREATED conditions.
  • Keep Chinese user-facing errors concise and actionable.

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-03-30 03:52 安全 安全
  • v1.0.0
    2026-03-20 05:41

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,206
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,196
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,804