A subgraph indexing rewards from Balancer yield farming and claimed rewards from Uniswap pools
Tracked UNI pools:
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).
Tracked pool:
The subgraph computes the rewards by indexing the Transfer event on the BAL token and the rewards claimed on the new MerkleReddem contract.
- Install the dependencies:
npm install
- Generate the types:
npm run codegen
- Authenticate yourself:
graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>
- Deploy:
npm run deploy