Skip to content

crypkit/yfi-staking-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yfi Staking Subgraph

A subgraph indexing the following events on YearnGovernance contract:

  • Staked(address indexed user, uint amount)
  • Withdrawn(address indexed user, uint amount)
  • RewardPaid(address indexed user, uint reward)

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published