What Is Cross-Margin versus Isolated-Margin in a DeFi Derivatives Protocol?
Isolated margin dedicates a specific amount of collateral to a single position, and only that collateral is at risk of liquidation. Cross margin uses the entire account balance as collateral for all open positions.
A smart contract enforces these rules, automatically drawing from or liquidating the appropriate collateral pool.