DeFi Position Monitoring System

Build comprehensive DeFi position monitoring

6/11/2026
Prompt
Create a DeFi position monitoring and alerting system.

Monitoring Requirements:
- Protocols to Monitor: ${{PROTOCOLS}}
- Position Types: ${{POSITION_TYPES}}
- Alert Preferences: ${{ALERT_CHANNELS}}
- Update Frequency: ${{UPDATE_FREQUENCY}}

Monitoring System:

1. **Data Collection**
```javascript
// Subgraph queries
// RPC calls
// Event monitoring
// Price feeds
```

2. **Position Tracking**
   - LP positions
   - Lending positions
   - Staking positions
   - Vault positions

3. **Risk Metrics**
   - Health factors
   - Liquidation prices
   - IL calculations
   - Exposure analysis

4. **Alert System**
   - Threshold alerts
   - Price alerts
   - Health factor warnings
   - Reward notifications

5. **Portfolio Analytics**
   - Total value tracking
   - PnL calculations
   - APY tracking
   - Historical performance

6. **Integration Options**
   - Telegram bot
   - Discord webhooks
   - Email notifications
   - Mobile push

7. **Dashboard Design**
   - Position overview
   - Risk dashboard
   - Performance charts
   - Transaction history

Include monitoring scripts and dashboard templates.

Or press ⌘C to copy

Variables (4)

Replace these placeholders with your own content before using the prompt.

[{PROTOCOLS][{POSITION_TYPES][{ALERT_CHANNELS][{UPDATE_FREQUENCY]

Ready to use?

Copy and paste into your favorite AI tool

Works With

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Web3 prompts

Browse Web3

Command Palette

Search for a command to run...