Skip to content

Commit

Permalink
docs(proxy-target): roll v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Sep 16, 2021
1 parent 22ca2d7 commit 8dcd04c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
39 changes: 34 additions & 5 deletions packages/proxy-target/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
2 changes: 1 addition & 1 deletion packages/proxy-target/package.json
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]",
Expand Down

0 comments on commit 8dcd04c

Please sign in to comment.