Peridot Protocol
  • Introduction
    • Overview
      • What is Peridot?
      • Our Mission & Vision
      • Key Value Propositions
    • Why Cross-Chain DeFi?
      • Current Challenges in DeFi
      • How our Hub & Spoke model addresses these challenges
  • Architecture & Design
    • System Architecture
      • Overview of the Hub & Spoke Model
    • Core Components
      • Compound Based Lending & Borrowing Modules
      • Wormhole Integration: Token Transfer with Payload
      • On-Chain Accounting & Interest Rate Models
    • Integration Details
  • Technical Specifications
    • Core Contracts
      • Peridottroller
      • PERC20
      • PEther
  • Easy Mode: Onramp & Offramp for New Users
    • Overview of Easy Mode
    • Goals
    • Key Features
  • Contact
Powered by GitBook
On this page
  • 📌 Primary Responsibilities
  • 🔍 Core Contract Components
  • ⚙️ Technical Implementation
  1. Technical Specifications

Core Contracts

The Core Contracts form the backbone of Peridot Protocol, managing critical lending and borrowing logic, user vault balances, and core financial operations. These contracts handle asset collateralization, interest accrual, liquidity management, and risk governance directly on-chain.


📌 Primary Responsibilities

The Core Contracts oversee:

  • Collateral Management: Accepting user deposits, tracking collateral, and maintaining accurate user positions.

  • Borrowing & Repayment Logic: Handling user loan requests, calculating borrow limits based on collateral, and managing repayments.

  • Interest Calculation & Distribution: Continuously calculating dynamic interest rates based on utilization, managing interest accrual, and ensuring accurate APY distributions.

  • Liquidation Operations: Triggering and managing liquidations when collateral values fall below set thresholds.


🔍 Core Contract Components

The Core Contract suite comprises the following essential contracts:

  • Peridottroller: The central controller managing all lending market operations, collateral factors, borrow limits, and liquidation processes.

  • PERC20 (Peridot ERC20 Asset Tokens): Interest-bearing token contracts representing user deposits, allowing users to earn APY on their supplied assets.

  • PEther (Peridot Native Asset Contract): A specialized interest-bearing token contract designed explicitly for the native blockchain asset (e.g., ETH), facilitating direct native asset deposits and withdrawals.


⚙️ Technical Implementation

Each Core Contract is:

  • Carefully audited and rigorously tested for security and reliability.

  • Designed for composability and modularity, allowing for straightforward expansion and upgrades.

  • Integrated directly with the Cross-Chain Contracts to seamlessly handle multi-chain user interactions and asset transfers.


For in-depth technical specifics on each Core Contract (Peridottroller, PERC20, PEther), including interfaces, implementation details, and usage instructions, please visit their respective subpages.

PreviousTechnical SpecificationsNextPeridottroller

Last updated 1 month ago