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.
Last updated