A quick refresher on types of #stablecoins- there are 1) fiat-backed 2) crypto-backed 3) algorithmic
DAI is a crypto-backed stablecoin, which means that all of its assets live on the blockchain! How do we make that happen? 2/n
@ethereum@MakerDAO At its core, we have Maker Protocol. It is essentially a set of smart contracts that provide all the rules for this financial system.
This may sound confusing, so let's use a simple analogy! 3/n
@ethereum@MakerDAO If you've ever played snakes and ladder, you know the rules: 1) you roll a dice to decide the number of steps you can take 2) when you land on a square with a snake, you 'fall back' 3) when you land on a square with a ladder, you 'climb up'
Simple yea? 4/n
@ethereum@MakerDAO Likewise, the Maker Protocol gives you the rules that you use to interact with the ecosystem, including amount of DAI you can mint with some crypto assets.
Just by following the rules, you've a functioning #DeFi system. 🪄
There are 4 key players in this system. 5/n
@ethereum@MakerDAO They are: 1) MKR holders, which form the DAO (decentralised autonomous organisation). 2) Keepers 3) Vaults 4) Oracles
Don't worry if their names are awfully vague, each of them actually has a clear function. We will also explain the interactions, so let's start with MKR! 6/n
The governance token of @MakerDAO is MKR. If you hold MKR, you can vote during proposals. It's like having shares in a public company- when proposals arise, you've a say.
Well, what do MKR holders actually vote on? 7/n
@ethereum@MakerDAO Examples of proposals include:
- Adding new collateral type (e.g. USDC was later accepted as a collateral)
- Modifying DAI savings rate (similar to how central banks control interest rate)
- Trigger emergency shutdown (more on this later!) 8/n
@ethereum@MakerDAO In short, MKR holders set the rules for Maker Protocol. Sounds like lots of fun (and responsibility) if you ask me!
We will also go through triggering an emergency shutdown later, so let's continue with our next key player- keepers. 9/n
@ethereum@MakerDAO 2) Keepers
They are independent (and usually automated) traders who provide liquidity for #DAI.
How? E.g. when price of 1 DAI > 1 USD, they can sell the DAI they own for profit. As a side effect, this increases DAI's supply and reduces price.
Next up- vaults. 10/n
@ethereum@MakerDAO 3) Vaults
They are smart contracts (programs) that users interact with to get DAI.
Users will deposit over-collateralised @ethereum assets and in return, they get to borrow some DAI.
Well, why do people do that though? 11/n
@ethereum@MakerDAO Borrowing DAI against their @ethereum assets allow them to have cash to do things (e.g. trade, buy NFTs) while still keeping the upside of owning the underlying collateral.
A quick example will really help our understanding here! 12/n
@ethereum@MakerDAO E.g. we deposit 100 USD worth of ETH and borrow 60 DAI. After making some small trades with DAI, we decide it's time to return the DAI and get our ETH back.
Because ETH prices rose in the meantime, we got usability of cash and still owned ETH.
What if ETH prices fall? 13/n
@ethereum@MakerDAO If the price of collateral falls below the amount of DAI issued to us, then our collateral will be liquidated.
Wait, what's liquidation? And how does the vault even know the price of our collateral at any given moment?
Time to talk about our final player- oracles. 14/n
@ethereum@MakerDAO 4) Oracles
Oracles are a set of trusted price feeds chosen by MKR holders (our governance peeps). They allow the whole ecosystem to know the price of @ethereum assets, since those prices are not native to the blockchain.
With great price feeds come scary liquidations. 15/n
@ethereum@MakerDAO Liquidations occur when price of collateral < price of issued DAI. Thus, the goal is to recover the debt from the loan.
The Maker Protocol does so through 2 types of auctions. 16/n
@ethereum@MakerDAO The first is a collateral auction, whereby the bidder pays DAI to receive collateral from liquidated vault. The received DAI is used to pay off the debt.
But if there is still remaining debt, then we invoke debt auction. 17/n
@ethereum@MakerDAO In debt auction, the bidder pays DAI to receive minted MKR. The bidder will do so if they believe that MKR tokens will appreciate in value.
The bidder's paid DAI will be used to pay off the remaining debt.
Do you still remember the emergency shutdown mentioned earlier? 18/n
@ethereum@MakerDAO Emergency shutdowns are used to protect against black swan events (e.g. attacks against the protocol). They can be triggered by MKR holders or Emergency Oracles.
There are 3 steps in emergency shutdown. 19/n
@ethereum@MakerDAO 1. Freeze vault creation & movement. Users retrieve collateral not actively backing debt. 2. Collateral auction to pay off debt. 3. DAI holders claim collateral by calculating price of DAI in USD & price of collateral in USD.
@ethereum@MakerDAO B/ Risk assessment
Let's use our 3C framework to assess DAI. 1. Decentralised- we can inspect the blockchain to know that the collateral exist. 2. Capital inefficient, but that's a plus since it's over-collateralised. 3. Collateral. There are 3 risk factors here. 21/n
@ethereum@MakerDAO Risk factor 1- inherent volatile nature of crypto assets.
March 12 2020 is now fatefully known as Black Thursday. Prices of crypto crashed 50%, which triggered many liquidations.
High gas fees & congestion prevented users from adding collateral. Then came the zero bidders. 22/n
@ethereum@MakerDAO A subset of auctions were won by bidders who submitted bids decimal points above zero. In other words, they essentially got the liquidated collateral for free.
All this demand for #DAI pushed its price to as high as 1.12USD.
It was a nightmare. 23/n
@ethereum@MakerDAO While the @MakerDAO quickly implemented changes (see linked blog post), we are still unsure of what will happen should another similar crash occurs.
With that in mind, let's move on to risk factor 2. 24/n
Maker Protocol mainly functions on the @ethereum blockchain. This means that you are susceptible to Ethereum's problems, mainly high gas prices and congestion.
Being a #crypto-backed stablecoin means that you can verify on the blockchain that its collateral exist. Contrast this with having to trust @Tether_to or @circlepay. 28/n
@ethereum@MakerDAO@StarkWareLtd@Tether_to@circlepay Building alpha: There is a need for a native multi-chain stablecoin to reduce exposure risk to a single L1. More innovation is also needed to use non-crypto financial assets as collateral.
If you've any ideas, leave a comment down below! 31/n
USDC- safe alternative to USDT. Most people think so.
Wait, there's more. I believe #USDC is the McDonald's of #stablecoins.
My thesis on why USDC is a sleeping giant, risk assessment, and possible alphas.
This is part 3 of the #stablecoinwar series. Let's dive in. 🧶 1/n
I'm going to get to what I mean by McDonald's of stablecoins. Ngl, I was blown away while reading @centre_io's whitepaper.
So let us run through how #USDC works, and I'll tell you about Centre's audacious vision. 2/n
@centre_io Similar to #USDT, USDC is a fiat-backed stablecoin. I've gone through the 3C framework and USDT in previous threads, so I won't go into detail here. (No worries, I'll link them at the end of this thread.)
Remember how USDT is backed by a confusing list of financial assets? 3/n
Before voting on it, let's first look at 2 notable blockchain forks. Why we needed those forks, who proposed them, and how it ended.
Let's dive in. 👇 1/n
1. The infamous DAO hack.
In 2016, a group of @ethereum users launched a DAO- an investment fund that allowed members to vote on and fund future Ethereum-related projects. They raised more than $160 million worth of #ETH from about 11k investors.
Then came the hackers. 🥲 2/n
They found a bug in the smart contract and siphoned 3.6mil ether from the fund.
Think of smart contracts as vending machines. Pop in a dollar, pick the drink and it should dispense it. A vulnerability is akin to getting a free drink without paying.