提交实绩

gougoubi-submit-real-results

by chinasong

Submit real-world outcomes for Gougoubi conditions using deterministic evidence from condition skills and public market data. Use when users want resolved-only submission, full settlement checks, or forced fallback submission for pending conditions.

4.5k其他未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/chinasong/gougoubi-submit-real-results

文档

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

json
{
  "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

json
{
  "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:

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

Project Scripts

  • scripts/pbft-submit-all-condition-results.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

Boundaries

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

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全139.0k

并行代理

by axelhu

热门

Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw

其他
未扫描4.5k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.5k

评论