Skip to content

Commit 4ef3993

Browse files
authored
Add Harbour mainnet config (#56)
* Add Harbour mainnet config * Fix CI tests
1 parent 97a1e20 commit 4ef3993

22 files changed

+107
-2051
lines changed

.github/workflows/CI.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
node: ['14.x']
1414
os: [ubuntu-latest]
15-
network: ['goerli', 'perm_goerli', 'gnosis', 'mainnet']
15+
network: ['goerli', 'harbour_goerli', 'gnosis', 'mainnet', 'harbour_mainnet']
1616

1717
runs-on: ${{ matrix.os }}
1818

.github/workflows/deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
network: ['goerli', 'perm_goerli', 'gnosis', 'mainnet']
15+
network: ['goerli', 'harbour_goerli', 'gnosis', 'mainnet', 'harbour_mainnet']
1616

1717
runs-on: ${{ matrix.os }}
1818

File renamed without changes.

config/harbour_mainnet.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"staked_eth_token_address": "0x65077fa7df8e38e135bd4052ac243f603729892d",
3+
"reward_eth_token_address": "0xcbe26dbc91b05c160050167107154780f36ceaab",
4+
"stakewise_token_address": "0x48c3399719b582dd63eb5aadf12a40b4c3f52fa2",
5+
"merkle_distributor_address": "0x07e8291591eac73dd93b079e3e68e171094ba9e1",
6+
"merkle_drop_address": "0x2aab6822a1a9f982fd7b0fe35a5a5b6148ecf4d5",
7+
"pool_address": "0xea6b7151b138c274ed8d4d61328352545ef2d4b7",
8+
"dao_address": "0x144a98cb1cdbb23610501fe6108858d9b7d24934",
9+
"future_fund_address": "0xf91aa4a655b6f43243ed4c2853f3508314daa2ab",
10+
"uniswap_v3_factory_address": "0x1f98431c8ad98523631ae4a59f267346ea31f984",
11+
"uniswap_v3_position_manager_address": "0xc36442b4a4522e871399cd717abdd847ab11fe88",
12+
"validator_registration_address": "0x00000000219ab540356cbb839cbe05303d7705fa",
13+
"contract_checker_address": "0xfc1fc7257aea7c7c08a498594dca97ce5a72fdcb",
14+
"contract_checker_deployment_block": "13748882",
15+
"ethereum_validators_deposit_root_start_block": "13848500",
16+
"oracles_update_period": "86400",
17+
"validator_deposit_amount": "32000000000000000000",
18+
"distributor_redirected_from": {}
19+
}

package.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stakewise-subgraphs",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"description": "Subgraphs for the StakeWise Protocol",
55
"repository": "https://github.com/stakewise/subgraphs",
66
"license": "AGPL-3.0-only",
@@ -11,13 +11,15 @@
1111
],
1212
"scripts": {
1313
"build:goerli": "yarn workspaces run build:goerli",
14-
"build:perm_goerli": "yarn workspaces run build:perm_goerli",
15-
"build:gnosis": "yarn workspaces run build:gnosis",
1614
"build:mainnet": "yarn workspaces run build:mainnet",
15+
"build:harbour_goerli": "yarn workspaces run build:harbour_goerli",
16+
"build:harbour_mainnet": "yarn workspaces run build:harbour_mainnet",
17+
"build:gnosis": "yarn workspaces run build:gnosis",
1718
"deploy:goerli": "yarn workspaces run deploy:goerli",
18-
"deploy:perm_goerli": "yarn workspaces run deploy:perm_goerli",
19-
"deploy:gnosis": "yarn workspaces run deploy:gnosis",
2019
"deploy:mainnet": "yarn workspaces run deploy:mainnet",
20+
"deploy:harbour_goerli": "yarn workspaces run deploy:harbour_goerli",
21+
"deploy:harbour_mainnet": "yarn workspaces run deploy:harbour_mainnet",
22+
"deploy:gnosis": "yarn workspaces run deploy:gnosis",
2123
"deploy:local": "yarn workspaces run deploy:local",
2224
"create:local": "yarn workspaces run create:local"
2325
},

