Skip to content

Commit

Permalink
fix: use PRIMEV_TEAM_MULTISIG for everything important
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Nov 8, 2024
1 parent 8dd452e commit 414817e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contracts/scripts/MainnetConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
pragma solidity 0.8.26;

library MainnetConstants {
/// @notice DO NOT assume this address is valid on any chain other than mainnet.
address constant public PRIMEV_TEAM_MULTISIG = 0x9101eda106A443A0fA82375936D0D1680D5a64F5;
address constant public PRECONF_ETH_ADDR = 0xfA0B0f5d298d28EFE4d35641724141ef19C05684; // preconf.eth
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ contract BaseDeploy is Script {

contract DeployMainnet is BaseDeploy {
address constant public OWNER = MainnetConstants.PRIMEV_TEAM_MULTISIG;

uint256 constant public MIN_STAKE = 3 ether;
address constant public SLASH_ORACLE = MainnetConstants.PRIMEV_TEAM_MULTISIG;
address constant public SLASH_RECEIVER = MainnetConstants.PRECONF_ETH_ADDR;
address constant public SLASH_RECEIVER = MainnetConstants.PRIMEV_TEAM_MULTISIG;
uint256 constant public UNSTAKE_PERIOD_BLOCKS = 12000; // ~ 1 day
uint256 constant public PAYOUT_PERIOD_BLOCKS = 12000; // ~ 1 day

Expand Down
3 changes: 1 addition & 2 deletions contracts/scripts/validator-registry/avs/DeployAVS.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ contract BaseDeploy is Script {

contract DeployMainnet is BaseDeploy {
address constant public OWNER = MainnetConstants.PRIMEV_TEAM_MULTISIG;

IDelegationManager constant public DELEGATION_MANAGER = IDelegationManager(EigenMainnetReleaseConsts.DELEGATION_MANAGER);
IEigenPodManager constant public EIGENPOD_MANAGER = IEigenPodManager(EigenMainnetReleaseConsts.EIGENPOD_MANAGER);
IStrategyManager constant public STRATEGY_MANAGER = IStrategyManager(EigenMainnetReleaseConsts.STRATEGY_MANAGER);
IAVSDirectory constant public AVS_DIRECTORY = IAVSDirectory(EigenMainnetReleaseConsts.AVS_DIRECTORY);
address constant public FREEZE_ORACLE = MainnetConstants.PRIMEV_TEAM_MULTISIG;
uint256 constant public UNFREEZE_FEE = 3 ether;
address constant public UNFREEZE_RECEIVER = MainnetConstants.PRECONF_ETH_ADDR;
address constant public UNFREEZE_RECEIVER = MainnetConstants.PRIMEV_TEAM_MULTISIG;
uint256 constant public UNFREEZE_PERIOD_BLOCKS = 12000; // ~ 1 day
uint256 constant public OPERATOR_DEREG_PERIOD_BLOCKS = 12000; // ~ 1 day
uint256 constant public VALIDATOR_DEREG_PERIOD_BLOCKS = 12000; // ~ 1 day
Expand Down

0 comments on commit 414817e

Please sign in to comment.