Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.08 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.08 KB

Foundry DeFi Stablecoin

This is considered an Exogenous, Decentralized, Anchored (pegged), Crypto Collateralized low volitility coin.

About

  1. Relative Stability: Amnchored or Pegged -> $1.00

    1. Utilizes the Chainlink Price feed.
    2. Sets 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
  4. Calculates health factor in a function

    • set health factor if debt is 0
    • added a bunch of view functions

Testing

What are our invariants/properties?

  1. Some proper oracle use
  2. Uint tests and invariant tests
  3. Smart Contract Audit Preparation

Thank You

Michael Vargas Linkedin Michael Vargas Twitter