calldata / USM

Minimalist USD - A minimalist, collateralized stablecoin built on Ethereum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USM ("Minimalist USD") Stablecoin

USM is an attempt to answer the question "What's the simplest possible decentralized stablecoin?" The resulting project is a decentralized (ownerless and immutable), tightly pegged, open-source not-for-profit, minimalist ERC-20 stablecoin system, combining a stablecoin (1 USM = $1) + a "vol-coin" (FUM) with just four operations:

  • mint (ETH->USM)
  • burn (USM->ETH)
  • fund (ETH->FUM)
  • defund (FUM->ETH)

Read more in the original series of 2020 Medium posts that sketched the design, and @usmfum on Twitter.

Networks & Addresses

USM v1-rc1 (mainnet v1 release candidate)

On Oct 10, 2021, v1 LAUNCHED! 🎆🎉😬 v1-rc1 is the first uncapped mainnet USM release, which is exciting; but as a release candidate v1-rc1 may still be replaced by a v1-rc2 if significant problems are found - keep an eye on Twitter for news of any such developments. See the initial launch thread and give it a poke.

USM v0.5 (mainnet pre-v1 temporary test deployment)

v0.5 is a test release, but on mainnet and full-featured, except that it becomes withdrawal-only after Oct 13. (See our Twitter thread about it.) Feel free to play with it and report any issues, but soon! Depending how this v0.5 is looking, the long-awaited v1 release candidate could come soon...

USM v0.4 (Kovan testnet)

USM v0.1 ("Baby USM") - Mainnet

Live Stats

Baby USM is a "beta" version of USM. Baby USM expires on the 15th of January 2021 when it becomes withdraw-and-read-only. At this point, FUM and USM will be redeemable for ETH, but no more minting of either can occur.

Baby USM and Baby FUM is not redeemable for USM or FUM. It is for test and research purposes only.

How It Works

USM is pegged to United States dollar, and maintains its stable value by minting USM in exchange for ETH, using the price of ETH at the time of minting.

If ETH is worth $200, I deposit 1 ETH, I get 200 USM in return (minus a small minting fee). The same goes for burning, but in the opposite direction.

This is what's known as a CDP: Collateralised Debt Position.

The problem with CDPs is that if the asset used as collateral drops in value, which in our case is highly probable at any time due to the volatility of ETH, the contract could become undercollateralised. This is where the concept of Minimalist Funding Tokens, or FUM, come in.

For more information on how FUM de-risks USM, read Jacob's original articles.

About

Minimalist USD - A minimalist, collateralized stablecoin built on Ethereum.

License:GNU General Public License v3.0


Languages

Language:Solidity 64.7%Language:JavaScript 34.9%Language:Shell 0.3%