Skip to content

Commit

Permalink
Add networks config
Browse files Browse the repository at this point in the history
  • Loading branch information
SigismundSchlomo committed Sep 25, 2024
1 parent 6df536c commit 2b8d5f8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
32 changes: 32 additions & 0 deletions subgraphs/liquid_staking/networks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"mainnet": {
"LiquidNodesManager": {
"address": "",
"startBlock": 0
},
"LiquidPool": {
"address": "",
"startBlock": 0
}
},
"testnet": {
"LiquidNodesManager": {
"address": "",
"startBlock": 0
},
"LiquidPool": {
"address": "",
"startBlock": 0
}
},
"devnet": {
"LiquidNodesManager": {
"address": "",
"startBlock": 0
},
"LiquidPool": {
"address": "",
"startBlock": 0
}
}
}
6 changes: 4 additions & 2 deletions subgraphs/liquid_staking/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ schema:
dataSources:
- kind: ethereum/contract
name: LiquidNodesManager
network: https://network.ambrosus.io
network: mainnet
source:
address: "0xBda7cf631Db4535A500ED16Dd98099C04e66F1d5"
abi: LiquidNodesManager
Expand All @@ -29,12 +29,14 @@ dataSources:
- event: NodeRetired(indexed uint256,indexed address,uint256)
handler: handleNodeRetired
file: ./src/mapping/liquidNodesManager.ts

- kind: ethereum/contract
name: LiquidPool
network: https://network.ambrosus.io
network: mainnet
source:
address: "0x1234567890123456789012345678901234567890"
abi: LiquidPool
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down

0 comments on commit 2b8d5f8

Please sign in to comment.