@@ -3,12 +3,7 @@ import { ethers, run } from "hardhat";
3
3
import { join } from "path" ;
4
4
import readline from "readline" ;
5
5
6
- import {
7
- DepositSecurityModule ,
8
- DepositSecurityModule__factory ,
9
- LidoLocator ,
10
- LidoLocator__factory ,
11
- } from "typechain-types" ;
6
+ import { DepositSecurityModule , LidoLocator } from "typechain-types" ;
12
7
13
8
import {
14
9
cy ,
@@ -188,7 +183,7 @@ async function main() {
188
183
const SC_ADMIN = APP_AGENT_ADDRESS ;
189
184
const LOCATOR = state [ Sk . lidoLocator ] . proxy . address ;
190
185
191
- const locatorImplContract = await loadContract < LidoLocator > ( ' LidoLocator' , INTERMEDIATE_LOCATOR_IMPL ) ;
186
+ const locatorImplContract = await loadContract < LidoLocator > ( " LidoLocator" , INTERMEDIATE_LOCATOR_IMPL ) ;
192
187
// fetch contract addresses that will not changed
193
188
const ACCOUNTING_ORACLE_PROXY = await locatorImplContract . accountingOracle ( ) ;
194
189
const EL_REWARDS_VAULT = await locatorImplContract . elRewardsVault ( ) ;
@@ -267,10 +262,7 @@ async function main() {
267
262
log . success ( `New DSM address: ${ depositSecurityModuleAddress } ` ) ;
268
263
log . emptyLine ( ) ;
269
264
270
- const dsmContract = await loadContract < DepositSecurityModule > (
271
- 'DepositSecurityModule' ,
272
- depositSecurityModuleAddress ,
273
- ) ;
265
+ const dsmContract = await loadContract < DepositSecurityModule > ( "DepositSecurityModule" , depositSecurityModuleAddress ) ;
274
266
275
267
await dsmContract . addGuardians ( GUARDIANS , QUORUM ) ;
276
268
await dsmContract . setOwner ( APP_AGENT_ADDRESS ) ;
0 commit comments