Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

A subgraph indexing rewards from Balancer yield farming and claimed rewards from Uniswap pools

Notifications You must be signed in to change notification settings

croco-finance/dex-rewards-subgraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dex-rewards-subgraph

A subgraph indexing rewards from Balancer yield farming and claimed rewards from Uniswap pools

Uniswap

Tracked UNI pools:

Sushiswap

Tracking all the pools from the MasterChef contract including the original Uniswap pools (in such a case the exchange and stakingService attributes will be set to UNI_V2 and SUSHI).

Indexcoop

Tracked pool:

Balancer

The subgraph computes the rewards by indexing the Transfer event on the BAL token and the rewards claimed on the new MerkleReddem contract.

Compilation and deployment

  1. Install the dependencies:
    npm install
  2. Generate the types:
    npm run codegen
  3. Authenticate yourself:
    graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>
  4. Deploy:
    npm run deploy

About

A subgraph indexing rewards from Balancer yield farming and claimed rewards from Uniswap pools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%