Skip to content

GammaStrategies/subgraph

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published