harmony-one / bounties

Bounty program is to help the community take part in the development of the Harmony blockchain. It covers from core feature to validator tooling, from dApp development to DeFi integration.
MIT License
59 stars 23 forks source link

VINCI - Liquidity Providers with the respective stake on all DEX on Harmony #86

Open BrunoMarshall opened 3 years ago

BrunoMarshall commented 3 years ago

Description: Get all Liquidity Providers with the respective stake from DEX:

Context To proceed with the VINCI tokennomics distribution accordingly, is necessary to distribute 411058 VNL (locked VINCI) to the liquidity providers. for that is needed all LP (weekly) information past & present.

Acceptance Criteria -Track all information with subgraphs, and the daVinci team will get the external consumption as JSON.

Reward $1000 in ONE + $1000 in VNL (VINCI Locked) Total $2000 Value

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 3310.3839 ONE (1002.83 USD @ $0.3/ONE) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 265 years from now. Please review their action plans below:

1) pmlambert has started work.

Build a subgraph for each DEX and have an API for the data

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 3310.3839 ONE (989.18 USD @ $0.3/ONE) has been submitted by:


boyin0x commented 3 years ago

Hi, can I work on this bounty? I'm seeing there is a solution submitted but the link is broken.

pmlambert commented 3 years ago

@BrunoMarshall @LeoHChen you can view my submission after accepting the invitation.

BrunoMarshall commented 3 years ago

Hi @pmlambert, thank you, I will check the submission

BrunoMarshall commented 3 years ago

@pmlambert we are having error 404 Not Found

pmlambert commented 3 years ago

@BrunoMarshall Sorry, there was an issue on my end. Can you try again?

pmlambert commented 3 years ago

@BrunoMarshall I'd really appreciate the last extra push for this one right now.

BrunoMarshall commented 3 years ago

Thank you @pmlambert, i´m checking

pmlambert commented 3 years ago

It's a very simple model:

Then you can just divide total points by the account's points to get the time-weighed holdings of the account. I didn't implement the calculation part but I can easily do that and just provide you the output JSON if you'd like.

@BrunoMarshall

pmlambert commented 2 years ago

@BrunoMarshall did you get the chance to review this?

pmlambert commented 2 years ago

@LeoHChen this has been done for almost 2 months can you please pay me for the work done I don't mind refining it a bit for you after that...

BrunoMarshall commented 2 years ago

Sorry for the delay @pmlambert, the team was overloaded with work. @kuyawa can you please give me the green light to close this bounty, thank you

kuyawa commented 2 years ago

Where is the code? Where is the JSON output? Please provide links...

pmlambert commented 2 years ago

@kuyawa on gitcoin you can find the link @BrunoMarshall Both of you should know to use @pmlambert so I get notified

kuyawa commented 2 years ago

If I knew where to find the link I wouldn't have to ask, please share it here