Skip to content

Commit

Permalink
Add script to deploy collector
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquefynn committed Mar 14, 2024
1 parent 53ca320 commit ee1cec2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions script/DeployCollector.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: Apache License 2.0
pragma solidity ^0.8.13;

import "forge-std/Script.sol";
import "../src/FeeRewardsManager.sol";

contract DeployCollector is Script {
function run() external {
vm.startBroadcast();
FeeRewardsManager feeRewardsManager = FeeRewardsManager(
FeeRewardsManager(
payable(address(vm.envAddress("FEE_REWARDS_MANAGER")))
)
);
feeRewardsManager.createFeeContract(
vm.envAddress("WITHDRAWAL_CREDENTIAL")
);
vm.stopBroadcast();
}
}

0 comments on commit ee1cec2

Please sign in to comment.