Skip to content

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

Notifications You must be signed in to change notification settings

crypkit/dex-rewards-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dex-rewards-subgraph

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

Balancer

The subgraph computes the rewards by indexing the Transfer event on the Bal token contract.

  • Transfer(address indexed _from, address indexed _to, uint256 _value)

Uniswap

Tracked UNI pools:

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