Update: The Road to Multi-Collateral Dai—Kovan Release v0.2.3

April 10, 2019

Introduction

Two weeks ago, we announced the release of MCD v0.2.2 on the Kovan testnet. The release was met with great response from the community! Thank you to everyone who tested and provided feedback.

As promised in the announcement, updates will be posted here as we continue testnet releases on our road to the mainnet release of the Multi-Collateral Dai core contracts and their interaction with Maker core products and tools. As we progress, our goal is to be as transparent as possible with the community and consistently clarify the scope of releases.

This post provides an update on the second release, MCD v0.2.3, the details of which include development updates to the following areas: 

  • Core Contracts
  • Governance Process (Deployed)
  • CDP Portal
  • Dai.js

Descriptive Changelog (v0.2.2 <> v0.2.3) 

Timeline

  • Version 0.2.2 (Released on March 28, 2019)
  • Version 0.2.3 (Released on April 4, 2019)

Since the v0.2.2 Kovan release, the following has been changed and/or added for the newest 0.2.3 release:

Added

  • New MCD 0.2.3 Kovan contract addresses can be found by using `curl -v http://www.mocky.io/v2/5ca6f6df340000132f76b20b`

Changed

The following projects have been updated to use the new Kovan deployment: 

  • DSS deployment scripts
  • Smart contracts
  • Governance Dashboard
  • MCD CDP Portal

New Contract Addresses and Contract Changes 

For the v0.2.3 release, we have re-released the collateral and MKR tokens. This means that if you are looking to test and experiment with product UIs, you will need to get the newest versions of the collateral and MKR tokens.

Core System Contracts

Contract NameDescriptionContract Address
MCD_VATThe CDP core engine keeps track of DAI credit system accounting. 0xacdd1ee0f74954ed8f0ac581b081b7b86bd6aad9
MCD_CATThe user-facing gateway contract for liquidating (biting) CDPs.0x81f7aa9c1570de564eb511b3a1e57dae558c65b5
MCD_FLAPThe flap auction contract is responsible for buying and burning MKR when the system has a surplus.0xb6e31ab6ea62be7c530c32daea96e84d92fe20b7
MCD_FLOPThe flop auction contract is responsible for minting and selling MKR to cover bad debt.0x275ec1950d6406e3ce6156f9f529c047ea41c8ce

MKR Governance Token Contract

Contract Name DescriptionContract Address
MCD_GOVThe MKR governance token contract.0xd237d1f674c2232cef8fdc7148a59d576b67a8a3

DAI Stablecoin Contracts

Contract NameDescriptionContract Name
MCD_DAIThe DAI stablecoin contract.0xc7cc3413f169a027dccfeffe5208ca4f38ef0c40
MCD_JOIN_DAIThe DAI adapter is responsible for minting and burning DAI.0x7bb403aae0330f1acaad8f2a06ebe4b4e4784418

ETH Collateral Contracts

Contract NameDescriptionContract Address
MCD_JOIN_ETH_AThe ETH adapter is responsible for joining and exiting ETH collateral.
0x75f0660705ef0db9adde85337980f579626643af
MCD_FLIP_ETH_AThe ETH flip auction contract is responsible for selling off ETH collateral for DAI when a CDP is liquidated.
0xb88d2655aba486a06e638707fbebd858d430ac6e

Collateral 1 Contracts

Contract NameDescriptionContract Address
COL1Collateral 1 token contract.
0xc644e83399f3c0b4011d3dd3c61bc8b1617253e5
MCD_JOIN_COL1_AThe COL1 adapter is responsible for joining and exiting COL1 collateral.
0xc4e81c9690bb664d682826e3415134c23d08e7bb
MCD_FLIP_COL1_AThe COL1 flip auction contract is responsible for selling off COL1 collateral for DAI when a CDP is liquidated 0x6e8032435c84b08e30f27bfbb812ee365a095b31

To access the full list of contracts, please go here

Key Smart Contract Functionality Changes 

  • Bytes32 to Address
  • ds-pause
  • Modifications in the CDP manager and the proxy actions.

To see the details of the changes, please visit the release of the newest  testchain-dss-deployment-scripts

The Most Significant Changes in the Release

  • dss change urn from bytes32 to address
  • dss-cdp-manager adapted for unique address and urns
  • Removed the exit function
  • frob minor changes

Please note that the `mcd-cli` is out of date and, therefore, is not part of this release.

User Interface Changes

Governance Dashboard

  • Improved on-boarding process by incorporating the Maker UI components library, and guiding vote proxy setup more intuitively.
  • Added the ability to vote with a single wallet without a vote proxy.
  • Kovan MCD contracts and tokens are now added from the client using the SDK addContracts feature.
  • Updated Kovan MCD addresses for latest contract deployment.
  • Various bug fixes.

Release Details

CDP Portal 

  • App navigation tweaks (such as the left nav bar now displays CDPs owned by you).
  • The CDP details now reveal the real data of your CDP (Note that some of the data exists as placeholders).
  • Enabled users to connect to the CDP portal with new wallets, such as Ledger and Trezor.
  • CDP Page improvements.
  • CDP Actions initial implementation.
  • SDK Updates.
  • Dashboard UI improvements.

Release Details

Dai.js

  • Pause was added as part of the ‘Governance Security Module.’ Pause works by adding a time delay from when a spell is lifted to become the hat until the point it can be ‘cast’ (otherwise referred to being executed). As per this release, Pause will implement a 5-minute delay.
  • Note that Pause will only affect the Governance UI, in that the Governance votes cannot be cast until the time has passed. 
  • Since the DAI token is a regular ERC20, there are no changes on the frontend side of its development. 
  • Fixed a bug in the GasService that caused incorrect gas prices to be included with transactions.
  • Note: The master branch is the most updated version of the contracts.

Release Details

Next Steps

We are now another step closer to achieving Multi-Collateral Dai! When building a system like this, it is crucial to get feedback—not just from internal teams, but also from the entire Maker ecosystem. Please join our public #product-feedback channel on Rocket.Chat to provide feedback and ask any questions you may have.

You can also provide product feedback on the CDP Portal using Usersnap. You do not have to install a Chrome extension to do so. The Usersnap widget allows you to make comments right away.


Getting MakerDAO Updates

To receive updates on Maker, go to https://makerdao.com/en/. In the bottom right corner of the page, you will find the “Sign up for the latest content and updates” button. Please enter you email and hit ’Subscribe’. If you are interested in learning more about creating a product or tool that leverages the Dai Credit System, contact the product team via Rocket.Chat.

For all other updates, follow us

RocketChat
Telegram
Twitter
Reddit

April 10, 2019