Skip to content

docs(dispute): document model and invariants - #442

Merged
mikewheeleer merged 1 commit into
StableRoute-Org:mainfrom
Baskarayelu:docs/dispute-418-model
Jul 30, 2026
Merged

docs(dispute): document model and invariants#442
mikewheeleer merged 1 commit into
StableRoute-Org:mainfrom
Baskarayelu:docs/dispute-418-model

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor

Summary

Adds docs/dispute.md documenting the per-pair dispute flag introduced in #441 (flag_pair_dispute/resolve_pair_dispute/is_pair_disputed): the model table, its interaction with quote_route/compute_route_fee, and six invariants (admin-gated writes with public reads, registration-first flagging, no-duplicate-event emission, single shared read path, flag clearing on unregister, side-effect-free view).

Depends on #441 for the code this documents — please merge that first (or alongside this one).

Closes #418

@mikewheeleer
mikewheeleer merged commit 735b10e into StableRoute-Org:main Jul 30, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the dispute model and its invariants

2 participants