Skip to content

Commit

Permalink
Add ERC-6909 important note
Browse files Browse the repository at this point in the history
  • Loading branch information
cairoeth committed Feb 4, 2025
1 parent 4be1870 commit 1605117
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/base/BaseAsyncSwap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ import {CurrencySettler} from "src/utils/CurrencySettler.sol";
* Inheriting contracts are free to handle these claim tokens as necessary, which can be redeemed for the
* underlying currency by using the `settle` function from the `CurrencySettler` library.
*
* IMPORTANT: The hook only supports async exact-input swaps. Exact-output swaps will be processed normally
* IMPORTANT: If the hook is used for multiple pools, the ERC-6909 tokens must be separated and managed
* independently for each pool in order to prevent draining of ERC-6909 tokens from one pool to another.
*
* NOTE: The hook only supports async exact-input swaps. Exact-output swaps will be processed normally
* by the `PoolManager`.
*
* WARNING: This is experimental software and is provided on an "as is" and "as available" basis. We do
Expand Down

0 comments on commit 1605117

Please sign in to comment.