This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
Releases: makerdao/dai.js
Releases · makerdao/dai.js
dai-v0.21.0
Added smartContract.addressOverrides
config option, so you can override the address of a contract without having to re-specify its ABI as you would with the addContracts
option. Spec
dai-v0.20.0
- New method for setting up transaction listener callbacks: TransactionManager.onTransactionUpdate
- Relax error-checking on input to
smartContract.addContracts
config option: a contract can be missing an address for the current network, and an error will only be thrown if that specific contract is accessed individually withgetContract
.
dai-plugin-mcd-v0.2.15-1
Fixes a bug with imports that was breaking Webpack builds.
dai-plugin-migrations-v0.1.2
Adds migration functionality for:
- Sai to Dai
- Sai CDPs to Dai CDPs (pay fee with MKR)
dai-v0.19.0
- Supports Node 12
- Upgraded web3.js from 1.0.0-beta.34 to 1.2.1
- Made it easier for plugins to support multiple networks
- Allows using the Nth account from an RPC node, not just the 1st one
- Handles checksum addresses in getCdpIdsForOwner
dai-plugin-mcd-v0.2.15
- Updates contracts and data to mcd v0.2.15
- Adds support for migration contracts
dai-v0.18.6
Updates multicall to v0.8.0
dai-plugin-mcd-v0.2.14
- Updates contract addresses and ABIs for the v0.2.14 mcd release
- Adds support for new DSR proxy actions contract and updates the savings service where necessary
- Adds
owner
parameter tosafeWipe
,safeWipeAll
, andsafeLock
- Updates
beg
in auction service to usewad
instead ofray
- Updates vdb support to v0.2.12
- Adds basic
END
support, with check for emergency shutdown - Adds
@tracksTransaction
decorator tojoin
,exit
, andexitAll
(as of v0.2.14-rc.1)
dai-plugin-mcd-v0.2.13
- Updates contract addresses and ABIs for the v0.2.13 mcd release
- Adds
unsafeWipe
andunsafeWipeAll
, which bypass the assertions insafeWipe
andsafeWipeAll
(proxy-actions) that block users from wiping debt from a CDP they don't own
dai-plugin-mcd-v0.2.12
Updates dai-plugin-mcd to mcd-v0.2.12. New functions in this release:
cdp.wipeAll()
: wipes all dai debtcdp.wipeAllAndFree(amount)
: wipes all dai debt and frees the specified amount of collateralcdp.give(address)
: gives CDP directly to the supplied addresscdp.giveToProxy(address)
: gives CDP to the proxy of the supplied address (will create one for the supplied address first, if necessary)cdp.getOwner()
: returns the address that owns the CDP