Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

v0.6.0

Latest

Choose a tag to compare

@consumer-sdk-release-bot consumer-sdk-release-bot released this 20 Apr 16:02
· 11 commits to main since this release
173fd7d

Minor Changes

  • 866a4c9: Add vaultV1MigrateToV2 atomic migration action that transfers a user's VaultV1 (MetaMorpho) position to VaultV2 in a single bundler3 transaction. The flow transfers V1 shares via erc20TransferFrom, redeems them via erc4626Redeem, and deposits the resulting assets into V2 via erc4626Deposit — all through GeneralAdapter1. Includes migrateToV2() entity method on MorphoVaultV1, slippage protection (minSharePrice/maxSharePrice), new error classes (NonPositiveMinSharePriceError, NonPositiveSharesAmountError, VaultAssetMismatchError), and comprehensive test coverage.