Skip to content

Commit 308d052

Browse files
committed
adds svg architeture diagram
1 parent d0c1ea6 commit 308d052

File tree

2 files changed

+131
-27
lines changed

2 files changed

+131
-27
lines changed

XLS-0066-lending-protocol/README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -114,33 +114,7 @@ The lending protocol charges a number of fees that the Loan Broker can configure
114114

115115
### 2.6 System Diagram
116116

117-
```
118-
+-----------------+ +-----------------+ +-----------------+
119-
| Depositor | | LoanBroker | | Borrower |
120-
| AccountRoot | | AccountRoot | | AccountRoot |
121-
|-----------------| |-----------------| |-----------------|
122-
| Owner Directory | | Owner Directory | <-----OwnerNode | Owner Directory | <---------
123-
+-----------------+ +-----------------+ | +-----------------+ |
124-
^ | | | | |
125-
| Reserve ____________Reserve____________ | Reserve |
126-
Account | | | | | |
127-
| V V V | V |
128-
+-----------------+ +-----------------+ +-----------------+ +-----------------+ |
129-
| | | |1 N| |1 N| | |
130-
| MPToken | | Vault |--------->| LoanBroker |--------->| Loan |-OwnerNode-
131-
| | | | | | | |
132-
+-----------------+ +-----------------+ +-----------------+ +-----------------+
133-
| ^ | ^ |
134-
Issuance | | | |
135-
| Account | Account |
136-
V | -VaultNode- | |
137-
+-----------------+ +-----------------+ | +-----------------+ |
138-
| Share | | Pseudo-Account | | | Pseudo-Account | |
139-
| MPTokenIssuance |<--Issuer-| AccountRoot | | | AccountRoot | |
140-
| | |-----------------| | |-----------------| |
141-
+-----------------+ | Owner Directory | <---- | Owner Directory | <- LoanBrokerNode---
142-
+-----------------+ +-----------------+
143-
```
117+
![Architecture Graph](./architecture.svg)
144118

145119
## 3. Specification
146120

Lines changed: 130 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)