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

Sample Bounty template #25

Open
dhruvinparikh opened this issue Oct 4, 2021 · 3 comments
Open

Sample Bounty template #25

dhruvinparikh opened this issue Oct 4, 2021 · 3 comments
Labels

Comments

@dhruvinparikh
Copy link
Collaborator

dhruvinparikh commented Oct 4, 2021

Add UniswapV2 to Opty.fi's megagraph

Prize Bounty

1000 USDC

Description

  1. Create a subgraph for Uniswap V2 pools (aka pairs)
  2. For each pool (aka pair), produce a table where each row represents a swap, mint or burn event
  3. The table should capture the following fields:
{
  timestamp
  blocknumber
  event type {'mint',  'burn', 'swap'}
  reserve0_before
  reserve0_after
  reserve1_before
  reserve1_after
  swap0_in
  swap0_out
  swap1_in
  swap1_out
  swap_fee_token
  swap_fee_pct
  deposit0
  deposit1
  withdraw0
  withdraw1
}

The subgraph shall be queried via:

  • timestamp range
  • blockrange
  • single pair or list of pairs (pool addresses)
  • list of event types

Helpful links

Submission

  • Follow project contribution guide
  • Please utilize opty.fi's defi-legos library as much as you can
@dhruvinparikh dhruvinparikh changed the title Convex subgraph Convex Finance protocol Oct 6, 2021
@dhruvinparikh dhruvinparikh changed the title Convex Finance protocol Sample Bounty template Oct 6, 2021
@quentin40inos
Copy link

Is this bounty still alive?

@uwe
Copy link
Contributor

uwe commented Mar 8, 2022

This ticket is just a sample bounty (not a real one). Our bounty board is at https://app.dework.xyz/o/optyfi-4k5w5gkUM3rSMKUvHOBnZu/p/optyfi-bount-2jdd8E3vlD2jpmXxhEgdXa (at the moment all subgraph bounties are in progress - please check back in a few days)

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

No branches or pull requests

3 participants