cowprotocol / cow-amm

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

Improve solver documentation and events #62

Closed fedgiac closed 6 months ago

fedgiac commented 6 months ago

This PR updates the documentation for solvers to index and use CoW AMM. For practicality the emitted events have been changed so that a solver can get all information it needs by subscribing to the events of the factory, without having to query the AMM. The changes are:

How to test

Updated unit tests.