packages/constants/package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
{
22
"name": "const",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"license": "AGPL-3.0-only",
55
"main": "index.ts",
66
"type": "module",
77
"scripts": {
88
"prepare:goerli": "CONFIG=goerli node ./createConstants.js",
9-
"prepare:perm_goerli": "CONFIG=perm_goerli node ./createConstants.js",
109
"prepare:mainnet": "CONFIG=mainnet node ./createConstants.js",
10+
"prepare:harbour_goerli": "CONFIG=harbour_goerli node ./createConstants.js",
11+
"prepare:harbour_mainnet": "CONFIG=harbour_mainnet node ./createConstants.js",
1112
"prepare:gnosis": "CONFIG=gnosis node ./createConstants.js",
1213
"build:goerli": "yarn prepare:goerli",
13-
"build:perm_goerli": "yarn prepare:perm_goerli",
14+
"build:harbour_goerli": "yarn prepare:harbour_goerli",
15+
"build:harbour_mainnet": "yarn prepare:harbour_mainnet",
1416
"build:mainnet": "yarn prepare:mainnet",
1517
"build:gnosis": "yarn prepare:gnosis",
1618
"deploy:goerli": "yarn build:goerli",
17-
"deploy:perm_goerli": "yarn build:perm_goerli",
1819
"deploy:mainnet": "yarn build:mainnet",
20+
"deploy:harbour_goerli": "yarn build:harbour_goerli",
21+
"deploy:harbour_mainnet": "yarn build:harbour_mainnet",
1922
"deploy:gnosis": "yarn build:gnosis",
2023
"deploy:local": "true",
2124
"create:local": "true"

subgraphs/ethereum/package.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
{
22
"name": "ethereum",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"license": "AGPL-3.0-only",
55
"scripts": {
66
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
7-
"prepare:perm_goerli": "true",
8-
"prepare:gnosis": "mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml",
97
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
8+
"prepare:harbour_goerli": "true",
9+
"prepare:harbour_mainnet": "true",
10+
"prepare:gnosis": "mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml",
1011
"build:goerli": "yarn prepare:goerli && graph codegen subgraph.yaml && graph build subgraph.yaml",
11-
"build:perm_goerli": "yarn prepare:perm_goerli",
12-
"build:gnosis": "yarn prepare:gnosis && graph codegen subgraph.yaml && graph build subgraph.yaml",
1312
"build:mainnet": "yarn prepare:mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml",
13+
"build:harbour_goerli": "yarn prepare:harbour_goerli",
14+
"build:harbour_mainnet": "yarn prepare:harbour_mainnet",
15+
"build:gnosis": "yarn prepare:gnosis && graph codegen subgraph.yaml && graph build subgraph.yaml",
1416
"deploy:goerli": "yarn build:goerli && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-goerli",
15-
"deploy:perm_goerli": "yarn build:perm_goerli",
16-
"deploy:gnosis": "yarn build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-gnosis",
1717
"deploy:mainnet": "yarn build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-mainnet",
18-
"deploy:local": "graph deploy --version-label 1.2.3 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/ethereum",
18+
"deploy:harbour_goerli": "yarn build:harbour_goerli",
19+
"deploy:harbour_mainnet": "yarn build:harbour_mainnet",
20+
"deploy:gnosis": "yarn build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-gnosis",
21+
"deploy:local": "graph deploy --version-label 1.3.0 --node $GRAPH_NODE_URL --ipfs $IPFS_URL stakewise/ethereum",
1922
"create:local": "graph create --node $GRAPH_NODE_URL stakewise/ethereum"
2023
}
2124
}

subgraphs/rari-fuse/config/mainnet.json

-15
This file was deleted.

subgraphs/rari-fuse/package.json

-21
This file was deleted.

0 commit comments

Comments
 (0)