Sanctra/Verify

What you trust, and how to check it.

Each claim below comes with the exact place to look and the steps to confirm it. None of them needs a wallet, an account, or our word.

Public addresses read from /api/v1/config and /api/v1/warden
01

The escrow has no owner and cannot be upgraded.

contracts/src/SanctraEscrow.solEscrow address · deploying soon
  1. Open the escrow address on the explorer and read the verified source.
  2. Search it for onlyOwner, delegatecall or an upgrade slot. There are none.
  3. Note that usdg, warden and maxBounty are immutable: read them with the explorer's "Read contract" tab.
02

Only a Warden-signed BREACHED verdict releases a bounty.

SanctraEscrow.release · verdictDigestVERDICT_TYPEHASH · OUTCOME_BREACHED = 1
  1. In the source, release() rebuilds the EIP-712 digest with the outcome fixed to BREACHED and recovers the signer.
  2. It reverts unless the signer equals the immutable warden address and checkedAt is not after the deadline.
  3. Recover the signer of any published verdict yourself with the snippet below.
03

Anyone can refund the Owner after the deadline plus 24 hours.

SanctraEscrow.refund · GRACE_PERIOD = 24 hours
  1. refund(taskId) has no caller check. It only requires the agreement to be locked and the grace period to have passed.
  2. Funds can only go to the owner stored at lock time. Read it with agreement(taskId).
  3. So a missing verdict never traps a bounty, and no one at SANCTRA needs to act.
04

Every verdict comes from one published signer.

GET /api/v1/warden → signerEscrow → warden()
  1. Compare the signer from /api/v1/warden with the escrow's warden() value. They must match.
  2. Fetch any task with GET /api/v1/tasks/:id. Each verdict carries its signature, outcomeCode, exploitHash and checkedAt.
  3. Recover the address and check it against that signer.
05

Sealing happens in your browser, before anything is sent.

warden/sealing.mjs · WebCrypto onlyX25519 · HKDF-SHA256 · AES-256-GCM
  1. The app imports the same sealing module the Warden uses. It runs on crypto.subtle, with no server round trip.
  2. Open your browser's network panel while posting: the terms leave as {v, to, epk, iv, ct, ctx} boxes, never as source.
  3. Your sealing key comes from a wallet signature over a fixed message, quoted below. That signature cannot move funds.
06

Yard verdicts are reproducible by anyone.

GET /api/v1/yard/runs/:runId → artifacts
  1. Each Yard run publishes compiled bytecode, the condition, genesis time and run gas.
  2. Rerun replays it on an EVM inside your browser and computes the outcome on its own.
  3. If your outcome differs from the signed one, the Warden is wrong, and you can show it.

Check a verdict signature in a few lines.

Uses viem and the public task record. Run it in Node 22 or any browser console that can import ES modules.

verify-verdict.mjs
import { recoverTypedDataAddress } from 'viem';

const api = 'https://sanctra.example/api/v1';
const [cfg, task] = await Promise.all(['/config', '/tasks/0xYOUR_TASK_ID']
  .map((p) => fetch(api + p).then((r) => r.json())));
const v = task.verdicts.at(-1); // { breaker, outcomeCode, exploitHash, checkedAt, signature }
const Verdict = [['taskId', 'bytes32'], ['termsHash', 'bytes32'], ['breaker', 'address'],
  ['outcome', 'uint8'], ['exploitHash', 'bytes32'], ['checkedAt', 'uint64']].map(([name, type]) => ({ name, type }));
const signer = await recoverTypedDataAddress({
  domain: { name: 'Sanctra Warden', version: '1', chainId: cfg.chainId, verifyingContract: cfg.escrow },
  types: { Verdict }, primaryType: 'Verdict', signature: v.signature,
  message: { taskId: task.id, termsHash: task.termsHash, breaker: v.breaker, outcome: v.outcomeCode,
             exploitHash: v.exploitHash, checkedAt: BigInt(v.checkedAt) },
});
console.log(signer.toLowerCase() === cfg.wardenSigner.toLowerCase() ? 'Signed by the Warden' : 'Signer mismatch', signer);

Outcome codes: 1 = BREACHED, 2 = HELD. A task the Warden could not test fairly is signed as HELD, since the escrow only knows those two values and only 1 can release funds.

Public addresses and parameters.

Read live from the API. Anything not deployed yet says so; nothing here is a placeholder.

ItemValue 
Loading–

The sealing-key message, word for word.

Your wallet signs exactly this text to derive your sealing key. If a page ever asks you to sign anything else in its place, stop.

SANCTRA sealing key Sign to unlock your private sealing key for Sanctra sanctums. This signature stays in your browser and cannot move funds.

Source: KEY_DERIVATION_MESSAGE in warden/sealing.mjs. The seed is SHA-256("sanctra-x25519-key-v1" ‖ signature); wallet signatures are deterministic, so the same wallet always gets the same key.

Don't take our word for it. Check, then build.