Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion script/ghost/DeployGhostMintHelper.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ forge verify-contract -f $RPC_URL --etherscan-api-key $ETHERSCAN_API_KEY CONTRAC
contract DeployGhostMintHelperScript is Script {
function run() public {
vm.startBroadcast();
GhostMintHelper helper = new GhostMintHelper{salt: bytes32(0)}(0xE2A7f267124AC3E4131f27b9159c78C521A44F3c);
GhostMintHelper helper = new GhostMintHelper{salt: bytes32(0)}(
0xE2A7f267124AC3E4131f27b9159c78C521A44F3c, 0x249f82caa683a49Fe92F5E9518BbDBE443dfF1A2
);
vm.stopBroadcast();
console2.log("Ghost mint helper deployed at", address(helper));
}
Expand Down
4 changes: 3 additions & 1 deletion script/ghost/DeployGhostRedeemHelper.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ forge verify-contract -f $RPC_URL --etherscan-api-key $ETHERSCAN_API_KEY CONTRAC
contract DeployGhostRedeemHelperScript is Script {
function run() public {
vm.startBroadcast();
GhostRedeemHelper helper = new GhostRedeemHelper{salt: bytes32(0)}(0xE2A7f267124AC3E4131f27b9159c78C521A44F3c);
GhostRedeemHelper helper = new GhostRedeemHelper{salt: bytes32(0)}(
0xE2A7f267124AC3E4131f27b9159c78C521A44F3c, 0x249f82caa683a49Fe92F5E9518BbDBE443dfF1A2
);
vm.stopBroadcast();
console2.log("Ghost redeem helper deployed at", address(helper));
}
Expand Down
2 changes: 1 addition & 1 deletion src/ghost/GhostMintHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contract GhostMintHelper is Ownable {

ILowLevelVault public immutable GHOST_VAULT;

constructor(address _ltvVault) Ownable(msg.sender) {
constructor(address _ltvVault, address _initialOwner) Ownable(_initialOwner) {
GHOST_VAULT = ILowLevelVault(_ltvVault);
}

Expand Down
2 changes: 1 addition & 1 deletion src/ghost/GhostRedeemHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contract GhostRedeemHelper is Ownable {

ILowLevelVault public immutable GHOST_VAULT;

constructor(address _ltvVault) Ownable(msg.sender) {
constructor(address _ltvVault, address _initialOwner) Ownable(_initialOwner) {
GHOST_VAULT = ILowLevelVault(_ltvVault);
}

Expand Down