sora-xor / rfps

SORA network development public Request for Proposal development process
Apache License 2.0
11 stars 24 forks source link

[RFP]: Enable the Migration of Polkaswap Strategic Rewards Between SORA Accounts #88

Open torumoto opened 8 months ago

torumoto commented 8 months ago

Proposal Due Date

Soon. Early next month seems good.

Proposal Overview

This is a simple feature from the user's perspective that is currently missing and might cause serious complications to some.

Also it could be a fun and useful feature for other use cases, such as gifting unvested rewards, or using them as payment.

Proposal Goals

Problem: Strategic Rewards in Polkaswap become claimable over a very long vesting period. It's quite common to abandon accounts in crypto, if there are security concerns, and move all assets from one account to another, currently this is impossible for Strategic Rewards and it could be a serious problem for some users.

Additionally it could be a cool feature for people to "gift" Strategic Rewards between accounts, but this would make most sense if the amount of rewards to be migrated "as a gift" from one account to another could be chosen as a percentage.

Scope of Work

This would be a simple to use feature once implemented on the network level and also available in the Polkaswap UI — in the UI it should just show an option as a button on the upper right corner on the Rewards page to "Migrate Strategic Rewards" that opens a form, where the user can select the destination account, similar to Sending assets on the Account page, where the user can input or select a contact/account in their connected wallet extension etc.

The same feature could also be used to "gift" Strategic Rewards to another user, the UI flow is the same, but it would make sense to add a slider input field for this to choose the percentage of Strategic Rewards to be migrated, although if this complicates building the feature unnecessarily it may be omitted, default option should be to migrate all Strategic Rewards from one account to another as a whole.

Let's build it.

Current Roadblocks and Barriers to Success

It's pretty straightforward, just needs to be built.

Evaluation Metrics and Criteria

Once there is an option to simply migrate all Strategic Rewards from any of the SORA accounts that a user owns and has control of to another SORA account of their choosing, even if using RPC calls, without any UI in Polkaswap, the basic requirement of this proposal is satisfied. It would be great to of course make this more easy for our users and implement it directly in the Polkaswap UI, and consider any additional functions, such as a slider to choose a percentage of rewards to be migrated.

Submission Requirements

That we can migrate Strategic Rewards safely and efficiently from one account that we control to any other account of our choosing.

Submission Method

Blockchain: Mainnet

Project Due Date

Soon. The sooner, the better. End of Q2 seems good.

Budget Amount

No response