Dashboard for the AI Oracle agent to submit match results for creator events. This page is only accessible to the configured AI agent address.
Required Features
-
Pending Matches View:
- List all matches that have started but don't have results
- Filter by event
- Sort by match time
- For each match:
- Event title
- Match details (Team A vs Team B)
- Match time
- Number of predictions
- "Submit Result" button
-
Submit Result Form:
- Match details display
- Outcome selector: Team A Won, Team B Won, Draw
- Confidence score input (optional, for logging)
- Data source input (optional, for audit trail)
- "Submit Result" button
- Transaction signing
-
Recent Submissions:
- List of recently submitted results
- Match details
- Submitted outcome
- Submission timestamp
- Transaction hash link
-
Batch Result Submission:
- Select multiple matches
- CSV upload option (Match ID, Outcome)
- Preview before submission
- "Submit All Results" button
-
Statistics:
- Total results submitted
- Results submitted today
- Pending matches count
- Average submission time (after match end)
-
Authorization:
- Only AI agent address can access
- Redirect non-agents to dashboard
Files to create:
frontend/src/app/(oracle)/creator-events/page.tsx
frontend/src/component/oracle/PendingMatchesList.tsx
frontend/src/component/oracle/SubmitResultForm.tsx
frontend/src/component/oracle/BatchResultSubmission.tsx
Dashboard for the AI Oracle agent to submit match results for creator events. This page is only accessible to the configured AI agent address.
Required Features
Pending Matches View:
Submit Result Form:
Recent Submissions:
Batch Result Submission:
Statistics:
Authorization:
Files to create:
frontend/src/app/(oracle)/creator-events/page.tsxfrontend/src/component/oracle/PendingMatchesList.tsxfrontend/src/component/oracle/SubmitResultForm.tsxfrontend/src/component/oracle/BatchResultSubmission.tsx