Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Releases: makerdao/dai.js

dai-plugin-migrations-v1.3.0

26 May 23:03
Compare
Choose a tag to compare

This release updates the plugin to be compatible with dai-plugin-mcd 1.5.0.

dai-plugin-mcd-v1.5.0

26 May 23:01
Compare
Choose a tag to compare

Now that dai-plugin-scd exists and has been modified to refer to SAI (see docs), there is no longer any reason for this plugin to avoid referring to DAI. So it has been changed to export DAI instead of MDAI.

dai-v0.30.0

29 Apr 17:53
Compare
Choose a tag to compare

BREAKING CHANGE: Single-collateral Dai functionality has been split off into a separate plugin. If you update to this version and you need to interact with the Single-collateral system, you must install @makerdao/dai-plugin-scd and inject it into your Maker instance as you would with any other plugin. See docs.makerdao.com/dai.js for more instructions.

dai-v0.29.0

17 Apr 02:51
Compare
Choose a tag to compare

Updated web3 dependency to 1.2.6 -- thanks @kraikov for suggesting it in #217

dai-plugin-migrations-v1.0.0

15 Nov 22:50
Compare
Choose a tag to compare
  • Adds support for mainnet migrations
  • Adds DaiToSai migration
  • Adds payFeeWithGem option: migration.execute(migration.execute(cdpId, 'GEM', maxPayAmount)
    • maxPayAmount (number) is the max pay amount for the Oasis trade that buys MKR with SAI
    • returns new MCD CDP ID

dai-plugin-mcd-v1.0.0

15 Nov 22:51
Compare
Choose a tag to compare

Adds support for mainnet MCD contracts

dai-plugin-migrations-v0.2.0

13 Nov 23:59
Compare
Choose a tag to compare

Adds support for CDP migrations with new debt as the fee payment method:

migration.execute(cdpId, 'DEBT', maxPayAmount, minRatio)

  • Max pay amount is the maximum amount of Dai debt to use as payment, since the contract buys MKR on Oasis (number)
  • Minimum ratio is the lowest possible collateralization ratio to allow the CDP to hit when drawing new debt to pay the fee (number, e.g. 180)
  • Returns new MCD CDP ID

dai-plugin-mcd-v0.2.17

13 Nov 23:53
Compare
Choose a tag to compare

Updates plugin to the final version of the mcd code at dss-deploy-scripts v0.2.17

dai-plugin-migrations-v0.1.9

12 Nov 18:00
Compare
Choose a tag to compare

Updates contracts to mcd-v0.2.16

dai-plugin-mcd-v0.2.16-1

12 Nov 18:02
Compare
Choose a tag to compare

Updates contracts to mcd-v0.2.16

Breaking change: Removes support-by-default for collateral types that will not be included immediately in mcd