Curved Orders are a new smart order type for CoW protocol which implement pricing curve logic
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.
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.