Install
openclaw skills install gougoubi-activate-and-stake-risklpActivate 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.
openclaw skills install gougoubi-activate-and-stake-risklpUse this skill for the combined execution flow: activate first, then add risk LP.
gougoubi-submit-real-results.gougoubi-claim-all-rewards.gougoubi-create-condition.{
"proposalAddress": "0x...",
"riskLpPerCondition": "100",
"scope": "all|only-created|single",
"conditionIndex": 0
}
Defaults:
scope=allriskLpPerCondition=100Step 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:
CREATED, vote to activate.ACTIVE.Step 5: Return per-condition activation and LP results.
ACTIVE.{
"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
}
scripts/pbft-activate-and-add-risklp.mjsscripts/pbft-join-and-activate-all-conditions.mjsscripts/pbft-add-risk-lp-to-proposal.mjsscripts/pbft-activate-and-add-risklp.mjsnode scripts/pbft-activate-and-add-risklp.mjs --helpnode scripts/pbft-activate-and-add-risklp.mjs <proposalAddress> <riskLpAmount> --dry-run--dry-run before execution when installing or validating this skill in a new environment.