Skip to content

Commit 8c70376

Browse files
committed
feat: start PoolRegistry documentation
1 parent 3ab0fb2 commit 8c70376

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

isolated-lending/pool-registry.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Isolated Lending
2+
3+
## Introduction
4+
Isolated lending creates collections of assets which users can supply and borrow in closed liquidity pools. This allows for more tokens with a wider variety of risk paramters to be made available to users without risking the liquidity of the entire protocol.
5+
6+
![Isolated Pools Diagram](<../.gitbook/assets/isolated-pools.png>)
7+
8+
## Details
9+
10+
Isolated lending has three main components the PoolRegistry, Pools, and Markets. The PoolRegistry is responsible for managing pools. It can create new pools, update pool metadata and manage markets within pools.
11+
12+
To create a new custom lending pool, the PoolRegistry deploys the unitroller and sets the comptroller implementation address to the unitroller. After setting up the comptroller, it adds the pool to the directory, and the Shortfall contract.
13+
14+
### Markets
15+
16+
To add a new market to a lending pool, the PoolRegistry deploys the JumpRate or WhitePaperInterestRate factory as interest rate model and then deploys the upgradable vToken for the market, before getting the support of the particular pool’s comptroller.
17+
You can read more about interest rate models under [Protocol Math](/)

0 commit comments

Comments
 (0)