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 selected conditions, or add fixed risk LP after activation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gougoubi-activate-and-stake-risklp" with this command: npx skills add chinasong/gougoubi-activate-and-stake-risklp

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 <proposalAddress> <riskLpAmount> --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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

handdraw-flowchart

Create hand-drawn workflow diagrams from natural-language process descriptions by generating strictly validated Mermaid flowchart, sequenceDiagram, or classD...

Registry SourceRecently Updated
Automation

Find Agent

OceanBus-powered agent and service discovery via Yellow Pages. Use when users want to find someone, look for a service, reach out to an expert, discover anot...

Registry SourceRecently Updated
Automation

Qwen Web Agent

Browser automation for 通义千问 (Qwen) web interface at qianwen.com. Use when the agent needs to ask questions to Qwen AI and get back responses via browser auto...

Registry SourceRecently Updated
Automation

bot File Processor

通用文件处理技能,用于批量重命名和格式转换。当用户需要批量重命名文件(添加前缀/后缀、替换文本、编号重命名、正则表达式重命名)或转换文件格式(图片格式转换、PDF与图片互转、DOCX转PDF、Markdown转PDF)时使用此技能。

Registry SourceRecently Updated