Lendscape.xyz
  • Getting Started
    • General
    • Lendscape Overview
    • Glossary
    • Whitepaper
  • Borrow
    • Borrow
    • Off-Chain Procedures
  • Lend
    • Liquidity Provider Path
    • Master Liquidity Pools
    • Lending Pools
  • Tokens
    • $MBASE Token
    • Platform Tokens
  • Governance
    • Governance
  • For Partners
    • Referral Program
  • Technology
    • Smart Contracts
    • Compliance Management & Integration
    • Oracles and Real-time Valuation
    • Tokenization Platform
    • Loan and Asset Scoring
    • Third-Party Integrations
  • Disclosures and Legal
    • Platform Terms of Use
    • KYC/KYB & Accreditation
    • Disclosures and Disclaimers
    • Privacy Policy
    • Cookie Policy
    • Risks & Security
  • Additional Resources
    • FAQ
Powered by GitBook
On this page
  • Architecture Diagram
  • Lending Pool Management
  • Master Pool Management
  • Collateral Escrow
  1. Technology

Smart Contracts

PreviousReferral ProgramNextCompliance Management & Integration

Last updated 9 months ago

Architecture Diagram

Lending Pool Management

The Lending Pool Management smart contract is responsible for:

  1. Loan Origination: Handles loan requests, matches borrowers with lenders, and initiates loan disbursement.

  2. Interest Calculation: Implements the dynamic interest rate model based on pool utilization and risk factors.

  3. Repayment Processing: Manages loan repayments and distributes interest to lenders.

  4. Default Handling: Triggers liquidation processes when loans default.

Master Pool Management

The Master Pool Management smart contract oversees:

  1. Liquidity Aggregation: Collects funds from liquidity providers into a single pool.

  2. Fund Allocation: Distributes funds to various Lending Pools based on demand and risk parameters.

  3. Yield Distribution: Calculates and distributes yields to liquidity providers.

  4. Rebalancing: Periodically rebalances funds across Lending Pools for optimal utilization.

Collateral Escrow

The Collateral Escrow smart contract manages:

  1. Collateral Locking: Secures tokenized RWAs when a loan is originated.

  2. Collateral Release: Releases collateral upon full loan repayment.

  3. Liquidation Support: Facilitates the liquidation process when loans default.

  4. Collateral Valuation: Interfaces with oracles to maintain up-to-date collateral valuations.