-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file. | |
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [1.4.0] - 2021-09-16 | ||
|
||
### Added | ||
|
||
- `depositUnderlyingAsCollateralAndBorrowHTokenAndAddLiquidity` function. | ||
- `removeLiquidityAndRepayBorrowAndWithdrawCollateral` function. | ||
- `repayAmount` argument to the `removeLiquidityAndRepayBorrowAndWithdrawCollateral` function. | ||
|
||
### Changed | ||
|
||
- Mark `withdrawCollateral` function as public. | ||
- Move amount normalization computations in internal function. | ||
- Polish NatSpec comments. | ||
- Upgrade to `ethers` v5.4.6. | ||
- Upgrade to `@hifi/amm` v1.5.0. | ||
- Upgrade to `@hifi/protocol` v1.5.0. | ||
- Upgrade to `@paulrberg/contracts` v3.5.2. | ||
- Upgrade to Solidity compiler v0.8.7. | ||
|
||
### Fixed | ||
|
||
- Call `getQuoteForSellingHToken` instead of `getQuoteForSellingUnderlying` in the `removeLiquidityAndSellHToken` function. | ||
- Check debt amount before repaying borrow in `buyHTokenAndRepayBorrow` function. | ||
|
||
### Removed | ||
|
||
- `removeLiquidityAndSellUnderlyingAndRepayBorrow` function. | ||
|
||
## [1.3.1] - 2021-08-13 | ||
|
||
### Fixed | ||
|
@@ -65,9 +93,10 @@ YANKED. | |
|
||
- First release of the package. | ||
|
||
[1.3.1]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] | ||
[1.3.0]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] | ||
[1.2.0]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] | ||
[1.1.1]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] | ||
[1.1.0]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] | ||
[1.4.0]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.3.1]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.3.0]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.2.0]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.1.1]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.1.0]: https://github.com/hifi-finance/hifi/compare/@hifi/[email protected]...@hifi/[email protected] | ||
[1.0.0]: https://github.com/hifi-finance/hifi/releases/tag/@hifi/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@hifi/proxy-target", | ||
"description": "DSProxy target contract with scripts for the Hifi protocol", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"author": { | ||
"name": "Hifi", | ||
"email": "[email protected]", | ||
|