-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
240 lines (240 loc) · 9.14 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: surplusAuctionHouse
network: arbitrum-one
source:
abi: surplusAuctionHouse
address: "0xA18aFB1953648ec7465d536287a015C237927369"
startBlock: 203510232
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- surplusAuctionHouseAddAuthorization
- surplusAuctionHouseDisableContract
- IncreaseBidSize
- surplusAuctionHouseModifyParameters
- surplusAuctionHouseRemoveAuthorization
- RestartAuction
- SettleAuction
- StartAuction
- TerminateAuctionPrematurely
abis:
- name: surplusAuctionHouse
file: ./abis/surplusAuctionHouse.json
eventHandlers:
- event: AddAuthorization(address)
handler: handleAddAuthorization
- event: DisableContract()
handler: handleDisableContract
- event: IncreaseBidSize(indexed uint256,address,uint256,uint256,uint256,uint256)
handler: handleIncreaseBidSize
- event: ModifyParameters(indexed bytes32,indexed bytes32,bytes)
handler: handleModifyParameters
- event: RemoveAuthorization(address)
handler: handleRemoveAuthorization
- event: RestartAuction(indexed uint256,uint256,uint256)
handler: handleRestartAuction
- event: SettleAuction(indexed uint256,uint256,address,uint256)
handler: handleSettleAuction
- event: StartAuction(indexed uint256,indexed address,uint256,uint256,uint256,uint256)
handler: handleStartAuction
- event: TerminateAuctionPrematurely(indexed uint256,uint256,address,uint256)
handler: handleTerminateAuctionPrematurely
file: ./src/surplus-auction-house.ts
- kind: ethereum
name: debtAuctionHouse
network: arbitrum-one
source:
abi: debtAuctionHouse
address: "0x5A021f2063bc2D26fd24a632e29587Afe14D30e5"
startBlock: 203510232
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- debtAuctionHouseAddAuthorization
- DecreaseSoldAmount
- debtAuctionHouseDisableContract
- debtAuctionHouseModifyParameters
- debtAuctionHouseRemoveAuthorization
- debtAuctionHouseRestartAuction
- debtAuctionHouseSettleAuction
- debtAuctionHouseStartAuction
- debtAuctionHouseTerminateAuctionPrematurely
abis:
- name: debtAuctionHouse
file: ./abis/debtAuctionHouse.json
eventHandlers:
- event: AddAuthorization(address)
handler: handleAddAuthorization
- event: DecreaseSoldAmount(indexed uint256,address,uint256,uint256,uint256,uint256)
handler: handleDecreaseSoldAmount
- event: DisableContract()
handler: handleDisableContract
- event: ModifyParameters(indexed bytes32,indexed bytes32,bytes)
handler: handleModifyParameters
- event: RemoveAuthorization(address)
handler: handleRemoveAuthorization
- event: RestartAuction(indexed uint256,uint256,uint256)
handler: handleRestartAuction
- event: SettleAuction(indexed uint256,uint256,address,uint256)
handler: handleSettleAuction
- event: StartAuction(indexed uint256,indexed address,uint256,uint256,uint256,uint256)
handler: handleStartAuction
- event: TerminateAuctionPrematurely(indexed uint256,uint256,address,uint256)
handler: handleTerminateAuctionPrematurely
file: ./src/debt-auction-house.ts
- kind: ethereum
name: collateralAuctionHouseFactory
network: arbitrum-one
source:
address: "0x5dc1E86361faC018f24Ae0D1E5eB01D70AB32A82"
abi: collateralAuctionHouseFactory
startBlock: 203510232
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AddAuthorization
- DeployCollateralAuctionHouse
- DisableContract
- ModifyParameters
- RemoveAuthorization
abis:
- name: collateralAuctionHouseFactory
file: ./abis/collateralAuctionHouseFactory.json
eventHandlers:
- event: AddAuthorization(address)
handler: handleAddAuthorization
- event: DeployCollateralAuctionHouse(indexed bytes32,indexed address)
handler: handleDeployCollateralAuctionHouse
- event: DisableContract()
handler: handleDisableContract
- event: ModifyParameters(indexed bytes32,indexed bytes32,bytes)
handler: handleModifyParameters
- event: RemoveAuthorization(address)
handler: handleRemoveAuthorization
file: ./src/collateral-auction-house-factory.ts
- kind: ethereum
name: vault721
network: arbitrum-one
source:
address: "0x0005AFE00fF7E7FF83667bFe4F2996720BAf0B36"
abi: vault721
startBlock: 203510232
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- CreateProxy
- Transfer
- Vault
abis:
- name: vault721
file: ./abis/vault721.json
- name: odSafeManager
file: ./abis/odSafeManager.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: CreateProxy(indexed address,address)
handler: handleCreateProxy
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/vault-721.ts
- kind: ethereum
name: odSafeManager
network: arbitrum-one
source:
address: "0x8646CBd915eAAD1a4E2Ba5e2b67Acec4957d5f1a"
abi: odSafeManager
startBlock: 204451248
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AllowSAFE
- ModifySAFECollateralization
- MoveSAFE
- OpenSAFE
- ProtectSAFE
- QuitSystem
- TransferCollateral
- TransferCollateral1
- TransferInternalCoins
- TransferSAFEOwnership
abis:
- name: odSafeManager
file: ./abis/odSafeManager.json
eventHandlers:
- event: AllowSAFE(indexed address,indexed uint256,address,bool)
handler: handleAllowSAFE
- event: ModifySAFECollateralization(indexed address,indexed uint256,int256,int256)
handler: handleModifySAFECollateralization
- event: MoveSAFE(indexed address,indexed uint256,indexed uint256)
handler: handleMoveSAFE
- event: OpenSAFE(indexed address,indexed address,indexed uint256)
handler: handleOpenSAFE
- event: ProtectSAFE(indexed address,indexed uint256,address,address)
handler: handleProtectSAFE
- event: QuitSystem(indexed address,indexed uint256,address)
handler: handleQuitSystem
- event: TransferCollateral(indexed address,indexed uint256,address,uint256)
handler: handleTransferCollateral
- event: TransferCollateral(indexed address,bytes32,indexed uint256,address,uint256)
handler: handleTransferCollateral1
- event: TransferInternalCoins(indexed address,indexed uint256,address,uint256)
handler: handleTransferInternalCoins
- event: TransferSAFEOwnership(indexed address,indexed uint256,address)
handler: handleTransferSAFEOwnership
file: ./src/od-safe-manager.ts
templates:
- kind: ethereum
name: collateralAuctionHouse
network: arbitrum-one
source:
abi: collateralAuctionHouse
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- collateralAuctionHouseAddAuthorization
- BuyCollateral
- collateralAuctionHouseModifyParameters
- collateralAuctionHouseRemoveAuthorization
- collateralAuctionHouseSettleAuction
- collateralAuctionHouseStartAuction
- collateralAuctionHouseTerminateAuctionPrematurely
abis:
- name: collateralAuctionHouse
file: ./abis/collateralAuctionHouse.json
eventHandlers:
- event: AddAuthorization(address)
handler: handleAddAuthorization
- event: BuyCollateral(indexed uint256,address,uint256,uint256,uint256)
handler: handleBuyCollateral
- event: ModifyParameters(indexed bytes32,indexed bytes32,bytes)
handler: handleModifyParameters
- event: RemoveAuthorization(address)
handler: handleRemoveAuthorization
- event: SettleAuction(indexed uint256,uint256,address,uint256)
handler: handleSettleAuction
- event: StartAuction(indexed uint256,indexed address,uint256,uint256,uint256)
handler: handleStartAuction
- event: TerminateAuctionPrematurely(indexed uint256,uint256,address,uint256)
handler: handleTerminateAuctionPrematurely
file: ./src/collateral-auction-house.ts