DOGMACAPITAL
WorkspaceThe Book
Liquidity aggregation

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.
Basis says how the level was derived. A constant-product pool is priced in closed form and is exact at any size; a concentrated pool is exact only when the on-chain quoter simulates the swap.

The split solver

-

Price a size to see how the order would be cut up.

-

Depth curve

How much worse the fill gets as the order grows.

Summary

Nothing priced yet.

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.