Dai.js Versions Save

dai-plugin-mcd-v0.2.15-1

4 years ago

Fixes a bug with imports that was breaking Webpack builds.

dai-v0.21.0

4 years ago

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

4 years ago
  • 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 with getContract.

dai-plugin-migrations-v0.1.2

4 years ago

Adds migration functionality for:

  • Sai to Dai
  • Sai CDPs to Dai CDPs (pay fee with MKR)

dai-v0.19.0

4 years ago
  • 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

4 years ago
  • Updates contracts and data to mcd v0.2.15
  • Adds support for migration contracts

dai-v0.18.6

4 years ago

Updates multicall to v0.8.0

dai-plugin-mcd-v0.2.14

4 years ago
  • 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 to safeWipe, safeWipeAll, and safeLock
  • Updates beg in auction service to use wad instead of ray
  • Updates vdb support to v0.2.12
  • Adds basic END support, with check for emergency shutdown
  • Adds @tracksTransaction decorator to join, exit, and exitAll (as of v0.2.14-rc.1)

dai-plugin-mcd-v0.2.13

4 years ago
  • Updates contract addresses and ABIs for the v0.2.13 mcd release
  • Adds unsafeWipe and unsafeWipeAll, which bypass the assertions in safeWipe and safeWipeAll (proxy-actions) that block users from wiping debt from a CDP they don't own

dai-plugin-mcd-v0.2.12

4 years ago

Updates dai-plugin-mcd to mcd-v0.2.12. New functions in this release:

  • cdp.wipeAll(): wipes all dai debt
  • cdp.wipeAllAndFree(amount): wipes all dai debt and frees the specified amount of collateral
  • cdp.give(address): gives CDP directly to the supplied address
  • cdp.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