tornado-subgraph/build/subgraph.yaml

30 lines
806 B
YAML
Raw Normal View History

2021-06-07 13:43:31 +03:00
specVersion: 0.0.2
2021-06-09 17:24:07 +03:00
description: Instance
repository: https://github.com/tornadocash/tornado-subgraph
2021-06-07 13:43:31 +03:00
schema:
file: schema.graphql
dataSources:
- kind: ethereum/contract
name: Instance
network: bsc
source:
address: "0x0Ce22770451A8acAD1220D9d1678656b4fAe4a1d"
abi: Instance
2021-06-09 17:24:07 +03:00
startBlock: 7942402
2021-06-07 13:43:31 +03:00
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
2021-06-09 17:24:07 +03:00
file: Instance/Instance.wasm
2021-06-07 13:43:31 +03:00
entities:
- Deposit
- Withdrawal
abis:
- name: Instance
2021-06-09 17:24:07 +03:00
file: abis/Instance.json
2021-06-07 13:43:31 +03:00
eventHandlers:
- event: Deposit(indexed bytes32,uint32,uint256)
handler: handleDeposit
- event: Withdrawal(address,bytes32,indexed address,uint256)
handler: handleWithdrawal