IShortsTracker Interface
TheIShortsTracker
interface defines the functions available in the ShortsTracker contract, which tracks global short positions across the Satoshi Perps protocol.
Position Tracking
State Access
Administration
Usage Notes
- The ShortsTracker complements the Vault’s native tracking of long positions.
- It provides specialized tracking for short positions across the protocol.
- Only authorized handlers (like PositionManager and BasePositionManager) can update the global short data.
- The global short data is essential for funding rate calculations and protocol monitoring.
Security Considerations
- Access to update functions is restricted to prevent manipulation of short position data.
- The readiness flag ensures that data isn’t used before it’s properly initialized.
- Accurate short position tracking is critical for proper funding rate calculations.