Lombard
  • Unlocking Bitcoin's Potential
    • Introducing Lombard & LBTC
      • Our Value Proposition
      • The State of Bitcoin
      • Lombard's Mission & Vision
  • Lombard's Partners
    • Babylon's Bitcoin Staking
    • Lombard's Security Consortium
  • Bitcoin Staking Partners
  • LBTC: Liquid Bitcoin
    • Introduction to LBTC
    • DeFi Vaults
      • Lombard DeFi Vault
        • LBTC/LBTCv
      • Bitcoin Bera Vault
      • Sentora DeFi Vault
    • Lux & Luminary Program
      • Referral Program
      • Nov. '24 The Golden Bull
      • Dec. '24 Flash Event
    • Staking Yield Distribution
    • Supported Blockchains
    • User Guides
      • Staking BTC & Minting LBTC
      • Unstaking LBTC
      • Lombard DeFi Vault: Depositing & Withdrawing
      • Claiming BABY
      • LBTC Bridging to Sui
  • Technical Documentation
    • Smart Contracts
    • Protocol Fees
    • Protocol Architecture
      • Lombard Ledger (Consortium)
      • CubeSigner: Key Management
      • Bascule Drawbridge
      • LBTC Design
      • Babylon Staking
      • PMM Module
      • Trustless Relayer
    • Oracles
    • Audits & Bug Bounties
    • Sanctions & Risk Monitoring
    • Transaction Tracing
  • Frequently Asked Questions
    • FAQs
      • BABY FAQs
  • Developers
    • Lombard SDK V3
    • SDK FAQ
    • Lombard SDK V2 (deprecated)
  • Quick Links
    • Lombard Website
    • Lombard X (Twitter)
    • Lombard Dune Dashboard
    • Lombard Dune PoR
    • Lombard Discord Server
  • Legals
    • Terms of Service
    • Privacy Policy
    • UK Residents
Powered by GitBook
On this page
  1. Technical Documentation
  2. Protocol Architecture

PMM Module

PreviousBabylon StakingNextTrustless Relayer

Last updated 4 months ago

On specific blockchains, Lombard Protocol deploys a Private Market Maker (PMM) module smart contract to improve the user experience for acquiring LBTC holders from other popular BTC derived assets.

The PMM smart contract has defined risk parameters to allow for temporary & limited exposure to other BTC-assets, as the super-majority of LBTC is backed by only native BTC.

All deployed PMM smart contracts are

The smart contract has an optional fee, set based depending on the asset being swapped to LBTC.

Note: The PMM smart contract is operated as a convenience function aimed at onboarding retail users. Any financial market operations (i.e. arbitrage) utilising these contracts is discouraged. Additional security measures will be introduced to restrict access if needed.

Example:

The PMM smart contract deployed on BNB Smart Chain to serve BTCB to LBTC onboarding has the following notable functions:

  • remainingStake is the amount of LBTC available to be minted before the PMM is at capacity and no more BTCB can be swapped to LBTC.

  • relativeFee is the percentage of LBTC to be deducted per swap, to cover treasury operational costs to provide this service.

  • swapBTCBToLBTC(uint256 amount) will execute an atomic swap for the amount of BTCB specified. Note: the PMM smart contract must be authorized to debit the BTCB amount from the user.

Lombard Protocol has defined risk parameters to limit maximum exposure to BTCB, as the majority of Lombard's reserves are held in native Bitcoin. This temporary exposure to non-native Bitcoin (i.e. BTCB), ensures the stability of LBTC.

A Private Market Maker module (PMM) is used to control the exchange of LBTC for BTCB, ensuring the corresponding underlying BTC is staked safely into Babylon.

Further info can be found on the PMM and LBTC smart contracts .

listed here.
here