Giter Site home page Giter Site logo

bounties's People

Contributors

dhruvinparikh avatar

Watchers

 avatar

bounties's Issues

Bounty OptyFi Suhiswap Pools Dataset

Bounty OptyFi Sushiswap Pools Dataset

Instructions

Create a subgraph for SushiSwap pools (aka pairs)
For each pool (aka pair), produce a table where each row represents a swap, mint or burn event
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

For inspiration see https://thegraph.com/explorer/subgraph?id=0x4bb4c1b0745ef7b4642feeccd0740dec417ca0a0-0&view=Overview
The subgraph should be queriable for:

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

Test Cases
For 4 pairs (USDC-WETH, WETH-BWTC, USDT-WETH, DAI-USDC) please provide test cases (links to etherscan contract values or events) that confirm above table results. For each pair, test cases should:

cover 4 rows of each event type rows in above table
5 consecutive rows

Uniswap V2 Pools Dataset

Bounty OptyFi Uniswap V2 Pools Dataset

Instructions

  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
  1. For inspiration see https://thegraph.com/legacy-explorer/subgraph/uniswap
  2. The subgraph should be queriable for:
  • timestamp range
  • blockrange
  • single pair or list of pairs (pool addresses)
  • list of event types

Test Cases
For 4 pairs (USDC-WETH, WETH-BWTC, USDT-WETH, DAI-USDC) please provide test cases (links to etherscan contract values or events) that confirm above table results. For each pair, test cases should:

  • cover 4 rows of each event type rows in above table
  • 5 consecutive rows

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.