-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsubgraph.yaml
371 lines (371 loc) · 12.8 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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
specVersion: 0.0.5
description: Lido on Ethereum
features:
- grafting
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: LidoDAO
network: mainnet
source:
abi: LidoDAO
address: "0xb8FFC3Cd6e7Cf5a098A1c92F48009765B24088Dc"
startBlock: 11473216
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AppVersion
abis:
- name: LidoDAO
file: ./abis/LidoDAO.json
- name: AppRepo
file: ./abis/AppRepo.json
eventHandlers:
- event: SetApp(indexed bytes32,indexed bytes32,address)
handler: handleSetApp
file: ./src/LidoDAO.ts
- kind: ethereum/contract
name: Lido
network: mainnet
source:
abi: Lido
address: "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84"
startBlock: 11473216
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- LidoConfig
- LidoTransfer
- LidoSubmission
- SharesBurn
- LidoApproval
abis:
- name: Lido
file: ./abis/Lido.json
- name: NodeOperatorsRegistry
file: ./abis/NodeOperatorsRegistry.json
eventHandlers:
- event: Submitted(indexed address,uint256,address)
handler: handleSubmitted
receipt: true
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
receipt: true
- event: SharesBurnt(indexed address,uint256,uint256,uint256)
handler: handleSharesBurnt
- event: ETHDistributed(indexed uint256,uint256,uint256,uint256,uint256,uint256)
handler: handleETHDistributed
receipt: true
- event: LidoLocatorSet(address)
handler: handleLidoLocatorSet
- event: Stopped()
handler: handleStopped
- event: Resumed()
handler: handleResumed
- event: StakingLimitRemoved()
handler: handleStakingLimitRemoved
- event: StakingLimitSet(uint256,uint256)
handler: handleStakingLimitSet
- event: StakingResumed()
handler: handleStakingResumed
- event: StakingPaused()
handler: handleStakingPaused
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
- event: FeeSet(uint16)
handler: handleFeeSet
- event: FeeDistributionSet(uint16,uint16,uint16)
handler: handleFeeDistributionSet
- event: WithdrawalCredentialsSet(bytes32)
handler: handleWithdrawalCredentialsSet
- event: ProtocolContactsSet(address,address,address)
handler: handleProtocolContractsSet
- event: ELRewardsWithdrawalLimitSet(uint256)
handler: handleELRewardsWithdrawalLimitSet
- event: ELRewardsVaultSet(address)
handler: handleELRewardsVaultSet
- event: BeaconValidatorsUpdated(uint256)
handler: handleBeaconValidatorsUpdated
file: ./src/Lido.ts
- kind: ethereum/contract
name: LegacyOracle
network: mainnet
source:
abi: LegacyOracle
address: "0x442af784A788A5bd6F42A01Ebe9F287a871243fb"
startBlock: 11473216
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- OracleConfig
- OracleReport
- OracleCompleted
- OracleMember
abis:
- name: LegacyOracle
file: ./abis/LegacyOracle.json
- name: NodeOperatorsRegistry
file: ./abis/NodeOperatorsRegistry.json
eventHandlers:
- event: Completed(uint256,uint128,uint128)
handler: handleCompleted
receipt: true
- event: PostTotalShares(uint256,uint256,uint256,uint256)
handler: handlePostTotalShares
- event: MemberAdded(address)
handler: handleMemberAdded
- event: MemberRemoved(address)
handler: handleMemberRemoved
- event: ContractVersionSet(uint256)
handler: handleContractVersionSet
- event: QuorumChanged(uint256)
handler: handleQuorumChanged
- event: BeaconSpecSet(uint64,uint64,uint64,uint64)
handler: handleBeaconSpecSet
- event: BeaconReportReceiverSet(address)
handler: handleBeaconReportReceiverSet
- event: AllowedBeaconBalanceRelativeDecreaseSet(uint256)
handler: handleAllowedBeaconBalanceRelativeDecreaseSet
- event: AllowedBeaconBalanceAnnualRelativeIncreaseSet(uint256)
handler: handleAllowedBeaconBalanceAnnualRelativeIncreaseSet
file: ./src/LegacyOracle.ts
- kind: ethereum/contract
name: NodeOperatorsRegistry
network: mainnet
source:
abi: NodeOperatorsRegistry
address: "0x55032650b14df07b85bF18A3a3eC8E0Af2e028d5"
startBlock: 11473216
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- NodeOperator
- NodeOperatorSigningKey
abis:
- name: NodeOperatorsRegistry
file: ./abis/NodeOperatorsRegistry.json
eventHandlers:
- event: NodeOperatorAdded(uint256,string,address,uint64)
handler: handleNodeOperatorAdded
- event: NodeOperatorActiveSet(indexed uint256,bool)
handler: handleNodeOperatorActiveSet
- event: NodeOperatorNameSet(indexed uint256,string)
handler: handleNodeOperatorNameSet
- event: NodeOperatorRewardAddressSet(indexed uint256,address)
handler: handleNodeOperatorRewardAddressSet
- event: SigningKeyAdded(indexed uint256,bytes)
handler: handleSigningKeyAdded
- event: SigningKeyRemoved(indexed uint256,bytes)
handler: handleSigningKeyRemoved
- event: NodeOperatorTotalKeysTrimmed(indexed uint256,uint64)
handler: handleNodeOperatorTotalKeysTrimmed
- event: KeysOpIndexSet(uint256)
handler: handleKeysOpIndexSet
- event: NodeOperatorStakingLimitSet(indexed uint256,uint64)
handler: handleNodeOperatorStakingLimitSet
- event: NodeOperatorTotalStoppedValidatorsReported(indexed uint256,uint64)
handler: handleNodeOperatorTotalStoppedValidatorsReported
file: ./src/NodeOperatorsRegistry.ts
- kind: ethereum/contract
name: Voting
network: mainnet
source:
abi: Voting
address: "0x2e59A20f205bB85a89C53f1936454680651E618e"
startBlock: 11473216
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Voting
- Vote
- ChangedSupportRequired
- ChangedMinQuorum
- VotingObjection
- ChangedVoteTime
- ChangedObjectionPhaseTime
abis:
- name: Voting
file: ./abis/Voting.json
eventHandlers:
- event: StartVote(indexed uint256,indexed address,string)
handler: handleStartVote
- event: CastVote(indexed uint256,indexed address,bool,uint256)
handler: handleCastVote
- event: CastObjection(indexed uint256,indexed address,uint256)
handler: handleCastObjection
- event: ExecuteVote(indexed uint256)
handler: handleExecuteVote
- event: ChangeSupportRequired(uint64)
handler: handleChangeSupportRequired
- event: ChangeMinQuorum(uint64)
handler: handleChangeMinQuorum
- event: ChangeVoteTime(uint64)
handler: handleChangeVoteTime
- event: ChangeObjectionPhaseTime(uint64)
handler: handleChangeObjectionPhaseTime
file: ./src/Voting.ts
- kind: ethereum/contract
name: EasyTrack
network: mainnet
source:
abi: EasyTrack
address: "0xF0211b7660680B49De1A7E9f25C65660F0a13Fea"
startBlock: 13676720
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- EasyTrackConfig
- Motion
- Objection
- EVMScriptFactory
abis:
- name: EasyTrack
file: ./abis/EasyTrack.json
eventHandlers:
- event: EVMScriptExecutorChanged(indexed address)
handler: handleEVMScriptExecutorChanged
- event: EVMScriptFactoryAdded(indexed address,bytes)
handler: handleEVMScriptFactoryAdded
- event: EVMScriptFactoryRemoved(indexed address)
handler: handleEVMScriptFactoryRemoved
- event: MotionCanceled(indexed uint256)
handler: handleMotionCanceled
- event: MotionCreated(indexed uint256,address,indexed address,bytes,bytes)
handler: handleMotionCreated
- event: MotionDurationChanged(uint256)
handler: handleMotionDurationChanged
- event: MotionEnacted(indexed uint256)
handler: handleMotionEnacted
- event: MotionObjected(indexed uint256,indexed address,uint256,uint256,uint256)
handler: handleMotionObjected
- event: MotionRejected(indexed uint256)
handler: handleMotionRejected
- event: MotionsCountLimitChanged(uint256)
handler: handleMotionsCountLimitChanged
- event: ObjectionsThresholdChanged(uint256)
handler: handleObjectionsThresholdChanged
- event: Paused(address)
handler: handlePaused
- event: Unpaused(address)
handler: handleUnpaused
file: ./src/EasyTrack.ts
- kind: ethereum/contract
name: StakingRouter
network: mainnet
source:
abi: StakingRouter
address: "0xFdDf38947aFB03C621C71b06C9C70bce73f12999"
startBlock: 17175000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- StakingModule
abis:
- name: StakingRouter
file: ./abis/StakingRouter.json
eventHandlers:
- event: WithdrawalCredentialsSet(bytes32,address)
handler: handleWithdrawalCredentialsSet
file: ./src/StakingRouter.ts
- kind: ethereum/contract
name: AccountingOracle
network: mainnet
source:
abi: AccountingOracle
address: "0x852deD011285fe67063a08005c71a85690503Cee"
startBlock: 17175000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- TotalReward
abis:
- name: AccountingOracle
file: ./abis/AccountingOracle.json
- name: StakingRouter
file: ./abis/StakingRouter.json
eventHandlers:
- event: ProcessingStarted(indexed uint256,bytes32)
handler: handleProcessingStarted
- event: ExtraDataSubmitted(indexed uint256,uint256,uint256)
handler: handleExtraDataSubmitted
receipt: true
file: ./src/AccountingOracle.ts
- kind: ethereum/contract
name: WithdrawalQueue
network: mainnet
source:
abi: WithdrawalQueue
address: "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1"
startBlock: 17175000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- WithdrawalClaimed
- WithdrawalRequested
- WithdrawalsFinalized
abis:
- name: WithdrawalQueue
file: ./abis/WithdrawalQueue.json
eventHandlers:
- event: BunkerModeDisabled()
handler: handleBunkerModeDisabled
- event: BunkerModeEnabled(uint256)
handler: handleBunkerModeEnabled
- event: ContractVersionSet(uint256)
handler: handleContractVersionSet
- event: Paused(uint256)
handler: handlePaused
- event: Resumed()
handler: handleResumed
- event: WithdrawalClaimed(indexed uint256,indexed address,indexed
address,uint256)
handler: handleWithdrawalClaimed
- event: WithdrawalRequested(indexed uint256,indexed address,indexed
address,uint256,uint256)
handler: handleWithdrawalRequested
- event: WithdrawalsFinalized(indexed uint256,indexed
uint256,uint256,uint256,uint256)
handler: handleWithdrawalsFinalized
- event: WithdrawalBatchFinalized(indexed uint256,indexed
uint256,uint256,uint256,uint256)
handler: handleWithdrawalBatchFinalized
file: ./src/WithdrawalQueue.ts
- kind: ethereum/contract
name: HashConsensus
network: mainnet
source:
abi: HashConsensus
address: "0xD624B08C83bAECF0807Dd2c6880C3154a5F0B288"
startBlock: 17175000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- OracleConfig
abis:
- name: HashConsensus
file: ./abis/HashConsensus.json
eventHandlers:
- event: FrameConfigSet(uint256,uint256)
handler: handleFrameConfigSet
file: ./src/HashConsensus.ts