Update v4-core and v4-periphery to latest version
This commit is contained in:
2
foundry/.env.example
Normal file
2
foundry/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# Local Anvil Testing Private Key and Address
|
||||
RPC_URL=https://eth-mainnet.g.alchemy.com/v2/<YOUR-ALCHEMY-KEY-HERE>
|
||||
Submodule foundry/lib/v4-core updated: e50237c438...59d3ecf53a
Submodule foundry/lib/v4-periphery updated: cf451c4f55...ad04c9f24a
@@ -9,6 +9,7 @@ import {
|
||||
} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
|
||||
|
||||
import {IPoolManager} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol";
|
||||
import {SwapParams} from "@uniswap/v4-core/src/types/PoolOperation.sol";
|
||||
import {
|
||||
Currency, CurrencyLibrary
|
||||
} from "@uniswap/v4-core/src/types/Currency.sol";
|
||||
@@ -354,7 +355,7 @@ contract UniswapV4Executor is
|
||||
// slither-disable-next-line calls-loop
|
||||
BalanceDelta delta = poolManager.swap(
|
||||
poolKey,
|
||||
IPoolManager.SwapParams(
|
||||
SwapParams(
|
||||
zeroForOne,
|
||||
amountSpecified,
|
||||
zeroForOne
|
||||
|
||||
Reference in New Issue
Block a user