sourcebridge_42-contract-lab/script/DeployIGovernance.s.sol

22 lines
650 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "forge-std/Script.sol";
import "../contracts/interfaces/IGovernance.sol";
/// @title Deploy IGovernance
/// @notice Deployment script for IGovernance
contract DeployIGovernance is Script {
function run() public {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
IGovernance instance = new IGovernance("Implement: Specifies the interface for the gover");
vm.stopBroadcast();
// Log deployed address for verification
console.log("IGovernance deployed at:", address(instance));
}
}