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 optional interface field to SwapOperation #108

Merged
merged 1 commit into from
May 8, 2024

Conversation

thal0x
Copy link
Member

@thal0x thal0x commented May 7, 2024

No description provided.

@thal0x thal0x self-assigned this May 7, 2024
@wllmshao
Copy link
Member

wllmshao commented May 7, 2024

What is this used for? Does this need to be returned when the API returns a swap operation or is it something internal the API generates on its own?

@thal0x
Copy link
Member Author

thal0x commented May 7, 2024

What is this used for? Does this need to be returned when the API returns a swap operation or is it something internal the API generates on its own?

This is a field returned by Coinhalls API

@thal0x thal0x merged commit 76db11b into jw/smart-swap-exact-in May 8, 2024
5 checks passed
@thal0x thal0x deleted the jw/op-interface branch May 8, 2024 13:19
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

---------

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