EchoSpr / defi-stablecoin-f23

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. (Relative Stability) Anchored or Pegged -> $1.00
    1. Chainlink Price feed.
    2. Set a function to exchange ETH & BTC -> $$$ -> $1.00
  2. Stability Mechanism (Minting): Algorithmic (Decentralized)
    1. People can only mint the stablecoin with enough collateral(coded)
  3. Collateral: Exogenous (Crypto)
    1. wETH
    2. wBTC
  • calculate health factor function
  • set health factor if debt is 0
  • Added a bunch of view functions
  1. What are our invariants/properties?

About


Languages

Language:Solidity 100.0%