A work in progress pythonic dex router for assets in a Curve pool. The current implementation is a simple depth-first search.
- re-do
Swap
object so it has all info forSwaps.vy
. - Prefer eth swaps instead of weth.
- write tests for all chains. include as many corner cases.
- 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).
- 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.