Skip to content

butterpaneermasala/foundry-defi-stablecoin-cu-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable coin

  1. Realtive Stability: Anchpred or pegged -> $1.00
    1. Chainlink price feed.
    2. Set a function to exchange ETH & BTC -> $$$
  2. Stablility Mechanism (Minting): Algorithmic (Decentralized)
    1. People can only mint tge stablecoin with enough collateral (coded)
  3. Collateral: exogenous (Cyrpto)
    1. wRTH
    2. wBTC
  • calculate health factor fucntion
  • set health factor if debt is 0
  • add bunch of view fucntion
  1. What are our invariants/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