IBasePositionManager Interface
TheIBasePositionManager
interface defines the functions available in the BasePositionManager contract, which provides core position management functionality for the Satoshi Perps protocol.
Position Management
Global Size Limits
Fee Configuration
Token Management
Fee Collection
Contract References
ETH Handling
Usage Notes
- The BasePositionManager is an abstract contract designed to be inherited by concrete implementations like PositionManager.
- It provides core functionality for position management but lacks user-facing methods.
- The contract implements safety checks such as global position size limits.
- Fee collection is handled automatically when positions are adjusted.
Security Considerations
- Functions are protected by various access controls in implementing contracts
- Global size limits help prevent excessive risk concentration in specific tokens
- Deposit fees may be charged to prevent abuse of zero-fee swaps