Curriculum·J304 Lending, Borrowing, and Collateralized Leverage·about 33 min
Interest rate mechanics
By the end of this lesson you can
- →Compute a borrow rate from a utilization curve above and below its kink
- →Explain why a ten point move in utilization can multiply the rate tenfold
- →Show how a rising rate and a falling price push a health factor the same way
- →Identify what happens to depositors when utilization reaches one hundred percent
Junior · enrolled learners
This lesson opens with Michael Egorov's CRV-backed loans, July and August 2023.
- What happened
- Curve's founder had borrowed more than $100M of stablecoins against roughly 460 million CRV, the largest pieces being 63.2 million USDT on Aave and 15.8 million FRAX on Fraxlend against 59 million CRV, with further loans on Abracadabra and Inverse Finance. On 30 July 2023 a faulty reentrancy lock in some versions of the Vyper compiler was used to drain several Curve pools, about $62M gross across four pools by Curve's own post-mortem, and CRV fell more than 20 percent, to about $0.58 by 3 August. The positions came under pressure from both directions at once. The collateral was falling, and on Fraxlend, as lenders withdrew FRAX for fear of bad debt, utilization sat at 100 percent and the borrow rate, which under Fraxlend's rules doubles every twelve hours at full utilization, passed 80 percent a year and was reported as able to reach 10,000 percent within days. Egorov sold CRV in private over-the-counter deals at about 40 cents while it traded near 58, raising more than $42M by 10 August, and seeded a new Curve pool with CRV rewards to draw lenders back to the Fraxlend market. Aave governance later froze CRV on its v2 Ethereum market.
- The decision point
- The position was never liquidated in the way J304-02 describes. It was resolved by the borrower selling collateral privately at prices he did not choose, under a deadline set as much by an interest rate as by a price. That is the mechanism this lesson exists to make visible: a utilization curve is not a fee schedule, it is a clock, and it runs faster exactly when everyone else is trying to leave.
What you will be able to answer
- →What determines a borrow rate?
- →How steep is the curve above the kink?
- →Why do rate and price push the same way?
- →What happens to depositors at full utilization?
Orientation and Year One are open: anyone can read them without an account. From Year Two onward the lessons are for enrolled learners, because progress through the later years only means anything if it is tracked against a record.
It is free. We do not sell the list and there is nothing to buy at the end of it.
Sources and review
- https://www.coindesk.com/markets/2023/08/01/curve-founder-deploys-new-liquidity-pool-to-address-frax-debt-situation
- https://coinmarketcap.com/academy/article/curve-exploit-curve-founder-michael-egorovs-loan-positions-at-risk
- https://www.coindesk.com/business/2023/08/03/curve-founder-still-owes-80m-despite-raising-nearly-30m-in-past-two-days
- https://www.coindesk.com/business/2023/08/10/aave-token-holders-voting-on-2-proposals-following-averted-curve-liquidation-crisis/
- https://hackmd.io/@LlamaRisk/BJzSKHNjn
- https://hackmd.io/@vyperlang/HJUgNMhs2
- https://governance-v2.aave.com/governance/proposal/297/
- https://www.theblock.co/news/ecosystems/2023-06-19-aave-community-rejects-gauntlets-proposal-to-freeze-crv-tokens-on-v2-235422
Confidence high·Volatility medium·Reviewed 2026-08-06·Owner unassigned
Contested
Reported loan and collateral totals for these positions vary across sources and dates because the positions were spread over several protocols and were being actively repaid: CoinMarketCap gave more than $100M against about 460 million CRV on 1 August 2023, and CoinDesk reported $80M still owed on 3 August. The Fraxlend loan is 15.8 million FRAX in CoinDesk and $19.5M in CoinMarketCap. The lesson uses the figures reported at the start of August 2023, and the argument does not depend on their precision. A larger set of Egorov's CRV-backed loans was liquidated in June 2024; that is a separate event and none of its figures are used here.
The exploit total depends on what is counted. Curve's post-mortem itemizes about $62M gross from four pools, part of which a white hat returned; CoinMarketCap reported around $70M. The vulnerability was in the Vyper compiler's reentrancy lock rather than in Curve's own code, per the Vyper team's post-mortem.
The curve parameters in the worked example are illustrative of the common shape rather than any specific market's settings. Every protocol publishes its own base rate, optimal utilization and slopes, and they should be read rather than assumed.
