Arcus: a term-rate order book for USDC lending

Arcus is a central limit order book for lending USDC, where orders are placed by interest rate and maturity. Nitish Kumar built it and demoed it at the Devcon 2024 hackathon. It trades yield, not price.

Problem

Arcus lets lenders and borrowers name the rate they want for a fixed term. The rate and maturity of a loan are the traded instrument: lenders and borrowers post orders at specific rates, and a matching engine crosses them the way an exchange crosses bids and asks.

Design

Each maturity has its own order book. The engine matches orders off-chain and submits results to the settlement contracts in batches.

Engine

Correctness and testing

Settlement

The Solidity layer on Arbitrum escrows collateral, mints ERC-1155 zero-coupon position tokens for each matched loan, accepts batch results from the engine, and routes to an AMM fallback. Contracts are tested with Foundry fuzz and invariant tests.

Stack