← 返回
未分类 中文

Gougoubi Activate And Stake Risklp

Activate Gougoubi proposal conditions and stake risk LP per condition in one deterministic workflow. Use when users want to activate a proposal, activate sel...
在一个确定性工作流程中激活狗狗币提案条件,并为每个条件质押风险LP。当用户想要激活提案、激活选择时使用。
chinasong chinasong 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 606
下载
💾 1
安装
1
版本
#latest

概述

Gougoubi Activate And Stake Risk LP

Use this skill for the combined execution flow: activate first, then add risk LP.

Use This Skill When

  • The user wants to activate a proposal and add risk LP in one run.
  • The user wants fixed risk LP per condition.
  • The user wants to repair missing activation or missing LP on a small scope.

Do Not Use This Skill When

  • The user only wants result submission. Use gougoubi-submit-real-results.
  • The user only wants reward claiming. Use gougoubi-claim-all-rewards.
  • The user only wants condition creation. Use gougoubi-create-condition.

Input

{
  "proposalAddress": "0x...",
  "riskLpPerCondition": "100",
  "scope": "all|only-created|single",
  "conditionIndex": 0
}

Defaults:

  • scope=all
  • riskLpPerCondition=100

Pipeline

Step 1: Validate input and resolve proposal.

Step 2: Ensure there are enough usable committee voters. Auto-join committee with minimum stake when required.

Step 3: Enumerate conditions by scope.

Step 4: For each selected condition:

  • If status is CREATED, vote to activate.
  • Wait until the condition is ACTIVE.
  • Add risk LP exactly once unless the user explicitly asked to top up.

Step 5: Return per-condition activation and LP results.

Checkpoints

  • Do not add LP before the condition is ACTIVE.
  • Keep activation failures and LP failures separate.
  • Continue past single-condition failures and report them.

Output

{
  "ok": true,
  "proposalAddress": "0x...",
  "activatedCount": 0,
  "riskLpAddedCount": 0,
  "activated": [],
  "riskLpAdded": [],
  "activationFailed": [],
  "riskLpFailed": [],
  "warnings": [],
  "nextActions": []
}

Failure:

{
  "ok": false,
  "stage": "validation|resolve-proposal|join-committee|activate|add-risklp|confirm",
  "error": "reason",
  "retryable": true
}

Project Scripts

  • scripts/pbft-activate-and-add-risklp.mjs
  • scripts/pbft-join-and-activate-all-conditions.mjs
  • scripts/pbft-add-risk-lp-to-proposal.mjs

Script Entry Points

  • Preferred combined entry: scripts/pbft-activate-and-add-risklp.mjs
  • node scripts/pbft-activate-and-add-risklp.mjs --help
  • node scripts/pbft-activate-and-add-risklp.mjs --dry-run
  • Use --dry-run before execution when installing or validating this skill in a new environment.

Boundaries

  • Never add LP to an inactive condition.
  • Do not top up existing LP unless the user explicitly asks.
  • Keep the workflow idempotent where possible.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-02 02:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 871 📥 348,914
professional

Hk Stock Predictor

chinasong
分析香港上市股票,从价格走势、基本面、技术面、南向资金、AH溢价、流动性等方面形成预测性论点等。
★ 0 📥 848
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,170 📥 942,457