-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsubgraph.yaml
287 lines (287 loc) · 8.71 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
# Fixed Expiry
- kind: ethereum
name: BondFixedExpirySDAv1
network: mainnet
source:
address: "0x007FEA7A23da99F3Ce7eA34F976f32BF79A09C43"
abi: BondFixedExpirySDA
startBlock: 15690000
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- BondSnapshot
- TunedEvent
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedExpirySDA
file: ./abis/BondFixedExpirySDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedExpiryBond.ts
- kind: ethereum
name: BondFixedExpirySDAv2
network: mainnet
source:
address: "0x007FEA2a31644F20b0fE18f69643890b6F878AA6"
abi: BondFixedExpirySDA
startBlock: 15725323
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- BondSnapshot
- TunedEvent
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedExpirySDA
file: ./abis/BondFixedExpirySDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedExpiryBond.ts
- kind: ethereum
name: BondFixedExpirySDAv3
network: mainnet
source:
address: "0x007FEA32545a39Ff558a1367BBbC1A22bc7ABEfD"
abi: BondFixedExpirySDA
startBlock: 15998039
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- BondSnapshot
- TunedEvent
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedExpirySDA
file: ./abis/BondFixedExpirySDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedExpiryBond.ts
# Fixed Term
- kind: ethereum
name: BondFixedTermSDAv1
network: mainnet
source:
address: "0x007F7A58103a31109F848Df1A14F7020E1F1b28A"
abi: BondFixedTermSDA
startBlock: 15546732
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedTermSDA
file: ./abis/BondFixedTermSDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedTermBond.ts
- kind: ethereum
name: BondFixedTermSDAv2
network: mainnet
source:
address: "0x007F7A6012A5e03f6F388dd9F19Fd1D754Cfc128"
abi: BondFixedTermSDA
startBlock: 15725324
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedTermSDA
file: ./abis/BondFixedTermSDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedTermBond.ts
- kind: ethereum
name: BondFixedTermSDAv3
network: mainnet
source:
address: "0x007F7A1cb838A872515c8ebd16bE4b14Ef43a222"
abi: BondFixedTermSDA
startBlock: 15998040
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Market
- MarketCreatedEvent
- MarketClosedEvent
abis:
- name: BondFixedTermSDA
file: ./abis/BondFixedTermSDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: MarketCreated(indexed uint256,indexed address,indexed address,uint48,uint256)
handler: handleMarketCreated
- event: MarketClosed(indexed uint256)
handler: handleMarketClosed
file: ./src/handleFixedTermBond.ts
## Bond Purchases
# Fixed Term
- kind: ethereum
name: BondFixedTermTeller_DAE0
network: mainnet
source:
address: "0x007F77B53ed0F058616335bc040cD326E125daE0"
abi: BondFixedTermTeller
startBlock: 15546730
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Bonded
abis:
- name: BondFixedTermTeller
file: ./abis/BondFixedTermTeller.json
- name: BondFixedTermSDA
file: ./abis/BondFixedTermSDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Bonded(indexed uint256,indexed address,uint256,uint256)
handler: handleBonded
file: ./src/handleFixedTermTeller.ts
- kind: ethereum
name: BondFixedTermTeller_FED6
network: mainnet
source:
address: "0x007F7735baF391e207E3aA380bb53c4Bd9a5Fed6"
abi: BondFixedTermTeller
startBlock: 15998038
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Bonded
abis:
- name: BondFixedTermTeller
file: ./abis/BondFixedTermTeller.json
- name: BondFixedTermSDA
file: ./abis/BondFixedTermSDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Bonded(indexed uint256,indexed address,uint256,uint256)
handler: handleBonded
file: ./src/handleFixedTermTeller.ts
# Fixed Expiry
- kind: ethereum
name: BondFixedExpiryTeller_1156
network: mainnet
source:
address: "0x007FE7c498A2Cf30971ad8f2cbC36bd14Ac51156"
abi: BondFixedExpiryTeller
startBlock: 15546728
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Bonded
abis:
- name: BondFixedExpiryTeller
file: ./abis/BondFixedExpiryTeller.json
- name: BondFixedExpirySDA
file: ./abis/BondFixedExpirySDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Bonded(indexed uint256,indexed address,uint256,uint256)
handler: handleBonded
file: ./src/handleFixedExpiryTeller.ts
- kind: ethereum
name: BondFixedExpiryTeller_DC95
network: mainnet
source:
address: "0x007fe70dc9797c4198528ae43d8195fff82bdc95"
abi: BondFixedExpiryTeller
startBlock: 15998037
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Bonded
abis:
- name: BondFixedExpiryTeller
file: ./abis/BondFixedExpiryTeller.json
- name: BondFixedExpirySDA
file: ./abis/BondFixedExpirySDA.json
- name: BondAggregator
file: ./abis/BondAggregator.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Bonded(indexed uint256,indexed address,uint256,uint256)
handler: handleBonded
file: ./src/handleFixedExpiryTeller.ts