Last week
@Morpho dropped the midnight whitepaper + open-sourced the code, so i've been sitting with it and talking to a few builders. Something clicked that i don't see many people mapping.
First, a recap on morpho midnight. On a high level it's a primitive. think what blue was for variable rates, midnight is that for fixed.
It sits on top of deep variable markets (blue) and turns a loan into a tradable, fixed-term unit. Not a consumer product, it's infra. Minimal primitive, everyone builds on top.
Classic morpho.
So the same way blue needed them, midnight needs curators, solver networks, fintech/ux integration to actually scale.
The obvious one:
Package a real lender. capital sits in a variable vault, quotes a fixed rate into midnight, gets matched to a borrower. you're a bond dealer running a matched book, pairing someone who wants to lend fixed with someone who wants to borrow fixed.
@TenorFinance is doing this, built straight on midnight. the lender holds the fixed risk because the lender wanted it.
The non-obvious one, and the part i've been thinking more on is how protocols can build or leverage on top.
And recently i've gone kinda deep on
@iris_credit, this is where i think it fits pretty clean (and where it also breaks).
IRIS is an intent-based model. A borrower just signs "i want fixed, this size, this term," and solvers compete to deliver it. The solver isn't boxed into one venue or one rate. it funds floating wherever's cheapest and actively manages that liability over the life of the loan.
That's just how banks work. They don't fund a fixed mortgage by finding a matching fixed deposit. Treasury desks manage the liability stack over time, reshuffling funding to keep cost down.
tldrl;
Midnight is supply-side rails. IRIS is a demand-side management layer.
Think of midnight is the zero-coupon bond. IRIS as the treasury desk that funds it.
- Midnight makes the fixed rate a property of an instrument, t-bill-like at a high level.
- IRIS makes it a property of a managed service, like a bank issuing a fixed-rate mortgage.
So, where I feel they connect and what does IRIS actually get by leaning on midnight.
1) Right now the solver quotes fixed but funds floating, so it carries the basis. midnight gives it a fixed-rate funding source. it can match-fund a loan straight off midnight and kill the basis at origination instead of wearing it.
2) A reference. even today midnight prints an observable fixed price per tenor, a curve solvers can actually quote against instead of guessing the term premium. Underwriting gets tighter because the thing you're pricing is finally visible.
3) Depth. Midnight aggregates fixed-rate liquidity that IRIS solvers can tap, so the solver isn't the only balance sheet warehousing the risk.
More places to lay it off = thinner bonds = tighter quotes passed to the borrower.
And it runs both ways.
IRIS is the demand aggregator midnight is missing, it concentrates scattered borrower intent and routes it down.
Midnight gives IRIS the fixed leg it doesn't have. complements at the infra layer.
Also, interestingly,
@iris_credit and
@TenorFinance seem to fit the two sides of one book. IRIS aggregates the borrowers, tenor packages the lenders, and the two meet on midnight.
Where the tenors line up, a solver can fund off a
@TenorFinance vault's fixed offer instead of going floating, essentially locking its cost instead of carrying the basis. a selective move, not the whole book.
FWIW, the basis doesn't disappear, it just moves down a layer.
- And at the bottom, someone has to actually want to hold that fixed risk to maturity, the natural lender defi still doesn't have.
@TenorFinance can package that lender, not manufacture one.
- And depth thins fast past the front of the curve, exactly where IRIS lives.
Anyway, very much thinking out loud. Would love someone to rip it apart.
Needless to day, fixed rate in defi isn't a simple product that can be solved easily, it's a whole stack reassembling onchain piece by piece.
The whitepaper confirms what I've been mapping for a while now: fixed-rate isn't an upgrade to variable-rate lending. It's a different primitive, and
@Morpho Midnight shipped the cleanest version of it.
Two details that are doing the work (worth not scrolling past).
1) The maker callback.
- A lender can keep capital deployed in a variable-rate Morpho Blue market and quote a fixed-rate offer on Midnight at the same time.
- The offer locks nothing; when it's filled, the callback pulls the capital and settles in the same transaction. Until then, nothing sits idle.
That one mechanic dissolves the problem that killed every prior attempt.
@term_labs spent three years learning that fixed-term markets cold-start at every maturity, because capital has to be committed upfront with no certainty of a fill.
Midnight makes the quote free. Liquidity sourced only at execution, so a market can function before flow exists.
It also makes
@AnthonyBowman43's argument literal: good fixed-rate quotes need great variable-rate markets underneath. Here they're mechanically linked, the maker earns variable while quoting fixed. Capital does two jobs.
2) There's no separate lend / borrow / repay / withdraw.
- There's one action. Trade a unit at a price, and whether you're lending, borrowing, entering, or exiting is just emergent from your net position.
- New loan, lender cashing out, borrower handing off debt, two positions cancelling: same mechanical trade, four outcomes.
That collapses primary issuance and secondary trading into a single primitive. It's also the answer to the oldest knock on fixed-rate, that a fixed position is a frozen position.
On Midnight every position is always tradable, because origination is the secondary market: same maturity, fungible unit, one book.
And it's intent-based, not a CLOB. No protocol queue, no reserved capital, routing off-protocol. That's the "route to where liquidity lives, don't pool it" thesis
@dionchu has been making, now as base architecture.
For institutions, this is the rate axis closing.
Fixed rate + fixed term + immutable base + optional gates = the four things a risk committee needs to actually allocate.
Pair it with tranching on the loss axis and PB on the counterparty axis, and the TradFi structured-credit toolkit is reassembling onchain.
Primitive by primitive.
The curve is starting to exist. That's a big unlock.
Kudos to the entire morpho team.🦋
Show more