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

💰 Build subgraph for your favorite lending/CDP platform! ($40k) 💰 #3

Open
this-username-is-taken opened this issue Apr 2, 2022 · 10 comments

Comments

@this-username-is-taken
Copy link
Contributor

this-username-is-taken commented Apr 2, 2022

Goals

Messari is looking for experienced subgraph developers to help build out a set of subgraphs. The subgraphs will be built out for the following protocols:

  • MakerDAO
  • Abracadabra
  • Liquity
  • Inverse Finance

You are free to pick any (or all) of the four above protocols to work on. We will award 10000 USDC to a subgraph implemented for each of the above protocol.

The subgraphs need to be built according to the following schema:
https://github.com/messari/subgraphs/blob/master/schema-lending.graphql

The resulting subgraph will be open source and hosted publicly either on The Graph's Hosted Service or Decentralized Network. Anyone will be able to query and use these subgraph data.

Feel free to contact @v_for_vincent on Telegram or Twitter for any questions.

Details

The schema is well documented and has comments explaining each entity/field. Below are some examples of the data you will need to map/compute for the subgraphs:

  • Events/Transactions
  • Market-level information
  • Revenue/Fees
  • Usage information
  • Reward emissions (liquidity incentive)

Make sure you have a clear picture of the following before you start:

  • How to calculate fees/revenue/TVL etc for the protocol you want to work on.
  • How to calculate the reward emissions (liquidity incentive)
  • How to compute the USD prices within the subgraphs
  • For protocols that are deployed multichain, you will need to make sure your subgraph works on all chains

Before you start, please put together a smart contract interaction chart similar to the one below to show us your understanding of the protocol. You only need to include smart contracts that are relevant to the implementation of the subgraph. Please also label the events/calls that you will need from each contract. You are free to use any software you wish.

Please send the interaction chart to [email protected] before starting. We will not approve the work request unless you submit a chart.

Uniswap v2

Submission Requirements

  • Submission needs to strictly follow above schema
  • Code needs to be easy to understand and well-documented
  • All calculations (e.g. Revenue, TVL) need to be accurate (verified against other sources)
  • Completed subgraph needs to index fully and sync to head

After you start, please give us a weekly update on your progress so we can keep track.

Work Plan

  • Please tell us which subgraphs you are planning to build. If you decide to work on multiple, let us know the order in which you plan to do.
  • If you've built subgraphs previously, please include a link to either the deployed subgraph or the Github repo.
  • Please let us know your estimated timeline.

Bounty

  • 10000 USDC will be awarded to the winner of each subgraph upon completion
  • You can work on multiple subgraphs and win multiple rewards

Please contact @v_for_vincent on Telegram or Twitter for more information.

@gitcoinbot
Copy link

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


This issue now has a funding of 40000.0 USDC (40000.0 USD @ $1.0/USDC) attached to it as part of the messari fund.

@gitcoinbot
Copy link

gitcoinbot commented Apr 3, 2022

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


Work has been started.

These users each claimed they can complete the work by 2 months ago.
Please review their action plans below:

1) oschleic has applied to start work (Funders only: approve worker | reject worker).

Going to start work on an inverse finance diagram, I will email you once it is completed.
2) ajand has applied to start work (Funders only: approve worker | reject worker).

Going to make the MakerDAO Graph
3) riandwiyandi has applied to start work (Funders only: approve worker | reject worker).

This project looks very interesting. I am interested, and I will support this project until it is successful according to the plan that has been set
4) tnkrxyz has been approved to start work.

Week 1. Init the project/set up repo; start smart contract decoding; testing deployment to thegraph hosted service;

Week 2. Complete first draft subgraph; verify information for accuracy; send deliverables for review/feedback

Week 3. Address any feedback and remaining issues

Weekly report on project progress will be submitted.
5) en0c-026 has applied to start work (Funders only: approve worker | reject worker).

I will build the subgraph for Inverse Finance, following in detail the requirements requested in the issue. Following the given scheme, all with its complete documentation.
6) molecula451 has applied to start work (Funders only: approve worker | reject worker).

Building subgraph for a particular project
7) nemani has been approved to start work.

Hey! We are a team of 2 people who have worked with subgraphs before.
(https://github.com/perpetual-protocol/perp-position-subgraph)
(https://github.com/nemani/perp.ml)

We are going to be building the subgraph for Inverse Finance (Anchor Protocol)
The interaction chart will be emailed to the team today.

Thanks!
8) 86419550 has applied to start work (Funders only: approve worker | reject worker).

I am interested in Inverse Finance, need 3 weeks to finish it, will send you the diagram soon
9) shr1ftyy has applied to start work (Funders only: approve worker | reject worker).

Will create MakerDao subgraph (sent an email with interaction chart)
10) meetmangukiya has applied to start work (Funders only: approve worker | reject worker).

I will work on a subgraph for inverse finance. I am familiar and have developed subgraphs for thegraph.com and also have deep understanding of ethereum, evm, logs and events.
11) kalrashivam has applied to start work (Funders only: approve worker | reject worker).

I'd like to work on the subgraph for liquidity,
Steps:-

  1. Map up the variables and events from the protocol docs to the required schema
  2. Develop Develop the required functions in the mappings
  3. Verify calculations and matrices
  4. deploy the subgraph to check for possible bugs
    One of the subgraphs I created earlier on:-
    https://thegraph.com/hosted-service/subgraph/kalrashivam/unrealfinance
    It's hosted on Kovan-testnet.

Estimated timeline :- 10 days
12) ayushkumar63123 has applied to start work (Funders only: approve worker | reject worker).

I have already built a subgraph for maple finance. I can build more subgraph according to the needs of this bounty with ease.
13) hhio618 has applied to start work (Funders only: approve worker | reject worker).

Already read the liquity protocol, Interaction chart sent.
14) mitesh-mutha has applied to start work (Funders only: approve worker | reject worker).

Is this still up for grabs? I am not sure if it. Please let me know. I would like to take up this project. I want to build the subgraph for Liquity. I will send the interaction diagram within the next few days (before the submission cutoff date, of course).
15) xaynexanchezz has applied to start work (Funders only: approve worker | reject worker).

Yo I’m about to bash this out give me 6-7 weeks and some show time.

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

gitcoinbot commented Apr 15, 2022

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


Work for 40000.0 USDC (40000.0 USD @ $1.0/USDC) has been submitted by:

  1. @tannishmango
  2. @tnkrxyz

@this-username-is-taken please take a look at the submitted work:


@Shr1ftyy
Copy link

Hello, I've applied for approval on gitcoin, and emailed an interaction chart to [email protected] . When can I expect to receive a reply?

@3scava1i3r
Copy link

does banchor v3 come under this type of bounty?

@gitcoinbot
Copy link

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


The funding of 40000.0 USDC (40000.00 USD @ $1.0/USDC) attached to this issue has been approved & issued to @tannishmango.

1 similar comment
@gitcoinbot
Copy link

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


The funding of 40000.0 USDC (40000.00 USD @ $1.0/USDC) attached to this issue has been approved & issued to @tannishmango.

@gitcoinbot
Copy link

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


The funding of 40000.0 USDC (40000.00 USD @ $1.0/USDC) attached to this issue has been approved & issued to @tannishmango.

@3scava1i3r
Copy link

Is this one open now?

@3scava1i3r
Copy link

@this-username-is-taken the bounty is open on gitcoin.Can you list which subgraphs are not made and if i could work on them?

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

No branches or pull requests

4 participants