-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40dec6c
commit 28f5348
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: SEE LICENSE IN LICENSE | ||
pragma solidity ^0.8.18; | ||
|
||
/** | ||
* @title DecentralizedStableCoin | ||
* @author Gergely Gere | ||
* The system is designed to be as minimal as possible, and have the token == 1$ peg. | ||
* This stablecoin has the properties: | ||
* - Exogenous Collateral | ||
* - Dollar Pegged | ||
* - Algoritmically Stable | ||
* | ||
* Our DSC system should always be "overcollateralized". At no point, should the value of all collateral <= the $ backed value of all the DSC. | ||
* | ||
* No Governance, no fees, and was only backed by WETH and WBTS. | ||
* | ||
* @notice This contract is the core of the DSC System. It handles all the logic for mining and redeeming DSC, as well as depositing and withdrawing collateral. | ||
* @notice This contract is very loosely based on the MakerDAO DSS (DAI) system. | ||
*/ | ||
|
||
contract DSCEngine { | ||
function depositCollateralAndMintDsc() external {} | ||
|
||
function redeemCollateralForDsc() external {} | ||
|
||
function redeemCollateral() external {} | ||
|
||
function mintDsc() external {} | ||
|
||
function burnDsc() external {} | ||
|
||
function liquidate() external {} | ||
|
||
function getHealthFactor() external {} | ||
} |