subscan-explorer / subscan-issue-tracker

The issue tracker for Subscan.io.
3 stars 5 forks source link

Show pool member's balance #45

Closed kianenigma closed 1 year ago

kianenigma commented 1 year ago

Network(s)

Polkadot, Kusama

Description

It is known that as a pool member, your balance will be transferred to an account that is controlled by the runtime, and is associated by the pool. Therefore, many wallets no longer show the amount bonded in the pool anywhere in the pool member's account page.

It would be a huge UX gain if the amount bonded in pools is also showed in the account page.

Screenshot 2023-02-19 at 12 46 03

For example, above, I would be able to see an amount of DOTs locked in Pools as well.

Use cases

Be able to clearly see and follow all the assets you have.

Additional factoids or references

Note that I hope such issues will be solved by a unified account interface, such as:

and such

yakio commented 1 year ago

Hi @kianenigma ,

Thanks for your feedback, it's a great suggestion!

In my understanding, DOT/KSM through nomination pool staking is not the same as normal staking, but more similar to crowdloan, they are all deposited in the system account. Therefore, this part should be handled more like crowdloan, and the amount of this part should be displayed separately. What do you think?

In addition, regarding the nomination pool, it may be possible to optimize the display of rewards. Users can view the history of rewards obtained through the pool in the account details.

We have recorded this requirement and will synchronize the development progress with you.

kianenigma commented 1 year ago

Therefore, this part should be handled more like crowdloan, and the amount of this part should be displayed separately. What do you think?

That's a correct way to think about it.

Please note that each member has a "point" associated with it in each pool. You can use the APIs introduced in https://github.com/paritytech/substrate/pull/13119 to convert these points into the actual "balance" that a user has in a certain pool.

yakio commented 1 year ago

Hi @kianenigma, thank you for your support, this feature has been applied to the westend network, and will be updated after the polkadot and kusama network runtime upgrades.