-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.goerli.yaml
36 lines (36 loc) · 1.09 KB
/
subgraph.goerli.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DpidRegistry
network: goerli
source:
address: "0xd92C9cC823926145b89263cd3A4CeD6161a8bDD5"
abi: DpidRegistry
startBlock: 8441748
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Initialized
- OwnershipTransferred
- Register
- RegisterOrganization
- UpdateOrganization
abis:
- name: DpidRegistry
file: ./abis/DpidRegistry.json
eventHandlers:
- event: Initialized(uint8)
handler: handleInitialized
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Register(bytes32,uint256)
handler: handleRegister
- event: RegisterOrganization(bytes32,address,address[])
handler: handleRegisterOrganization
- event: UpdateOrganization(bytes32,address,address[])
handler: handleUpdateOrganization
file: ./src/dpid-registry.ts