The Book
One instrument trades in many pools at once. This is all of them, priced for the same size, in the same block, sorted best first: plus the split the solver would use and what it saves against simply taking the top of book.
Consolidated ladder
- -| # | Venue | Tier | Output | vs. best | Depth | Basis | Pool |
|---|---|---|---|---|---|---|---|
| Pick a pair and press Price it. | |||||||
The split solver
-Price a size to see how the order would be cut up.
Depth curve
Summary
How this is built
Every venue in DogmaVenueRegistry is swept for every fee tier it declares,
in one pass, against the same size.
A constant-product pool is priced from its reserves in closed form: exact at any size.
A concentrated-liquidity pool is priced by asking the pool: DogmaQuoter
starts the real swap and reverts inside the pool's own callback before any token moves,
then reads the amounts the pool had already computed.
Until those contracts are deployed the same pool state is still read live, but the concentrated legs are approximated with constant liquidity. This is accurate for ordinary sizes and optimistic for very large ones. Every level says which it is.