tornado-pool-subgraph/subgraph.yaml
2021-10-22 20:15:56 +10:00

25 lines
610 B
YAML

specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: BridgeHelper
network: bsc
source:
address: "0xFA00619d8a9fAa01476fF8A9ddCE0e5a4362CF02"
abi: BridgeHelper
startBlock: 11932029
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- PublicKey
abis:
- name: BridgeHelper
file: ./abis/BridgeHelper.json
eventHandlers:
- event: PublicKey(indexed address,bytes)
handler: handlePublicKey
file: ./src/mapping.ts