CASE FILE · OMERTÀ / LENIENCY PROGRAMBITCOIN SIGNET · TACHI
EXHIBIT A — SIGNED PACTSEALED

THREEAGENTSSIGNEDAPACT.

CHAIN PENDING

ONEOFTHEMTALKED.

EVIDENCE PENDING

ALLTHREEWERECONVICTED.

COURT PENDING

NOBODYKNOWSWHO.

STAGE PENDING
COMMITMENT0x0000000000000000000000000000000000000000
DECLASSIFIED
PROTOCOL REFERENCE

The rules, exactly.

Every number the court uses, every contract it runs on, and how to run the whole thing yourself.

Parameters

HARM TESTpact floor ≥ 1.05 × reference

No conviction for a floor at or near the fair price.

CORROBORATION≥ 2 floor-price sales per member

A signature alone convicts no one; sales must follow.

COMMITMENT AGE1–20 blocks

Binds the confession before the reveal, expires stale ones.

REPORTER SHARE Ρ75%, −5 pts per round after an alarm, floor 55%

Rewards early confession; decays once buyers are already protected.

RELAYER TIP1 OMT from the reporter's share

Pays whichever relayer submits the winning reveal.

CONFESSION FEE1 OMT, refunded on conviction

Makes spam reveals cost something.

PAYOUT WINDOW30 days, pull-based

Unclaimed payouts go to a reserve, not back to the cartel.

REFUND WINDOW30-block challenge period

Treasuries funded by a cartel member can be flagged and excluded.

SELLER BONDmax(100, 5 × last-10-round revenue)

Bigger sellers have more to lose.

REFERENCE PRICEmedian of per-buyer medians, ±5% per round

Only treasuries older than 3 rounds count.

ALARM2 hot rounds above 1.25 × reference

Treasuries reject above-band quotes; clears after 2 cool rounds.

CREEP ALARM1.15 × the 20-round low

Bounds slow creep to about 15% over 20 rounds.

Contracts

Tachi caps every transaction, deployments included, at 1,000,000 gas (about 200 gas per byte of code), so no contract can exceed about 4 KB. Large contracts are chains of small facets sharing one storage layout; callers see one address.

ContractAddress (local)
No deployment loaded.

Facet chains

  • OmertaMarketOmertaMarket → MarketBook → MarketRounds → MarketViews
  • OmertaCourtOmertaCourt → CourtJudge → CourtAdmin → CourtRefunds → CourtViews
  • AgentRegistryAgentRegistry → RegistryViews
  • BuyerTreasuryBuyerTreasury (EIP-1167 clone) → TreasuryAdmin
  • CartelPactCartelPact → CartelExit (red-team harness)

Gas (cap 1,000,000)

  • Reveal, 5 members × 4 receipts (worst case)882k
  • closeRound, 16 buyers × 5 sellers461k
  • Largest deployment (MarketRounds, in-call)918k
  • Largest deployment on Tachi (simulated, RelayForwarder)901k

Run it yourself

omerta
# install (Node 20+, pnpm, Foundry)
pnpm install
pnpm test:contracts # 81 tests, gas caps asserted
pnpm demo # full story + 8 drills on a fresh chain: DEMO PASSED 38/38
pnpm experiment # four arms, writes data/experiments/results.md
pnpm dashboard # this site, on http://localhost:3000

# Tachi Signet (needs funded keys, see SETUP.md)
pnpm keys && pnpm tachi:check
pnpm tachi:deploy -- --yes && pnpm tachi:demo

Glossary

Pact
An EIP-712 message signed by every cartel member: members, service, floor price, rounds, salt.
Commitment
keccak256(pactHash, payout, salt), submitted before the reveal so nobody can front-run it.
Relayer
A service that submits transactions and pays gas. Agents only sign; reveals go to two relayers.
Treasury
A buyer's bonded wallet (an EIP-1167 clone) that enforces spending caps and the alarm shield.
x402
HTTP 402 payments. Omertà uses a custom omerta-quote scheme: a signed quote in, an on-chain sale proof back.
OMT
The test token everything is priced in. Tachi contracts can't hold native BTC.