Module 01 · limit orders · launch window
Order Desk
Buy or sell only at a price you accept. You sign one message that names the pool, the amount and the minimum you will receive; any filler can execute it, and the contract refuses to complete unless every signed condition holds. Funds stay in your wallet until the moment it runs.
Event horizon · all or nothing
A fill crosses once and completes, or it never happened. Every signed condition holds inside one transaction, otherwise it reverts and nothing moves.
Rendered live · light bent by a Schwarzschild black hole · not to scale
- 01Sign
A Permit2 PermitWitnessTransferFrom with a CaissonOrder witness. No gas; funds stay in your wallet.
- 02Wait for the price
Nothing runs until the pool can pay at least your minAmountOut after its fee, any hook cut and the tip.
- 03Exact amount
fill() asks Permit2 for exactly the signed amount. A changed amount, pool or recipient fails the signature check.
- 04One signed pool
The desk swaps in the one pool you signed, in a single unlock. The filler's tip comes from the output, capped by you.
- 05Checked on arrival
The desk measures what reached your wallet. Below the minimum, the whole transaction reverts; the desk ends empty.
Place an order
Order ticket
- 1Wallet
- 2Token
- 3Quote
- 4Sign
Connect a wallet
Any EIP-6963 browser wallet. The page switches it to Elysium (chain 99901) before each transaction.
Choose the token
Amount and quote
Available once a token with a usable pool is chosen.
Minimum and signature
Available once a pool is quoted and picked.