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

Allow fee payment with insufficient asset #844

Open
jak-pan opened this issue Jun 21, 2024 · 0 comments · Fixed by #842 · May be fixed by #852
Open

Allow fee payment with insufficient asset #844

jak-pan opened this issue Jun 21, 2024 · 0 comments · Fixed by #842 · May be fixed by #852
Assignees

Comments

@jak-pan
Copy link
Contributor

jak-pan commented Jun 21, 2024

Insufficient asset will be only possible to use for payment when they have XYK pool with DOT or HDX.

Add special function for XYK to buy fee -> Same XYK buy math but the destination is treasury. ( saving 1 transfer and allowing to skip the triggers cc @enthusiastmartin )

When user selects such asset for fee payment, we need to have pool with DOT or HDX, buy the fee in the pool and directly transfer to treasury instead of sending insufficient asset.

(Can we do this with XCM?)

@dmoka dmoka self-assigned this Jun 24, 2024
@dmoka dmoka linked a pull request Jun 27, 2024 that will close this issue
1 task
@dmoka dmoka linked a pull request Jun 27, 2024 that will close this issue
12 tasks
@dmoka dmoka linked a pull request Jul 24, 2024 that will close this issue
12 tasks
@dmoka dmoka reopened this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants