Expand description
§Live Token Monitor
This module implements a real-time terminal UI for monitoring token metrics. It displays live-updating charts for price, volume, transactions, and liquidity.
§Usage
From interactive mode:
scope> monitor USDC
scope> mon 0x1234...§Features
- Real-time price chart with sliding window
- Volume bar chart
- Buy/sell ratio gauge
- Key metrics panel (price, liquidity, market cap, 24h volume)
- Keyboard controls: Q=quit, R=refresh, P=pause
Structs§
- Data
Point - A data point with timestamp, value, and whether it’s real (from API) or synthetic.
- Monitor
App - Main monitor application.
- Monitor
State - State for the live token monitor.
- Ohlc
Candle - OHLC (Open-High-Low-Close) candlestick data for a time period.
Enums§
- Chart
Mode - Chart display mode.
- Time
Period - Time period for chart display (limited to 24 hours of data retention).
Functions§
- run
- Entry point for the monitor command from interactive mode.