Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 588 Bytes

File metadata and controls

5 lines (3 loc) · 588 Bytes

Mirror Mint

NOTE: Reference documentation for this contract is available here.

The Mint Contract implements the logic for Collateralized Debt Positions (CDPs), through which users can mint new mAsset tokens against their deposited collateral (UST or mAssets). Current prices of collateral and minted mAssets are read from the Oracle Contract determine the C-ratio of each CDP. The Mint Contract also contains the logic for liquidating CDPs with C-ratios below the minimum for their minted mAsset through auction.