This guide explains lending and borrowing on a money market to someone who has never done either: what supplying earns, what borrowing costs, what collateral is for, and how you get liquidated. It ends with how a mandate bounds an agent that lends or borrows. The money-market profile is the normative text; when this guide and the profile disagree, the profile is right.
It builds one idea at a time, on the example the other guides use: you have $1,000, and SPCX trades at $100. The SPCX reserve here is illustrative: its limits are Kamino's SOL reserve's at the time of writing, and the rate curve Kamino's USDC reserve's. The Kamino venue profile names the real reserves.
1. What a money market is
A money market is a set of pools, one per asset: a USDC pool, a SOL pool, an SPCX pool. Anyone can supply an asset to its pool, and earn interest on it. Anyone with enough collateral can borrow from a pool, and pay interest. No one is matched with anyone: the pool lends to every borrower at once, and every lender shares what they pay.
On Kamino, the pools are called reserves, and a set of reserves that back each other is a lending market.
1.1. Supplying
You supply your $1,000 to the USDC pool.
| Number | Your supply | What it is |
|---|---|---|
| You supply | $1,000 USDC | Lent to the pool. |
| Position | +1,000 USDC | Positive: the pool owes it to you. |
| You receive | collateral tokens | A claim on the pool, as Kamino records it. Their exchange rate rises as interest comes in. |
| Supply rate | about 3.5% a year | What lenders earn, today. It moves; see below. |
| After | Your supply is worth |
|---|---|
| 1 month | about $1,003 |
| 6 months | about $1,017 |
| 1 year | about $1,035 |
You can withdraw it whenever the pool has the USDC to give back. It usually does, but not always: when nearly everything is lent out, you wait.
1.2. Borrowing
Now say your $1,000 is in SPCX: you hold 10 SPCX, and want dollars without selling them. You supply the 10 SPCX as collateral, and borrow USDC against them.
| Number | Your borrow | What it is |
|---|---|---|
| Collateral | 10 SPCX, $1,000 | Supplied to the SPCX pool, and held as security. |
| Max LTV | 74% | The most you may borrow, as a share of the collateral: $740. |
| You borrow | $500 USDC | From the USDC pool. |
| LTV | 50% | Loan to value: $500 ÷ $1,000. |
| Liquidation LTV | 80% | The LTV at which the venue may sell your collateral. |
| Position | SPCX +10, USDC −500 | Positive where you supply, negative where you borrow. |
| Borrow rate | about 5% a year | What borrowers pay, today. |
The buffer that matters is between your LTV and the liquidation LTV, not the max LTV: the max LTV only stops you borrowing more.
1.3. As SPCX moves
Your debt is in dollars, and your collateral in SPCX, so SPCX's price moves your LTV:
| SPCX | Collateral | LTV: $500 ÷ collateral | Health: 80% ÷ LTV | |
|---|---|---|---|---|
| $120 | $1,200 | 41.7% | 1.92 | safe |
| $100 | $1,000 | 50.0% | 1.60 | safe |
| $90 | $900 | 55.6% | 1.44 | safe |
| $75 | $750 | 66.7% | 1.20 | getting close |
| $62.50 | $625 | 80.0% | 1.00 | liquidatable |
Health is the liquidation LTV over your LTV: 1.60 means the debt could grow, or the collateral fall, by a factor of 1.6 before liquidation. At 1, the venue may liquidate.
LTV = debt ÷ collateral value
health = liquidation LTV ÷ LTV
liquidation price = debt ÷ (units of collateral × liquidation LTV)
= $500 ÷ (10 × 80%) = $62.50
Borrowing against your 10 SPCX
Choose how much USDC to borrow, then move SPCX's price. The line is your LTV at every price.
Your LTV rises as SPCX falls, along a curve: the debt stays $500 while the collateral shrinks. The max LTV stops you borrowing more; the liquidation LTV is where the venue steps in.
2. What the rates depend on
A pool's rates follow its utilization: how much of what's supplied is lent out. Borrowers pay more as the pool runs low, which brings in lenders and sends borrowers to repay. Lenders earn what borrowers pay, spread over everything supplied, less the venue's share:
utilization = borrowed ÷ supplied
supply rate = borrow rate × utilization × (1 − the venue's share)
Kamino's USDC rates rise slowly up to a kink, then steeply: at 95% utilization borrowers pay 5.51% a year, and at 100% they pay 36.34%. The pool sits around 82% today. Kamino's app shows slightly different figures, because it compounds the rates and measures utilization its own way; the shape is the same.
Rates on Kamino's USDC pool
Move the pool's utilization. The orange line is what borrowers pay, the blue one what lenders earn.
Below the kink, rates barely move. Above it, a few points of utilization multiply the borrow rate: the curve is built to keep some of the pool free.
Rates move every time anyone supplies, borrows, repays or withdraws. A borrow that costs 5% today can cost 20% next week, and the debt grows at whatever the rate is.
3. Liquidation
Once your LTV reaches the liquidation LTV, anyone may liquidate you: repay part of your debt, and take collateral worth a little more than what they repaid. The extra is the liquidation bonus, which pays them for doing it. On Kamino, each liquidation repays at most 20% of the debt, and the bonus starts at the reserve's minimum (1%) and grows with how far past the line you are, up to its maximum (10%).
At SPCX $62.50, your first trade is liquidatable:
| Step | SPCX | Debt | Your SPCX | Collateral | LTV |
|---|---|---|---|---|---|
| Before | $62.50 | $500 | 10.000 | $625.00 | 80.0% |
| A liquidator repays $100, takes $101 of SPCX (1% bonus) | $62.50 | $400 | 8.384 | $524.00 | 76.3% |
| SPCX falls to $55 | $55 | $400 | 8.384 | $461.12 | 86.7% |
| Another repays $80, takes $85.40 of SPCX (6.7% bonus) | $55 | $320 | 6.831 | $375.72 | 85.2% |
The first round brings your LTV back under 80%, and stops. If SPCX keeps falling, more rounds follow, each taking a bonus. Unlike a perp's liquidation, it's partial: you keep what's left, and you can stop it by repaying or adding collateral. Past 95% LTV, Kamino can liquidate everything at once.
4. Borrowing to short
A money market is also how to bet on a fall with spot: supply USDC as collateral, borrow SPCX, and sell it. If SPCX falls, you buy it back cheaper and repay. It's a short like a perp's, with two differences: you pay the SPCX pool's borrow rate instead of funding, and the liquidation is partial instead of total.
5. Parameters
| Parameter | Who sets it | What it means |
|---|---|---|
| Instrument reference | The mandate | <venue>:money-market:<symbol>, such as kamino:money-market:USDC, a reserve the venue profile names. |
max_position, min_position |
The mandate | The most the account may supply, and the most it may borrow, as min_position below zero. min_position: 0 forbids borrowing. |
min_health |
The mandate | The lowest health any borrow may reach. |
| Reserve and lending market | The venue profile | Which pool a symbol names, and which reserves back each other. |
| Max LTV, liquidation LTV | The venue | How much you may borrow, and where liquidation starts, per collateral asset. |
| Borrow factor | The venue | A weight on risky borrowed assets: 1.25 for SOL means $100 of SOL borrowed counts as $125 of debt. |
| Rate curve | The venue | The borrow rate at each utilization. |
| Liquidation bonus and close factor | The venue | What liquidators earn, and how much of the debt each liquidation repays. |
6. Risks
7. When to use it, and when not to
8. Money markets under a mandate
The mandate covers money markets with three numbers:
- The position is what you've supplied minus what you've borrowed, in the reserve's asset: +1,000 USDC for your supply, −500 USDC for your borrow.
max_positionandmin_positionbound it.min_position: 0on a reserve means the agent may supply it, but never borrow it; a negativemin_positionis the largest borrow allowed.min_healthkeeps every borrow a margin above the venue's line: atmin_health: 1.25, your $500 borrow breaks the mandate once SPCX falls below $78.13, long before the venue could liquidate it at $62.50.
9. Check yourself
Three questions for each idea, all on SPCX at $100 and USDC. Work each one out on the ticket first (collateral, debt, LTV, liquidation LTV), then open the answer.
9.1. Supplying and borrowing
You supply $1,000 USDC at 3.5% a year. What's your position, and what's it worth after a year?
+1,000 USDC to start, and about $1,035 after a year, as interest raises the value of your claim on the pool.
You supply 10 SPCX at $100, with a 74% max LTV. How much USDC can you borrow?
$740: 74% of $1,000.
You borrow $500 USDC against your 10 SPCX. What are your positions in the two reserves?
SPCX +10, USDC −500: positive where you supply, negative where you borrow.
9.2. LTV and health
You borrowed $500 against 10 SPCX, with an 80% liquidation LTV. SPCX falls to $80. What are your LTV and health?
LTV 62.5% ($500 ÷ $800), and health 1.28 (80% ÷ 62.5%).
At what SPCX price can you be liquidated?
$62.50: $500 ÷ (10 × 80%). That's where your LTV reaches 80%.
SPCX doesn't move for a year, and you pay 5% on $500. How does your liquidation price change?
It rises to about $65.63: the debt is now $525, and $525 ÷ 8 = $65.63. Interest moves you toward the line too.
9.3. Rates and liquidation
Kamino's USDC pool is 95% lent out. What do borrowers pay, and what's the risk for lenders?
5.51% a year, at the kink. Only 5% of the pool is left, so a lender who wants to withdraw more than that has to wait for borrowers to repay.
Your $500 borrow is liquidatable at SPCX $62.50. A liquidator repays 20% of it with a 1% bonus. What do they take?
$101 of SPCX, 1.616 SPCX at $62.50, for the $100 they repay. Your debt falls to $400, and your LTV to 76.3%.
How is a money-market liquidation different from a perp's?
It's partial: each round repays at most 20% of the debt, you keep the rest of your collateral, and you can stop it by repaying or adding collateral. A perp's liquidation in the guide's model closes everything.
9.4. The mandate
Your mandate allows kamino:money-market:USDC with min_position: 0. May the agent borrow USDC?
No. A position below zero is a borrow, and min_position: 0 forbids it.
Supplying USDC is fine.
Your mandate sets min_health: 1.25. You borrowed $500 against 10 SPCX, with an 80% liquidation LTV. Below what SPCX price do you break it?
$78.13. Health is 0.8 × 10 × SPCX ÷ $500, which is 1.25 at SPCX = $78.125.
Why have min_health at all, when the venue liquidates at health 1 anyway?
Because liquidation costs a bonus every round, and a fast fall can skip past
the line. min_health makes the agent act, by repaying or adding
collateral, while there's still room.
10. Glossary
Every term this guide uses is in the glossary. In the text, an underlined term shows its definition when you hover it or tap it.