Docs
  • 💫Overview
    • 📖Introducing Cluster
    • 🔮Vision
  • ⚙️Architecture
    • 💧Liquidity Vaults (Markets)
    • 🪐Dimensions
    • 💥Singularity
      • 🔄Treasury swaps
      • ⏳Epochs
    • ⚖️Protocol Fees
  • 💰Tokenomics
    • 🧬CLR & aMTT
  • ⚒️Dev Docs
    • 🔑Contract Specs
      • ⚛️Cross-chain Logic
      • 📊Interest Rate Model
  • 📚Library
    • Brand Assets
    • Official Links
    • Legal Disclaimer
Powered by GitBook
On this page
  • Overview
  • Main components
  • Key user actions
  1. Dev Docs

Contract Specs

Cluster's architecture, highlighting its core contracts and summarizing user actions like supply, borrow, and repay across chains.

PreviousCLR & aMTTNextCross-chain Logic

Last updated 29 days ago

Overview

Cluster is built with a modular architecture combining Compound-style market mechanics with cross-chain execution powered by . The protocol uses a custom-built smart contract called Cross-Chain Lending Gateway (CLG) that manages secure and gas-efficient remote procedure calls between chains.

Cluster's lending logic relies on the Compound V2 model, including Comptroller and Unitroller, and employs a dynamic interest rate model called JumpRateModelV2 to optimize capital efficiency.

Main components

  1. CLG (Cross-Chain Lending Gateway): Handles all cross-chain logic, translating user actions from one chain to another.

  2. Comptroller and Unitroller: Core governance and risk management contracts adapted from Compound V2.

  3. cTokens: Interest-bearing tokens representing user deposits.

  4. JumpRateModelV2: Interest rate model that dynamically adjusts borrow and supply rates based on pool utilization.

Key user actions

  • Supply assets on Chain A and borrow on Chain B.

  • Repay a loan on Chain B from Chain A.

  • Redeem supplied assets across chains.

These actions are routed through the CLG and Stargate to maintain atomicity and security.

⚒️
🔑
Stargate
⚛️Cross-chain Logic
📊Interest Rate Model