SM_FEE = 20% of all interest paid to positive cash holders. This increases to 100% if that universe’s Security Module is depleted.
📘 Lending pools are per universe. A pool is keyed (asset, risk universe), so utilization, the interest rate and the available liquidity are all computed within a universe. USDC supplied in one universe does not fund borrowing in another.
The more negative cash (borrowing) taking place, the higher the interest rate paid by borrowers. The utilization of USDC in a universe is defined as the following ratio
Formula
totalSupplyis the sum of all positive cash balances in the universetotalBorrowis the sum of all negative cash balances in the universenetPrintis a extra factor used to deal with asymmetric USDC balances around settlement. The vast majority of the time this should be near 0 and will not play a meaningful role in the value ofUtilization.
Formula
netPrint: Whenever a position is settled, the other side of the trade is not necessarily automatically settled. The netPrint variable accounts for this temporary difference. For example, if Alice is long an in-the-money call and Bob is short said call, at settlement Alice might be settled 1 minute before Bob and be paid out 100 USDC. In this window,netPrint will increase by 100 as Alice’s cash balance increases by 100. When Bob is settled soon after, his cash balance will decrease by 100 and netPrint will decrease by $100. In the contracts, the following relationship always holds:
balanceOfis the total amount of USDC deposited into the universe andtotalSupply,totalBorrowandnetPrintare defined above.
netPrint variable only accounts for such temporary asymmetric printings. The vast majority of the time it will be small and not contribute meaningfully to the utilization and interest rate calculations.
Borrowing Base Assets
Unlike V2, V3 lets a subaccount hold a negative balance of a supported base asset, i.e. borrow it. This makes short spot and cash-and-carry strategies expressible without a perpetual.- A token is borrowable only if it is flagged
CAN_BORROWin its universe, and only up to that universe’s spot borrow cap for the asset. - Borrowing debts are generally margined more heavily than the matching long is credited.
