Solver rewards
The protocol is currently subsidizing the solver competition on all chains it operates on, by rewarding solvers on a weekly basis (currently, every Tuesday) with rewards paid in COW. Solvers are rewarded based on their performance as solvers (i.e., when participating in the standard solver competition) as specified by CIP-20, CIP-36, CIP-38, CIP-48 and CIP-57. Solver rewards for participating in the price estimation competition and providing quotes that are needed for the gas estimates and limit price computations of market orders are specified in CIP-27 and CIP-36.
For the interested reader, the main source of truth for the weekly payments to solvers is this Dune dashboard. The dashboard is populated with data aggregated by scripts within the solver-rewards repository.
Solver competition rewards (CIP-20 & CIP-36 & CIP-38 & CIP-48)
Solver rewards are computed using a mechanism akin to a second-price auction. First, each solver commits a solution, which includes a price vector and a list of trades to execute. The solver proposing the solution with the highest quality wins the right to settle their submitted solution on chain, where quality is the sum of surplus delivered to users and fees paid to the protocol.
From the protocol's perspective, the solution executed on chain must equal the solver's initial commitment.
The payment to the winning solver is
Here, refers to the quality of the second-best solution, and denotes the settlement's quality as observed on chain. More precisely, in case of a successful settlement, the is equal to the sum of the surplus generated for users and fees paid to the protocol, while in the case of a failed settlement (e.g. one that reverted), the is zero.
The payment calculation can result in a negative figure, in which case the solver is required to pay the amount to the protocol.
The payment is capped from above and below using the function that is chain-specific, and is determined by the following values:
- Ethereum mainnet and Arbitrum: and ,
- Gnosis Chain: .
Submitted scores that are non-positive will be ignored. If only one solution is submitted, is set to zero. Formally, this corresponds to always considering the empty solution which does not settle any trades and has quality zero as part of the submitted solutions.
There is no guarantee that the per-auction rewards are greater than the gas costs of executing a transaction. Hence, solvers cover these costs by adjusting their reported quality. Of course, a solver who adjusts quality downward too aggressively is then at a disadvantage in the auction. The mechanism, therefore, incentivizes the accurate estimation of gas costs.
Additional solver costs (slippage)
In addition to paying for gas, the winning solver might incur additional costs, such as, for example, negative slippage once a solution is settled on chain. These costs are not an explicit element of the mechanism, but they are relevant in determining the solver's optimal strategy. More precisely, per CIP-17, solvers are responsible for managing potential slippage incurred by the settlements they settle. This is a component that affects payouts, but can be treated completely separately, and we do so in slippage accounting.