This repository was archived by the owner on May 4, 2026. It is now read-only.
·
11 commits
to main
since this release
Minor Changes
- 866a4c9: Add
vaultV1MigrateToV2atomic migration action that transfers a user's VaultV1 (MetaMorpho) position to VaultV2 in a single bundler3 transaction. The flow transfers V1 shares viaerc20TransferFrom, redeems them viaerc4626Redeem, and deposits the resulting assets into V2 viaerc4626Deposit— all through GeneralAdapter1. IncludesmigrateToV2()entity method onMorphoVaultV1, slippage protection (minSharePrice/maxSharePrice), new error classes (NonPositiveMinSharePriceError,NonPositiveSharesAmountError,VaultAssetMismatchError), and comprehensive test coverage.