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 sell all functions to router and AMMs #883

Closed
jak-pan opened this issue Jul 29, 2024 · 1 comment · Fixed by #888
Closed

Add sell all functions to router and AMMs #883

jak-pan opened this issue Jul 29, 2024 · 1 comment · Fixed by #888
Assignees

Comments

@jak-pan
Copy link
Contributor

jak-pan commented Jul 29, 2024

Similar to https://github.com/open-web3-stack/open-runtime-module-library/blob/23c8363d53fe8580f636a7f820c54b994d1b96f7/tokens/src/lib.rs#L522 this would allow us to create simpler UX and pass through functionality with XCM programs allowing better composability in similar sense that buy_for works for fee payment.

@dmoka dmoka self-assigned this Aug 6, 2024
@dmoka
Copy link
Contributor

dmoka commented Aug 7, 2024

For now we do only a sell_all for router which solves the Max button issue.

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 a pull request may close this issue.

2 participants