File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
2+ pragma solidity 0.8.23 ;
3+
4+ // Contracts
5+ import {Mainnet} from "contracts/utils/Addresses.sol " ;
6+
7+ // Deployment
8+ import {AbstractDeployScript} from "script/deploy/helpers/AbstractDeployScript.s.sol " ;
9+ import {GovHelper, GovProposal} from "script/deploy/helpers/GovHelper.sol " ;
10+
11+ /// @notice Migrates the operator of LidoARM and EtherFiARM (both owned by the
12+ /// mainnet Timelock) from the ARM Operations Defender relayer to the new Talos
13+ /// KMS signer. setOperator is onlyOwner on OwnableOperable, so this routes
14+ /// through a GovernorSix -> Timelock proposal.
15+ contract $029_SetTalosKMSOperatorScript is AbstractDeployScript ("029_SetTalosKMSOperatorScript " ) {
16+ using GovHelper for GovProposal;
17+
18+ function _buildGovernanceProposal () internal override {
19+ govProposal.setDescription ("Migrate LidoARM and EtherFiARM operator to the new Talos KMS signer " );
20+
21+ govProposal.action (
22+ resolver.resolve ("LIDO_ARM " ), "setOperator(address) " , abi.encode (Mainnet.TALOS_KMS_RELAYER)
23+ );
24+
25+ govProposal.action (
26+ resolver.resolve ("ETHER_FI_ARM " ), "setOperator(address) " , abi.encode (Mainnet.TALOS_KMS_RELAYER)
27+ );
28+ }
29+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ library Mainnet {
2020 address public constant ARM_MULTISIG = 0xC8F2cF4742C86295653f893214725813B16f7410 ;
2121 address public constant OETH_RELAYER = 0x4b91827516f79d6F6a1F292eD99671663b09169a ;
2222 address public constant ARM_RELAYER = 0x39878253374355DBcc15C86458F084fb6f2d6DE7 ;
23+ address public constant TALOS_KMS_RELAYER = 0x739212d5bAfE6AAC8Be49a60B7d003bD41DBf38b ;
2324 address public constant BUYBACK_OPERATOR = 0xBB077E716A5f1F1B63ed5244eBFf5214E50fec8c ;
2425
2526 // Tokens
You can’t perform that action at this time.
0 commit comments