Curved Cow Orders
Curved Orders are a new smart order type for CoW protocol which implement pricing curve logic
Screenshots




Problem Statement
Curved Orders are a smart order type for CoW protocol. They allow the submitter of an order to define a pricing curve which potential trades are validated against. Put simply, larger volume trades are sold at a higher price, while smaller volume orders are sold closer to spot price. LPs only need to submit one order, and their order can be gradually filled with configurable dynamic pricing.
Solution
The project uses: CoW protocol, foundry, forge, python. It implements ERC 1271 for validating signatures from a smart contract. Additionally, it compares trade execution prices against a price curve and given a potential trade is above a threshold, and has a valid signature, the `isValidSignature() method of ERC 1271 will return a truthy value to authorize the trade.
Hackathon
ETHBogotá
2024
Prizes
- 🏆
1271
1️⃣2️⃣7️⃣1️⃣ CoW Swap — 🥇 Most Creative Demo of ERC
Contributors
- anthonymartin
39 contributions
- ottodevs
16 contributions
- tbosman
11 contributions
- Andrew-Forman
10 contributions