Fixes a bug with imports that was breaking Webpack builds.
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
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
.Adds migration functionality for:
Updates multicall to v0.8.0
owner
parameter to safeWipe
, safeWipeAll
, and safeLock
beg
in auction service to use wad
instead of ray
END
support, with check for emergency shutdown@tracksTransaction
decorator to join
, exit
, and exitAll
(as of v0.2.14-rc.1)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 ownUpdates 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