Skip to content

Conversation

cgewecke
Copy link
Contributor

@cgewecke cgewecke commented Apr 13, 2022

Changes to accomodate SetProtocol/set-protocol-v2#241 which restores RFQT support

(set-ui consumes this adapter name and passes it as a parameter to TradeModule calls)

Requires

  • Enable new adapter in production on Ethereum, Polygon, Optimism

@cgewecke cgewecke requested a review from controtie April 15, 2022 18:06
Copy link
Contributor

@controtie controtie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 1 nit

fromTokenAddress: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
toTokenAddress: '0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6',
exchangeAdapterName: 'ZeroExApiAdapterV4',
exchangeAdapterName: 'ZeroExApiAdapterV5',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we import this from tradeQuoter utils?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, smart.

@cgewecke cgewecke merged commit 449479e into master Apr 15, 2022
@cgewecke cgewecke deleted the chris/update-zeroex-adapter-name branch April 15, 2022 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants