-
Notifications
You must be signed in to change notification settings - Fork 53
Uma Request Subgraph #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new Uma Request Subgraph to track UMA oracle requests and their lifecycle activities across multiple contract versions. It creates a comprehensive monitoring system for questions through NegRiskOperator, multiple UmaCtfAdapter versions (V2-V4), and OptimisticOracleV2 contracts.
- Adds subgraph configuration for tracking UMA oracle question lifecycle events
- Implements TypeScript event handlers for question initialization, flagging, resolution, and other state changes
- Integrates with existing templatify system and adds deployment scripts
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| subgraph.template.yaml | Core subgraph configuration defining data sources and event handlers for 5 UMA contracts |
| src/*.ts | Event handler mappings for contract interactions, creating Request and RequestActivity entities |
| schema.graphql | GraphQL schema defining Request and RequestActivity entity structures |
| abis/*.json | Contract ABIs for UmaCtfAdapter versions, OptimisticOracleV2, and NegRiskOperator |
| package.json | Build and deployment scripts for the new subgraph |
| networks.yaml | Network configuration updates adding UMA contract addresses |
| templatify.ts | Integration with existing template system |
No description provided.