In this chapter, we reviewed the basic features of popular stablecoin and understood the three types of stablecoin, including fiat collateralized stablecoins, crypto collateralized stablecoins, and non-collateralized stablecoins.
Then, we looked into USDT, DAI, TUSD, USDC, GUSD, and PAX stablecoin smart contract design and explored the functions that are defined in these contracts. We learned how each stablecoin system maintains stable tokens with a 1:1 price peg through mint, burn, and other controllable functions.