Skip to content

Conversation

@mshrieve
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 16, 2025 14:18

This comment was marked as outdated.

@JonathanAmenechi JonathanAmenechi requested a review from Copilot July 16, 2025 15:35
Copy link

Copilot AI left a 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
Comments suppressed due to low confidence (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants