DeFi Protocol Monitor
Monitor DeFi protocol health metrics: Total Value Locked (TVL), pool liquidity, APY/APR rates, and detect anomalies before they impact users.
What is a DeFi Protocol Monitor?
A DeFi Protocol Monitor tracks key metrics for decentralized finance protocols. Get alerts when TVL drops, pools become imbalanced, or yields change significantly.
Common Protocols
DeFi Protocol monitor accepts any contract address on a supported EVM chain that exposes TVL, reserves or rate data. Examples of protocols our users commonly track:
- Uniswap v2/v3: Pool health, liquidity, volume
- Aave: TVL, utilization rate, borrow/supply APY
- Compound: Market health, liquidity, rates
- Curve: Pool balance, A parameter, fees
- Balancer: Pool weights, TVL, swap fees
You can also monitor any custom protocol by providing the contract address and the metric to extract — BlackTide does not hard-code a protocol whitelist.
Metrics Monitored
| Metric | Description | Alert Threshold |
|---|---|---|
| TVL | Total Value Locked | 30% drop in 24h |
| Pool Balance | Token ratio in AMM pool | 70/30 imbalance |
| Liquidity | Available liquidity | 50% drop |
| APY/APR | Yield rates | 50% change |
| Utilization | Borrowed / Supplied | >90% |
| Volume | 24h trading volume | 80% drop |
Configuration Example
{
"type": "defi_protocol",
"name": "Uniswap ETH/USDC Pool",
"chain": "ethereum",
"protocol": "uniswap-v3",
"poolAddress": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640",
"alerts": {
"tvlDrop": { "percentage": 30, "window": "24h" },
"liquidityDrop": { "percentage": 50, "window": "1h" },
"volumeDrop": { "percentage": 80, "window": "24h" }
},
"interval": 300000
}Alert Examples
TVL Drop Alert
📉 TVL Drop Detected
Protocol: Aave v3 (Ethereum)
Market: USDC
TVL: $450M (was $650M)
Change: -$200M (-30.8%)
Timeframe: Last 24 hours
Possible causes:
- Large withdrawal detected
- Market volatility
- Protocol migration
[View Protocol] [Check Transactions]Pool Imbalance Alert
⚠️ Pool Imbalance
Pool: Uniswap ETH/USDC
Chain: Ethereum
Current Ratio: 75% ETH / 25% USDC
Target: 50/50
Imbalance: Severe
Impact: Increased slippage, impermanent loss
[View Pool] [Rebalance]Use Cases
1. Protocol Health Monitoring
Monitor: Aave Protocol TVL
Alert: 20% drop in 24h
Channel: Slack #protocol-alerts
Action: Investigation2. Yield Farming Optimization
Monitor: Multiple pool APYs
Alert: APY drops below 10%
Action: Migrate to better pools3. Liquidity Provider Risk
Monitor: Your LP positions
Alert: Pool imbalance > 70/30
Action: Remove liquidityBest Practices
1. Set Realistic Thresholds
DeFi metrics are volatile. Use historical data:
- TVL: 20-30% drop threshold
- APY: 50% change threshold
- Volume: 70-80% drop threshold
2. Monitor Multiple Chains
Protocols often deploy on multiple chains:
- Compare TVL across chains
- Detect chain-specific issues
- Identify migration patterns
3. Combine with Other Monitors
- DeFi Protocol: Track TVL
- Contract Events: Watch deposits/withdrawals
- Gas Price: Correlate with activity