-
Notifications
You must be signed in to change notification settings - Fork 17
Update and rename batch-auctions.md to fair-combinatorial-auction.md #504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,18 @@ | ||||||||||||||||||
--- | ||||||||||||||||||
sidebar_position: 3 | ||||||||||||||||||
--- | ||||||||||||||||||
|
||||||||||||||||||
# Fair Combinatorial Auction | ||||||||||||||||||
|
||||||||||||||||||
CoW Protocol collects and aggregates [intents](./intents) off-chain and auctions them off to [solvers](./solvers). The auction is combinatorial because each solver can submit multiple bids. A solver can submit multiple bids on individual orders, in which case each "bid" represents the best price this solver can provide to an individual order. However, a solver can also submit "batched" bids, that is, bids on groups of orders. | ||||||||||||||||||
|
||||||||||||||||||
The protocol filters our ``unfair'' batched bids, which are those delivering less to an order than some available "non-batched" bids. It then selects the combination of winning bids that maximizes the surplus received by the orders that are part of the auction (subject to some computational constraints due to the combinatorial nature of the problem). | ||||||||||||||||||
|
||||||||||||||||||
 | ||||||||||||||||||
|
||||||||||||||||||
The fair combinatorial auction provide several benefits: | ||||||||||||||||||
|
||||||||||||||||||
- [**MEV Protection**](../benefits/mev-protection): Batch auctions allow for Uniform Clearing Prices (UCPs), where an asset that appears multiple times across orders in the same batch settles for a consistent price. | ||||||||||||||||||
This makes transaction order irrelevant within the block, undermining the ability for MEV bots to extract value. | ||||||||||||||||||
- **[Coincidence of Wants](../how-it-works/coincidence-of-wants)**: When multiple orders trade the same assets within a batch, there may be an opportunity for a peer-to-peer swap that doesn't tap on-chain liquidity, which a solver could exploit by submitting a batched bid. | ||||||||||||||||||
- **Fairness**: Ensuring that each order receives as much as it would have received had that order been auctioned off alone. | ||||||||||||||||||
Comment on lines
+15
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Align bullet content with “Fair Combinatorial Auction”. The benefits still reference “Batch auctions” and “within a batch,” which conflicts with the new mechanism name. Please update the text to refer to “combinatorial auctions” (or “fair combinatorial auction”) consistently. For example: - - [**MEV Protection**](../benefits/mev-protection): Batch auctions allow for Uniform Clearing Prices …
+ - [**MEV Protection**](../benefits/mev-protection): Combinatorial auctions allow for Uniform Clearing Prices …
- - **[Coincidence of Wants](../how-it-works/coincidence-of-wants)**: When multiple orders trade the same assets within a batch, …
+ - **[Coincidence of Wants](../how-it-works/coincidence-of-wants)**: When multiple orders trade the same assets in the combinatorial auction, …
- - **Fairness**: Ensuring that each order receives as much as it would have received had that order been auctioned off alone.
+ - **Fairness**: Ensuring that each order receives at least what it would have secured if auctioned individually. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo in text (“filters our” → “filters out”).
The sentence currently reads “The protocol filters our
unfair
batched bids…”. It should be:🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, this needs correcting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pretf00d Thanks for confirming! I'll plan the fix for this typo.
Task: Fix typo in fair-combinatorial-auction.md
⏳ Preparing changes...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A summary of the edits CodeRabbit can apply:
A plan of each step that CodeRabbit will take in order to execute the edits for each file (with inline rough draft snippets):
✏️ docs/cow-protocol/concepts/introduction/fair-combinatorial-auction.md
Locate line 9 in the file which currently reads: "The protocol filters our ``unfair'' batched bids, which are those delivering less to an order than some available "non-batched" bids. It then selects the combination of winning bids that maximizes the surplus received by the orders that are part of the auction (subject to some computational constraints due to the combinatorial nature of the problem)."
Replace the word "our" with "out" in the phrase "filters our" so it becomes "filters out". The corrected line should read: "The protocol filters out ``unfair'' batched bids, which are those delivering less to an order than some available "non-batched" bids. It then selects the combination of winning bids that maximizes the surplus received by the orders that are part of the auction (subject to some computational constraints due to the combinatorial nature of the problem)."
Verify that only the single word "our" has been changed to "out" and that all other text, punctuation, and formatting remains exactly the same.