Skip to content

[Draft] Read CIP-88 quote rewards from the accounting pipeline - #401

Draft
fhenneke wants to merge 1 commit into
mainfrom
claude/quote-rewards-revamp-54ace0
Draft

fhenneke wants to merge 1 commit into
mainfrom
claude/quote-rewards-revamp-54ace0

Conversation

@fhenneke

@fhenneke fhenneke commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

From the accounting period starting 2026-10-06, quote rewards are a weekly budget of 10% of protocol revenue, split over up to five solvers per order (CIP-88). They are computed in cow-dagster and can no longer be recounted from per-order data.

  • data_per_solver_and_accounting_period (7352571): expose sum_quote_reward_cow, sum_quote_reward_cow_including_fee and number_of_quotes from the per-solver tables.
  • main rewards dashboard (2510345): for periods from 2026-10-06 on, read quote rewards from 7352571; earlier periods keep the old flat reward.
  • margin per trade (6371781): end the flat quote reward caps at 2026-10-06 and charge later trades their quote_budget_contribution_native from dune.cowprotocol.fct_rewards

this needs changes from the accounting pipeline to be merged first

From the accounting period starting 2026-10-06, quote rewards are a
weekly budget of 10% of protocol revenue, split over up to five solvers
per order (CIP-88). They are computed in cow-dagster and can no longer
be recounted from per-order data.

- data_per_solver_and_accounting_period (7352571): expose
  sum_quote_reward_cow, sum_quote_reward_cow_including_fee and
  number_of_quotes from the per-solver tables.
- main rewards dashboard (2510345): for periods from 2026-10-06 on,
  read quote rewards from 7352571; earlier periods keep the flat
  recount.
- margin per trade (6371781): end the flat quote reward caps at
  2026-10-06 and charge later trades their
  quote_budget_contribution_native from dune.cowprotocol.fct_rewards
  (needs cowprotocol/cow-dagster#1110).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Oct 7, 2026

Copy link
Copy Markdown

SOL-452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant