USDD Docs
  • INTRODUCTION
    • What is the new version of USDD?
    • What is USDDOLD?
    • Why upgrade USDD?
    • Core Features
    • Collateral Asset Contract Addresses
  • Ecosystem Migration Progress
  • SYSTEM ARCHITECTURE
    • System Architecture
  • USER GUIDE
    • Getting Started
    • Open a Vault
    • Manage a Vault
    • Close a Vault
    • Risk Alert
    • Liquidation
    • Collateral Auction
    • PSM (Peg Stability Module)
    • Migrate
  • DEVELOPERS
    • Glossary
    • Core Contracts
      • Vat
      • Dog
      • Clip
      • Spot
      • Jug
      • Median
      • OSM
      • Proxy contract
      • PSM
      • Migrate
    • Deployment Addresses
    • Liquidation & Auction
      • Key Features of Liquidation
      • Example Process
      • Benefits
    • Oracle
  • GOVERNANCE
    • Overview
  • SECURITY
    • Secure Framework
    • Audits
  • LRGALS
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • Purpose
  • Key Responsibilities
  • Key Methods
Export as PDF
  1. DEVELOPERS
  2. Core Contracts

Clip

Purpose

Handles collateral auctions, where liquidated collateral is sold to cover bad debt. CLIP ensures auctions operate fairly and efficiently using a Dutch auction mechanism.

Key Responsibilities

  • Conducts auctions for liquidated collateral.

  • Ensures participants receive fair prices.

Key Methods

  • kick(tab, lot, usr, kpr) Starts an auction with a debt amount (tab), collateral amount (lot), and Vault owner (usr).

    • Example Use: Kicking off an auction for a liquidated Vault.

  • redo(id, kpr) Allows keepers to reinitialize a stale auction, ensuring auction prices remain relevant.

  • take(id, amt, max, who data) Users can participate in an auction by calling this function.yank(id) Cancels an auction when debt is repaid or resolved through other means.

  • file(what, data) Configures auction parameters such as price decay rates or auction durations.

    • Example Parameters:

      • tip: Fixed incentive for starting an auction.

      • cut: Price decay factor per second.

PreviousDogNextSpot

Last updated 4 months ago