A subgraph indexing rewards from Balancer yield farming and claimed rewards from Uniswap pools
The subgraph computes the rewards by indexing the Transfer event on the Bal token contract.
- Transfer(address indexed _from, address indexed _to, uint256 _value)
Tracked UNI pools:
- 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