Skip to content

v1.7.0

Choose a tag to compare

@taha-abbasi taha-abbasi released this 28 Feb 17:36
· 138 commits to main since this release

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-Contracts folder to multiswap-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 FiberRouter and its dependencies (OneInchSwap and OneInchDecoder) to optimize fillOrderTo operations and fix the SafeERC20 allowance issue.

Changes

  • New handleFillOrderTo function in FiberRouter for improved token swap execution.
  • Updated OneInchSwap and introduced decodeFillOrderTo in OneInchDecoder for extended functionality and compatibility with FiberRouter.
  • 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 FundManager contract for liquidity management and cancellation of failed withdrawals, introducing a base contract LiquidityManagerRole.

MultiSwap Contract Changes

  • Abstract LiquidityManagerRole contract for liquidity management functionalities.
  • Enhanced FundManager contract derived from LiquidityManagerRole with 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 FiberRouter and FundManager for better documentation.
  • Added a configuration script for easier multiswap contract management.

Events

  • Introduced FailedWithdrawalCancelled and LiquidityRemovedByManager events 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