Release 2.4.2
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 withreferrer
param
- new
- Added
withdrawAndUnwrap
function to vault contracts:BoostedVault
,BoostedDualVault
,StakingRewards
andStakingRewardsWithPlatformToken
. - New
Unwrapper
contract. SaveWrapper
contract addeddeposit
override withreferrer
param
Full Changelog: v2.4.1...v2.4.2