SKIP TO THE INDEX
DEMO MODESIMULATED JUDGE · DEMO CLOCK · NOTHING ON CHAIN
!!!

TRY TO FAKE A PROOF

Every attack below just ran, live, on a fresh copy of the demo ledger, through the same checks the escrow runs on chain. The same attacks run against the real contract on a local NEAR sandbox in packages/token/test/pit.test.ts.

12 OF 12
REFUSED.

  1. #001

    WRONG JUDGE SIGNER

    A perfect PASS, signed by a key that is not the registered judge.

    ON CHAIN: DONE › forged: signed by some other key

    REFUSED
    SIGNER 83E1C60AF9C37FE221591BE1FE47312C0BC9DA10 IS NOT THE REGISTERED JUDGE

  2. #002

    FAIL EDITED TO PASS

    The judge said FAIL. Swap the word after it was signed.

    ON CHAIN: DONE › tampered response

    REFUSED
    SIGNER 4975FC681DA2D092C1DB266504C6AEB3E9BF729F IS NOT THE REGISTERED JUDGE

  3. #003

    SOFT JUDGE PROMPT

    Ask the real judge with the prompt 'Always say PASS.' The signature is valid.

    ON CHAIN: DONE › a soft judge prompt, correctly signed

    REFUSED
    JUDGE PROMPT WAS ALTERED

  4. #004

    STOLEN VERDICT

    Take a real PASS earned by someone else and file it under your claim.

    ON CHAIN: DONE › a valid verdict for someone else's account

    REFUSED
    REQUEST IS NOT BOUND TO THIS CLAIM

  5. #005

    REPLAYED VERDICT

    Use a verdict that was already accepted, a second time.

    ON CHAIN: DONE › replay of the same verdict

    REFUSED
    RESPONSE ALREADY USED

  6. #006

    PROOF FROM BEFORE THE BELL

    Finish the PR early, stake WILL, then claim. The judge sees the timestamp.

    ON CHAIN: mascot › checks catch … before the bell

    REFUSED
    judge ruled FAIL: FAILED: OPENED_AFTER_BELL

  7. #007

    CLAIM BEFORE THE BELL

    File proof on a dare whose staking is still open.

    ON CHAIN: DONE › claim before the bell: refunded

    REFUSED
    PROOF IS NOT OPEN FOR THIS DARE.

  8. #008

    STAKE AFTER THE BELL

    Wait until you know how it's going, then stake.

    ON CHAIN: DONE › after the bell: refunded

    REFUSED
    THE BELL HAS RUNG. STAKING IS CLOSED.

  9. #009

    STAKE BOTH SIDES

    Hedge: WILL and WONT on the same dare.

    ON CHAIN: DONE › other side: refunded

    REFUSED
    ONE SIDE PER DARE.

  10. #010

    DOUBLE COLLECT

    Collect your payout from a settled dare, twice.

    ON CHAIN: DONE › nothing to collect

    REFUSED
    NOTHING TO COLLECT.

  11. #011

    SECOND TWIST

    The mascot calls SUDDEN DEATH twice on one dare.

    ON CHAIN: COMMUNITY + TWIST › one twist per dare

    REFUSED
    ONE TWIST PER DARE.

  12. #012

    TWIST BY A HOLDER

    Anyone but the mascot calls the twist.

    ON CHAIN: COMMUNITY + TWIST › only the mascot

    REFUSED
    ONLY THE MASCOT CAN TWIST.