22 lines
623 B
Solidity
22 lines
623 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.22;
|
|
|
|
import "forge-std/Script.sol";
|
|
import {PoolManager} from "@uniswap/v4-core/src/PoolManager.sol";
|
|
import {IPoolManager} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol";
|
|
|
|
import "forge-std/console2.sol";
|
|
|
|
contract DeployPoolManager is Script {
|
|
function setUp() public {}
|
|
|
|
function run(uint256 controllerGasLimit) public returns (IPoolManager manager) {
|
|
vm.startBroadcast();
|
|
|
|
manager = new PoolManager(controllerGasLimit);
|
|
console2.log("PoolManager", address(manager));
|
|
|
|
vm.stopBroadcast();
|
|
}
|
|
}
|