diff --git a/packages/network-subgraphs/README.md b/packages/network-subgraphs/README.md index 59e807656..dae62bb61 100644 --- a/packages/network-subgraphs/README.md +++ b/packages/network-subgraphs/README.md @@ -66,6 +66,8 @@ Troubleshooting tips: * Added PastDelegationCount entity, add running count into Delegation.id * v0.0.17 * Added Stream#idAsString field (ETH-879) +* v0.0.18 + * Deployed Hub subgraphs to `iotext` (ETH-887) # Developer notes diff --git a/packages/network-subgraphs/subgraph-config.json b/packages/network-subgraphs/subgraph-config.json index 446da928b..bbe28c274 100644 --- a/packages/network-subgraphs/subgraph-config.json +++ b/packages/network-subgraphs/subgraph-config.json @@ -1,7 +1,6 @@ { "dev2": { "networkId": "dev2", - "hubContracts": true, "contracts": { "StreamRegistry": { "address": "0x18E0937099660B82464475Ea2B7e6Af4f2BFE5F0", @@ -43,7 +42,6 @@ }, "polygon": { "networkId": "matic", - "hubContracts": true, "contracts": { "StreamRegistry": { "address": "0x0D483E10612F327FC11965Fc82E90dC19b141641", @@ -85,7 +83,6 @@ }, "polygonAmoy": { "networkId": "polygon-amoy", - "hubContracts": true, "contracts": { "StreamRegistry": { "address": "0xE9C98bdE63248e58E9137Db8270D9675B9E34b93", @@ -127,7 +124,6 @@ }, "peaq": { "networkId": "peaq", - "hubContracts": true, "contracts": { "StreamRegistry": { "address": "0xD0C720e99Bd39311614f292d8B0B4e351Bde157c", @@ -169,7 +165,6 @@ }, "iotex": { "networkId": "iotex", - "hubContracts": false, "contracts": { "StreamRegistry": { "address": "0x080F34fec2bc33928999Ea9e39ADc798bEF3E0d6", @@ -183,17 +178,29 @@ "address": "0xF79c40Fbc432f1f8B8B017441B644e0ac7bccea2", "startBlock": 33510000 }, + "ProjectRegistryV1": { + "address": "0xbb2a2CF40Ca86378983cfcACB7Aac1568237a692", + "startBlock": 36905992 + }, + "MarketplaceV4": { + "address": "0xe3F6750a5f9a6315cB11adc5CE980F7356C927C4", + "startBlock": 36905992 + }, + "ProjectStakingV1": { + "address": "0x0F91Edc1760e64e434Fb9CaF93a76b262E7015b3", + "startBlock": 36905992 + }, "StreamrConfig": { - "address": "0x23Dd2D1f39AD0f9d517ce56Ca490eF19B50e6f1A", - "startBlock": 33510000 + "address": "0x176B108E72ee49A01Bea1eDb32f7f296d2bb3db8", + "startBlock": 36298428 }, "SponsorshipFactory": { - "address": "0xe4Ae8e6c5b6E85914738803ad73c111eF2618621", - "startBlock": 33510000 + "address": "0x7ac03730374E995E366F2a466be6aCC14E1DB1C4", + "startBlock": 36298474 }, "OperatorFactory": { - "address": "0xbC1cC84912d54fCf7316A6dA2e7A884731a87935", - "startBlock": 33510000 + "address": "0xD1Bc2A37405F88d4904844B7BF1BEadA7c0851c1", + "startBlock": 36298454 } } } diff --git a/packages/network-subgraphs/subgraph.yaml.hbs b/packages/network-subgraphs/subgraph.yaml.hbs index 63f996e25..df37397c9 100644 --- a/packages/network-subgraphs/subgraph.yaml.hbs +++ b/packages/network-subgraphs/subgraph.yaml.hbs @@ -79,7 +79,6 @@ dataSources: - event: Removed(string,indexed address) handler: handleStorageNodeRemovedFromStream file: ./src/streamStorageRegistry.ts -{{#if hubContracts}} - kind: ethereum/contract name: ProjectRegistryV1 network: {{networkId}} @@ -162,7 +161,6 @@ dataSources: - event: Unstake(indexed bytes32,indexed address,uint256,uint256) handler: handleUnstake file: ./src/projectStaking.ts -{{/if}} - kind: ethereum/contract name: StreamrConfig network: {{networkId}}