@nexusmutual/sdk 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -16
- package/dist/data/abis/{Assessment.json → Assessments.json} +370 -416
- package/dist/data/abis/{IndividualClaims.json → Claims.json} +325 -264
- package/dist/data/abis/Cover.json +447 -110
- package/dist/data/abis/CoverBroker.json +79 -34
- package/dist/data/abis/CoverProducts.json +55 -0
- package/dist/data/abis/Governor.json +803 -0
- package/dist/data/abis/LimitOrders.json +0 -7
- package/dist/data/abis/NXMaster.json +37 -223
- package/dist/data/abis/Pool.json +415 -229
- package/dist/data/abis/Ramm.json +97 -67
- package/dist/data/abis/{MemberRoles.json → Registry.json} +553 -249
- package/dist/data/abis/SafeTracker.json +94 -58
- package/dist/data/abis/StakingProducts.json +1 -14
- package/dist/data/abis/StakingViewer.json +87 -24
- package/dist/data/abis/SwapOperator.json +365 -209
- package/dist/data/abis/TokenController.json +77 -303
- package/dist/data/abis/VotePower.json +170 -0
- package/dist/data/addresses.json +9 -12
- package/dist/data/product-types.json +76 -26
- package/dist/data/products.json +13 -13
- package/dist/data/version.json +1 -1
- package/dist/index.d.mts +14024 -13632
- package/dist/index.d.ts +14024 -13632
- package/dist/index.js +9436 -9167
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9435 -9166
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/dist/data/abis/AssessmentViewer.json +0 -106
- package/dist/data/abis/MCR.json +0 -321
- package/dist/data/abis/NexusViewer.json +0 -199
- package/dist/data/abis/PriceFeedOracle.json +0 -312
- package/dist/data/abis/ProposalCategory.json +0 -653
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"inputs": [
|
|
4
4
|
{
|
|
5
5
|
"internalType": "address",
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "_registry",
|
|
7
7
|
"type": "address"
|
|
8
8
|
}
|
|
9
9
|
],
|
|
@@ -12,220 +12,265 @@
|
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"inputs": [],
|
|
15
|
-
"name": "
|
|
15
|
+
"name": "AlreadyVoted",
|
|
16
16
|
"type": "error"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"inputs": [],
|
|
20
|
-
"name": "
|
|
20
|
+
"name": "AssessmentAlreadyExists",
|
|
21
|
+
"type": "error"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"inputs": [
|
|
25
|
+
{
|
|
26
|
+
"internalType": "uint256",
|
|
27
|
+
"name": "claimId",
|
|
28
|
+
"type": "uint256"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"name": "HasNotVoted",
|
|
21
32
|
"type": "error"
|
|
22
33
|
},
|
|
23
34
|
{
|
|
24
35
|
"inputs": [],
|
|
25
|
-
"name": "
|
|
36
|
+
"name": "InvalidAssessor",
|
|
26
37
|
"type": "error"
|
|
27
38
|
},
|
|
28
39
|
{
|
|
29
40
|
"inputs": [],
|
|
30
|
-
"name": "
|
|
41
|
+
"name": "InvalidClaimId",
|
|
31
42
|
"type": "error"
|
|
32
43
|
},
|
|
33
44
|
{
|
|
34
|
-
"inputs": [
|
|
35
|
-
|
|
36
|
-
"internalType": "uint256",
|
|
37
|
-
"name": "maxUnstakeAmount",
|
|
38
|
-
"type": "uint256"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"name": "InvalidAmount",
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "InvalidGroupId",
|
|
42
47
|
"type": "error"
|
|
43
48
|
},
|
|
44
49
|
{
|
|
45
50
|
"inputs": [],
|
|
46
|
-
"name": "
|
|
51
|
+
"name": "InvalidMemberId",
|
|
47
52
|
"type": "error"
|
|
48
53
|
},
|
|
49
54
|
{
|
|
50
55
|
"inputs": [],
|
|
51
|
-
"name": "
|
|
56
|
+
"name": "InvalidProductType",
|
|
52
57
|
"type": "error"
|
|
53
58
|
},
|
|
54
59
|
{
|
|
55
|
-
"inputs": [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"name": "NotMember",
|
|
60
|
+
"inputs": [],
|
|
61
|
+
"name": "NotEverybodyVoted",
|
|
62
|
+
"type": "error"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"inputs": [],
|
|
66
|
+
"name": "OnlyAdvisoryBoard",
|
|
63
67
|
"type": "error"
|
|
64
68
|
},
|
|
65
69
|
{
|
|
66
70
|
"inputs": [],
|
|
67
|
-
"name": "
|
|
71
|
+
"name": "OnlyMember",
|
|
68
72
|
"type": "error"
|
|
69
73
|
},
|
|
70
74
|
{
|
|
71
75
|
"inputs": [
|
|
72
76
|
{
|
|
73
77
|
"internalType": "uint256",
|
|
74
|
-
"name": "
|
|
78
|
+
"name": "currentState",
|
|
79
|
+
"type": "uint256"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"internalType": "uint256",
|
|
83
|
+
"name": "checks",
|
|
75
84
|
"type": "uint256"
|
|
76
85
|
}
|
|
77
86
|
],
|
|
78
|
-
"name": "
|
|
87
|
+
"name": "Paused",
|
|
79
88
|
"type": "error"
|
|
80
89
|
},
|
|
81
90
|
{
|
|
82
91
|
"inputs": [
|
|
83
92
|
{
|
|
84
93
|
"internalType": "uint256",
|
|
85
|
-
"name": "
|
|
94
|
+
"name": "index",
|
|
86
95
|
"type": "uint256"
|
|
87
96
|
}
|
|
88
97
|
],
|
|
89
|
-
"name": "
|
|
98
|
+
"name": "RevertedWithoutReason",
|
|
99
|
+
"type": "error"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "caller",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"internalType": "uint256",
|
|
110
|
+
"name": "callerIndex",
|
|
111
|
+
"type": "uint256"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"internalType": "uint256",
|
|
115
|
+
"name": "authorizedBitmap",
|
|
116
|
+
"type": "uint256"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"name": "Unauthorized",
|
|
90
120
|
"type": "error"
|
|
91
121
|
},
|
|
92
122
|
{
|
|
93
123
|
"inputs": [],
|
|
94
|
-
"name": "
|
|
124
|
+
"name": "VotingAlreadyClosed",
|
|
95
125
|
"type": "error"
|
|
96
126
|
},
|
|
97
127
|
{
|
|
98
128
|
"inputs": [],
|
|
99
|
-
"name": "
|
|
129
|
+
"name": "VotingPeriodEnded",
|
|
100
130
|
"type": "error"
|
|
101
131
|
},
|
|
102
132
|
{
|
|
103
133
|
"anonymous": false,
|
|
104
134
|
"inputs": [
|
|
135
|
+
{
|
|
136
|
+
"indexed": true,
|
|
137
|
+
"internalType": "uint256",
|
|
138
|
+
"name": "productTypeId",
|
|
139
|
+
"type": "uint256"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"indexed": true,
|
|
143
|
+
"internalType": "uint256",
|
|
144
|
+
"name": "groupId",
|
|
145
|
+
"type": "uint256"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"name": "AssessingGroupForProductTypeSet",
|
|
149
|
+
"type": "event"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"anonymous": false,
|
|
153
|
+
"inputs": [
|
|
154
|
+
{
|
|
155
|
+
"indexed": true,
|
|
156
|
+
"internalType": "uint256",
|
|
157
|
+
"name": "claimId",
|
|
158
|
+
"type": "uint256"
|
|
159
|
+
},
|
|
105
160
|
{
|
|
106
161
|
"indexed": false,
|
|
107
162
|
"internalType": "uint256",
|
|
108
|
-
"name": "
|
|
163
|
+
"name": "assessorGroupId",
|
|
109
164
|
"type": "uint256"
|
|
110
165
|
},
|
|
111
166
|
{
|
|
112
167
|
"indexed": false,
|
|
113
|
-
"internalType": "
|
|
114
|
-
"name": "
|
|
115
|
-
"type": "
|
|
168
|
+
"internalType": "uint256",
|
|
169
|
+
"name": "start",
|
|
170
|
+
"type": "uint256"
|
|
116
171
|
},
|
|
117
172
|
{
|
|
118
|
-
"components": [
|
|
119
|
-
{
|
|
120
|
-
"internalType": "uint96",
|
|
121
|
-
"name": "accepted",
|
|
122
|
-
"type": "uint96"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"internalType": "uint96",
|
|
126
|
-
"name": "denied",
|
|
127
|
-
"type": "uint96"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"internalType": "uint32",
|
|
131
|
-
"name": "start",
|
|
132
|
-
"type": "uint32"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"internalType": "uint32",
|
|
136
|
-
"name": "end",
|
|
137
|
-
"type": "uint32"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
173
|
"indexed": false,
|
|
141
|
-
"internalType": "
|
|
142
|
-
"name": "
|
|
143
|
-
"type": "
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "end",
|
|
176
|
+
"type": "uint256"
|
|
144
177
|
}
|
|
145
178
|
],
|
|
146
|
-
"name": "
|
|
179
|
+
"name": "AssessmentStarted",
|
|
147
180
|
"type": "event"
|
|
148
181
|
},
|
|
149
182
|
{
|
|
150
183
|
"anonymous": false,
|
|
151
184
|
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"indexed": true,
|
|
187
|
+
"internalType": "uint256",
|
|
188
|
+
"name": "groupId",
|
|
189
|
+
"type": "uint256"
|
|
190
|
+
},
|
|
152
191
|
{
|
|
153
192
|
"indexed": false,
|
|
154
|
-
"internalType": "
|
|
155
|
-
"name": "
|
|
156
|
-
"type": "
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "assessorMemberId",
|
|
195
|
+
"type": "uint256"
|
|
157
196
|
}
|
|
158
197
|
],
|
|
159
|
-
"name": "
|
|
198
|
+
"name": "AssessorAddedToGroup",
|
|
160
199
|
"type": "event"
|
|
161
200
|
},
|
|
162
201
|
{
|
|
163
202
|
"anonymous": false,
|
|
164
203
|
"inputs": [
|
|
165
204
|
{
|
|
166
|
-
"indexed":
|
|
167
|
-
"internalType": "
|
|
168
|
-
"name": "
|
|
169
|
-
"type": "
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"indexed": false,
|
|
173
|
-
"internalType": "address",
|
|
174
|
-
"name": "to",
|
|
175
|
-
"type": "address"
|
|
205
|
+
"indexed": true,
|
|
206
|
+
"internalType": "uint256",
|
|
207
|
+
"name": "groupId",
|
|
208
|
+
"type": "uint256"
|
|
176
209
|
},
|
|
177
210
|
{
|
|
178
211
|
"indexed": false,
|
|
179
212
|
"internalType": "uint256",
|
|
180
|
-
"name": "
|
|
213
|
+
"name": "assessorMemberId",
|
|
181
214
|
"type": "uint256"
|
|
182
215
|
}
|
|
183
216
|
],
|
|
184
|
-
"name": "
|
|
217
|
+
"name": "AssessorRemovedFromGroup",
|
|
185
218
|
"type": "event"
|
|
186
219
|
},
|
|
187
220
|
{
|
|
188
221
|
"anonymous": false,
|
|
189
222
|
"inputs": [
|
|
190
223
|
{
|
|
191
|
-
"indexed":
|
|
192
|
-
"internalType": "
|
|
193
|
-
"name": "
|
|
194
|
-
"type": "
|
|
224
|
+
"indexed": true,
|
|
225
|
+
"internalType": "uint256",
|
|
226
|
+
"name": "groupId",
|
|
227
|
+
"type": "uint256"
|
|
195
228
|
},
|
|
196
229
|
{
|
|
197
230
|
"indexed": false,
|
|
198
|
-
"internalType": "
|
|
199
|
-
"name": "
|
|
200
|
-
"type": "
|
|
231
|
+
"internalType": "bytes32",
|
|
232
|
+
"name": "ipfsMetadata",
|
|
233
|
+
"type": "bytes32"
|
|
201
234
|
}
|
|
202
235
|
],
|
|
203
|
-
"name": "
|
|
236
|
+
"name": "GroupMetadataSet",
|
|
204
237
|
"type": "event"
|
|
205
238
|
},
|
|
206
239
|
{
|
|
207
240
|
"anonymous": false,
|
|
208
241
|
"inputs": [
|
|
242
|
+
{
|
|
243
|
+
"indexed": true,
|
|
244
|
+
"internalType": "uint256",
|
|
245
|
+
"name": "claimId",
|
|
246
|
+
"type": "uint256"
|
|
247
|
+
},
|
|
209
248
|
{
|
|
210
249
|
"indexed": true,
|
|
211
250
|
"internalType": "address",
|
|
212
|
-
"name": "
|
|
251
|
+
"name": "assessor",
|
|
213
252
|
"type": "address"
|
|
214
253
|
},
|
|
254
|
+
{
|
|
255
|
+
"indexed": true,
|
|
256
|
+
"internalType": "uint256",
|
|
257
|
+
"name": "assessorMemberId",
|
|
258
|
+
"type": "uint256"
|
|
259
|
+
},
|
|
215
260
|
{
|
|
216
261
|
"indexed": false,
|
|
217
|
-
"internalType": "
|
|
218
|
-
"name": "
|
|
219
|
-
"type": "
|
|
262
|
+
"internalType": "bool",
|
|
263
|
+
"name": "support",
|
|
264
|
+
"type": "bool"
|
|
220
265
|
},
|
|
221
266
|
{
|
|
222
267
|
"indexed": false,
|
|
223
|
-
"internalType": "
|
|
224
|
-
"name": "
|
|
225
|
-
"type": "
|
|
268
|
+
"internalType": "bytes32",
|
|
269
|
+
"name": "ipfsHash",
|
|
270
|
+
"type": "bytes32"
|
|
226
271
|
}
|
|
227
272
|
],
|
|
228
|
-
"name": "
|
|
273
|
+
"name": "VoteCast",
|
|
229
274
|
"type": "event"
|
|
230
275
|
},
|
|
231
276
|
{
|
|
@@ -233,84 +278,88 @@
|
|
|
233
278
|
"inputs": [
|
|
234
279
|
{
|
|
235
280
|
"indexed": true,
|
|
236
|
-
"internalType": "
|
|
237
|
-
"name": "
|
|
238
|
-
"type": "
|
|
281
|
+
"internalType": "uint256",
|
|
282
|
+
"name": "claimId",
|
|
283
|
+
"type": "uint256"
|
|
239
284
|
},
|
|
240
285
|
{
|
|
241
|
-
"indexed":
|
|
286
|
+
"indexed": true,
|
|
242
287
|
"internalType": "uint256",
|
|
243
|
-
"name": "
|
|
288
|
+
"name": "assessorMemberId",
|
|
244
289
|
"type": "uint256"
|
|
245
|
-
}
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"name": "VoteUndone",
|
|
293
|
+
"type": "event"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"anonymous": false,
|
|
297
|
+
"inputs": [
|
|
246
298
|
{
|
|
247
|
-
"indexed":
|
|
248
|
-
"internalType": "
|
|
249
|
-
"name": "
|
|
250
|
-
"type": "
|
|
299
|
+
"indexed": true,
|
|
300
|
+
"internalType": "uint256",
|
|
301
|
+
"name": "claimId",
|
|
302
|
+
"type": "uint256"
|
|
251
303
|
},
|
|
252
304
|
{
|
|
253
305
|
"indexed": false,
|
|
254
|
-
"internalType": "
|
|
255
|
-
"name": "
|
|
256
|
-
"type": "
|
|
306
|
+
"internalType": "uint256",
|
|
307
|
+
"name": "newEnd",
|
|
308
|
+
"type": "uint256"
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"name": "VotingEndChanged",
|
|
312
|
+
"type": "event"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"inputs": [
|
|
316
|
+
{
|
|
317
|
+
"internalType": "uint256[]",
|
|
318
|
+
"name": "assessorMemberIds",
|
|
319
|
+
"type": "uint256[]"
|
|
257
320
|
},
|
|
258
321
|
{
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"type": "string"
|
|
322
|
+
"internalType": "uint256",
|
|
323
|
+
"name": "groupId",
|
|
324
|
+
"type": "uint256"
|
|
263
325
|
}
|
|
264
326
|
],
|
|
265
|
-
"name": "
|
|
266
|
-
"
|
|
327
|
+
"name": "addAssessorsToGroup",
|
|
328
|
+
"outputs": [],
|
|
329
|
+
"stateMutability": "nonpayable",
|
|
330
|
+
"type": "function"
|
|
267
331
|
},
|
|
268
332
|
{
|
|
269
333
|
"inputs": [
|
|
270
334
|
{
|
|
271
335
|
"internalType": "uint256",
|
|
272
|
-
"name": "",
|
|
336
|
+
"name": "claimId",
|
|
337
|
+
"type": "uint256"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"internalType": "uint256",
|
|
341
|
+
"name": "assessorMemberId",
|
|
273
342
|
"type": "uint256"
|
|
274
343
|
}
|
|
275
344
|
],
|
|
276
|
-
"name": "
|
|
345
|
+
"name": "ballotOf",
|
|
277
346
|
"outputs": [
|
|
278
347
|
{
|
|
279
348
|
"components": [
|
|
280
|
-
{
|
|
281
|
-
"internalType": "uint96",
|
|
282
|
-
"name": "accepted",
|
|
283
|
-
"type": "uint96"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"internalType": "uint96",
|
|
287
|
-
"name": "denied",
|
|
288
|
-
"type": "uint96"
|
|
289
|
-
},
|
|
290
349
|
{
|
|
291
350
|
"internalType": "uint32",
|
|
292
|
-
"name": "
|
|
351
|
+
"name": "timestamp",
|
|
293
352
|
"type": "uint32"
|
|
294
353
|
},
|
|
295
354
|
{
|
|
296
|
-
"internalType": "
|
|
297
|
-
"name": "
|
|
298
|
-
"type": "
|
|
355
|
+
"internalType": "bool",
|
|
356
|
+
"name": "support",
|
|
357
|
+
"type": "bool"
|
|
299
358
|
}
|
|
300
359
|
],
|
|
301
|
-
"internalType": "struct
|
|
302
|
-
"name": "
|
|
360
|
+
"internalType": "struct IAssessments.Ballot",
|
|
361
|
+
"name": "",
|
|
303
362
|
"type": "tuple"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"internalType": "uint128",
|
|
307
|
-
"name": "totalRewardInNXM",
|
|
308
|
-
"type": "uint128"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"internalType": "uint128",
|
|
312
|
-
"name": "assessmentDepositInETH",
|
|
313
|
-
"type": "uint128"
|
|
314
363
|
}
|
|
315
364
|
],
|
|
316
365
|
"stateMutability": "view",
|
|
@@ -319,34 +368,22 @@
|
|
|
319
368
|
{
|
|
320
369
|
"inputs": [
|
|
321
370
|
{
|
|
322
|
-
"internalType": "uint256
|
|
323
|
-
"name": "
|
|
324
|
-
"type": "uint256
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"internalType": "bool[]",
|
|
328
|
-
"name": "votes",
|
|
329
|
-
"type": "bool[]"
|
|
371
|
+
"internalType": "uint256",
|
|
372
|
+
"name": "claimId",
|
|
373
|
+
"type": "uint256"
|
|
330
374
|
},
|
|
331
375
|
{
|
|
332
|
-
"internalType": "
|
|
333
|
-
"name": "
|
|
334
|
-
"type": "
|
|
376
|
+
"internalType": "bool",
|
|
377
|
+
"name": "voteSupport",
|
|
378
|
+
"type": "bool"
|
|
335
379
|
},
|
|
336
380
|
{
|
|
337
|
-
"internalType": "
|
|
338
|
-
"name": "
|
|
339
|
-
"type": "
|
|
381
|
+
"internalType": "bytes32",
|
|
382
|
+
"name": "ipfsHash",
|
|
383
|
+
"type": "bytes32"
|
|
340
384
|
}
|
|
341
385
|
],
|
|
342
|
-
"name": "
|
|
343
|
-
"outputs": [],
|
|
344
|
-
"stateMutability": "nonpayable",
|
|
345
|
-
"type": "function"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"inputs": [],
|
|
349
|
-
"name": "changeDependentContractAddress",
|
|
386
|
+
"name": "castVote",
|
|
350
387
|
"outputs": [],
|
|
351
388
|
"stateMutability": "nonpayable",
|
|
352
389
|
"type": "function"
|
|
@@ -354,12 +391,12 @@
|
|
|
354
391
|
{
|
|
355
392
|
"inputs": [
|
|
356
393
|
{
|
|
357
|
-
"internalType": "
|
|
358
|
-
"name": "
|
|
359
|
-
"type": "
|
|
394
|
+
"internalType": "uint256",
|
|
395
|
+
"name": "claimId",
|
|
396
|
+
"type": "uint256"
|
|
360
397
|
}
|
|
361
398
|
],
|
|
362
|
-
"name": "
|
|
399
|
+
"name": "closeVotingEarly",
|
|
363
400
|
"outputs": [],
|
|
364
401
|
"stateMutability": "nonpayable",
|
|
365
402
|
"type": "function"
|
|
@@ -368,81 +405,55 @@
|
|
|
368
405
|
"inputs": [
|
|
369
406
|
{
|
|
370
407
|
"internalType": "uint256",
|
|
371
|
-
"name": "",
|
|
408
|
+
"name": "claimId",
|
|
372
409
|
"type": "uint256"
|
|
373
410
|
}
|
|
374
411
|
],
|
|
375
|
-
"name": "
|
|
376
|
-
"outputs": [
|
|
377
|
-
|
|
378
|
-
"internalType": "bytes32",
|
|
379
|
-
"name": "",
|
|
380
|
-
"type": "bytes32"
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"stateMutability": "view",
|
|
384
|
-
"type": "function"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"inputs": [],
|
|
388
|
-
"name": "getAssessmentsCount",
|
|
389
|
-
"outputs": [
|
|
390
|
-
{
|
|
391
|
-
"internalType": "uint256",
|
|
392
|
-
"name": "",
|
|
393
|
-
"type": "uint256"
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"stateMutability": "view",
|
|
412
|
+
"name": "extendVotingPeriod",
|
|
413
|
+
"outputs": [],
|
|
414
|
+
"stateMutability": "nonpayable",
|
|
397
415
|
"type": "function"
|
|
398
416
|
},
|
|
399
417
|
{
|
|
400
|
-
"inputs": [
|
|
401
|
-
"name": "getMinVotingPeriod",
|
|
402
|
-
"outputs": [
|
|
418
|
+
"inputs": [
|
|
403
419
|
{
|
|
404
420
|
"internalType": "uint256",
|
|
405
|
-
"name": "",
|
|
421
|
+
"name": "productTypeId",
|
|
406
422
|
"type": "uint256"
|
|
407
423
|
}
|
|
408
424
|
],
|
|
409
|
-
"
|
|
410
|
-
"type": "function"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"inputs": [],
|
|
414
|
-
"name": "getPayoutCooldown",
|
|
425
|
+
"name": "getAssessingGroupIdForProductType",
|
|
415
426
|
"outputs": [
|
|
416
427
|
{
|
|
417
428
|
"internalType": "uint256",
|
|
418
|
-
"name": "",
|
|
429
|
+
"name": "assessingGroupId",
|
|
419
430
|
"type": "uint256"
|
|
420
431
|
}
|
|
421
432
|
],
|
|
422
|
-
"stateMutability": "
|
|
433
|
+
"stateMutability": "view",
|
|
423
434
|
"type": "function"
|
|
424
435
|
},
|
|
425
436
|
{
|
|
426
437
|
"inputs": [
|
|
427
438
|
{
|
|
428
439
|
"internalType": "uint256",
|
|
429
|
-
"name": "
|
|
440
|
+
"name": "claimId",
|
|
430
441
|
"type": "uint256"
|
|
431
442
|
}
|
|
432
443
|
],
|
|
433
|
-
"name": "
|
|
444
|
+
"name": "getAssessment",
|
|
434
445
|
"outputs": [
|
|
435
446
|
{
|
|
436
447
|
"components": [
|
|
437
448
|
{
|
|
438
|
-
"internalType": "
|
|
439
|
-
"name": "
|
|
440
|
-
"type": "
|
|
449
|
+
"internalType": "uint16",
|
|
450
|
+
"name": "assessingGroupId",
|
|
451
|
+
"type": "uint16"
|
|
441
452
|
},
|
|
442
453
|
{
|
|
443
|
-
"internalType": "
|
|
444
|
-
"name": "
|
|
445
|
-
"type": "
|
|
454
|
+
"internalType": "uint32",
|
|
455
|
+
"name": "cooldownPeriod",
|
|
456
|
+
"type": "uint32"
|
|
446
457
|
},
|
|
447
458
|
{
|
|
448
459
|
"internalType": "uint32",
|
|
@@ -451,12 +462,22 @@
|
|
|
451
462
|
},
|
|
452
463
|
{
|
|
453
464
|
"internalType": "uint32",
|
|
454
|
-
"name": "
|
|
465
|
+
"name": "votingEnd",
|
|
455
466
|
"type": "uint32"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"internalType": "uint8",
|
|
470
|
+
"name": "acceptVotes",
|
|
471
|
+
"type": "uint8"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"internalType": "uint8",
|
|
475
|
+
"name": "denyVotes",
|
|
476
|
+
"type": "uint8"
|
|
456
477
|
}
|
|
457
478
|
],
|
|
458
|
-
"internalType": "struct
|
|
459
|
-
"name": "",
|
|
479
|
+
"internalType": "struct Assessment",
|
|
480
|
+
"name": "assessment",
|
|
460
481
|
"type": "tuple"
|
|
461
482
|
}
|
|
462
483
|
],
|
|
@@ -465,72 +486,73 @@
|
|
|
465
486
|
},
|
|
466
487
|
{
|
|
467
488
|
"inputs": [
|
|
468
|
-
{
|
|
469
|
-
"internalType": "address",
|
|
470
|
-
"name": "staker",
|
|
471
|
-
"type": "address"
|
|
472
|
-
}
|
|
473
|
-
],
|
|
474
|
-
"name": "getRewards",
|
|
475
|
-
"outputs": [
|
|
476
489
|
{
|
|
477
490
|
"internalType": "uint256",
|
|
478
|
-
"name": "
|
|
491
|
+
"name": "claimId",
|
|
479
492
|
"type": "uint256"
|
|
480
493
|
},
|
|
481
494
|
{
|
|
482
495
|
"internalType": "uint256",
|
|
483
|
-
"name": "
|
|
496
|
+
"name": "assessorMemberId",
|
|
484
497
|
"type": "uint256"
|
|
485
|
-
}
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"name": "getBallotsMetadata",
|
|
501
|
+
"outputs": [
|
|
486
502
|
{
|
|
487
|
-
"internalType": "
|
|
488
|
-
"name": "
|
|
489
|
-
"type": "
|
|
503
|
+
"internalType": "bytes32",
|
|
504
|
+
"name": "",
|
|
505
|
+
"type": "bytes32"
|
|
490
506
|
}
|
|
491
507
|
],
|
|
492
508
|
"stateMutability": "view",
|
|
493
509
|
"type": "function"
|
|
494
510
|
},
|
|
495
511
|
{
|
|
496
|
-
"inputs": [
|
|
497
|
-
"name": "getSilentEndingPeriod",
|
|
498
|
-
"outputs": [
|
|
512
|
+
"inputs": [
|
|
499
513
|
{
|
|
500
514
|
"internalType": "uint256",
|
|
501
|
-
"name": "",
|
|
515
|
+
"name": "groupId",
|
|
502
516
|
"type": "uint256"
|
|
503
517
|
}
|
|
504
518
|
],
|
|
505
|
-
"
|
|
506
|
-
"type": "function"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"inputs": [],
|
|
510
|
-
"name": "getStakeLockupPeriod",
|
|
519
|
+
"name": "getGroupAssessorCount",
|
|
511
520
|
"outputs": [
|
|
512
521
|
{
|
|
513
522
|
"internalType": "uint256",
|
|
514
|
-
"name": "",
|
|
523
|
+
"name": "assessorCount",
|
|
515
524
|
"type": "uint256"
|
|
516
525
|
}
|
|
517
526
|
],
|
|
518
|
-
"stateMutability": "
|
|
527
|
+
"stateMutability": "view",
|
|
519
528
|
"type": "function"
|
|
520
529
|
},
|
|
521
530
|
{
|
|
522
531
|
"inputs": [
|
|
523
532
|
{
|
|
524
|
-
"internalType": "
|
|
525
|
-
"name": "
|
|
526
|
-
"type": "
|
|
533
|
+
"internalType": "uint256",
|
|
534
|
+
"name": "groupId",
|
|
535
|
+
"type": "uint256"
|
|
527
536
|
}
|
|
528
537
|
],
|
|
529
|
-
"name": "
|
|
538
|
+
"name": "getGroupAssessors",
|
|
539
|
+
"outputs": [
|
|
540
|
+
{
|
|
541
|
+
"internalType": "uint256[]",
|
|
542
|
+
"name": "assessorMemberIds",
|
|
543
|
+
"type": "uint256[]"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"stateMutability": "view",
|
|
547
|
+
"type": "function"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"inputs": [],
|
|
551
|
+
"name": "getGroupsCount",
|
|
530
552
|
"outputs": [
|
|
531
553
|
{
|
|
532
554
|
"internalType": "uint256",
|
|
533
|
-
"name": "",
|
|
555
|
+
"name": "groupCount",
|
|
534
556
|
"type": "uint256"
|
|
535
557
|
}
|
|
536
558
|
],
|
|
@@ -540,22 +562,34 @@
|
|
|
540
562
|
{
|
|
541
563
|
"inputs": [
|
|
542
564
|
{
|
|
543
|
-
"internalType": "
|
|
544
|
-
"name": "",
|
|
545
|
-
"type": "
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"internalType": "uint256",
|
|
549
|
-
"name": "",
|
|
550
|
-
"type": "uint256"
|
|
565
|
+
"internalType": "uint256[]",
|
|
566
|
+
"name": "groupIds",
|
|
567
|
+
"type": "uint256[]"
|
|
551
568
|
}
|
|
552
569
|
],
|
|
553
|
-
"name": "
|
|
570
|
+
"name": "getGroupsData",
|
|
554
571
|
"outputs": [
|
|
555
572
|
{
|
|
556
|
-
"
|
|
557
|
-
|
|
558
|
-
|
|
573
|
+
"components": [
|
|
574
|
+
{
|
|
575
|
+
"internalType": "uint256",
|
|
576
|
+
"name": "id",
|
|
577
|
+
"type": "uint256"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"internalType": "bytes32",
|
|
581
|
+
"name": "ipfsMetadata",
|
|
582
|
+
"type": "bytes32"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"internalType": "uint256[]",
|
|
586
|
+
"name": "assessors",
|
|
587
|
+
"type": "uint256[]"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"internalType": "struct IAssessments.AssessmentGroupView[]",
|
|
591
|
+
"name": "groups",
|
|
592
|
+
"type": "tuple[]"
|
|
559
593
|
}
|
|
560
594
|
],
|
|
561
595
|
"stateMutability": "view",
|
|
@@ -565,42 +599,35 @@
|
|
|
565
599
|
"inputs": [
|
|
566
600
|
{
|
|
567
601
|
"internalType": "uint256",
|
|
568
|
-
"name": "",
|
|
602
|
+
"name": "assessorMemberId",
|
|
569
603
|
"type": "uint256"
|
|
570
604
|
}
|
|
571
605
|
],
|
|
572
|
-
"name": "
|
|
606
|
+
"name": "getGroupsForAssessor",
|
|
573
607
|
"outputs": [
|
|
574
608
|
{
|
|
575
|
-
"internalType": "
|
|
576
|
-
"name": "",
|
|
577
|
-
"type": "
|
|
609
|
+
"internalType": "uint256[]",
|
|
610
|
+
"name": "groupIds",
|
|
611
|
+
"type": "uint256[]"
|
|
578
612
|
}
|
|
579
613
|
],
|
|
580
614
|
"stateMutability": "view",
|
|
581
615
|
"type": "function"
|
|
582
616
|
},
|
|
583
617
|
{
|
|
584
|
-
"inputs": [
|
|
585
|
-
"name": "master",
|
|
586
|
-
"outputs": [
|
|
618
|
+
"inputs": [
|
|
587
619
|
{
|
|
588
|
-
"internalType": "
|
|
589
|
-
"name": "",
|
|
590
|
-
"type": "
|
|
620
|
+
"internalType": "uint256",
|
|
621
|
+
"name": "assessorMemberId",
|
|
622
|
+
"type": "uint256"
|
|
591
623
|
}
|
|
592
624
|
],
|
|
593
|
-
"
|
|
594
|
-
"type": "function"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"inputs": [],
|
|
598
|
-
"name": "nxm",
|
|
625
|
+
"name": "isAssessor",
|
|
599
626
|
"outputs": [
|
|
600
627
|
{
|
|
601
|
-
"internalType": "
|
|
628
|
+
"internalType": "bool",
|
|
602
629
|
"name": "",
|
|
603
|
-
"type": "
|
|
630
|
+
"type": "bool"
|
|
604
631
|
}
|
|
605
632
|
],
|
|
606
633
|
"stateMutability": "view",
|
|
@@ -610,120 +637,80 @@
|
|
|
610
637
|
"inputs": [
|
|
611
638
|
{
|
|
612
639
|
"internalType": "uint256",
|
|
613
|
-
"name": "
|
|
640
|
+
"name": "assessorMemberId",
|
|
614
641
|
"type": "uint256"
|
|
615
642
|
},
|
|
616
|
-
{
|
|
617
|
-
"internalType": "bytes32[]",
|
|
618
|
-
"name": "proof",
|
|
619
|
-
"type": "bytes32[]"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"internalType": "address",
|
|
623
|
-
"name": "assessor",
|
|
624
|
-
"type": "address"
|
|
625
|
-
},
|
|
626
643
|
{
|
|
627
644
|
"internalType": "uint256",
|
|
628
|
-
"name": "
|
|
645
|
+
"name": "groupId",
|
|
629
646
|
"type": "uint256"
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
"type": "uint96"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"internalType": "uint16",
|
|
638
|
-
"name": "fraudCount",
|
|
639
|
-
"type": "uint16"
|
|
640
|
-
},
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"name": "isAssessorInGroup",
|
|
650
|
+
"outputs": [
|
|
641
651
|
{
|
|
642
|
-
"internalType": "
|
|
643
|
-
"name": "
|
|
644
|
-
"type": "
|
|
652
|
+
"internalType": "bool",
|
|
653
|
+
"name": "",
|
|
654
|
+
"type": "bool"
|
|
645
655
|
}
|
|
646
656
|
],
|
|
647
|
-
"
|
|
648
|
-
"outputs": [],
|
|
649
|
-
"stateMutability": "nonpayable",
|
|
657
|
+
"stateMutability": "view",
|
|
650
658
|
"type": "function"
|
|
651
659
|
},
|
|
652
660
|
{
|
|
653
|
-
"inputs": [
|
|
661
|
+
"inputs": [],
|
|
662
|
+
"name": "minVotingPeriod",
|
|
663
|
+
"outputs": [
|
|
654
664
|
{
|
|
655
|
-
"internalType": "
|
|
656
|
-
"name": "
|
|
657
|
-
"type": "
|
|
665
|
+
"internalType": "uint256",
|
|
666
|
+
"name": "",
|
|
667
|
+
"type": "uint256"
|
|
658
668
|
}
|
|
659
669
|
],
|
|
660
|
-
"
|
|
661
|
-
"outputs": [],
|
|
662
|
-
"stateMutability": "nonpayable",
|
|
670
|
+
"stateMutability": "pure",
|
|
663
671
|
"type": "function"
|
|
664
672
|
},
|
|
665
673
|
{
|
|
666
674
|
"inputs": [
|
|
667
675
|
{
|
|
668
|
-
"internalType": "
|
|
669
|
-
"name": "",
|
|
670
|
-
"type": "
|
|
676
|
+
"internalType": "bytes[]",
|
|
677
|
+
"name": "data",
|
|
678
|
+
"type": "bytes[]"
|
|
671
679
|
}
|
|
672
680
|
],
|
|
673
|
-
"name": "
|
|
681
|
+
"name": "multicall",
|
|
674
682
|
"outputs": [
|
|
675
683
|
{
|
|
676
|
-
"internalType": "
|
|
677
|
-
"name": "
|
|
678
|
-
"type": "
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"internalType": "uint104",
|
|
682
|
-
"name": "rewardsWithdrawableFromIndex",
|
|
683
|
-
"type": "uint104"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"internalType": "uint16",
|
|
687
|
-
"name": "fraudCount",
|
|
688
|
-
"type": "uint16"
|
|
684
|
+
"internalType": "bytes[]",
|
|
685
|
+
"name": "results",
|
|
686
|
+
"type": "bytes[]"
|
|
689
687
|
}
|
|
690
688
|
],
|
|
691
|
-
"stateMutability": "
|
|
689
|
+
"stateMutability": "nonpayable",
|
|
692
690
|
"type": "function"
|
|
693
691
|
},
|
|
694
692
|
{
|
|
695
|
-
"inputs": [
|
|
696
|
-
|
|
697
|
-
"internalType": "uint256",
|
|
698
|
-
"name": "totalAssessmentReward",
|
|
699
|
-
"type": "uint256"
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"internalType": "uint256",
|
|
703
|
-
"name": "assessmentDepositInETH",
|
|
704
|
-
"type": "uint256"
|
|
705
|
-
}
|
|
706
|
-
],
|
|
707
|
-
"name": "startAssessment",
|
|
693
|
+
"inputs": [],
|
|
694
|
+
"name": "registry",
|
|
708
695
|
"outputs": [
|
|
709
696
|
{
|
|
710
|
-
"internalType": "
|
|
697
|
+
"internalType": "contract IRegistry",
|
|
711
698
|
"name": "",
|
|
712
|
-
"type": "
|
|
699
|
+
"type": "address"
|
|
713
700
|
}
|
|
714
701
|
],
|
|
715
|
-
"stateMutability": "
|
|
702
|
+
"stateMutability": "view",
|
|
716
703
|
"type": "function"
|
|
717
704
|
},
|
|
718
705
|
{
|
|
719
706
|
"inputs": [
|
|
720
707
|
{
|
|
721
|
-
"internalType": "
|
|
722
|
-
"name": "
|
|
723
|
-
"type": "
|
|
708
|
+
"internalType": "uint256",
|
|
709
|
+
"name": "assessorMemberId",
|
|
710
|
+
"type": "uint256"
|
|
724
711
|
}
|
|
725
712
|
],
|
|
726
|
-
"name": "
|
|
713
|
+
"name": "removeAssessorFromAllGroups",
|
|
727
714
|
"outputs": [],
|
|
728
715
|
"stateMutability": "nonpayable",
|
|
729
716
|
"type": "function"
|
|
@@ -731,17 +718,17 @@
|
|
|
731
718
|
{
|
|
732
719
|
"inputs": [
|
|
733
720
|
{
|
|
734
|
-
"internalType": "
|
|
735
|
-
"name": "
|
|
736
|
-
"type": "
|
|
721
|
+
"internalType": "uint256",
|
|
722
|
+
"name": "assessorMemberId",
|
|
723
|
+
"type": "uint256"
|
|
737
724
|
},
|
|
738
725
|
{
|
|
739
|
-
"internalType": "
|
|
740
|
-
"name": "
|
|
741
|
-
"type": "
|
|
726
|
+
"internalType": "uint256",
|
|
727
|
+
"name": "groupId",
|
|
728
|
+
"type": "uint256"
|
|
742
729
|
}
|
|
743
730
|
],
|
|
744
|
-
"name": "
|
|
731
|
+
"name": "removeAssessorFromGroup",
|
|
745
732
|
"outputs": [],
|
|
746
733
|
"stateMutability": "nonpayable",
|
|
747
734
|
"type": "function"
|
|
@@ -749,110 +736,77 @@
|
|
|
749
736
|
{
|
|
750
737
|
"inputs": [
|
|
751
738
|
{
|
|
752
|
-
"internalType": "
|
|
753
|
-
"name": "
|
|
754
|
-
"type": "
|
|
739
|
+
"internalType": "uint256[]",
|
|
740
|
+
"name": "productTypeIds",
|
|
741
|
+
"type": "uint256[]"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"internalType": "uint256",
|
|
745
|
+
"name": "groupId",
|
|
746
|
+
"type": "uint256"
|
|
755
747
|
}
|
|
756
748
|
],
|
|
757
|
-
"name": "
|
|
749
|
+
"name": "setAssessingGroupIdForProductTypes",
|
|
758
750
|
"outputs": [],
|
|
759
751
|
"stateMutability": "nonpayable",
|
|
760
752
|
"type": "function"
|
|
761
753
|
},
|
|
762
754
|
{
|
|
763
755
|
"inputs": [
|
|
764
|
-
{
|
|
765
|
-
"internalType": "address",
|
|
766
|
-
"name": "",
|
|
767
|
-
"type": "address"
|
|
768
|
-
},
|
|
769
756
|
{
|
|
770
757
|
"internalType": "uint256",
|
|
771
|
-
"name": "",
|
|
758
|
+
"name": "groupId",
|
|
772
759
|
"type": "uint256"
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"name": "votesOf",
|
|
776
|
-
"outputs": [
|
|
777
|
-
{
|
|
778
|
-
"internalType": "uint80",
|
|
779
|
-
"name": "assessmentId",
|
|
780
|
-
"type": "uint80"
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"internalType": "bool",
|
|
784
|
-
"name": "accepted",
|
|
785
|
-
"type": "bool"
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"internalType": "uint32",
|
|
789
|
-
"name": "timestamp",
|
|
790
|
-
"type": "uint32"
|
|
791
760
|
},
|
|
792
761
|
{
|
|
793
|
-
"internalType": "
|
|
794
|
-
"name": "
|
|
795
|
-
"type": "
|
|
762
|
+
"internalType": "bytes32",
|
|
763
|
+
"name": "ipfsMetadata",
|
|
764
|
+
"type": "bytes32"
|
|
796
765
|
}
|
|
797
766
|
],
|
|
798
|
-
"
|
|
767
|
+
"name": "setGroupMetadata",
|
|
768
|
+
"outputs": [],
|
|
769
|
+
"stateMutability": "nonpayable",
|
|
799
770
|
"type": "function"
|
|
800
771
|
},
|
|
801
772
|
{
|
|
802
773
|
"inputs": [
|
|
803
774
|
{
|
|
804
|
-
"internalType": "
|
|
805
|
-
"name": "
|
|
806
|
-
"type": "
|
|
775
|
+
"internalType": "uint256",
|
|
776
|
+
"name": "claimId",
|
|
777
|
+
"type": "uint256"
|
|
807
778
|
},
|
|
808
|
-
{
|
|
809
|
-
"internalType": "uint104",
|
|
810
|
-
"name": "batchSize",
|
|
811
|
-
"type": "uint104"
|
|
812
|
-
}
|
|
813
|
-
],
|
|
814
|
-
"name": "withdrawRewards",
|
|
815
|
-
"outputs": [
|
|
816
779
|
{
|
|
817
780
|
"internalType": "uint256",
|
|
818
|
-
"name": "
|
|
781
|
+
"name": "productTypeId",
|
|
819
782
|
"type": "uint256"
|
|
820
783
|
},
|
|
821
784
|
{
|
|
822
785
|
"internalType": "uint256",
|
|
823
|
-
"name": "
|
|
786
|
+
"name": "cooldownPeriod",
|
|
824
787
|
"type": "uint256"
|
|
825
788
|
}
|
|
826
789
|
],
|
|
790
|
+
"name": "startAssessment",
|
|
791
|
+
"outputs": [],
|
|
827
792
|
"stateMutability": "nonpayable",
|
|
828
793
|
"type": "function"
|
|
829
794
|
},
|
|
830
795
|
{
|
|
831
796
|
"inputs": [
|
|
832
|
-
{
|
|
833
|
-
"internalType": "address",
|
|
834
|
-
"name": "destination",
|
|
835
|
-
"type": "address"
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"internalType": "uint104",
|
|
839
|
-
"name": "batchSize",
|
|
840
|
-
"type": "uint104"
|
|
841
|
-
}
|
|
842
|
-
],
|
|
843
|
-
"name": "withdrawRewardsTo",
|
|
844
|
-
"outputs": [
|
|
845
797
|
{
|
|
846
798
|
"internalType": "uint256",
|
|
847
|
-
"name": "
|
|
799
|
+
"name": "assessorMemberId",
|
|
848
800
|
"type": "uint256"
|
|
849
801
|
},
|
|
850
802
|
{
|
|
851
|
-
"internalType": "uint256",
|
|
852
|
-
"name": "
|
|
853
|
-
"type": "uint256"
|
|
803
|
+
"internalType": "uint256[]",
|
|
804
|
+
"name": "claimIds",
|
|
805
|
+
"type": "uint256[]"
|
|
854
806
|
}
|
|
855
807
|
],
|
|
808
|
+
"name": "undoVotes",
|
|
809
|
+
"outputs": [],
|
|
856
810
|
"stateMutability": "nonpayable",
|
|
857
811
|
"type": "function"
|
|
858
812
|
}
|