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

Add swapr liquidity v3 support on eco router #327

Merged
merged 26 commits into from
Jan 4, 2024

Conversation

Diogomartf
Copy link
Contributor

@Diogomartf Diogomartf commented Dec 21, 2023

This PR adds Swapr V3 liquidity support in eco-router on the SDK

Which brings concentrated liquidity to gnosis. 🥳
This is the first step.

Caveat
There is no support for multihop routes yet, only direct routes work.

Will update in a new PR and reference it in the future.

Link to Swapr UI PR
SwaprHQ/swapr-dapp#1892

@Diogomartf Diogomartf force-pushed the liq-2-add-swapr-v3-to-eco-router-on-swapr-sdk branch from 672ac9e to 9805ab5 Compare December 21, 2023 18:57
Copy link
Collaborator

@berteotti berteotti left a comment

Choose a reason for hiding this comment

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

Looking good, left a few comments.

src/entities/trades/swapr-v3/contracts.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/SwaprV3.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/constants.ts Outdated Show resolved Hide resolved
src/entities/trades/swapr-v3/entities/pool.ts Outdated Show resolved Hide resolved
@Diogomartf Diogomartf force-pushed the liq-2-add-swapr-v3-to-eco-router-on-swapr-sdk branch from bc15288 to 69db230 Compare January 2, 2024 16:24
@Diogomartf Diogomartf force-pushed the liq-2-add-swapr-v3-to-eco-router-on-swapr-sdk branch from 714ba03 to 98b0dcf Compare January 4, 2024 12:40
Copy link
Collaborator

@berteotti berteotti left a comment

Choose a reason for hiding this comment

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

Good job Diogo!

@Diogomartf Diogomartf merged commit b3281cf into develop Jan 4, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants