Skip to content

Commit c0a885f

Browse files
committed
chore: update v4-core reference
This assumes Uniswap/v4-core#964 has been merged.
1 parent 9628c36 commit c0a885f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/V4Router.sol

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
pragma solidity 0.8.26;
33

44
import {IPoolManager} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol";
5+
import {PoolOperation} from "@uniswap/v4-core/src/types/PoolOperation.sol";
56
import {BalanceDelta} from "@uniswap/v4-core/src/types/BalanceDelta.sol";
67
import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol";
78
import {Currency} from "@uniswap/v4-core/src/types/Currency.sol";
@@ -160,7 +161,7 @@ abstract contract V4Router is IV4Router, BaseActionsRouter, DeltaResolver {
160161
unchecked {
161162
BalanceDelta delta = poolManager.swap(
162163
poolKey,
163-
IPoolManager.SwapParams(
164+
PoolOperation.SwapParams(
164165
zeroForOne, amountSpecified, zeroForOne ? TickMath.MIN_SQRT_PRICE + 1 : TickMath.MAX_SQRT_PRICE - 1
165166
),
166167
hookData

0 commit comments

Comments
 (0)