kleros/kleros-v2

View on GitHub
subgraph/dispute-template-registry/subgraph.yaml

Summary

Maintainability
Test Coverage
specVersion: 0.0.4
schema:
  file: schema.graphql
dataSources:
  - kind: ethereum
    name: DisputeTemplateRegistry
    network: arbitrum-one
    source:
      address: "0x52c9f5634361eD3641016e5d9783310f9EFf9e25"
      abi: DisputeTemplateRegistry
      startBlock: 190274710
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.6
      language: wasm/assemblyscript
      entities:
        - DisputeTemplate
      abis:
        - name: DisputeTemplateRegistry
          file: ../../contracts/deployments/arbitrum/DisputeTemplateRegistry.json
      eventHandlers:
        - event: DisputeTemplate(indexed uint256,indexed string,string,string)
          handler: handleDisputeTemplate
      file: src/DisputeTemplateRegistry.ts