-
Notifications
You must be signed in to change notification settings - Fork 155
/
Copy pathmigrate-3.ts
43 lines (39 loc) · 1014 Bytes
/
migrate-3.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'
import { MigrateHorizonCoreModule } from '../core/core'
import { MigratePeripheryModule } from '../periphery/periphery'
export default buildModule('GraphHorizon_Migrate_3', (m) => {
const {
L2Curation,
L2CurationImplementation,
RewardsManager,
RewardsManagerImplementation,
Controller,
GraphProxyAdmin,
EpochManager,
L2GraphToken,
L2GraphTokenGateway,
} = m.useModule(MigratePeripheryModule)
const {
HorizonStaking,
HorizonStakingImplementation,
GraphPayments,
PaymentsEscrow,
GraphTallyCollector,
} = m.useModule(MigrateHorizonCoreModule)
return {
L2Curation,
L2CurationImplementation,
RewardsManager,
RewardsManagerImplementation,
HorizonStaking,
HorizonStakingImplementation,
GraphPayments,
PaymentsEscrow,
GraphTallyCollector,
Controller,
GraphProxyAdmin,
EpochManager,
L2GraphToken,
L2GraphTokenGateway,
}
})