How Stablecoins Manage Risk: Collateral, Redemption and Reserves