-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Provide protocol‑level analytics for dashboards: total commitments, TVL, active vs settled, average compliance, etc.
Implementation Requirements
- Path:
src/app/api/analytics/protocol/route.ts. - Query on‑chain data (and/or caches) to compute:
totalCommitments,activeCommitments,violatedCommitments,settledCommitments.totalValueCommitted,averageDurationDays,averageComplianceScore.
- Return all in a single JSON payload.
Acceptance Criteria
- Endpoint returns protocol analytics (even if partially mocked with clear TODOs).
- Uses shared response format.
- Efficient enough for periodic polling.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program