cowprotocol / cow-amm

An automated market maker running on top of CoW Protocol
17 stars 5 forks source link

Deterministic AMM deployment #56

Closed fedgiac closed 7 months ago

fedgiac commented 7 months ago

Part of making CoW AMM standalone (https://github.com/cowprotocol/cow-amm/pull/44).

AMMs deployed by the factory are now deployed at deterministic addresses. This address can be retrieved using a dedicated view-only helper method on the contract.

This has the following advantages (all mentioned in this comment, which I'm copying):

A negative point:

How to test

New unit tests. Existing e2e test.