Lending pools intro
This page describes core benefits for market makers when using Liquorice lending pools
Using Liquorice pools, market makers can quote any tokens they wish without the need to hold those tokens in their wallets in advance. The required tokens are borrowed from the pool and transferred to the order originator once the PMM’s quote wins the right to settle.
To use borrowing, the PMM only needs to provide collateral, which can be as low as 20% of the trade's notional value. Collateral can be provided either in advance or at the time of the trade by specifying the correct parameters in the quote.
From a technical standpoint, the process of using pools by PMMs is simple: they specify the parameters in the quote to express their desire to borrow specific tokens when settling trades.
Here's an example of the flow:
The PMM pre-deposits 700 USDC as collateral into the Liquorice pool.
The solver requests 1 wETH in exchange for 3000 USDC.
The PMM provides a quote stating that their price is 1 wETH, and they would like to borrow 1 wETH from the pool in case their quote wins the auction. The PMM also specifies that they would like to transfer 3000 USDC from the trader to the Liquorice pool as collateral. From the technical standpoint this is done by simply configuring a couple of parameters in the quote.
If the quote doesn’t win the auction, nothing happens further.
If the quote wins, the fact of borrowing 1 wETH will be recorded in the smart contract, and the trade will be settled.
The PMM will end up with 3700 USDC of locked collateral, which they can unlock by repaying the debt of 1 wETH. Until repaid, interest is paid on any outstanding debt.
In this case, the PMM was able to carry out a swap of $3,000 in trade notional, using only 700 USDC of their own capital and no wETH pre locked on his wallet.
The details on how to interact with Liquorice lending pools are described in the following pages.
Last updated