Skip to content

Latest commit

 

History

History
204 lines (126 loc) · 4.27 KB

File metadata and controls

204 lines (126 loc) · 4.27 KB

@delvtech/hyperdrive-js-core

3.0.6

Patch Changes

3.0.5

Patch Changes

  • Updated dependencies [66133b5]
  • Updated dependencies [3099256]

3.0.4

Patch Changes

  • bd6d2da: Fix bug in calcOpenLpPosition causing baseAmountPaid to be wrong when withdrawalShares are present.

3.0.3

Patch Changes

  • 40b8f1b: Return bigint instead of number for getLpApy

3.0.1

Patch Changes

  • 8e77c04: Add earliestBlock option to ReadModel and bump evm-client-viem version to use eth_getLogs rather than eth_getFilterLogs.
  • Updated dependencies [4e841fc]

3.0.0

Major Changes

  • b26e00b: 🚨 Breaking Change: Upgraded to Hyperdrive v1.0.16. The updated models, e.g. ReadHyperdrive are no longer compatible for <=1.0.14 contracts. To continue using the SDK with <=1.0.14 contracts, import the corresponding model from the /v1.0.14 import path. E.g., import { ReadHyperdrive_v1_0_14 } from "@delvtech/hyperdrive-viem/v1.0.14".

Minor Changes

  • 19814a4: Add getKind to ReadHyperdrive

Patch Changes

2.4.3

Patch Changes

2.4.2

Patch Changes

  • Updated dependencies [e50602e]
  • Updated dependencies [e50602e]
  • Updated dependencies [ac419ee]
  • Updated dependencies [09ef9ec]
  • Updated dependencies [ac419ee]
  • Updated dependencies [e50602e]
  • Updated dependencies [ac419ee]

2.4.1

Patch Changes

  • Updated dependencies [5af0afa]
  • Updated dependencies [5af0afa]
  • Updated dependencies [5af0afa]

2.4.0

Minor Changes

  • fc33e22: Add MVP Registry and Factory models.

Patch Changes

  • f8f4078: Add errors to exports
  • Updated dependencies [b87f8c2]
  • Updated dependencies [ff9e8a7]
  • Updated dependencies [60bbc40]

2.3.1

Patch Changes

  • 5913c54: Change "APR" to "Apr"
  • Updated dependencies [5913c54]

2.3.0

Minor Changes

  • 21dca9c: Cleanup

Patch Changes

  • 21dca9c: Simplify checkpoint retrieval. Add getCheckpointTime method.
  • b91debc: Fix incorrect openVaultSharePrice argument for previewCloseShort
  • Updated dependencies [a9aedb1]

2.2.1

Patch Changes

  • 6a53f5a: Add calcHprGivenApy and calcHprGivenApr methods to hyperwasm
  • Updated dependencies [6a53f5a]

2.2.0

Minor Changes

  • 53bfffc: refactor previewCloseShort to add fees and use hyerwasm functions

2.1.0

Minor Changes

  • 1564468: Replace simulate call in previewAdddLiquidity with hyperwasm method

Patch Changes

  • 8283062: Refactor getYieldSourceRate to use internal calc based on vaultSharePrice
  • c277e22: Add mainnet steth yield source apy

2.0.0

Minor Changes

  • 95b0406: Upgrade to the latest v1.0.6 smart contracts

Patch Changes

1.0.1

Patch Changes

  • e43604f: Add getVersion to ReadHyperdrive

1.0.0

Patch Changes

0.0.4

Patch Changes

  • ac4c4ee: Added a getSharesToken getter to ReadWriteHyperdrive.
  • Updated dependencies [0696ad7]

0.0.3

Patch Changes

  • de73cff: Add default maxIterations to core-js
  • Updated dependencies [de73cff]

0.0.2

Patch Changes

  • 1636855: Update license field in packages.json and add publishConfig to artifacts package.json
  • Updated dependencies [1636855]

0.0.1

Patch Changes