Skip to content

Commit 16b83ad

Browse files
authored
Merge pull request #1250 from graphprotocol/horizon-mainnet
2 parents 7d0abe0 + 32d09fd commit 16b83ad

File tree

417 files changed

+2144437
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+2144437
-8
lines changed

packages/contracts/hardhat.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ const config: HardhatUserConfig = {
4848
mnemonic: DEFAULT_TEST_MNEMONIC,
4949
},
5050
},
51+
arbitrumOne: {
52+
chainId: 42161,
53+
url: process.env.ARBITRUM_ONE_URL || 'https://arb1.arbitrum.io/rpc',
54+
accounts: {
55+
mnemonic: DEFAULT_TEST_MNEMONIC,
56+
},
57+
},
5158
},
5259
etherscan: {
5360
apiKey: process.env.ARBISCAN_API_KEY,

packages/horizon/addresses.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,65 @@
11
{
2+
"42161": {
3+
"Controller": {
4+
"address": "0x0a8491544221dd212964fbb96487467291b2C97e"
5+
},
6+
"GraphPayments": {
7+
"address": "0x7Aae8ae011927BC36Cb4d0d3e81f2E6E30daE06D",
8+
"proxy": "transparent",
9+
"proxyAdmin": "0x0D065CE83938Ea226c145e9c4a8C95b31aDA3613",
10+
"implementation": "0x6BC86e5D64C6c4882670804ca7eE4919cCCca86a"
11+
},
12+
"PaymentsEscrow": {
13+
"address": "0xf6Fcc27aAf1fcD8B254498c9794451d82afC673E",
14+
"proxy": "transparent",
15+
"proxyAdmin": "0x6465e08CD46669f8841641655186148b490B4b24",
16+
"implementation": "0xc493e8EBedE3d1cC61632736108d943693DA11F7"
17+
},
18+
"L2Curation": {
19+
"address": "0x22d78fb4bc72e191C765807f8891B5e1785C8014",
20+
"proxy": "graph",
21+
"implementation": "0xc4Ce508c8fda35C597CC78e3604261110fc4c957"
22+
},
23+
"L2GNS": {
24+
"address": "0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec",
25+
"proxy": "graph",
26+
"implementation": "0x9B81c7C5A21E65b849FD487540B0A82d3b97b2c7"
27+
},
28+
"SubgraphNFT": {
29+
"address": "0x3FbD54f0cc17b7aE649008dEEA12ed7D2622B23f"
30+
},
31+
"RewardsManager": {
32+
"address": "0x971B9d3d0Ae3ECa029CAB5eA1fB0F72c85e6a525",
33+
"proxy": "graph",
34+
"implementation": "0xBcD7a231eAB1f4667AAbFdb482026f244bfBf101"
35+
},
36+
"HorizonStaking": {
37+
"address": "0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03",
38+
"proxy": "graph",
39+
"implementation": "0xaA3359434B534dE9964d4e72bE2782b076a1Eb5A"
40+
},
41+
"GraphTallyCollector": {
42+
"address": "0x8f69F5C07477Ac46FBc491B1E6D91E2bb0111A9e"
43+
},
44+
"GraphProxyAdmin": {
45+
"address": "0x2983936aC20202a6555993448E0d5654AC8Ca5fd"
46+
},
47+
"EpochManager": {
48+
"address": "0x5A843145c43d328B9bB7a4401d94918f131bB281",
49+
"proxy": "graph",
50+
"implementation": "0xeEDEdb3660154f439D93bfF612f7902edf07b848"
51+
},
52+
"L2GraphToken": {
53+
"address": "0x9623063377AD1B27544C965cCd7342f7EA7e88C7",
54+
"proxy": "graph",
55+
"implementation": "0xaFFCb96181D920FE8C0Af046C49B2c9eC98b28df"
56+
},
57+
"L2GraphTokenGateway": {
58+
"address": "0x65E1a5e8946e7E87d9774f5288f41c30a99fD302",
59+
"proxy": "graph",
60+
"implementation": "0x6f37b2AF8A0Cc74f1bFddf2E9302Cb226710127F"
61+
}
62+
},
263
"421614": {
364
"GraphPayments": {
465
"address": "0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5",
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"$global": {
3+
// Accounts already configured in the original Graph Protocol - Arbitrum One values
4+
"governor": "0x8C6de8F8D562f3382417340A6994601eE08D3809",
5+
6+
// Addresses for contracts deployed in the original Graph Protocol - Arbitrum One values
7+
"graphProxyAdminAddress": "0x2983936aC20202a6555993448E0d5654AC8Ca5fd",
8+
"controllerAddress": "0x0a8491544221dd212964fbb96487467291b2C97e",
9+
"horizonStakingAddress": "0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03",
10+
"epochManagerAddress": "0x5A843145c43d328B9bB7a4401d94918f131bB281",
11+
"epochManagerImplementationAddress": "0xeEDEdb3660154f439D93bfF612f7902edf07b848",
12+
"graphTokenAddress": "0x9623063377AD1B27544C965cCd7342f7EA7e88C7",
13+
"graphTokenImplementationAddress": "0xaFFCb96181D920FE8C0Af046C49B2c9eC98b28df",
14+
"graphTokenGatewayAddress": "0x65E1a5e8946e7E87d9774f5288f41c30a99fD302",
15+
"graphTokenGatewayImplementationAddress": "0x6f37b2AF8A0Cc74f1bFddf2E9302Cb226710127F",
16+
"rewardsManagerAddress": "0x971B9d3d0Ae3ECa029CAB5eA1fB0F72c85e6a525",
17+
"curationAddress": "0x22d78fb4bc72e191C765807f8891B5e1785C8014",
18+
"gnsAddress": "0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec",
19+
"gnsImplementationAddress": "0x9B81c7C5A21E65b849FD487540B0A82d3b97b2c7",
20+
"subgraphNFTAddress": "0x3FbD54f0cc17b7aE649008dEEA12ed7D2622B23f",
21+
22+
// Must be set for step 2 of the migration
23+
"graphPaymentsAddress": "0x7Aae8ae011927BC36Cb4d0d3e81f2E6E30daE06D",
24+
"paymentsEscrowAddress": "0xf6Fcc27aAf1fcD8B254498c9794451d82afC673E",
25+
26+
// Must be set for step 3 and 4 of the migration
27+
"subgraphServiceAddress": "0xb2Bb92d0DE618878E438b55D5846cfecD9301105",
28+
29+
// Must be set for step 4 of the migration
30+
"horizonStakingImplementationAddress": "",
31+
"curationImplementationAddress": "",
32+
"rewardsManagerImplementationAddress": "",
33+
"disputeManagerAddress": "",
34+
35+
// Global parameters
36+
"maxThawingPeriod": 2419200
37+
},
38+
"GraphPayments": {
39+
"protocolPaymentCut": 10000
40+
},
41+
"PaymentsEscrow": {
42+
"withdrawEscrowThawingPeriod": 2592000
43+
},
44+
"GraphTallyCollector": {
45+
"eip712Name": "GraphTallyCollector",
46+
"eip712Version": "1",
47+
"revokeSignerThawingPeriod": 2592000
48+
}
49+
}

packages/horizon/ignition/configs/migrate.arbitrumSepolia.json5

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"rewardsManagerImplementationAddress": "0x856843F6409a8b3A0d4aaE67313037FED02bBBFf",
3333
"disputeManagerAddress": "0x96e1b86b2739e8A3d59F40F2532caDF9cE8Da088",
3434

35-
// Must be set for step 5 of the migration
3635
// Global parameters
3736
"maxThawingPeriod": 2419200
3837
},
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/d2c890c7c513627af1e9d08406395053.json"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/e9d2339ca353606ca30c37b163681162.json"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
4+
}

0 commit comments

Comments
 (0)