Skip to content

feat: add script for initial gov deployment #1205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: feat/v1.2.0-onto-v1.1.1
Choose a base branch
from
31 changes: 31 additions & 0 deletions script/releases/Env.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ library Env {
DeployedImpl internal constant impl = DeployedImpl.A;
DeployedInstance internal constant instance = DeployedInstance.A;

/**
* SAFE
*/
function safeFactory() internal view returns (address) {
return _envAddress("safeFactory");
}

function safeSingleton() internal view returns (address) {
return _envAddress("safeSingleton");
}

function safeFallbackHandler() internal view returns (address) {
return _envAddress("safeFallbackHandler");
}

/**
* env
*/
Expand All @@ -57,6 +72,10 @@ library Env {
return _envAddress("executorMultisig");
}

function beigenExecutorMultisig() internal view returns (address) {
return _envAddress("beigenExecutorMultisig");
}

function opsMultisig() internal view returns (address) {
return _envAddress("operationsMultisig");
}
Expand All @@ -69,10 +88,18 @@ library Env {
return _envAddress("pauserMultisig");
}

function communityMultisig() internal view returns (address) {
return _envAddress("communityMultisig");
}

function proxyAdmin() internal view returns (address) {
return _envAddress("proxyAdmin");
}

function beigenProxyAdmin() internal view returns (address) {
return _envAddress("beigenProxyAdmin");
}

function ethPOS() internal view returns (IETHPOSDeposit) {
return IETHPOSDeposit(_envAddress("ethPOS"));
}
Expand All @@ -81,6 +108,10 @@ library Env {
return TimelockController(payable(_envAddress("timelockController")));
}

function beigenTimelockController() internal view returns (TimelockController) {
return TimelockController(payable(_envAddress("beigenTimelockController")));
}

function multiSendCallOnly() internal view returns (address) {
return _envAddress("MultiSendCallOnly");
}
Expand Down
Loading
Loading