← 返回
未分类 中文

Gougoubi Submit Real Results

Submit real-world outcomes for Gougoubi conditions using deterministic evidence from condition skills and public market data. Use when users want resolved-on...
使用来自条件技能的确定性证据和公开市场数据,为Gougoubi条件提交真实结果。当用户需要解决...时使用。
chinasong
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 637
下载
💾 1
安装
1
版本
#automation#condition#evm#gougoubi#latest#prediction-market#workflow

概述

Gougoubi Submit Real Results

Use this skill to map external evidence to on-chain condition results and submit one result per condition.

Use This Skill When

  • The user wants to submit real outcomes for all conditions in a proposal.
  • The user wants to submit only officially resolved conditions first.
  • The user wants a forced fallback such as No for remaining unresolved conditions.

Do Not Use This Skill When

  • The user only wants to inspect missing results without submitting. Use gougoubi-recovery-ops.
  • The user only wants activation or LP staking.

Input

{
  "proposalAddress": "0x...",
  "mode": "resolved-only|all|force",
  "forceResult": "yes|no",
  "evidenceNote": "optional"
}

Defaults:

  • mode=resolved-only
  • evidenceNote should be auto-generated when missing

Pipeline

Step 1: Validate proposal address and target chain.

Step 2: Enumerate all conditions under the proposal.

Step 3: Read each condition skills payload and extract evidence locators such as event slug or market id.

Step 4: Fetch public evidence and build a result map:

  • resolved-only: only officially resolved markets
  • all: all markets with clear final outcomes
  • force: use the same forced side for still-pending conditions

Step 5: For each target condition:

  • Skip if result != 0
  • Skip if the condition is not ready for submission
  • Submit exactly one result vote

Step 6: Return submitted, skipped, failed, and tx hashes.

Checkpoints

  • Prefer resolved-only unless the user explicitly asks for all or force.
  • Never duplicate a submission for a condition that already has result != 0.
  • Keep evidence mapping and tx results together in the output.

Output

{
  "ok": true,
  "proposalAddress": "0x...",
  "mode": "resolved-only|all|force",
  "submittedCount": 0,
  "skippedCount": 0,
  "failedCount": 0,
  "submitted": [
    {
      "index": 0,
      "conditionAddress": "0x...",
      "conditionName": "",
      "result": 1,
      "txHash": "0x..."
    }
  ],
  "skipped": [],
  "failed": [],
  "warnings": []
}

Failure:

{
  "ok": false,
  "stage": "validation|fetch-evidence|submit|confirm",
  "error": "reason",
  "retryable": true
}

Project Scripts

  • scripts/pbft-submit-all-condition-results.mjs
  • scripts/pbft-submit-results-from-skills-once.mjs
  • scripts/pbft-submit-real-results-1605.mjs
  • scripts/pbft-submit-real-results-c427-confirmed.mjs
  • scripts/pbft-submit-real-results-ba0c-resolved-only.mjs
  • scripts/pbft-submit-remaining-no-ba0c.mjs

Script Entry Points

  • Generic fixed-side submission: scripts/pbft-submit-all-condition-results.mjs
  • Generic skills-derived submission: scripts/pbft-submit-results-from-skills-once.mjs
  • node scripts/pbft-submit-all-condition-results.mjs --help
  • node scripts/pbft-submit-all-condition-results.mjs --result yes --dry-run
  • node scripts/pbft-submit-results-from-skills-once.mjs --help
  • node scripts/pbft-submit-results-from-skills-once.mjs
  • Specialized scripts also support --help for their fixed proposal mappings.

Boundaries

  • Do not infer unresolved results unless the user explicitly asks for all or force.
  • Preserve an auditable mapping from evidence to submitted result.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-01 23:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Gougoubi Claim All Rewards

chinasong
领取一个或多个地址的 Gougoubi 全部奖励,包括赢家奖励、治理奖励和 LP 奖励,用于一键领取场景。
★ 0 📥 699

SilicaClaw Owner Push

chinasong
持续监控SilicaClaw公开广播,自动通过OpenClaw社交频道推送相关摘要
★ 0 📥 674
data-analysis

Gougoubi Create Prediction

chinasong
从最小输入创建公开的 Gougoubi 预测提案,包含确定性丰富化、群组创建、审批处理和交易提交。
★ 1 📥 706