-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
196 lines (196 loc) · 6.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: UmaCtfAdapterV2
network: matic
source:
abi: UmaCtfAdapterV2
address: "0x6A9D222616C90FcA5754cd1333cFD9b7fb6a4F74"
startBlock: 35203539
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
- Revision
abis:
- name: UmaCtfAdapterV2
file: ./abis/UmaCtfAdapterV2.json
callHandlers:
- function: postUpdate(bytes32,bytes)
handler: handleAncillaryDataUpdated
eventHandlers:
- event: QuestionInitialized(indexed bytes32,indexed uint256,indexed
address,bytes,address,uint256,uint256)
handler: handleQuestionInitialized
- event: QuestionReset(indexed bytes32)
handler: handleQuestionReset
- event: QuestionResolved(indexed bytes32,indexed int256,uint256[])
handler: handleQuestionResolved
file: ./src/uma-ctf-adapter.ts
- kind: ethereum
name: UmaCtfAdapterV31
network: matic
source:
abi: UmaCtfAdapterV31
address: "0x157Ce2d672854c848c9b79C49a8Cc6cc89176a49"
startBlock: 46755254
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
- Revision
abis:
- name: UmaCtfAdapterV31
file: ./abis/UmaCtfAdapterV31.json
callHandlers:
- function: postUpdate(bytes32,bytes)
handler: handleAncillaryDataUpdated
eventHandlers:
- event: QuestionInitialized(indexed bytes32,indexed uint256,indexed
address,bytes,address,uint256,uint256)
handler: handleQuestionInitialized
- event: QuestionReset(indexed bytes32)
handler: handleQuestionReset
- event: QuestionResolved(indexed bytes32,indexed int256,uint256[])
handler: handleQuestionResolved
file: ./src/uma-ctf-adapter.ts
- kind: ethereum
name: NegRiskUmaCtfAdapter
network: matic
source:
address: "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d"
abi: UmaCtfAdapterV31
startBlock: 50505488
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
- Revision
abis:
- name: UmaCtfAdapterV31
file: ./abis/UmaCtfAdapterV31.json
callHandlers:
- function: postUpdate(bytes32,bytes)
handler: handleAncillaryDataUpdated
eventHandlers:
- event: QuestionInitialized(indexed bytes32,indexed uint256,indexed
address,bytes,address,uint256,uint256)
handler: handleQuestionInitialized
- event: QuestionReset(indexed bytes32)
handler: handleQuestionReset
- event: QuestionResolved(indexed bytes32,indexed int256,uint256[])
handler: handleQuestionResolved
file: ./src/uma-ctf-adapter.ts
- kind: ethereum
name: OptimisticOracleV2
network: matic
source:
address: "0xeE3Afe347D5C74317041E2618C49534dAf887c24"
abi: OptimisticOracleV2
startBlock: 35203539
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
abis:
- name: OptimisticOracleV2
file: ./abis/OptimisticOracleV2.json
eventHandlers:
- event: DisputePrice(indexed address,indexed address,indexed
address,bytes32,uint256,bytes,int256)
handler: handleDisputePrice
- event: ProposePrice(indexed address,indexed
address,bytes32,uint256,bytes,int256,uint256,address)
handler: handleProposePrice
- event: RequestPrice(indexed
address,bytes32,uint256,bytes,address,uint256,uint256)
handler: handleRequestPrice
file: ./src/optimistic-oracle-v-2.ts
- kind: ethereum
name: UmaCtfAdapterOld
network: matic
source:
address: "0xCB1822859cEF82Cd2Eb4E6276C7916e692995130"
abi: UmaCtfAdapterOld
startBlock: 23569780
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
- AncillaryDataHashToQuestionId
abis:
- name: UmaCtfAdapterOld
file: ./abis/UmaCtfAdapterOld.json
eventHandlers:
- event: QuestionInitialized(indexed
bytes32,bytes,uint256,address,uint256,uint256,bool)
handler: handleQuestionInitialized
- event: QuestionReset(indexed bytes32)
handler: handleQuestionReset
- event: QuestionResolved(indexed bytes32,indexed bool)
handler: handleQuestionResolved
- event: QuestionSettled(indexed bytes32,indexed int256,indexed bool)
handler: handleQuestionSettled
file: ./src/uma-ctf-adapter-old.ts
- kind: ethereum
name: OptimisticOracleOld
network: matic
source:
address: "0xBb1A8db2D4350976a11cdfA60A1d43f97710Da49"
abi: OptimisticOracleOld
startBlock: 23569780
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- MarketResolution
- AncillaryDataHashToQuestionId
abis:
- name: OptimisticOracleOld
file: ./abis/OptimisticOracleOld.json
eventHandlers:
- event: DisputePrice(indexed address,indexed address,indexed
address,bytes32,uint256,bytes,int256)
handler: handleDisputePrice
- event: ProposePrice(indexed address,indexed
address,bytes32,uint256,bytes,int256,uint256,address)
handler: handleProposePrice
- event: RequestPrice(indexed
address,bytes32,uint256,bytes,address,uint256,uint256)
handler: handleRequestPrice
file: ./src/optimistic-oracle-old.ts
- kind: ethereum
name: ModRegistry
network: matic
source:
abi: ModRegistry
address: "0xe1c9271516930B9e1355b87232556a0f39D3aBD3"
startBlock: 52699785
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Moderator
abis:
- name: ModRegistry
file: ./abis/ModRegistry.json
eventHandlers:
- event: ModAdded(indexed address,indexed address)
handler: handleModAdded
- event: ModRemoved(indexed address,indexed address)
handler: handleModRemoved
file: ./src/mod-registry.ts