Releases: makerdao/dai.js
dai-plugin-migrations-v1.3.0
This release updates the plugin to be compatible with dai-plugin-mcd 1.5.0
.
dai-plugin-mcd-v1.5.0
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
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
dai-plugin-migrations-v1.0.0
- 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
Adds support for mainnet MCD contracts
dai-plugin-migrations-v0.2.0
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
Updates plugin to the final version of the mcd code at dss-deploy-scripts v0.2.17
dai-plugin-migrations-v0.1.9
Updates contracts to mcd-v0.2.16
dai-plugin-mcd-v0.2.16-1
Updates contracts to mcd-v0.2.16
Breaking change: Removes support-by-default for collateral types that will not be included immediately in mcd