diff --git a/script/CreateMerkleLT.s.sol b/script/CreateMerkleLT.s.sol index 3f1b834..d6b4dd0 100644 --- a/script/CreateMerkleLT.s.sol +++ b/script/CreateMerkleLT.s.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.22 <0.9.0; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; -import { UD2x18 } from "@prb/math/src/UD2x18.sol"; +import { ud2x18 } from "@prb/math/src/UD2x18.sol"; import { ISablierLockup } from "@sablier/lockup/src/interfaces/ISablierLockup.sol"; import { ISablierMerkleFactory } from "../src/interfaces/ISablierMerkleFactory.sol"; @@ -38,9 +38,9 @@ contract CreateMerkleLT is BaseScript { // The tranches with their unlock percentages and durations. MerkleLT.TrancheWithPercentage[] memory tranchesWithPercentages = new MerkleLT.TrancheWithPercentage[](2); tranchesWithPercentages[0] = - MerkleLT.TrancheWithPercentage({ unlockPercentage: UD2x18.wrap(50), duration: 3600 }); + MerkleLT.TrancheWithPercentage({ unlockPercentage: ud2x18(0.5e18), duration: 3600 }); tranchesWithPercentages[1] = - MerkleLT.TrancheWithPercentage({ unlockPercentage: UD2x18.wrap(50), duration: 7200 }); + MerkleLT.TrancheWithPercentage({ unlockPercentage: ud2x18(0.5e18), duration: 7200 }); // Deploy the MerkleLT contract. // TODO: Update address once deployed.