Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-seo-audit-1777280932.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Solvers
Solvers are critical infrastructure in CoW Protocol — off-chain agents that monitor the order pool for new and existing orders and compute optimal settlements by finding clearing prices and trade routes.Key Responsibilities
Solvers perform five primary functions:- Monitor incoming orders from the order pool
- Calculate optimal trade settlements and clearing prices
- Access liquidity from various sources (AMMs, aggregators, private inventory)
- Submit settlement transactions on-chain
- Earn fees upon successful execution
Authorization and Security
Only approved solvers can call the settlement function through theGPv2AllowListAuthentication contract, which maintains an allowlist managed by a designated manager role.
Competition Mechanism
Multiple solvers submit solutions simultaneously, and these are ranked by:- Trader surplus generated - How much better the execution is compared to limit prices
- Number of orders filled - More filled orders is preferred
- Gas efficiency - Lower gas consumption for the same outcome
- Execution success probability - Likelihood of on-chain execution success
Solver Economics
Revenue Sources
- Protocol fees
- Surplus capture (executing at better prices than order limits)
- CoW finding (matching orders directly without external liquidity)
- Arbitrage opportunities
Risks
- Transaction failures (gas costs without revenue)
- MEV extraction by block builders
- Price slippage between solution computation and on-chain execution
- Competition from other solvers