-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Feat / Add Uniswap on chains BSC, Avalanche, and Celo #342
Conversation
@nikspz Can you test executing a Uniswap swap on
I think this swaps issue exists on other networks on |
Development branch CLient + dev branch gateway: (uniswap) Arbitrum:
(uniswap) Polygon:
(uniswap) Optimism
trades: arbitrum polygon optimism |
The issue is that upgrading Uniswap swap order router above 3 breaks swaps on all Uniswap connectors. However, not upgrading it results in the following error when fetching price on BSC:
I think this PR needs more work to figure out how to add support for Uniswap on other chains. Perhaps upgrading from using Swap Router 2 to Universal Router is needed. |
@nikspz I added a hacky fix, so I think Uniswap swaps should now work on BSC, Avalanche, and Celo. |
BSC mainnet avalanche_avalanche trade |
Failed to add uniswapLP for BSC mainnet, avalanche avalanche, connector (works for Celo) Steps:
Works for arbitrum:
|
@nikspz thanks - i fixed the |
7e565d4
Celo: BSC
https://bscscan.com/tx/0xf5fc4964726d7d02338413f8626a31d84350971bbd859a276d97028ef0b55f4e avalanche_avalanche add position: ok Position created
|
amm/liquidity/position failed on curl as well, could be fixed in the next PR
@nikspz I took a quick look at the I suggest that we merge this PR in, and then I'll look at the LP functionality separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge this PR in, to look at the LP functionality separately.
Before submitting this PR, please make sure:
A description of the changes proposed in the pull request:
Tests performed by the developer:
Tips for QA testing: