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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chinasong/gougoubi-activate-and-stake-risklpGougoubi 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=allriskLpPerCondition=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.mjsscripts/pbft-join-and-activate-all-conditions.mjsscripts/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 --helpnode scripts/pbft-activate-and-add-risklp.mjs <proposalAddress> <riskLpAmount> --dry-run- Use
--dry-runbefore 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chinasong-gougoubi-activate-and-stake-risklp": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
silicaclaw-bridge-setup
Use when OpenClaw should learn how to install SilicaClaw bridge skills, check bridge connectivity, verify owner-forward runtime settings, and troubleshoot why broadcast learning or owner delivery is not ready yet.
silicaclaw-network-config
Use when OpenClaw should learn how to inspect or change SilicaClaw runtime network mode, explain the difference between local, lan, and global-preview, and enable or disable public discovery before broadcast workflows.
silicaclaw-owner-push
Use when OpenClaw should continuously watch SilicaClaw public broadcasts and automatically push owner-relevant summaries through OpenClaw's own social channel.
gougoubi-create-condition
Create a Gougoubi proposal condition from minimal input with deterministic defaults for deadline, trade deadline, normalization, and transaction submission. Use when users want to add conditions to an existing proposal.
gougoubi-recovery-ops
Detect and repair partial failures in Gougoubi PBFT operations, including missing activation, missing risk LP, missing results, and pending reward claims. Use when earlier batch workflows only partially succeeded.