Skip to content

New MakerManager, Transfer ownership and approveAndCall transfers

Compare
Choose a tag to compare
@elenadimitrova elenadimitrova released this 08 May 04:46
· 1275 commits to master since this release

Functional updates

Added MakerV2Manager module #50 which enables:

  • Borrowing DAI via MCD Vaults
  • DAI investments into the DSR pot

The MakerManager module will be replaced in the next release by the MakerV2Manager module.

Added RecoveryManager module - Transfer ownership logic #63 to allow for instant wallet recovery using owner + ceil (n/2) guardian signatures.

Updated RecoveryManager module - Recovery logic #63 to:

  • recovery needs to be signed by ceil(N/2) guardians
  • cancel needs to be signed by owner + floor(n/2) guardians

Updated ApprovedTransfer and TransferManager modules - approveTokenAndCallContract #73 #84 to approve an amount of tokens and call a contract that consumes these tokens in one atomic transaction. This function existed in TransferManager but not in ApprovedTransfer prior to this release. Additionally this method now enables a different contract address for the approved spender and the called contract.
Also in this method we've changed the logic to restore the original approved amount.

Maintenance

  • Expose getRequiredSignatures as public on RelayerModuleV2
  • Disable the UniswapManager module #71
  • Set the kyberNetwork variable to address(0) in TokenPriceProvider since we are no longer using it to sync prices. #77
  • Remove LegacyUpgrader - limit backward compatibility to 1 to force rolling upgrades. #91
  • Refactoring of the RelayerModule validateSignatures #76
  • Makes gas price configurable and consistent on deployments #87
  • Restructuring of the contracts folder structure in the repo #86
  • Add JavaScript linting to the CI checks #62