The Lending Protocol is built on a set of smart contracts that govern its core functionality.

Key contracts include:

  1. LendingPool: This agreement oversees the assets contributed by lenders and borrowers, determining interest rates, collateral stipulations, and managing the allocation of accrued interest.

  2. InterestRateModel: The contract establishes the algorithm employed to compute interest rates, considering supply and demand along with other contributing elements.

  3. PriceOracle: The contract delivers precise and current price data for the endorsed assets, guaranteeing equitable assessments of collateral.

  4. CollateralManager: This agreement upholds collateral prerequisites, oversees asset liquidations, and guarantees the comprehensive financial stability of the system.

  5. TokenContracts: Distinctive ERC20 token agreements are employed to signify user investments and assets acquired through borrowing.

Last updated