Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TradeQuoter to use ZeroExApiAdapterV5 [SIM-230] #112

Merged
merged 5 commits into from
Apr 15, 2022

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

@@ -201,7 +201,7 @@ export const tradeQuoteFixtures = {
from: '0xd7dc13984d4fe87f389e50067fb3eedb3f704ea0',
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.

None yet

2 participants