-
Notifications
You must be signed in to change notification settings - Fork 19
End to End Process Flow Diagrams
Lucas Manuel edited this page Apr 6, 2021
·
7 revisions
This page contains links to various diagrams that outline the end-to-end flows for different scenarios and processes in the protocol. These diagrams contain all EOAs and smart contracts involved in these scenarios, and map out all smart contract calls and flows of funds chronologically.
The following diagram outlines the process of:
- An LP adding liquidity to a Pool
- A Loan getting created
- The Pool funding the Loan
- The Loan drawing down funds
- The Pool claiming fees and excess funds
- The Loan paying interest
- The Pool claiming interest
- The LP claiming earned interest from the Pool
The following diagram outlines the process of:
- An LP adding liquidity to a Pool
- A Loan getting created
- The Pool funding the Loan
- The Loan drawing down funds
- The Pool claiming fees and excess funds
- The Loan getting a liquidation triggered by the Pool Delegate since no payment was made and the grace period has passed
- The Pool claiming the liquidated amount and covering the shortfall by burning BPTs