Abelaby / STABLECOIN-Foundry

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 -> $$$
  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 function
  1. What are our invariants/ properties?

  2. Some proper Oracle use

  3. Write more tests

  4. Smart contract preparation

About


Languages

Language:Solidity 100.0%