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 SwapAdapterV2 interface #154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add SwapAdapterV2 interface #154

wants to merge 1 commit into from

Conversation

kayibal
Copy link
Contributor

@kayibal kayibal commented Feb 10, 2025

Some protocol have more complex pool ids that exceed 32 bytes this enables support for these.

Additionally, it allows passing additional data if required. This allows more sophisticated features such as fee reduction or potentially off-chain data that is required during swap simulation.

@kayibal kayibal changed the title Add new SwapAdapter interface. Add SwapAdapterV2 interface Feb 10, 2025
This new interface allos the pool id to exceed 32 bytes. Some protocol have more complex pool ids that exceed 32 bytes this adds support for these.

 Additionally, it allows passing additional data if required. This allows more sophisticated features such as fee reduction or potentially offchain data that is required during swap simulation.
@die-herdplatte die-herdplatte mentioned this pull request Mar 6, 2025
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.

3 participants