Orion
  • WELCOME TO ORION AI
    • Introduction
    • How it Works [ELI5]
    • FAQ
  • APP GUIDE
    • Earn
      • LCT
    • Borrow
      • Manual Loan Repayment
    • Pools [Lend]
      • Stacks
      • Manage Positions
    • Auctions
  • TECHNICAL OVERVIEW
    • Protocol Design
      • Deposit Flow
      • Borrow Flow
      • Liquidity Ticks
      • Tokenization
      • Collateral Filters
      • Collateral Wrappers
      • Interest Rate Models
      • Liquidation
      • Deployment
      • Admin Fees
    • Gas Report
  • OTHER
    • Terms of Service
Powered by GitBook
On this page
  1. TECHNICAL OVERVIEW
  2. Protocol Design

Collateral Wrappers

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 ICollateralWrapper 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 BundleCollateralWrapper, which can be used to create reusable collateral bundles, and the ERC1155CollateralWrapper, 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.

PreviousCollateral FiltersNextInterest Rate Models

Last updated 1 year ago