tornado-pool-subgraph/subgraph/l1.yaml

25 lines
623 B
YAML
Raw Normal View History

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