Documentation Index
Fetch the complete documentation index at: https://docs.inkwell.finance/llms.txt
Use this file to discover all available pages before exploring further.
CONFIDENTIAL & PROPRIETARY © 2026 Inkwell Finance, Inc. All Rights Reserved. This document is for informational purposes only and does not constitute legal, tax, or investment advice, nor an offer to sell or a solicitation to buy any security or other financial instrument. Any examples, structures, or flows described here are design intent only and may change.Dagon clears by batch, not by continuous order-arrival sequence. Inside a batch, a single clearing price
p★ applies to every fill on
both sides. There is no first-mover advantage inside a batch. There is
no last-look. There is no maker-taker asymmetry.
The mechanism
At batch-close:- All submitted schedules (user curves + market-maker curves) are assembled into a SIMD-packed encrypted state.
- A tâtonnement (bisection) search runs over the encrypted vector. On each pass, the candidate price is evaluated: aggregate demand at that price, aggregate supply at that price, sign of the imbalance.
- The bracket narrows. After a bounded number of passes, it is tight enough that the imbalance is within tolerance.
- The midpoint of the final bracket is
p★. - Every buy curve at
p★fills up to its curve’s schedule at that price. Every sell curve atp★fills up to its curve’s schedule. - If any lane would underflow (sell more than its balance, buy more than its credit), the entire epoch reverts. Partial fills are structurally impossible.
Why uniform price
Uniform clearing price is the market-microstructure primitive that eliminates sub-epoch timing games:- No first-mover advantage. The curve that arrived in lane 2 and the curve that arrived in lane 31 fill at the same price. Arrival order inside a batch is irrelevant to fill quality.
- No last-look. Market makers cannot see the clearing price before committing their curve; the curve is evaluated as submitted.
- No maker-taker asymmetry. There is no distinction between maker and taker — every participant is a schedule submitter. The fill economics are symmetric.