Skip to content

Commit

Permalink
ma is let valami
Browse files Browse the repository at this point in the history
  • Loading branch information
Gere321123 committed Oct 7, 2024
1 parent 40dec6c commit 28f5348
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/DSCEngine.sol
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 {}
}

0 comments on commit 28f5348

Please sign in to comment.