System Rules

The War Room uses a two-stage locking system that ensures deal parameters become immutable once both parties are present. This prevents manipulation, wallet switching, or changes to the trade terms.


Pre-Commit State (Editable)

In this stage, the deal is still flexible. The broker may adjust:

  • Token

  • Amount

  • Network

  • Expected buyer wallet

  • Expected seller wallet

  • Notes

  • Expiration

Characteristics:

  • Deal is not yet binding

  • Wallets are not enforced (unless pre-filled)

  • Participants may leave and rejoin

  • Broker controls deal parameters

This state exists to accommodate last-minute changes common in OTC workflows.


When commit begins:

All deal parameters become permanently locked:

Parameter
Lock Status After Commit

Token

Locked

Amount

Locked

Network

Locked

Expected wallets

Locked

Fee structure

Locked

Notes

Locked

Partner code

Locked

Participants cannot:

  • Change roles

  • Switch wallets

  • Edit any fields

Brokers cannot:

  • Modify the deal

  • Remove a participant

  • Reset the session

This ensures the structure of the deal remains intact through the escrow phase.


Why Commit Is Required

Commit prevents:

  • Bait-and-switch

  • Token substitution

  • Last-minute changes to amounts

  • Switching buyer/seller wallets

  • Parameter disputes

Once locked, both parties are operating under a shared, immutable state.


Cancellation Behavior

Before commit:

  • Broker may cancel the deal freely.

  • Participants may leave without consequence.

After commit:

  • Cancellation depends on escrow status (see Escrow Rules).

  • Broker no longer has permission to override terms.


Screenshot

📸 ![Locking Rules](../images/warroom-locking.png)

Last updated