Spot Leverage
Spot leverage enables users to get leveraged long/short positions by swapping borrowed assets (for instance on Uniswap) and deposit the swapped assets as collateral in the same transaction.
Example
A pool supports ETH with a collateral factor of 0.9 and USDC with a borrowing factor of 0.8.
The price of ETH is $1500
A user deposits 1 ETH of collateral in the pool. He then uses spot leverage to borrow 3000 USDC , swap it for 2 ETH and deposit it as collateral.
His position is now 3 ETH collateral, 3000 USDC debt. His health factor is 1.08 (3 * 1500 * (0.9 * 0.8) / 3000)
Last updated