The proof

Every situation, checked in your browser

Situations your plan can ever meet
67,108,864
Situations where money leaves too early, or goes to the wrong place
0

Like trying a lock with every key that could ever be cut, not a handful of samples.

That is our claim. Don't take our word for it: run it below. Under a minute on a laptop.

Or try to break it

Run it yourself

Not started. The map fills in as your browser checks each situation.

Under a minute on a laptop, a few minutes on a phone. Nothing leaves your device, and nothing is signed or sent: the page only reads. It keeps your screen on until it is done.

The map of every situation

Each dot is 64 situations. Its colour is the state the plan starts in; the eight regions are the eight state codes.

Colour and glyph: the state a situation starts in

  • Active
  • Alarm window
  • Recovery pending
  • Released to heirs
  • Released to the recovery wallet
  • Codes 2, 4 and 6, which no plan ever holds (checked too)
  • Not checked yet

The rules that must hold in every situation

  1. Once your assets are handed over, the plan is closed for good.

    WaitingP1

  2. A check-in, saying “I’m still here”, always brings your plan back to Active.

    WaitingP2

  3. Heirs receive only after the alarm window ends with no check-in and no recovery vote, and once enough guardians confirmed or enough check-ins were missed.

    WaitingP3

  4. Assets move to a new wallet only after the alarm window ends with no check-in, and only with enough guardian votes for that same wallet.

    WaitingP4

  5. From Active, an alarm starts only after missed check-ins or recovery votes, never right after you check in.

    WaitingP5

  6. Your plan never lands in a state the rules do not define.

    WaitingP6

  7. The alarm, cancel and hand-over signals always match what the plan really did.

    WaitingP7

  8. The circuit on X Layer, run on your device, answers exactly like our reference rules.

    The netlist stored in the processor on X Layer, run on this device, answers exactly like the reference model for every input.

    WaitingP8

  9. Asked 64 random situations directly, X Layer itself answers exactly like your device, on every data source.

    WaitingP9

One circuit, kept on X Layer

It holds the rules of every plan. Nobody can change it, not even us, and it is byte for byte the circuit in our public code.

Run the proof and your browser compares the two for you.

For engineers

The seal

The keccak256 of the policy netlist, in 16 groups of four. Equal groups, equal bytes: the processor stores exactly the circuit this repository builds.

Top: built from this repository's source

Bottom: read from X Layer when you run the proof

Top: built from this repository's source: 0x70167214a030d2024e5b31d7be5f5664e5abad2d7d5323443abed76b776c3864. Bottom: read from X Layer when you run the proof.

Try to break it

Break one tiny part. Watch the proof catch it.

The circuit is built from 196 tiny switches, called gates. Break one in a copy on your device: your browser checks it in every situation, then says in plain words what would go wrong.

Click or tap a gate to pick it, or choose one in the list below.

a local copy in your browser; the deployed circuit cannot change (beacon frozen)

Or choose the gate, and how it breaks
How the gate breaks

Its output is always 1.

Try

Nothing is broken yet. The copy is the real circuit, which the proof above checks in every situation.

The map of the copy

Intact: the copy is the real circuit, which answers rightly in all 67,108,864 situations (the proof above).

  • Answers like the real circuit
  • Breaks a rule, drawn larger so a single situation shows
  • Not checked yet
  • The situation shown

Or run it in a terminal

The same proof without this website: it reads X Layer directly and prints the same keccak. It needs Node.js 20 or later.

npx -y atropyle verify

What this proof covers, and what it does not

The proof checks the rules. Six other parts sit around them; for each one, here is what protects you.

  1. The vault and factory contracts

    The Solidity contracts decide who receives how much. They have not been audited. Instead: Foundry unit, fuzz, invariant and fork tests, and static analysis that found nothing that can lose or lock funds. No admin key, no pause, no upgrade.

    What protects you: Your tokens stay in your wallet. A vault moves only the amounts you approved, and only at release.

  2. The processor that runs the circuit

    P1 to P8 run the netlist bytes read from the processor, in JavaScript on this device, for all 67,108,864 cases. P9 asks the processor's own step() 64 random cases on each RPC operator. The simulator itself passes the TAP-02 test vectors of the TapeOut protocol.

    What protects you: Ask the processor yourself. From state 0 with every input at 0, this repository's model answers 0x01, then 0x01:

    cast call 0x523db7bacD35a6EFc384367D66AEC1CBA07a4A05 "step(uint256,bytes,bytes)(bytes,bytes)" 3 0x00 0x000000 --rpc-url https://rpc.xlayer.tech
  3. The token contracts

    A vault pays through each token's own contract. A token that blocks, taxes or rebases transfers can pay less than the plan says, and the proof cannot see it.

    What protects you: Cover standard tokens. Each vault page shows how much of every balance your approvals cover.

  4. The data sources (RPC operators)

    This page reads X Layer through RPC operators. A dishonest one could show you another circuit, or another block.

    What protects you: Two independent operators must give the same answers; the verdict above says how many were asked. In a terminal, name your own with --verify-rpc.

  5. The keeper

    The keeper is only a convenience, an automatic courier that anyone can run: it sends poke and distribute on a schedule. Both calls are permissionless, and they pay only heirs or the recovery wallet.

    What protects you: If Atropyle disappears, anyone can send them, from a terminal or from the explorer.

  6. Your wallet and your links

    The proof cannot see what your wallet signs, or where a link takes you.

    What protects you: Sign through /sign/: it accepts only calls to the Atropyle contracts on a fixed list, and shows each one before your wallet does. Compare every address group by group.

Start with a Drill; approve only what you mean to leave.