Skip to content

activiteOCR/foundry-DeFi-stablecoin-f23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stablecoin design:

  1. Relative Stability: Anchored or pegged to 1.00 dollars 1.1 Chain link price feed 1.2 Set a function to exchange ETH & BTC
  2. Stability Mechanism (Minting): Algorithmic (Decentralized) 2.1 People can only mint stablecoin with enough collateral (coded)
  3. Collateral: Exogenous (Crypto) 3.1 wETH 3.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. Smartcontract audit preparation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published