1) Overview
Quantir is a DeFi risk monitoring and explainability platform. It collects on-chain and market signals, computes normalized risk indicators, detects abnormal behavior, and delivers machine-readable alerts together with human-readable explanations via API and WebSocket.
For Balancer, we will build a Balancer-aware monitoring module focused on pool imbalance, liquidity stress, abnormal joins/exits/swaps, and structural anomalies across pool types (initially on the highest-value pools across selected networks).
2) Problem
Balancer’s flexibility (multiple pool designs and evolving architectures) makes operational monitoring hard. Risk usually accumulates through combined signals (liquidity shifts, abnormal flow, concentration changes, parameter updates) and becomes obvious only after execution quality degrades or secondary effects appear elsewhere.
Most existing monitoring is fragmented: raw events and dashboards are available, but there is limited normalized, explainable, integration-ready risk output for pool-level early warning.
3) Proposed Solution
We will extend Quantir with Balancer-specific ingestion, feature engineering, scoring, and alert delivery:
-
Balancer protocol adapter: event ingestion + decoding for pool activity and key contract flows
-
Pool-level feature layer: imbalance, liquidity-depth change intensity, flow asymmetry, concentration shifts, repeated address patterns, abnormal activity clusters
-
Risk scoring: normalized pool risk score + severity bands + risk deltas
-
Explainability: short operator-grade narratives with evidence (tx hashes, addresses, amounts, pool id)
-
Delivery: stable API + WebSocket stream with documented JSON schemas and a reference consumer
4) Milestones & Timeline (10 weeks)
-
M1 (Weeks 1–2): Scope + contract mapping + Balancer decoding + pool/entity mapping + historical backfill (60–90 days) — $10,000
-
M2 (Weeks 3–6): Feature engineering + scoring calibration + explanation templates + initial alert categories — $12,000
-
M3 (Weeks 7–8): API/WebSocket delivery + schema docs + reference integration example — $8,000
-
M4 (Weeks 9–10): Validation (case studies), QA/regression tests, release notes — $5,000
5) Success Metrics
-
Balancer monitoring live for an initial set of pools across 2–3 networks
-
5 alert categories shipping with explanations and evidence payloads
-
API/WebSocket uptime and stable schema versioning for integrators
-
3 validation case studies showing how signals would have triggered on historical periods
6) Team
Quantir core team: protocol integration, risk/signal engineering, and backend delivery (API/WebSocket + alert pipeline). The stack is already running; this grant funds Balancer-specific expansion, calibration, validation, and documentation.