MetaStreet
  • Welcome to MetaStreet
    • 👋Introduction
    • 📦Object-Oriented Finance
    • Links
  • Liquidity Layer
    • 📤Overview
    • 🛠️How Pools Work [ELI5]
    • 💸Earn
      • Manage
    • 📥Borrow
      • Manual Loan Repayment
    • 🔨Auctions
  • Yield Capture Layer
    • 📈Overview
    • 🛠️How it Works [ELI5]
    • 🔺NodeFi (Yield Pass)
      • Aethir on Yield Pass
      • Xai on Yield Pass
    • 💾GPU Financing
    • 🔐Audits
    • 📊Dashboard
  • Technical Overview
    • 🏗️Protocol Design
      • Deposit Flow
      • Borrow Flow
      • Liquidity Ticks
      • Tokenization
      • Collateral Filters
      • Collateral Wrappers
      • Interest Rate Models
      • Liquidation
      • Deployment
      • Admin Fees
    • 📍Contract Addresses
    • 📍Token Bridges
    • 🔐Audits
    • ⛽Gas Report
    • 📑API
    • 🔧SDK
    • 📊Dashboard
  • Other
    • 🤝Terms of Service
Powered by GitBook
On this page
  1. Technical Overview
  2. Protocol Design

Collateral Wrappers

PreviousCollateral FiltersNextInterest Rate Models

Last updated 1 year ago

Collateral wrappers allow a Pool to recognize collateral that exists in a wrapped form for a loan. This facility is useful for implementing a number of extensions to the Pool, such as bundles and airdrop receivers.

Collateral wrappers are implemented as an ERC721 token that the Pool takes custody of instead of the native collateral token for a loan. Collateral wrappers implement the interface, which allows a Pool to enumerate the underlying collateral for validation with its collateral filter, and allows a collateral liquidator to unwrap the underlying collateral for liquidation.

The two official collateral wrappers are the , which can be used to create reusable collateral bundles, and the , which gives Pools indirect support for ERC1155 collateral with loans.

Pools may recognize up to five collateral wrapper contracts, which are bound to the Pool implementation contract at deployment time.

🏗️
ICollateralWrapper
BundleCollateralWrapper
ERC1155CollateralWrapper