1
+ [
2
+ {
3
+ "type" : " constructor" ,
4
+ "inputs" : [
5
+ {
6
+ "name" : " controller" ,
7
+ "type" : " address" ,
8
+ "internalType" : " address"
9
+ },
10
+ {
11
+ "name" : " protocolPaymentCut" ,
12
+ "type" : " uint256" ,
13
+ "internalType" : " uint256"
14
+ }
15
+ ],
16
+ "stateMutability" : " nonpayable"
17
+ },
18
+ {
19
+ "type" : " function" ,
20
+ "name" : " PROTOCOL_PAYMENT_CUT" ,
21
+ "inputs" : [],
22
+ "outputs" : [
23
+ {
24
+ "name" : " " ,
25
+ "type" : " uint256" ,
26
+ "internalType" : " uint256"
27
+ }
28
+ ],
29
+ "stateMutability" : " view"
30
+ },
31
+ {
32
+ "type" : " function" ,
33
+ "name" : " collect" ,
34
+ "inputs" : [
35
+ {
36
+ "name" : " paymentType" ,
37
+ "type" : " uint8" ,
38
+ "internalType" : " enum IGraphPayments.PaymentTypes"
39
+ },
40
+ {
41
+ "name" : " receiver" ,
42
+ "type" : " address" ,
43
+ "internalType" : " address"
44
+ },
45
+ {
46
+ "name" : " tokens" ,
47
+ "type" : " uint256" ,
48
+ "internalType" : " uint256"
49
+ },
50
+ {
51
+ "name" : " dataService" ,
52
+ "type" : " address" ,
53
+ "internalType" : " address"
54
+ },
55
+ {
56
+ "name" : " dataServiceCut" ,
57
+ "type" : " uint256" ,
58
+ "internalType" : " uint256"
59
+ }
60
+ ],
61
+ "outputs" : [],
62
+ "stateMutability" : " nonpayable"
63
+ },
64
+ {
65
+ "type" : " function" ,
66
+ "name" : " initialize" ,
67
+ "inputs" : [],
68
+ "outputs" : [],
69
+ "stateMutability" : " nonpayable"
70
+ },
71
+ {
72
+ "type" : " function" ,
73
+ "name" : " multicall" ,
74
+ "inputs" : [
75
+ {
76
+ "name" : " data" ,
77
+ "type" : " bytes[]" ,
78
+ "internalType" : " bytes[]"
79
+ }
80
+ ],
81
+ "outputs" : [
82
+ {
83
+ "name" : " results" ,
84
+ "type" : " bytes[]" ,
85
+ "internalType" : " bytes[]"
86
+ }
87
+ ],
88
+ "stateMutability" : " nonpayable"
89
+ },
90
+ {
91
+ "type" : " event" ,
92
+ "name" : " GraphDirectoryInitialized" ,
93
+ "inputs" : [
94
+ {
95
+ "name" : " graphToken" ,
96
+ "type" : " address" ,
97
+ "indexed" : true ,
98
+ "internalType" : " address"
99
+ },
100
+ {
101
+ "name" : " graphStaking" ,
102
+ "type" : " address" ,
103
+ "indexed" : true ,
104
+ "internalType" : " address"
105
+ },
106
+ {
107
+ "name" : " graphPayments" ,
108
+ "type" : " address" ,
109
+ "indexed" : false ,
110
+ "internalType" : " address"
111
+ },
112
+ {
113
+ "name" : " graphEscrow" ,
114
+ "type" : " address" ,
115
+ "indexed" : false ,
116
+ "internalType" : " address"
117
+ },
118
+ {
119
+ "name" : " graphController" ,
120
+ "type" : " address" ,
121
+ "indexed" : true ,
122
+ "internalType" : " address"
123
+ },
124
+ {
125
+ "name" : " graphEpochManager" ,
126
+ "type" : " address" ,
127
+ "indexed" : false ,
128
+ "internalType" : " address"
129
+ },
130
+ {
131
+ "name" : " graphRewardsManager" ,
132
+ "type" : " address" ,
133
+ "indexed" : false ,
134
+ "internalType" : " address"
135
+ },
136
+ {
137
+ "name" : " graphTokenGateway" ,
138
+ "type" : " address" ,
139
+ "indexed" : false ,
140
+ "internalType" : " address"
141
+ },
142
+ {
143
+ "name" : " graphProxyAdmin" ,
144
+ "type" : " address" ,
145
+ "indexed" : false ,
146
+ "internalType" : " address"
147
+ },
148
+ {
149
+ "name" : " graphCuration" ,
150
+ "type" : " address" ,
151
+ "indexed" : false ,
152
+ "internalType" : " address"
153
+ }
154
+ ],
155
+ "anonymous" : false
156
+ },
157
+ {
158
+ "type" : " event" ,
159
+ "name" : " GraphPaymentCollected" ,
160
+ "inputs" : [
161
+ {
162
+ "name" : " paymentType" ,
163
+ "type" : " uint8" ,
164
+ "indexed" : true ,
165
+ "internalType" : " enum IGraphPayments.PaymentTypes"
166
+ },
167
+ {
168
+ "name" : " payer" ,
169
+ "type" : " address" ,
170
+ "indexed" : true ,
171
+ "internalType" : " address"
172
+ },
173
+ {
174
+ "name" : " receiver" ,
175
+ "type" : " address" ,
176
+ "indexed" : false ,
177
+ "internalType" : " address"
178
+ },
179
+ {
180
+ "name" : " dataService" ,
181
+ "type" : " address" ,
182
+ "indexed" : true ,
183
+ "internalType" : " address"
184
+ },
185
+ {
186
+ "name" : " tokens" ,
187
+ "type" : " uint256" ,
188
+ "indexed" : false ,
189
+ "internalType" : " uint256"
190
+ },
191
+ {
192
+ "name" : " tokensProtocol" ,
193
+ "type" : " uint256" ,
194
+ "indexed" : false ,
195
+ "internalType" : " uint256"
196
+ },
197
+ {
198
+ "name" : " tokensDataService" ,
199
+ "type" : " uint256" ,
200
+ "indexed" : false ,
201
+ "internalType" : " uint256"
202
+ },
203
+ {
204
+ "name" : " tokensDelegationPool" ,
205
+ "type" : " uint256" ,
206
+ "indexed" : false ,
207
+ "internalType" : " uint256"
208
+ },
209
+ {
210
+ "name" : " tokensReceiver" ,
211
+ "type" : " uint256" ,
212
+ "indexed" : false ,
213
+ "internalType" : " uint256"
214
+ }
215
+ ],
216
+ "anonymous" : false
217
+ },
218
+ {
219
+ "type" : " event" ,
220
+ "name" : " Initialized" ,
221
+ "inputs" : [
222
+ {
223
+ "name" : " version" ,
224
+ "type" : " uint64" ,
225
+ "indexed" : false ,
226
+ "internalType" : " uint64"
227
+ }
228
+ ],
229
+ "anonymous" : false
230
+ },
231
+ {
232
+ "type" : " error" ,
233
+ "name" : " AddressEmptyCode" ,
234
+ "inputs" : [
235
+ {
236
+ "name" : " target" ,
237
+ "type" : " address" ,
238
+ "internalType" : " address"
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "type" : " error" ,
244
+ "name" : " FailedInnerCall" ,
245
+ "inputs" : []
246
+ },
247
+ {
248
+ "type" : " error" ,
249
+ "name" : " GraphDirectoryInvalidZeroAddress" ,
250
+ "inputs" : [
251
+ {
252
+ "name" : " contractName" ,
253
+ "type" : " bytes" ,
254
+ "internalType" : " bytes"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "type" : " error" ,
260
+ "name" : " GraphPaymentsInvalidCut" ,
261
+ "inputs" : [
262
+ {
263
+ "name" : " cut" ,
264
+ "type" : " uint256" ,
265
+ "internalType" : " uint256"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "type" : " error" ,
271
+ "name" : " GraphPaymentsInvalidProtocolPaymentCut" ,
272
+ "inputs" : [
273
+ {
274
+ "name" : " protocolPaymentCut" ,
275
+ "type" : " uint256" ,
276
+ "internalType" : " uint256"
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "type" : " error" ,
282
+ "name" : " InvalidInitialization" ,
283
+ "inputs" : []
284
+ },
285
+ {
286
+ "type" : " error" ,
287
+ "name" : " NotInitializing" ,
288
+ "inputs" : []
289
+ },
290
+ {
291
+ "type" : " error" ,
292
+ "name" : " PPMMathInvalidMulPPM" ,
293
+ "inputs" : [
294
+ {
295
+ "name" : " a" ,
296
+ "type" : " uint256" ,
297
+ "internalType" : " uint256"
298
+ },
299
+ {
300
+ "name" : " b" ,
301
+ "type" : " uint256" ,
302
+ "internalType" : " uint256"
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "type" : " error" ,
308
+ "name" : " PPMMathInvalidPPM" ,
309
+ "inputs" : [
310
+ {
311
+ "name" : " value" ,
312
+ "type" : " uint256" ,
313
+ "internalType" : " uint256"
314
+ }
315
+ ]
316
+ }
317
+ ]
0 commit comments