{
  "schemaVersion": "prisoners-daolemma/evidence-v0",
  "boundaryNote": "This evidence/query tooling exports the settlement surface the current contracts actually expose onchain today: ERC-8004 admission status, game snapshots/rosters/causes, commit/reveal activity, round-resolution and terminal outcomes, settlement snapshots, winner/refund preview state, prize/refund/withdrawal events, no-winner cause routing, per-game treasury/cause claimable and withdrawn balances, and optional GameChat messages with explicit message-time liveness notes.",
  "gameId": 1,
  "chainId": 84532,
  "evidenceWindow": {
    "stateSnapshot": {
      "blockNumber": 39227278,
      "timestamp": 1774222844
    },
    "logRange": {
      "requestedFromBlock": 39226533,
      "requestedToBlock": "latest",
      "resolvedFromBlock": 39226533,
      "resolvedToBlock": 39227278,
      "coversFullHistoryToStateSnapshot": false,
      "isHybridAgainstStateSnapshot": false
    }
  },
  "addresses": {
    "game": "0x42892BEc3d1d926Db25FfB6A144ee363AaE40A1a",
    "registry": "0xc893Ca037b796e7710a4948Bbb6fBfb94539b806",
    "chat": "0xc2604D5C87663efE959342F23c3DC9E4D9Db3e99"
  },
  "game": {
    "currentGameId": 1,
    "activeGameId": 0,
    "createdAt": 1774221422,
    "createdAtBlock": 39226567,
    "parameterSnapshot": {
      "entryFeeWei": "1000000000000000",
      "creatorFeeBps": 100,
      "causeFeeBps": 100,
      "joinDurationSeconds": 300,
      "commitDurationBlocks": 60,
      "revealDurationBlocks": 40,
      "minPlayers": 32,
      "maxPlayers": 32,
      "maxCauses": 2
    },
    "treasury": "0xDb463b29c82138188d5e425EDe5E0Fcbb09f1408",
    "phase": "Ended",
    "phaseCode": 4,
    "outcome": "Winners",
    "outcomeCode": 1,
    "settlement": {
      "finalized": true,
      "terminalPath": "winner-claims",
      "totalPotWei": "32000000000000000",
      "creatorFeeWei": "320000000000000",
      "treasuryAccruedWei": "320000000000000",
      "treasuryWithdrawnWei": "320000000000000",
      "treasuryClaimableWei": "0",
      "winnerCount": 12,
      "winnerShareWei": "2640000000000000",
      "refundPerPlayerWei": "0",
      "noWinnerCausePoolWei": "0",
      "noWinnerCauseDistributedWei": "0"
    },
    "terminalOutcome": {
      "terminal": true,
      "terminalPath": "winner-claims",
      "phase": "Ended",
      "phaseCode": 4,
      "outcome": "Winners",
      "outcomeCode": 1,
      "round": 5,
      "shareStreak": 3,
      "aliveCount": 12,
      "winnerCount": 12,
      "gameEndedEvent": {
        "outcome": "Winners",
        "outcomeCode": 1,
        "round": 5,
        "winnerCount": 12,
        "shareStreak": 3,
        "blockNumber": 39227171,
        "txHash": "0x1c70e785ecb10d5ac59895f1dd816269f0b1074922276b3099cf4a5fb21f1185",
        "timestamp": 1774222630
      },
      "gameCancelledEvent": null,
      "settlementFinalizedEvent": {
        "outcome": "Winners",
        "outcomeCode": 1,
        "totalPotWei": "32000000000000000",
        "creatorFeeWei": "320000000000000",
        "winnerCount": 12,
        "winnerShareWei": "2640000000000000",
        "refundPerPlayerWei": "0",
        "noWinnerCausePoolWei": "0",
        "treasuryAccruedWei": "320000000000000",
        "blockNumber": 39227171,
        "txHash": "0x1c70e785ecb10d5ac59895f1dd816269f0b1074922276b3099cf4a5fb21f1185",
        "timestamp": 1774222630
      },
      "notes": []
    },
    "round": 5,
    "shareStreak": 3,
    "counts": {
      "joined": 32,
      "alive": 12,
      "claimed": 12,
      "refunded": 0,
      "usedCauses": 2,
      "committed": 12,
      "revealed": 12,
      "messages": 26
    },
    "phaseHistory": [
      {
        "phase": "Joining",
        "phaseCode": 1,
        "blockNumber": 39226567,
        "txHash": "0xfea3171cffe6124f4c93f3dd8521cbfb9a454c5bc59fa523a74ca02cecb4452e",
        "timestamp": 1774221422
      },
      {
        "phase": "Commit",
        "phaseCode": 2,
        "blockNumber": 39226766,
        "txHash": "0x16d4a7c0ae4d15b3cc0ae15d1573e235454766d0ccf4868960fefa9f45b06193",
        "timestamp": 1774221820
      },
      {
        "phase": "Reveal",
        "phaseCode": 3,
        "blockNumber": 39226824,
        "txHash": "0x89257997602b3c3616b3055dc70c62ca470e6deae81e6b04a7914c26f43ce566",
        "timestamp": 1774221936
      },
      {
        "phase": "Commit",
        "phaseCode": 2,
        "blockNumber": 39226854,
        "txHash": "0x937f441967442af79556c4347c507c9e283af34accb9537a0f30cc591909d91a",
        "timestamp": 1774221996
      },
      {
        "phase": "Reveal",
        "phaseCode": 3,
        "blockNumber": 39226910,
        "txHash": "0x59c3c8b53a45686ff8b788d2b064403b1cba4bca729eed5b63adf1eac043fda4",
        "timestamp": 1774222108
      },
      {
        "phase": "Commit",
        "phaseCode": 2,
        "blockNumber": 39226979,
        "txHash": "0x421b803bf809096af2f38aa2ae6664293091e8cd3e9333cbf9ccd18414ce5276",
        "timestamp": 1774222246
      },
      {
        "phase": "Reveal",
        "phaseCode": 3,
        "blockNumber": 39227019,
        "txHash": "0xa9d72a0688134597d94385f8d0b44933786a7988d83e8fbac54c7f061742de6a",
        "timestamp": 1774222326
      },
      {
        "phase": "Commit",
        "phaseCode": 2,
        "blockNumber": 39227033,
        "txHash": "0x6b3180009cacfa8669b530868a1a1252334035751e373512a78f07b21be4290d",
        "timestamp": 1774222354
      },
      {
        "phase": "Reveal",
        "phaseCode": 3,
        "blockNumber": 39227075,
        "txHash": "0xf8977253ef33254862d505327eaae52f521aa15a5d84dfd59fc9f5a1cdb392af",
        "timestamp": 1774222438
      },
      {
        "phase": "Commit",
        "phaseCode": 2,
        "blockNumber": 39227088,
        "txHash": "0x0fa2af6fec90ba36c42a699f169fbe46375feef270bc4ff7806f50d85c74e228",
        "timestamp": 1774222464
      },
      {
        "phase": "Reveal",
        "phaseCode": 3,
        "blockNumber": 39227137,
        "txHash": "0x8cc49226dd8b6f6a3e679bbb0116efad8e64de82db5d083f7383bf23f2ec6db6",
        "timestamp": 1774222562
      },
      {
        "phase": "Ended",
        "phaseCode": 4,
        "blockNumber": 39227171,
        "txHash": "0x1c70e785ecb10d5ac59895f1dd816269f0b1074922276b3099cf4a5fb21f1185",
        "timestamp": 1774222630
      }
    ]
  },
  "capabilities": {
    "available": [
      "game-parameter-snapshot",
      "current-phase-and-round-context",
      "player-roster-and-cause-selection",
      "used-cause-team-state",
      "auth-records-for-participants",
      "commit-and-reveal-event-inspection",
      "round-resolution-outcomes",
      "elimination-history",
      "winner-no-winner-terminal-state",
      "claim-refund-settlement-data",
      "payout-destination-audit",
      "game-chat-message-export"
    ],
    "unavailable": []
  },
  "notes": [
    "Event-derived sections only cover logs from block 39226533 through 39227278. Treat this as a bounded evidence slice, not a complete replay export for the whole game.",
    "Round resolution, eliminations, terminal outcomes, and per-game settlement snapshots are exported when their onchain events/state exist inside the selected evidence window.",
    "Per-game routed, claimable, and withdrawn payout amounts are exported from the contract's own settlement counters and events rather than inferred from generic recipient balances.",
    "Message-time liveness is derived from elimination timing when the selected evidence window makes that history available; otherwise global-message liveness fields stay null instead of guessing from final state."
  ]
}
