Revolving Credit Line

The Revolving Credit Line contract constitutes the accounting layer of the pool, and is built around a central contract, RevolvingCreditLine.sol, that inherits from 4 modules, each having its own utility.

The modules are the following:

  • IRCLBorrowers for borrower related actions: borrowing and repaying

  • IRCLLenders for lenders related actions: depositing, withdrawing, opting out, detaching and exiting

  • IRCLGovernance for managing the pool lifecycle and parameters

  • IRCLState to manage the pool variables as well as part of its getters

Last updated