Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

feat: Add support for UniswapV2 and MultiBridge #250

Merged
merged 6 commits into from
Jun 12, 2020
Merged

Conversation

xianny
Copy link
Contributor

@xianny xianny commented Jun 11, 2020

Description

Add support for UniswapV2

Using UniswapV2Router01 contract through asset-swapper.

Add Uniswap_V2 and Uniswap_V2_ETH as new sources in excludedSources parameter. No other changes.

Testing Instructions

Unit tests should all still work.

Checklist

@xianny xianny force-pushed the feat/uniswapv2 branch 4 times, most recently from 2f1be8a to 0e60279 Compare June 11, 2020 19:33
@xianny xianny requested a review from dekz June 11, 2020 19:41
@xianny
Copy link
Contributor Author

xianny commented Jun 11, 2020

deploy staging

@xianny
Copy link
Contributor Author

xianny commented Jun 11, 2020

deploy staging

@xianny
Copy link
Contributor Author

xianny commented Jun 11, 2020

deploy staging

* add MultiBridge support

* bump asset-swapper version

Co-authored-by: xianny <xianny@gmail.com>
@dekz
Copy link
Member

dekz commented Jun 12, 2020

['ETH', 'DAI', 'USDC', 'LINK', 'MKR']

We can observe a great impact (+23%) on realized price. 5% of swaps are >5bps better, 1% of swaps are > 10bps better.

image

A slight increase in revert rate (0s), though the 60-90s revert rate is improved (where we expect most fills to land).
image

An increase in response time, though take it with a grain of salt as prod has more capacity to handle the load. Something to be cautious of though, perhaps we can retire some older Curves to make space.
image

@dekz dekz changed the title feat: Add support for Uniswap V2 feat: Add support for UniswapV2 and MultiBridge Jun 12, 2020
@dekz
Copy link
Member

dekz commented Jun 12, 2020

deploy staging

@dekz
Copy link
Member

dekz commented Jun 12, 2020

deploy production

@dekz dekz merged commit 29636e7 into master Jun 12, 2020
@dekz dekz deleted the feat/uniswapv2 branch June 12, 2020 06:08
github-actions bot pushed a commit that referenced this pull request Jun 15, 2020
# [1.8.0](v1.7.0...v1.8.0) (2020-06-15)

### Bug Fixes

* uniswap v2 buys ([#253](#253)) ([225db22](225db22))

### Features

* Add support for UniswapV2 and MultiBridge ([#250](#250)) ([29636e7](29636e7)), closes [#252](#252)
* add transaction price information to meta-txn endpoints for UI ([#248](#248)) ([d26d6c6](d26d6c6))
@github-actions
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants