-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.yaml
37 lines (37 loc) · 1.3 KB
/
subgraph.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
37
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: L2Storage
network: celo
source:
address: "0x2e0d624A3D6d9E02C08Df30e3346E8B1350b53b5"
abi: L2Storage
startBlock: 26067616
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AddressDataChanged
- TokenDataChanged
abis:
- name: L2Storage
file: ./abis/L2Storage.json
eventHandlers:
- event: AddressDataChanged(uint256,string,string,uint256)
handler: handleAddressDataChanged
- event: TokenDataChanged(uint256,string,string,uint256)
handler: handleTokenDataChanged
- event: ListDataChanged(uint256,string,string,uint256)
handler: handleListDataChanged
- event: ListMembershipChanged(uint256,string,string,uint256)
handler: handleListMembershipChanged
- event: ListOwnershipChanged(uint256,string,string,uint256)
handler: handleListOwnershipChanged
- event: UserDataChanged(uint256,string,string,uint256)
handler: handleUserDataChanged
- event: ValidationDataChanged(uint256,string,string,uint256)
handler: handleValidationDataChanged
file: ./src/l-2-storage.ts