Livepeer-Community-Node / Grant-Program

Livepeer Community Transcoder Node's Grant Program
10 stars 5 forks source link

Livepeer Staking Assistant #20

Closed cristianmalfesi closed 5 years ago

cristianmalfesi commented 5 years ago

Give a 3 sentence description about this proposal

This proposal describes a new tool to be added to the existing "Livepeer.tools" site: Staking Assistant. The Assistant's goal is to help LPT token holders to make an informed decision at the time of delegating their tokens by providing them with highly valued information and hiding the low level protocol complexities.

Describe the problem you are solving

LPT token holders pain points:

Describe the solution you are proposing

Mockups

New information to be added to Livepeer.tool

Ranking calculation

It consists of two components:

Describe the scope of the project including a rough timeline and milestones

Milestones Tasks Deliverables
N° 1 - Integrate backend with GRAPHQL and connect it to the Livepeer Subgraph.
- Design new UI elements.
- Finalize functions to generate the new calculated values and statistical information.
- Newly designed Livepeer.Tools page with bonded a delegate box and a list of top delegates by ROI.
- Subgraph schema.
- Final UI designs
N° 2 - Calculate: ROI and ranking, delegates rounds, rewards, trends and rewards average.
- Update UI with the calculated data.
- Bonded delegate box with new information: ROI, Ranking, Rewards (historical and last round) and Trend
N° 3 - Process delegate list and get the top 20 delegates by ROI.
- Calculate delegates ROI and ranking.
- Calculate delegates missed reward calls.
- Calculate delegates rounds.
- Calculate rewards, trends and average.
Calculate lost LPT due to missed reward calls.
Add the Estimation Return information
- New table with the best 20 delegates including these fields: ROI, Ranking, Rewards, Trend, Estimation return and Efficiency

All the milestones will be delivered as working features in https://Livepeer.Tools.

Please estimate hours spent on project based on the above

We estimate a total of 120hs distributed in 3 weeks of work.

@RaffiSapire

RaffiSapire commented 5 years ago

Hi there, we are declining to provide Protofire with another grant. We are building this functionality into upcoming products launching this fall, and so these needs will be filled.

cristianmalfesi commented 5 years ago

Hi @RaffiSapire. Thank you very much for taking the time to evaluate the proposal. I am very happy you guys are building these features. As part of the LP ecosystem and as token holders (we've staked all the LPT received through the first grant) we consider this functionality to be of critical value. When we introduce the protocol to the people it takes time to explain and do the math to evaluate which delegate to bond to.

Within the proposal's scope, we included an 'indirect' deliverable which is improving the LP subgraph hosted in TheGraph.com by adding missing data and reported issues. We have contributed reporting 2 problems, for example #426. Let me know if this is something that we can help you with to build this functionality. We have experience with The Graph. We built a quite complex subgraph: MakerDAO (https://thegraph.com/explorer/subgraph/protofire/makerdao) and are contributing to others coming soon.

Thx.