Skip to content

Release 2.4.2

Compare
Choose a tag to compare
@naddison36 naddison36 released this 23 Feb 06:20
· 75 commits to master since this release

The main feature of this release is being able to withdraw base assets (bAssets) or Feeder Pool assets (fAssets) from Vaults or Save in one transaction.

Examples:

  • Withdraw USDC bAsset from the Savings Vault (v-imUSD).
  • Withdraw WBTC bAsset from Save (imBTC).
  • Withdraw FEI fAsset from the Savings Vault (v-imUSD).
  • Withdraw HBTC fAsset from from Save (imBTC).

See the following for more details on how the processes work
https://github.com/mstable/mStable-process-docs/blob/main/unwrapper/README.md#unwrapper

Contract changes

  • New ISavingsContract v3 interface with
    • new redeemAndUnwrap function
    • depositSavings override with referrer param
  • Added withdrawAndUnwrap function to vault contracts: BoostedVault, BoostedDualVault, StakingRewards and StakingRewardsWithPlatformToken.
  • New Unwrapper contract.
  • SaveWrapper contract added deposit override with referrer param

Full Changelog: v2.4.1...v2.4.2