Utuh watcher
v0.4.0Sweep bonded completeness claims on Creditcoin against Ethereum, and refute one that omits an event.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tally What the registries have done
The four numbers across both deployments: events proven into claims, claims sealed, claims broken by a refutation, and bond slashed. Read live from Creditcoin CC3 Testnet.
list_claims List claims
A page of claims on a deployment, by id, each with its status, member count, bond, and — for sealed ones — how many Creditcoin blocks remain in the challenge window. Sealed claims inside their window are the ones a watcher can still act on. Pass the returned nextCursor to get the next page; utuh://claims/{deployment} is the same list in one read.
| Parameter | Type | Description |
|---|---|---|
deployment * | string | Which deployment: "sepolia" is the completed loop, "mainnet" underwrites real Aave history |
cursor | string | The nextCursor of the previous page; omit for the first |
limit | integer | Claims per page, 1..100 |
sweep_claim Sweep a claim for completeness
Sweep the source chain across independent endpoints for every in-scope event in a claim's range, take the union, and check each event against the claim on-chain. Needs no key and spends nothing. Reports complete with provenance, or the omitted event — which refute_claim can then prove, if the claim is still inside its window. Finalized and refuted claims can be swept too, for the record; open ones are still being built and cannot.
| Parameter | Type | Description |
|---|---|---|
claimId * | integer | |
deployment * | string | Which deployment: "sepolia" is the completed loop, "mainnet" underwrites real Aave history |
refute_claim Refute an incomplete claim
Prove one omitted in-scope event through the Block Prover precompile and break the claim. Sends a real transaction on Creditcoin CC3 Testnet and pays the caller half the bond. Requires PRIVATE_KEY in the environment with a little CTC for gas. Answers with sent: false and a reason whenever it did not send.
| Parameter | Type | Description |
|---|---|---|
claimId * | integer | |
deployment * | string | Which deployment: "sepolia" is the completed loop, "mainnet" underwrites real Aave history |
confirm | boolean | Must be true. This sends an irreversible transaction that slashes a real bond. |
audit_attestors Audit Creditcoin's attestors
Ask both Creditcoin networks (CC3 Testnet and Creditcoin Mainnet) what header hashes their attestors signed for recent Ethereum blocks, then check each three ways: against independent Ethereum endpoints, against that network's own ChainInfo digest index, and against the other network. A MISMATCH would mean attestors signed a block Ethereum does not have; NOT ON CHAIN would mean the indexer published an attestation the chain does not hold.