Skip to content

Create First Basic Iteration of SubGraph for YieldHand Options Market Contract #13

Description

@avoyager

YieldHand is building an options marketplace protocol that has OTC sell orders and allows prospective buyers to search the listed orders/offers and purchase options directly from sellers which they can later exercise based on a filtering system on the UI. You can find the contract here for the options market: https://github.com/YieldHand/OptionsMarket/blob/master/contracts/optionsmarket.sol

You can learn more about the project here: https://www.yieldhand.com

The dApp that interfaces with this contract will use The Graph (consuming data from the web app UI via an API) to query for ACTIVE/non-expired option sell orders based on

  • Token Address (Underlying)

  • Token Address and Minimum Size (Amount)

  • Token Address and Minimum Size (Converted to USD)

  • Token Address and Strike Price Minimum/Maximum/Both

This is just the beginning as we will then need to query for (later bounty) excersize dates, executed orders, etc.

Please include the code in a folder called /graph and a README for how to interact/query the subgraph

Questions or comments? Join the discord here: https://discord.gg/7fApFnA6qW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions