Skip to content

docs(config): document model and invariants - #440

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

docs(config): document model and invariants#440
mikewheeleer merged 1 commit into
StableRoute-Org:mainfrom
Baskarayelu:docs/config-413-model

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor

Summary

Adds docs/config.md covering the router's admin-configurable state: the per-pair config surface (registration, fee, min/max amount, cooldown, liquidity) and the global config surface (fee recipient, absolute fee bounds, oracle, timelock), each with setter/getter/bound/default tables cross-referenced to the enforcing code, plus six invariants (admin-gating, registration-first, batch atomicity, read-only views, non-duplicated change events, explicit clearing).

Closes #413

@mikewheeleer
mikewheeleer merged commit 3e1b413 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 config model and its invariants

2 participants