DEX essentials

What a uniform clearing price means in a batch auction

Understand clearing-price consistency, why different token pairs use different rates and how directed-pair rules differ from a universal price claim.

A clearing-price rule defines consistency among executed orders in an auction or settlement. It does not mean every asset trades at the same numerical price, and it does not guarantee that every submitted order executes.

Price consistency needs a scope

In a hypothetical two-token settlement, a rate of two B per A can apply to several compatible A-to-B orders. Their received amounts differ with their sizes, even though the exchange relationship matches.

For a multi-token system, clearing prices can instead assign relative values to tokens and derive pairwise rates from those values. Fees and order-specific adjustments can affect the net amounts users observe. Reading a displayed receipt alone may therefore not reveal the underlying clearing-price convention.

CoW's settlement reference describes clearing-price mechanics. Its current auction overview specifically describes Uniform Directed Clearing Prices. Direction and auction scope matter; a generic phrase such as “one price for everyone” is too loose.

Orders still need compatible limits

Suppose two hypothetical sellers of A require at least 1.9 and 2.1 B per A. A settlement at 2 B per A can satisfy the first condition but not the second. Consistency among executed trades cannot override the second user's signed boundary.

Similarly, an auction can select some orders and leave others unfilled. A common rule for the accepted set does not imply universal participation.

What to ask of a protocol

  • Does consistency apply within a settlement, a batch or a directed pair?
  • How are fees treated relative to the clearing rate?
  • Which orders qualify for execution?
  • Can several winning proposals participate?

These questions prevent outdated assumptions when an auction design changes. Use the specific current rule rather than importing a traditional uniform-price auction model or an older description of the same protocol.

Sources & verification (2)

Source-check date is recorded in the article details. URLs are provided for manual verification. Use Copy to keep this page open.

  1. GPv2Settlement

    Settlement checks, partial order constraints and clearing-price mechanics.

    https://docs.cow.fi/cow-protocol/reference/contracts/core/settlement
  2. Fair Combinatorial Batch Auction

    Current CoW auction model, aggregation and fairness filtering.

    https://docs.cow.fi/cow-protocol/concepts/introduction/fair-combinatorial-auction

Continue reading

What order surplus means after an intent is filled What a settlement contract does after a quote is selected What an intent means in decentralized trading