Giter Site home page Giter Site logo

subgraph's Introduction

Gamma Strategies Subgraph

This subgraph aims to provides data for all products of Gamma Strategies. This includes:

  1. Phase 1 Liquidity Mining Program
  2. Gamma Strategies Hypervisors managing liquidity on Uniswap V3 type DEXes

Gamma Strategies Hypervisors

These hypervisors are used to actively manage LP positions on Uniswap V3. Entities that relate these hypervisors are named beginning with UniswapV3. E.g. UniswapV3Hypervisor.

Hosted Service

The subgraph is currently hosted on The Graph Hosted Service.

DEX Chain Deployment API Playground
Uniswap Ethereum gammastrategies/gamma API
Uniswap Polygon gammastrategies/polygon API
Uniswap Arbitrum gammastrategies/arbitrum API
Uniswap Optimism gammastrategies/optimism API
Uniswap BSC gammastrategies/uniswap-bsc API
Uniswap Celo gammastrategies/celo API
Quickswap Polygon gammastrategies/algebra-polygon API
Zyberswap Arbitrum gammastrategies/zyberswap-arbitrum API
Thena BSC gammastrategies/thena API

Build and Deploy

To deploy full subgraph to the hosted service at visorfinance/visor:

  1. Generate the full subgraph.yaml file with yarn prepare:{DEX}:{chain}. E.g. for uniswap on polygon this will be: yarn prepare:uniswap:mainnet.
  2. Run yarn codegen to prepare the TypeScript sources for the GraphQL and ABIs.
  3. Deploy via yarn deploy:{DEX}:{chain} --access-token <ACCESS_TOKEN>

The access token can alternatively be added via graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>

subgraph's People

Contributors

l0c4t0r avatar

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.