tornado-pool-subgraph/subgraph/l1.yaml

25 lines
623 B
YAML
Raw Normal View History

2021-10-15 08:11:20 +02:00
specVersion: 0.0.2
schema:
2022-04-25 12:58:46 +02:00
file: ../schema/l1.graphql
2021-10-15 08:11:20 +02:00
dataSources:
- kind: ethereum/contract
name: BridgeHelper
2021-10-27 11:40:13 +02:00
network: mainnet
2021-10-15 08:11:20 +02:00
source:
2021-12-08 16:35:02 +01:00
address: "0xCa0840578f57fE71599D29375e16783424023357"
2021-10-15 08:11:20 +02:00
abi: BridgeHelper
2021-12-08 16:35:02 +01:00
startBlock: 13771404
2021-10-15 08:11:20 +02:00
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- PublicKey
abis:
- name: BridgeHelper
2022-04-25 12:58:46 +02:00
file: ../abis/BridgeHelper.json
2021-10-15 08:11:20 +02:00
eventHandlers:
- event: PublicKey(indexed address,bytes)
handler: handlePublicKey
2022-04-25 12:58:46 +02:00
file: ../src/mapping/l1.ts