This project is a stablecoin where users can deposit WETH and WBTC in exchange for a token that will be pegged to the USD.
I have used openzeppelin-contracts version 4.8.3 since the ERC20Mock have changes in it.
- (Relative Stability) Anchored or Pegged to USD.
- Utilize Chainlink Price Feed.
- Set a function to exchange ETH & BTC to USD.
- Stability Mechanism (Minting): Algorithmic (Decentralized)
- People can only mint the stablecoin with enough collateral (coded)
- The code is set in a way that the Stablecoin is almost always overcollateralized.
- Collateral type: Exogenous (crypto)
- wETH
- wBTC