-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6678282
commit b8afb04
Showing
31 changed files
with
210 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity >=0.8.22 <0.9.0; | ||
|
||
import { SablierV2OpenEnded } from "src/SablierV2OpenEnded.sol"; | ||
import { SablierOpenEnded } from "src/SablierOpenEnded.sol"; | ||
|
||
import { BaseScript } from "./Base.s.sol"; | ||
|
||
/// @notice Deploys {SablierV2OpenEnded} at a deterministic address across chains. | ||
/// @notice Deploys {SablierOpenEnded} at a deterministic address across chains. | ||
/// @dev Reverts if the contract has already been deployed. | ||
contract DeployDeterministicOpenEnded is BaseScript { | ||
function run() public broadcast returns (SablierV2OpenEnded openEnded) { | ||
openEnded = new SablierV2OpenEnded{ salt: constructCreate2Salt() }(); | ||
function run() public broadcast returns (SablierOpenEnded openEnded) { | ||
openEnded = new SablierOpenEnded{ salt: constructCreate2Salt() }(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity >=0.8.22 <0.9.0; | ||
|
||
import { SablierV2OpenEnded } from "src/SablierV2OpenEnded.sol"; | ||
import { SablierOpenEnded } from "src/SablierOpenEnded.sol"; | ||
|
||
import { BaseScript } from "./Base.s.sol"; | ||
|
||
/// @notice Deploys {SablierV2OpenEnded}. | ||
/// @notice Deploys {SablierOpenEnded}. | ||
contract DeployOpenEnded is BaseScript { | ||
function run() public broadcast returns (SablierV2OpenEnded openEnded) { | ||
openEnded = new SablierV2OpenEnded(); | ||
function run() public broadcast returns (SablierOpenEnded openEnded) { | ||
openEnded = new SablierOpenEnded(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.