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

[API-2792] Add hallswap adapter #102

Merged

Conversation

Yonggiee
Copy link
Contributor

@Yonggiee Yonggiee commented Apr 25, 2024

Adds hallswap adapter contract. Adaptor contract will be used as the interface for skip to call our hallswap contract to

  • execute multi-hop swaps with trade splitting
  • query simulation

@Yonggiee Yonggiee changed the title feat: add hallswap adapter Add hallswap adapter Apr 25, 2024
@thal0x thal0x changed the base branch from main to jw/smart-swap-exact-in May 8, 2024 13:20
@thal0x thal0x changed the title Add hallswap adapter [API-2792] Add hallswap adapter May 8, 2024
@thal0x thal0x deleted the branch skip-mev:jw/smart-swap-exact-in May 8, 2024 18:04
@thal0x thal0x closed this May 8, 2024
@thal0x thal0x reopened this May 8, 2024
@thal0x thal0x merged commit 1d9b305 into skip-mev:jw/smart-swap-exact-in May 8, 2024
8 checks passed
thal0x added a commit that referenced this pull request May 8, 2024
thal0x added a commit that referenced this pull request May 8, 2024
* add SmartSwapExactAssetIn swap type

* Revert "Add split route support in all adapters (#103)"

This reverts commit 1fa4f21.

* Revert "Support multiple routes in astroport adapter (#99)"

This reverts commit a95f17d.

* Revert "Support split routes in entry point contract (#101)"

This reverts commit 94c3bbf.

* Revert "Update contract types to support route splitting (#98)"

This reverts commit ec1fd57.

* Revert "add interface field to SwapOperation (#96)"

This reverts commit eb37618.

* remove deployed test contracts

* fix fmt issue

* update schema

* since user_swap is mutatable, we can mutate in place

* swap excess funds

* update schema

* lint change

* fix test

* add optional interface field to SwapOperation (#108)

* return error for largest_route_index

* [API-2792] Add hallswap adapter (#102)

* feat: add hallswap adapter

* chore: add readme

* pr fixes

* add optional interface field to SwapOperation

* update hallswap adapter to implement updated interface

* remove get_hallswap_routes_from_skip_routes

---------

Co-authored-by: thal0x <[email protected]>

---------

Co-authored-by: Jeremy Liu <[email protected]>
Co-authored-by: Yonggiee <[email protected]>
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