From 93060152339de4cf0d3bb6388b6d182aefbfd354 Mon Sep 17 00:00:00 2001 From: sandybradley Date: Mon, 5 Aug 2024 10:56:09 +0200 Subject: [PATCH] fix: import semantics --- script/FoldCaptiveStaking.s.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/FoldCaptiveStaking.s.sol b/script/FoldCaptiveStaking.s.sol index aa9a837..4850323 100644 --- a/script/FoldCaptiveStaking.s.sol +++ b/script/FoldCaptiveStaking.s.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.19; import "forge-std/Script.sol"; -import {FoldCaptiveStaking} from "src/FoldCaptiveStaking.sol"; +import "src/FoldCaptiveStaking.sol"; contract FoldCaptiveStakingScript is Script { INonfungiblePositionManager public positionManager = @@ -10,10 +10,11 @@ contract FoldCaptiveStakingScript is Script { IUniswapV3Pool public pool = IUniswapV3Pool(0x5eCEf3b72Cb00DBD8396EBAEC66E0f87E9596e97); WETH public weth = WETH(payable(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)); ERC20 public fold = ERC20(0xd084944d3c05CD115C09d072B9F44bA3E0E45921); + function run() public { vm.startBroadcast(); - foldCaptiveStaking = + FoldCaptiveStaking foldCaptiveStaking = new FoldCaptiveStaking(address(positionManager), address(pool), address(weth), address(fold)); fold.transfer(address(foldCaptiveStaking), 1_000_000);