The current GPv2 contracts have served CoW Protocol exceptionally well to date. As the journey has continued, with the batch auction mechanism maturing, there is some maintenance and feature improvements that have come to the fore.
Justification
The contracts as they stand form an excellent base from which to evolve, and is favoured over a clean-slate rewrite. By generalising intents, we are able to support future use cases where the mechanism may be adapted to other market / use cases. Additionally, by refining the contracts, we can eliminate tech debt / extraneous handling for some edge cases in the mechanism.
RAID (Risks, Assumptions, Issues and Dependencies)
Milestone: (https://github.com/cowprotocol/pm/milestone/4) Priority Tracks: Growth
Summary
The current
GPv2
contracts have served CoW Protocol exceptionally well to date. As the journey has continued, with the batch auction mechanism maturing, there is some maintenance and feature improvements that have come to the fore.Justification
The contracts as they stand form an excellent base from which to evolve, and is favoured over a clean-slate rewrite. By generalising intents, we are able to support future use cases where the mechanism may be adapted to other market / use cases. Additionally, by refining the contracts, we can eliminate tech debt / extraneous handling for some edge cases in the mechanism.
RAID (Risks, Assumptions, Issues and Dependencies)
Dependencies:
Risks: