ISlpManager Interface
TheISlpManager
interface defines the functions available in the SlpManager contract, which manages the Staked Liquidity Provider (SLP) token system for the Satoshi Perps protocol.
Liquidity Management
AUM and Price Calculation
Fee and AUM Management
State Access
Usage Notes
- The SlpManager acts as the minting and burning authority for SLP tokens.
- Liquidity providers receive SLP tokens representing their share of the pool.
- SLP tokens accrue value as the protocol earns fees.
- Withdrawals are subject to a cooldown period to prevent flash loan attacks.
- The AUM calculation determines the value backing SLP tokens, including assets in the Vault and any adjustments.
Security Considerations
- The cooldown period protects the protocol from potential flash loan exploits.
- AUM adjustments should be used carefully as they directly affect the price of SLP tokens.
- Minimum output values protect users from slippage during liquidity operations.