Loops are structured yield strategies that use borrowed capital to multiply returns from yield-bearing tokens (e.g., LSTs, LP tokens).The strategy works by recursively borrowing and depositing the same asset, creating a loop where both principal and borrowed funds generate yield.
A Loop works as follows, using a JupSOL / SOL Loop as an example:
Loopscale borrows SOL with no collateral via a flash loan
SOL is swapped for more JupSOL
JupSOL is deposited as collateral in Loopscale
SOL is borrowed against the JupSOL collateral
Borrowed SOL repays the initial flash loan
Loopscale executes these steps atomically. This means that all the above actions occur within a single transaction and revert if any step fails. This creates a levered JupSOL position, earning yield as long as the JupSOL staking APY exceeds the fixed borrow rate.Upon closing a Loop, Loopscale atomically:
Flash borrows the amount needed to repay the fixed-rate loan
Repays the fixed-rate loan to unlock the yield token collateral
Sells enough of the yield token to repay the flash loan
Returns the remaining collateral to your wallet
Some more advanced Loops also mint or redeem tokens (typically after swapping to the required underlying token) as part of this flow. For example, a pt-fragSOL / SOL Loop would swap the flash-loaned SOL for fragSOL before minting pt-fragSOL; as expected, the inverse takes place in closing the Loop.
While leveraged yield strategies have existed in DeFi before, Loopscale’s order book architecture provides several key advantages over looping from traditional yield-based protocols.