Introduction

The status quo

Leverage is conventionally achieved through margin trading. The simplest instance being: the trader borrows some cash, with some margin as collateral, to buy more of an asset than could be bought with the margin alone. If the price of the asset rises, selling the asset position leaves the trader with a profit, after repaying the loan. If the price of the asset falls, the asset position has to be sold (or liquidated) before its loss in value is greater than the margin, otherwise the loan will be in default.

The problem is, in case the price does start falling, there is no guarantee the asset position can be sold at a sufficiently high price to cover the loan repayment. This, in turn, constrains exchanges to:

  1. Limit the maximum leverage: if the threshold downwards price move is too small, it is infeasible to sell the asset position before the loan gets into default.

  2. Limit the assets available for trading: long tail assets usually have much thinner liquidity and as such, even a smaller position can become hard to liquidate.

  3. Impose liquidation penalties that eat into expected returns: liquidators are paid a fee that acts both as a margin of error when selling the asset position and as compensation.

Even with these precautions, it is not uncommon for loans to go into default. In traditional finance, the traders are still usually liable for the additional losses (ie. a trader can lose more than what they have deposited on an exchange).

In crypto, perpetual futures offer the same P&L to traders as margin trading through borrowing, and as such have the same limitations. Loan defaults for perpetual futures create what is commonly referred to as bad debt and the exchange's insurance fund will take the brunt of the losses until it is depleted. For both traditional finance and crypto, more severe cases of loan defaults can lead to socialized losses for all parties involved (eg. Archegos, LTCM...).

The InfinityPools breakthrough

InfinityPools gets rid of these constraints by securing beforehand the spot liquidity needed to unwind the leverage. Instead of only borrowing cash to go long or the asset to go short, a trader instead borrows concentrated AMM liquidity.

Conceptually, the trader borrows a liquidity range from a public pool, to put in their “private pool” which only they can execute swaps on. This liquidity is chosen to guarantee that the leveraged asset position can be sold for the exact amount of borrowed cash. Moreover, as a liquidity range has reserves backing it, borrowing liquidity implies borrowing the cash needed to buy the leveraged asset holdings in the first place.

On InfinityPools, no liquidation occurs in response to the spot price falling. Since the “private pool” holds liquidity for the duration of the loan, the asset position can be sold there just prior to repaying the loan, irrespective of how low the spot price has fallen to in the meantime. In addition, the trader can decide whether to use their “private pool”, or any other decentralized exchange offering a higher price, to swap the asset position for cash to repay the loan. As such, no price oracle is used. With no external dependence on a liquidation bot, nor price oracle, the protocol is entirely autonomous and so permissionless.

Last updated