Docs
The whole protocol in the order you meet it: supplying, borrowing, the rates, liquidations and governance. The developer reference lives in the app.
Supply an asset to its pool and you receive its receipt token, orUSDC for USDC and so on. The receipt’s balance grows every block as interest accrues, and you can swap it back for the asset whenever the pool has it to lend. The app shows the least you will receive before you confirm.
There is no lock and no minimum. Your deposit only waits if the pool is fully lent out, and the rate curve exists to make that brief.
Supplied assets count as collateral. You can borrow up to each one’s loan-to-value: $10,000 of ETH at 80% lets you borrow $8,000. Interest accrues to your loan every block at the market’s borrow rate.
Your health factor is your collateral at its liquidation threshold divided by what you owe. Above 1 you are safe; at 1 your loan can be liquidated.
Each market has a curve. The borrow rate rises gently with utilisation (the share of the pool lent out) up to the market’s target, and steeply after it. The supply rate is the borrow rate times utilisation, less the reserve factor.
Nobody sets the rate by hand. Governance sets the curve, and the market moves along it.
When a loan’s health factor falls below 1, anyone can repay up to half of it and receive collateral worth the repayment plus a bonus, between 4% and 8% by market. That bonus is what keeps the pools covered without a central desk.
ORR holders vote on markets, curves, limits and the reserve. Passed changes wait 48 hours in the timelock before they run.
The pool, the receipt tokens and the timelock are each one contract. [List your deployed addresses and their explorer links here.]