Repository navigation
v1.7.0
Release Notes for v1.7.0
This release brings a host of improvements and new features across our contracts, enhancing gas estimation capabilities, swap functionality, and liquidity management. Here's what's new:
MultiSwapForge Contracts for GasEstimation (PR #42)
Overview
- This update introduces a split in our contract architecture to enhance gas estimation functions while segregating production contracts from gas estimation contracts.
Features
- Production Contracts: FiberRouter & FundManager for real-time transaction facilitation.
- Gas Estimation Contracts: MultiSwapForgeContract & ForgeFundManager to simulate withdrawals and provide gas estimates without affecting production contracts.
Enhancements
- New gas estimation workflow for withdrawals, improving system efficiency and accuracy.
- Renamed
Upgradeable-Contractsfolder tomultiswap-contracts. - Added deployment scripts for MultiSwapForge and ForgeFundManager contracts.
Additional Notes
- Clear separation between production and gas estimation contracts to avoid unintended interactions and prepare the system for more efficient gas estimation handling.
FillOrderTo 1inch Swap and Allowance Fix in FiberRouter (PR #43)
Overview
- Enhancements to
FiberRouterand its dependencies (OneInchSwapandOneInchDecoder) to optimizefillOrderTooperations and fix the SafeERC20 allowance issue.
Changes
- New
handleFillOrderTofunction inFiberRouterfor improved token swap execution. - Updated
OneInchSwapand introduceddecodeFillOrderToinOneInchDecoderfor extended functionality and compatibility withFiberRouter. - Implemented a fix for the SafeERC20 allowance issue to ensure seamless swap execution.
Testing and Deployment
- Added scripts for deploying contracts, fetching 1inch swap data, verifying signers, and testing withdrawal functions.
Additional Notes
- These improvements enhance the FiberRouter contract's capabilities in handling 1inch aggregator swaps, offering a more reliable and efficient trading experience.
Liquidity Management and Cancellation of Failed Withdrawals (PR #44)
Overview
- New features in the
FundManagercontract for liquidity management and cancellation of failed withdrawals, introducing a base contractLiquidityManagerRole.
MultiSwap Contract Changes
- Abstract
LiquidityManagerRolecontract for liquidity management functionalities. - Enhanced
FundManagercontract derived fromLiquidityManagerRolewith specific liquidity management functions. - New modifiers and functions for setting liquidity and settlement managers, and for canceling failed withdrawals.
Additional Changes
- Corrected NatSpec comments in
FiberRouterandFundManagerfor better documentation. - Added a configuration script for easier multiswap contract management.
Events
- Introduced
FailedWithdrawalCancelledandLiquidityRemovedByManagerevents for better transparency and auditability of liquidity management actions.
This release marks significant strides in our platform's development, focusing on efficiency, reliability, and user experience improvements.
What's Changed
- Liquidity Management and Cancellation of Failed Withdrawals by @salmanferrum in #44
Full Changelog: v1.6.0...v1.7.0