Skip to content

Commit 2b8d5f8

Browse files
Add networks config
1 parent 6df536c commit 2b8d5f8

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"mainnet": {
3+
"LiquidNodesManager": {
4+
"address": "",
5+
"startBlock": 0
6+
},
7+
"LiquidPool": {
8+
"address": "",
9+
"startBlock": 0
10+
}
11+
},
12+
"testnet": {
13+
"LiquidNodesManager": {
14+
"address": "",
15+
"startBlock": 0
16+
},
17+
"LiquidPool": {
18+
"address": "",
19+
"startBlock": 0
20+
}
21+
},
22+
"devnet": {
23+
"LiquidNodesManager": {
24+
"address": "",
25+
"startBlock": 0
26+
},
27+
"LiquidPool": {
28+
"address": "",
29+
"startBlock": 0
30+
}
31+
}
32+
}

subgraphs/liquid_staking/subgraph.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ schema:
44
dataSources:
55
- kind: ethereum/contract
66
name: LiquidNodesManager
7-
network: https://network.ambrosus.io
7+
network: mainnet
88
source:
99
address: "0xBda7cf631Db4535A500ED16Dd98099C04e66F1d5"
1010
abi: LiquidNodesManager
@@ -29,12 +29,14 @@ dataSources:
2929
- event: NodeRetired(indexed uint256,indexed address,uint256)
3030
handler: handleNodeRetired
3131
file: ./src/mapping/liquidNodesManager.ts
32+
3233
- kind: ethereum/contract
3334
name: LiquidPool
34-
network: https://network.ambrosus.io
35+
network: mainnet
3536
source:
3637
address: "0x1234567890123456789012345678901234567890"
3738
abi: LiquidPool
39+
startBlock: 0
3840
mapping:
3941
kind: ethereum/events
4042
apiVersion: 0.0.7

0 commit comments

Comments
 (0)