cowprotocol / docs

Developer Documentation 🐮📖🤓
https://docs.cow.fi
GNU Lesser General Public License v3.0
4 stars 14 forks source link

chore: Improve CoW AMM docs #409

Open cmagan opened 3 months ago

cmagan commented 3 months ago

Background

People are asking for CoW AMM docs, but the main "CoW AMM docs" are actually not designed to give a good architecture overview of CoW AMM and instead focus on the old Safe structure.

cowmarketing commented 3 months ago

Right now the best place to link is this one: https://docs.cow.fi/cow-protocol/tutorials/cow-amm-deployer,

The new structure is being worked on

mfw78 commented 3 months ago

I'd advocate that CoW AMM docs address that CoW AMM is nothing more than merely an AMM that knows how to interact with the batch auction and solvers are capable of settling against it (it's these properties that then provide for LVR resistance).

There is nothing stopping UniV2 (we already implemented the ConstantProduct), Univ3, etc and all different types of invariants being implemented.

In relation to how to use specific AMM invariants it seems more prudent that this actually be documentation on the specific pool provider / AMM's site.