Skip to content

Releases: OpenZeppelin/uniswap-hooks

v1.0.0

24 Feb 23:04
Compare
Choose a tag to compare

Base

Base contracts for building secure and modular Uniswap hooks, providing core functionality and common patterns for hook development.

  • BaseCustomAccounting: Base hook implementation for custom accounting, including support for swaps and liquidity management.
  • BaseCustomCurve: Base hook implementation for custom curves.
  • BaseHook: Base implementation for hooks.
  • BaseAsyncSwap: Base hook implementation for asynchronous swaps.

Fee

Hooks for managing and customizing pool fees, including dynamic fee adjustments, fee overrides, and post-swap fee calculations.

  • BaseDynamicFee: Hook to apply a manual dynamic fee via the Uniswap PoolManager contract.
  • BaseOverrideFee: Hook that overrides and applies a fee before swapping automatically.
  • BaseDynamicAfterFee: Hook that applies a fee based on a delta after swapping.

Utilities

Libraries and general purpose utilities to help develop hooks.

  • CurrencySettler: Library used to interact with the PoolManager to settle any open deltas, with support for ERC-6909 and native currencies.

v1.0.0-rc.0

06 Jan 20:59
Compare
Choose a tag to compare
v1.0.0-rc.0 Pre-release
Pre-release
Add badges to README