This release updates the plugin to be compatible with dai-plugin-mcd 1.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
.
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.
Updated web3 dependency to 1.2.6 -- thanks @kraikov for suggesting it in #217
Adds support for mainnet MCD contracts
DaiToSai
migrationpayFeeWithGem
option: migration.execute(migration.execute(cdpId, 'GEM', maxPayAmount)
maxPayAmount
(number) is the max pay amount for the Oasis trade that buys MKR with SAIAdds support for CDP migrations with new debt as the fee payment method:
migration.execute(cdpId, 'DEBT', maxPayAmount, minRatio)
Updates plugin to the final version of the mcd code at dss-deploy-scripts v0.2.17
Updates contracts to mcd-v0.2.16
Breaking change: Removes support-by-default for collateral types that will not be included immediately in mcd
Updates contracts to mcd-v0.2.16