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

Create Message for Staking Conversion #5898

Closed
Tracked by #5191 ...
mattverse opened this issue Jul 27, 2023 · 2 comments · Fixed by #5949
Closed
Tracked by #5191 ...

Create Message for Staking Conversion #5898

mattverse opened this issue Jul 27, 2023 · 2 comments · Fixed by #5949
Assignees

Comments

@mattverse
Copy link
Member

Background

Extension of #5630

We want to create a message that will do all the breakings of locks / superfluid convert them all to osmo and stake.

Main Reason for this is that the contracts for this action can be complicated, cause they will need to do some complex authz stuff, and also we can avoid having to write a contract, complex frontend multimsg etc.

Suggested Design

Create a message in either lockup module or superfluid module (might have to look deeper into this before making decision) for breaking locks / superfluid and then converting them all to osmo and stake

Acceptance Criteria

  • Test has been added
  • Feature mentioned above has been completed
@AlpinYukseloglu
Copy link
Contributor

The logic for this should be quite similar to how we handle migrations, except simpler since the staking part should be well abstracted right?

@mattverse
Copy link
Member Author

@AlpinYukseloglu Yes, basically adding up different APIs from here and there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants