Exciting news – @CurveFinance is using CoW Protocol for its new fee collection mechanism!
Curve has various sources of revenue, one via LP tokens. To distribute these fees, Curve first needs to convert them into a unified token. That's where programmatic orders come in.
A 🧵
Curve's system works in 4 parts:
💰 Fee collector - Entrypoint Smart Contract (SC) for fee burning system
🐮 CoW Swap burner - SC which burns collected fees into a unified token
🪝 Hooker - SC that allows users to execute Hooks
🪝 Fee distributor - SC that distributes fee tokens
All the 7 orders were created automatically by the fee collector, and placed inside the CoW Protocol order book.
As you can see, the settlement is complex due to the involvement of various contracts and the exotic nature of the Curve LP tokens.
On average, these 7 orders, got 75% more CRVUSD tokens than they asked for (😳) thanks to CoW Protocol. They would not have been able to achieve results like this with hard-coded execution paths.
To find more orders like this, see Etherscan: etherscan.io/address/0xC0fC3dDfec95ca45A0D2393F518D3EA1ccF44f8b#tokentxns
Thanks to CoW Protocol, Curve can submit orders without knowing the price in advance, ensuring fair market prices. This ability to program orders without hardcoded paths has reduced maintenance and achieved better prices for Curve.