All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.11.0 - 2023-01-04
- Upgrade to
@hifi/protocol
v1.11.0.
1.10.1 - 2023-01-04
- Upgrade to
solidity-docgen
v0.6.0-beta.8. - Fix referenced license in README.
- Respond to audit finding regarding unlocked pragma (QSP-23).
1.10.0 - 2022-03-29
- Refactor the directory trees in the generated types.
- Refactor the ethers factories as per the latest typechain output.
- Upgrade to the latest ethers packages.
- Upgrade to
@hifi/protocol
v1.10.0.
- Remove types for
Erc20
,Erc20Permit
andOwnable
.
1.9.1 - 2022-03-16
- Fix peer dependency version of
@hifi/protocol
.
1.9.0 - 2022-03-16
- Change the
amount
argument tovalue
in thepermit
function of theErc20Permit
contract. - Change the license from LGPL v3 to BUSL v1.1.
- Switch from
@paulrberg/contracts
to@prb/contracts
. - Switch from
prb-math
to@prb/math
. - Upgrade to
@hifi/protocol
v1.9.0.
1.8.2 - 2022-03-04
- Upgrade to
@hifi/protocol
v1.8.2.
1.8.1 - 2022-03-04
- Upgrade to
@hifi/protocol
v1.8.1.
1.8.0 - 2022-03-04
- Improve wording in README and NatSpec comments.
- Inherit from
IOwnable.sol
inIHifiPoolRegistry
. - Move the custom errors in the smart contract interface files.
- Upgrade to
@hifi/protocol
v1.8.0. - Upgrade to
@paulrberg/contracts
v3.7.0. - Upgrade to
ethers
v5.5.4. - Upgrade to
prb-math
v2.4.3.
- All
*.d.ts
type files.
1.7.1 - 2021-10-25
- Upgrade to
@hifi/protocol
v1.7.1.
1.7.0 - 2021-10-20
- Mark
@ethersproject/abi
,@ethersproject/bytes
and@ethersproject/providers
as normal deps instead of dev deps. - Move types from
typechain
directory todist/types
. - Order storage vars alphabetically.
- Ship declaration maps and source maps with the npm package.
- Upgrade to
@hifi/protocol
v1.7.0. - Upgrade to
@paulrberg/contracts
v3.6.1. - Upgrade to
ethers
v5.5.1. - Upgrade to
prb-math
v2.4.0 and removeprb-math.js
dev dep. - Upgrade to Solidity v0.8.9.
- Check zero edge cases in the
buyHToken
andsellHToken
functions in theHifiPool
contract.
artifacts
from npm package.
1.6.0 - 2021-09-24
- Declutter README and add usage guides.
- Polish the NatSpec comments.
- Sync peer dependencies.
- Update year in LICENSE.
- Upgrade to
@hifi/protocol
v1.6.0. - Upgrade to
@paulrberg/contracts
v3.6.0. - Upgrade to
prb-math
v2.3.0.
1.5.0 - 2021-09-16
getBurnOutputs
function in theHifiPool
contract.
- Polish NatSpec comments.
- Rename
getMintParams
function togetMintInputs
. - Upgrade to
ethers
v5.4.6. - Upgrade to
@hifi/protocol
v1.5.0. - Upgrade to
@paulrberg/contracts
v3.5.2. - Use Solidity v0.8.7.
- Allow minting of LP tokens only before maturity.
- Typos in NatSpec comments.
1.4.0 - 2021-08-13
- Ethers as a peer dependency.
- Erc20, Erc20Permit and Ownable in the npm package bundle.
- New
HifiPoolRegistry.sol
contract, to track deployed AMMs. - TypeChain factories in the npm package bundle.
- Upgrade to
@hifi/protocol
v1.4.0.
1.3.0 - 2021-08-03
- Reword NatSpec for constructor function.
- Upgrade to
@hifi/protocol
v1.3.0.
1.2.1 - 2021-08-03
- Fix indenting in
YieldSpace.sol
.
1.2.0 - 2021-08-03
- Disable the Solidity compiler metadata hash.
- Upgrade to
@hifi/protocol
v1.2.0.
- Include the
commons.ts
file in thetypechain
folder shipped to the npm registry.
1.1.2 - 2021-07-30
- Affix all dependency versions.
1.1.1 - 2021-07-30
- Improve NatSpec comments in
IHifiPool.sol
.
1.1.0 - 2021-07-29
- Inherit from
IErc20Permit
inIHifiPool.sol
. - New constant function
getMintParams
inHifiPool.sol
.
- Keywords in
package.json
. - Source
hTokenRequired
andpoolTokensMinted
via thegetMintParams
function. - Various rewordings in code comments.
1.0.0 - 2021-06-28
- First release of the package.