Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 607 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 607 Bytes

Curve Router

A work in progress pythonic dex router for assets in a Curve pool. The current implementation is a simple depth-first search.

TODO:

  1. re-do Swap object so it has all info for Swaps.vy.
  2. Prefer eth swaps instead of weth.
  3. write tests for all chains. include as many corner cases.
  4. gas estimates for each swap (some sort of probability distribution or some sort of fit with swap amounts and pool states as inputs should do the trick).
  5. api-zation of the router suite: make it so that it can be queried by anyone using an endpoint that accepts pairs, amounts, network name.