paraswap-dex-lib icon indicating copy to clipboard operation
paraswap-dex-lib copied to clipboard

How to know which Adapter and index to use in the config?

Open hung-native opened this issue 1 year ago • 2 comments

For example: https://github.com/paraswap/paraswap-dex-lib/blob/master/src/dex/swaap-v2/config.ts#L14-L23

How are these adapter and index determined?

hung-native avatar Sep 21 '23 15:09 hung-native

Wondering the same thing 🙏

EricForgy avatar Oct 01 '23 20:10 EricForgy

How are these adapter and index determined?

@hung-native @EricForgy Usually we handle this on our side after code review. You could leave this part of config empty. In this case e2e tests fur multi/mega would fail until we put correct values.

aburkut avatar Oct 02 '23 08:10 aburkut