Skip to content

Commit 98a471f

Browse files
committed
chore: add the AllocationExchange to the deploy script
1 parent e3ebbc8 commit 98a471f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

cli/commands/migrate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ let allContracts = [
3030
'Staking',
3131
'RewardsManager',
3232
'DisputeManager',
33+
'AllocationExchange',
3334
]
3435

3536
export const migrate = async (cli: CLIEnvironment, cliArgs: CLIArgs): Promise<void> => {

graph.config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
general:
22
arbitrator: &arbitrator "0xE1FDD398329C6b74C14cf19100316f0826a492d3"
3+
governor: &governor "0x48301Fe520f72994d32eAd72E2B6A8447873CF50" # Graph Council
4+
authority: &authority "0x79fd74da4c906509862c8fe93e87a9602e370bc4" # Authority that signs payment vouchers
35

46
contracts:
57
Controller:
@@ -91,3 +93,9 @@ contracts:
9193
init:
9294
controller: "${{Controller.address}}"
9395
issuanceRate: "1000000012184945188" # 3% annual rate (per block increase of total supply, blocks in a year = 365*60*60*24/13)
96+
AllocationExchange:
97+
init:
98+
graphToken: "${{GraphToken.address}}"
99+
staking: "${{Staking.address}}"
100+
governor: *governor
101+
authority: *authority

0 commit comments

Comments
 (0)