generated from wslyvh/nexth
-
Notifications
You must be signed in to change notification settings - Fork 4
/
subgraph.yaml
58 lines (58 loc) · 1.72 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
specVersion: 0.0.5
schema:
file: ./schema.graphql
features:
- fullTextSearch
dataSources:
- kind: ethereum
name: Registry
network: optimism
source:
abi: Registry
address: "0x7Cc8E0633021b9DF8D2F01d9287C3b8e29f4eDe2"
startBlock: 111754660
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Record
- Participant
- User
- ConditionModule
- Condition
abis:
- name: Registry
file: ./abis/Registry.json
- name: IConditionModule
file: ./abis/IConditionModule.json
- name: Token
file: ./abis/Token.json
eventHandlers:
- event: Canceled(indexed uint256,string,bytes,address,uint256)
handler: handleCanceled
- event: CheckedIn(indexed uint256,address[],bytes,address,uint256)
handler: handleCheckedIn
- event: ConditionModuleWhitelisted(indexed address,indexed bool,address,uint256)
handler: handleConditionModuleWhitelisted
- event: Created(indexed uint256,string,indexed address,bytes,address,uint256)
handler: handleCreated
- event: Registered(indexed uint256,indexed address,bytes,address,uint256)
handler: handleRegistered
- event: Settled(indexed uint256,bytes,address,uint256)
handler: handleSettled
file: ./src/registry.ts
templates:
- kind: file/ipfs
name: Event
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/metadata.ts
handler: handleEventMetadata
entities:
- Event
abis:
- name: Registry
file: ./abis/Registry.json
network: optimism