A subgraph indexing the following events on UserStakingPool contract:
- LRCStaked(address indexed user, uint amount)
- LRCWithdrawn(address indexed user, uint amount)
- LRCRewarded(address indexed user, uint amount)
- 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