This repository was archived by the owner on May 4, 2026. It is now read-only.
v0.3.0
·
72 commits
to main
since this release
Minor Changes
- 33af11e: Add
forceWithdrawandforceRedeemVaultV2 operations that allow users to free liquidity from non-liquidity adapters (e.g., Morpho Market V1 adapters, Vault V1 adapters) and withdraw or redeem in a single atomic transaction via VaultV2's nativemulticall.forceWithdrawis asset-based (specify exact assets to withdraw), whileforceRedeemis share-based (specify exact shares to redeem). A penalty is taken from the caller for each deallocation to discourage allocation manipulation, applied as a share burn that keeps the share price stable. Includes newDeallocationtype,encodeForceDeallocateCallhelper, dedicated error classes (EmptyDeallocationsError,DeallocationsExceedWithdrawError), and entity-level integration onMorphoVaultV2.