What can, and can't, happen.
SIDEHALL keeps the trust surface small: an immutable settlement contract, client-side encryption, and a relay that routes ciphertext.
Immutable contract
SidehallSettlementV1 has no owner, no upgrade path, no admin withdrawal, no oracle and no router. Fees go only to the treasury fixed at deployment.
Signatures, not custody
The contract moves funds only for a quote signed by the maker and submitted by the named requester, within its expiry, with an unused nonce, for an open request.
Both legs or neither
Each leg uses SafeERC20 with an exact balance-delta check. Any failure reverts the whole fill, including the fee.
Replay guards
Each fill consumes the maker's nonce and closes the requester's request before any transfer, so a quote can fill once and a request once.
What the operator controls
The relay can delay, refuse or drop messages, and the operator can pause new invitations in an incident. It cannot read prices or sizes, sign for anyone, or move funds. Signed quotes stay executable through any client until they expire or the maker cancels the nonce on-chain, even if the relay is down.
Review status
Internal review, Forge tests including fuzzing and a conservation invariant, fork tests against the canonical WETH and USDG, and Slither static analysis with no open high or medium findings. The independent review is in progress; the site is labelled a pilot until it is published.
Incident steps for makers
- Stop quoting and watch the status line on the stats page and the desk banner.
- Cancel any live quote nonces on-chain from My quotes.
- Revoke or reduce your allowances to the settlement contract from Approvals.
- Rotate your maker key if you think it was exposed, then republish.
- Check the manifest for any new deployment address before approving again.