Skip to content

Irwino820/foundry-defi-stablecoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. (Relative Stability) Amchored or Pegged -> $1.00
    1. Chainlink Price Feed.
    2. Set a function to exchange ETH & BTC -> $$$
  2. Stability Mechanism (Minting): Algoritmic (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 is debt is 0
  • Added a bunch of view function
  1. What are our invariant/properties?

  2. Some proper oracle use

  3. Write more tests

  4. Smart Contract Audit Preparation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published