Market structure
Tenor markets accept the variable-rate lend position as collateral against a fixed-rate borrow, on otherwise identical market parameters. This creates continuity between Morpho variable rate markets and Morpho Midnight markets (fixed rate).
Vault shares are listed as collateral on Morpho Midnight. The underlying vault is an unmanaged Morpho Vault-V2 that allocates entirely to a Morpho variable rate market.
Example
Take a variable-rate market where USDC is borrowed against cbBTC. A Morpho Vault-V2 is created that lends only to that market, and its shares are listed on the Midnight market alongside cbBTC. Users can then borrow USDC at a fixed rate against either cbBTC or the variable-rate USDC vault shares.
- Vault shares: Vault-V2 shares are listed as collateral on the Midnight market. Because the shares are denominated in the same asset as the borrow currency (for example, USDC vault shares used to borrow USDC at a fixed rate), they are listed at 98% LLTV. The 2% buffer allows for bad-debt events in the variable-rate market.
- Shared parameters: The vault's underlying Morpho variable rate market shares the Midnight market's loan token, main collateral token, LLTV, and oracle, so the share value tracks the same risk parameters the fixed-rate market is priced against.
Use cases
Expressing a view on rates
This market structure allows more advanced users to borrow at a fixed rate and use the proceeds to lend at the variable rate. The position's net rate is the realized variable rate over the term minus the fixed borrow rate. The net rate is positive if the variable rate averages above the fixed rate and negative if the variable rate averages below, in which case the position loses money.
Improving liquidity for borrower exits
A borrower can post a resting sell (borrow) offer at a target rate (e.g., 3%). The offer is paired with a supply callback (described below) that wraps the proceeds into vault-share collateral when filled, so the offer rests without parking idle capital.
Resting borrow offers of this kind add sell-side depth on the Midnight market. Other borrowers exiting early, who close their debt by taking sell (borrow) offers, can take these offers instead of repaying at par (paying back the full face value of the debt), reducing the mark-to-market cost of an early exit. More advanced users can thus create liquidity for normal borrowers (e.g., borrowing USDC against cbBTC) to exit early.
Creating the position via callbacks
As part of a borrow offer, the borrower can attach a callback that wraps and unwraps the position atomically. When the offer is taken, the callback is invoked: the borrowed loan tokens are deposited into the Vault-V2 and the resulting shares are supplied as collateral on the Midnight market.
Conversely, another callback can be used to exit the position. The callback withdraws the required shares from collateral, redeems them for loan tokens and uses the proceeds to lend on the fixed-rate market, which closes the borrow position.
For the technical implementation, see the technical documentation on the supply vault shares and withdraw vault shares callbacks.