Skip to content

feat!: separate swap-guard restriction from the generator verdict#38

Open
mfw78 wants to merge 1 commit into
feat/needs-input-verdictfrom
feat/restriction-overlay
Open

feat!: separate swap-guard restriction from the generator verdict#38
mfw78 wants to merge 1 commit into
feat/needs-input-verdictfrom
feat/restriction-overlay

Conversation

@mfw78

@mfw78 mfw78 commented Jul 11, 2026

Copy link
Copy Markdown
  • PollResult gains a registry-level Restriction overlay (NONE | SWAP_GUARD), populated in the shared _poll so checkOrder reports it too
  • the generator verdict is never overwritten: a guarded POST stays visible, the signature is withheld
  • INVALID becomes uniformly terminal as an invariant — no reason-selector branching for control flow; unpark is event-driven via the existing SwapGuardSet (clear = address(0))
  • SwapGuardRestricted remains the settlement-path revert

BREAKING: PollResult shape changes.

Part of #1. Closes #32.

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.

1 participant