This subgraph aims to provides data for all products of Gamma Strategies. This includes:
- Phase 1 Liquidity Mining Program
- Gamma Strategies Hypervisors managing liquidity on Uniswap V3 type DEXes
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.
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 |
To deploy full subgraph to the hosted service at visorfinance/visor:
- Generate the full subgraph.yaml file with
yarn prepare:{DEX}:{chain}
. E.g. for uniswap on polygon this will be:yarn prepare:uniswap:mainnet
. - Run
yarn codegen
to prepare the TypeScript sources for the GraphQL and ABIs. - 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>