Gougoubi Claim All Rewards
Use this skill for one-click reward claiming across one or multiple addresses.
Use This Skill When
- - The user wants to claim all rewards for one address or multiple addresses.
- The user explicitly wants the profile-style fast path.
- The user wants winner, governance, and LP rewards claimed together.
Do Not Use This Skill When
- - The user wants to inspect missing results before claiming. Use
gougoubi-recovery-ops. - The user wants proposal activation or LP staking. Use activation skills instead.
Input
CODEBLOCK0
Defaults:
Pipeline
Step 1: Validate all addresses.
Step 2: Pick claim method:
- -
profile: match the reward-detail modal behavior. - INLINECODE3 : fast direct claim path.
- INLINECODE4 : exhaustive fallback only when needed.
Step 3: Run claim for each address.
Step 4: Record all tx hashes and per-type claim status when available.
Step 5: Return a full summary.
Checkpoints
- - Prefer
profile unless the user explicitly asks otherwise. - Do not force slow condition scanning when the user asked for one-click claim.
- Safe re-run behavior is required.
Output
CODEBLOCK1
Failure:
CODEBLOCK2
Project Scripts
- - INLINECODE6
- INLINECODE7
- INLINECODE8
Script Entry Points
- - Preferred profile path: INLINECODE9
- Fast one-click path: INLINECODE10
- Deep scan path: INLINECODE11
- INLINECODE12
- INLINECODE13
- INLINECODE14
- INLINECODE15
Boundaries
- - Claim all three reward classes together when available.
- Keep the method explicit in the output.
Gougoubi 一键领取所有奖励
使用此技能可一键领取一个或多个地址的奖励。
使用此技能的场景
- - 用户想要领取一个或多个地址的所有奖励。
- 用户明确要求使用配置文件风格的快速路径。
- 用户希望同时领取赢家奖励、治理奖励和LP奖励。
不使用此技能的场景
- - 用户希望在领取前检查缺失结果。请使用 gougoubi-recovery-ops。
- 用户需要进行提案激活或LP质押。请使用激活技能。
输入
json
{
addresses: [0x..., 0x..., 0x...],
method: profile|quick|full-scan
}
默认值:
处理流程
步骤1:验证所有地址。
步骤2:选择领取方法:
- - profile:匹配奖励详情模态框行为。
- quick:快速直接领取路径。
- full-scan:仅在需要时作为全面回退方案。
步骤3:为每个地址执行领取操作。
步骤4:记录所有交易哈希和各类奖励的领取状态(如可用)。
步骤5:返回完整摘要。
检查点
- - 除非用户明确要求其他方式,否则优先使用 profile 方法。
- 当用户要求一键领取时,不要强制进行缓慢的条件扫描。
- 需要支持安全重跑行为。
输出
json
{
ok: true,
method: profile,
addresses: [0x...],
claimedTxCount: 0,
results: [
{
address: 0x...,
winnerRewardClaimed: true,
governanceRewardClaimed: true,
lpRewardClaimed: true,
txHashes: [0x...]
}
],
warnings: []
}
失败情况:
json
{
ok: false,
stage: validation|claim|confirm,
error: reason,
retryable: true
}
项目脚本
- - scripts/pbft-claim-rewards-profile-method.mjs
- scripts/pbft-claim-rewards-quick.mjs
- scripts/pbft-claim-three-address-rewards.mjs
脚本入口点
- - 推荐配置文件路径:scripts/pbft-claim-rewards-profile-method.mjs
- 快速一键路径:scripts/pbft-claim-rewards-quick.mjs
- 深度扫描路径:scripts/pbft-claim-three-address-rewards.mjs
- node scripts/pbft-claim-rewards-profile-method.mjs --help
- node scripts/pbft-claim-rewards-profile-method.mjs --dry-run
- node scripts/pbft-claim-rewards-quick.mjs --dry-run
- node scripts/pbft-claim-three-address-rewards.mjs --dry-run
边界条件
- - 尽可能同时领取所有三类奖励。
- 在输出中明确标注所使用的领取方法。