@varun-ai07/covenant-mcp 1.0.1 → 1.0.3
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/dist/abis/AgentCollective.json +648 -0
- package/dist/abis/AgentInsurance.json +737 -0
- package/dist/abis/AgentRegistry.json +760 -0
- package/dist/abis/DisputeArbitration.json +520 -0
- package/dist/abis/OpenTaskMarket.json +979 -0
- package/dist/abis/ParallelTaskBatch.json +521 -0
- package/dist/abis/ReceiptVerifier.json +513 -0
- package/dist/abis/TaskEscrow.json +1683 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -37
- package/dist/config.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "AgentCollective",
|
|
4
|
+
"sourceName": "contracts/AgentCollective.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_taskEscrow",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_agentRegistry",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"internalType": "address",
|
|
26
|
+
"name": "agent",
|
|
27
|
+
"type": "address"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "AgentNotActive",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "agent",
|
|
38
|
+
"type": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "AgentNotRegistered",
|
|
42
|
+
"type": "error"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "AlreadyClaimed",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "DeliveryNotReady",
|
|
52
|
+
"type": "error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"inputs": [],
|
|
56
|
+
"name": "InvalidContribution",
|
|
57
|
+
"type": "error"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint256",
|
|
63
|
+
"name": "taskId",
|
|
64
|
+
"type": "uint256"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"name": "InvalidTaskId",
|
|
68
|
+
"type": "error"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputs": [
|
|
72
|
+
{
|
|
73
|
+
"internalType": "address",
|
|
74
|
+
"name": "worker",
|
|
75
|
+
"type": "address"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"name": "InvalidWorker",
|
|
79
|
+
"type": "error"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"inputs": [
|
|
83
|
+
{
|
|
84
|
+
"internalType": "address",
|
|
85
|
+
"name": "member",
|
|
86
|
+
"type": "address"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"name": "NotCollectiveMember",
|
|
90
|
+
"type": "error"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputs": [],
|
|
94
|
+
"name": "NotEnoughFunds",
|
|
95
|
+
"type": "error"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"internalType": "address",
|
|
101
|
+
"name": "owner",
|
|
102
|
+
"type": "address"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"name": "OwnableInvalidOwner",
|
|
106
|
+
"type": "error"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"inputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "account",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"name": "OwnableUnauthorizedAccount",
|
|
117
|
+
"type": "error"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"name": "TaskAlreadyLaunched",
|
|
122
|
+
"type": "error"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputs": [],
|
|
126
|
+
"name": "WorkerHasNoReputation",
|
|
127
|
+
"type": "error"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"anonymous": false,
|
|
131
|
+
"inputs": [
|
|
132
|
+
{
|
|
133
|
+
"indexed": true,
|
|
134
|
+
"internalType": "uint256",
|
|
135
|
+
"name": "collectiveId",
|
|
136
|
+
"type": "uint256"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"indexed": true,
|
|
140
|
+
"internalType": "address",
|
|
141
|
+
"name": "creator",
|
|
142
|
+
"type": "address"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"indexed": false,
|
|
146
|
+
"internalType": "uint256",
|
|
147
|
+
"name": "minContribution",
|
|
148
|
+
"type": "uint256"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"indexed": false,
|
|
152
|
+
"internalType": "uint256",
|
|
153
|
+
"name": "maxMembers",
|
|
154
|
+
"type": "uint256"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"name": "CollectiveCreated",
|
|
158
|
+
"type": "event"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"anonymous": false,
|
|
162
|
+
"inputs": [
|
|
163
|
+
{
|
|
164
|
+
"indexed": true,
|
|
165
|
+
"internalType": "uint256",
|
|
166
|
+
"name": "collectiveId",
|
|
167
|
+
"type": "uint256"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"indexed": true,
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "member",
|
|
173
|
+
"type": "address"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"name": "DeliverableClaimed",
|
|
177
|
+
"type": "event"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"anonymous": false,
|
|
181
|
+
"inputs": [
|
|
182
|
+
{
|
|
183
|
+
"indexed": true,
|
|
184
|
+
"internalType": "uint256",
|
|
185
|
+
"name": "collectiveId",
|
|
186
|
+
"type": "uint256"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"indexed": true,
|
|
190
|
+
"internalType": "address",
|
|
191
|
+
"name": "member",
|
|
192
|
+
"type": "address"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"indexed": false,
|
|
196
|
+
"internalType": "bytes32",
|
|
197
|
+
"name": "encryptedHash",
|
|
198
|
+
"type": "bytes32"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"name": "DeliverableEncrypted",
|
|
202
|
+
"type": "event"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"anonymous": false,
|
|
206
|
+
"inputs": [
|
|
207
|
+
{
|
|
208
|
+
"indexed": true,
|
|
209
|
+
"internalType": "uint256",
|
|
210
|
+
"name": "collectiveId",
|
|
211
|
+
"type": "uint256"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"indexed": true,
|
|
215
|
+
"internalType": "address",
|
|
216
|
+
"name": "member",
|
|
217
|
+
"type": "address"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"indexed": false,
|
|
221
|
+
"internalType": "uint256",
|
|
222
|
+
"name": "contribution",
|
|
223
|
+
"type": "uint256"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"name": "MemberJoined",
|
|
227
|
+
"type": "event"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"anonymous": false,
|
|
231
|
+
"inputs": [
|
|
232
|
+
{
|
|
233
|
+
"indexed": true,
|
|
234
|
+
"internalType": "address",
|
|
235
|
+
"name": "previousOwner",
|
|
236
|
+
"type": "address"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"indexed": true,
|
|
240
|
+
"internalType": "address",
|
|
241
|
+
"name": "newOwner",
|
|
242
|
+
"type": "address"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"name": "OwnershipTransferred",
|
|
246
|
+
"type": "event"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"anonymous": false,
|
|
250
|
+
"inputs": [
|
|
251
|
+
{
|
|
252
|
+
"indexed": true,
|
|
253
|
+
"internalType": "uint256",
|
|
254
|
+
"name": "collectiveId",
|
|
255
|
+
"type": "uint256"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"indexed": true,
|
|
259
|
+
"internalType": "address",
|
|
260
|
+
"name": "worker",
|
|
261
|
+
"type": "address"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"indexed": true,
|
|
265
|
+
"internalType": "uint256",
|
|
266
|
+
"name": "taskId",
|
|
267
|
+
"type": "uint256"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"indexed": false,
|
|
271
|
+
"internalType": "uint256",
|
|
272
|
+
"name": "totalFund",
|
|
273
|
+
"type": "uint256"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"name": "TaskLaunched",
|
|
277
|
+
"type": "event"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"inputs": [],
|
|
281
|
+
"name": "agentRegistry",
|
|
282
|
+
"outputs": [
|
|
283
|
+
{
|
|
284
|
+
"internalType": "contract AgentRegistry",
|
|
285
|
+
"name": "",
|
|
286
|
+
"type": "address"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"stateMutability": "view",
|
|
290
|
+
"type": "function"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"inputs": [
|
|
294
|
+
{
|
|
295
|
+
"internalType": "uint256",
|
|
296
|
+
"name": "collectiveId",
|
|
297
|
+
"type": "uint256"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"name": "claimDeliverable",
|
|
301
|
+
"outputs": [],
|
|
302
|
+
"stateMutability": "nonpayable",
|
|
303
|
+
"type": "function"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"inputs": [],
|
|
307
|
+
"name": "collectiveCounter",
|
|
308
|
+
"outputs": [
|
|
309
|
+
{
|
|
310
|
+
"internalType": "uint256",
|
|
311
|
+
"name": "",
|
|
312
|
+
"type": "uint256"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"stateMutability": "view",
|
|
316
|
+
"type": "function"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"inputs": [
|
|
320
|
+
{
|
|
321
|
+
"internalType": "uint256",
|
|
322
|
+
"name": "",
|
|
323
|
+
"type": "uint256"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"name": "collectives",
|
|
327
|
+
"outputs": [
|
|
328
|
+
{
|
|
329
|
+
"internalType": "address",
|
|
330
|
+
"name": "creator",
|
|
331
|
+
"type": "address"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"internalType": "uint256",
|
|
335
|
+
"name": "totalFund",
|
|
336
|
+
"type": "uint256"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"internalType": "address",
|
|
340
|
+
"name": "selectedWorker",
|
|
341
|
+
"type": "address"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"internalType": "uint256",
|
|
345
|
+
"name": "taskId",
|
|
346
|
+
"type": "uint256"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"internalType": "bytes32",
|
|
350
|
+
"name": "deliverableHash",
|
|
351
|
+
"type": "bytes32"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"internalType": "bool",
|
|
355
|
+
"name": "distributed",
|
|
356
|
+
"type": "bool"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"internalType": "uint256",
|
|
360
|
+
"name": "maxMembers",
|
|
361
|
+
"type": "uint256"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"internalType": "uint256",
|
|
365
|
+
"name": "minContribution",
|
|
366
|
+
"type": "uint256"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
"stateMutability": "view",
|
|
370
|
+
"type": "function"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"inputs": [
|
|
374
|
+
{
|
|
375
|
+
"internalType": "uint256",
|
|
376
|
+
"name": "collectiveId",
|
|
377
|
+
"type": "uint256"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"internalType": "address",
|
|
381
|
+
"name": "member",
|
|
382
|
+
"type": "address"
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
"name": "contributions",
|
|
386
|
+
"outputs": [
|
|
387
|
+
{
|
|
388
|
+
"internalType": "uint256",
|
|
389
|
+
"name": "",
|
|
390
|
+
"type": "uint256"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"stateMutability": "view",
|
|
394
|
+
"type": "function"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"inputs": [
|
|
398
|
+
{
|
|
399
|
+
"internalType": "uint256",
|
|
400
|
+
"name": "minContribution",
|
|
401
|
+
"type": "uint256"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"internalType": "uint256",
|
|
405
|
+
"name": "maxMembers",
|
|
406
|
+
"type": "uint256"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"name": "createCollective",
|
|
410
|
+
"outputs": [
|
|
411
|
+
{
|
|
412
|
+
"internalType": "uint256",
|
|
413
|
+
"name": "",
|
|
414
|
+
"type": "uint256"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"stateMutability": "payable",
|
|
418
|
+
"type": "function"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"inputs": [
|
|
422
|
+
{
|
|
423
|
+
"internalType": "uint256",
|
|
424
|
+
"name": "collectiveId",
|
|
425
|
+
"type": "uint256"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"internalType": "address",
|
|
429
|
+
"name": "member",
|
|
430
|
+
"type": "address"
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"name": "decryptedFlags",
|
|
434
|
+
"outputs": [
|
|
435
|
+
{
|
|
436
|
+
"internalType": "bool",
|
|
437
|
+
"name": "",
|
|
438
|
+
"type": "bool"
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"stateMutability": "view",
|
|
442
|
+
"type": "function"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"inputs": [
|
|
446
|
+
{
|
|
447
|
+
"internalType": "uint256",
|
|
448
|
+
"name": "collectiveId",
|
|
449
|
+
"type": "uint256"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"internalType": "address",
|
|
453
|
+
"name": "member",
|
|
454
|
+
"type": "address"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"name": "encryptedDeliverableMap",
|
|
458
|
+
"outputs": [
|
|
459
|
+
{
|
|
460
|
+
"internalType": "bytes32",
|
|
461
|
+
"name": "",
|
|
462
|
+
"type": "bytes32"
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"stateMutability": "view",
|
|
466
|
+
"type": "function"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"inputs": [
|
|
470
|
+
{
|
|
471
|
+
"internalType": "uint256",
|
|
472
|
+
"name": "collectiveId",
|
|
473
|
+
"type": "uint256"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"name": "getCollective",
|
|
477
|
+
"outputs": [
|
|
478
|
+
{
|
|
479
|
+
"internalType": "address",
|
|
480
|
+
"name": "creator",
|
|
481
|
+
"type": "address"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"internalType": "address[]",
|
|
485
|
+
"name": "members",
|
|
486
|
+
"type": "address[]"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"internalType": "uint256",
|
|
490
|
+
"name": "totalFund",
|
|
491
|
+
"type": "uint256"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"internalType": "address",
|
|
495
|
+
"name": "selectedWorker",
|
|
496
|
+
"type": "address"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"internalType": "uint256",
|
|
500
|
+
"name": "taskId",
|
|
501
|
+
"type": "uint256"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"internalType": "bytes32",
|
|
505
|
+
"name": "deliverableHash",
|
|
506
|
+
"type": "bytes32"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"internalType": "bool",
|
|
510
|
+
"name": "distributed",
|
|
511
|
+
"type": "bool"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"internalType": "uint256",
|
|
515
|
+
"name": "maxMembers",
|
|
516
|
+
"type": "uint256"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"stateMutability": "view",
|
|
520
|
+
"type": "function"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"inputs": [
|
|
524
|
+
{
|
|
525
|
+
"internalType": "uint256",
|
|
526
|
+
"name": "collectiveId",
|
|
527
|
+
"type": "uint256"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"name": "joinCollective",
|
|
531
|
+
"outputs": [],
|
|
532
|
+
"stateMutability": "payable",
|
|
533
|
+
"type": "function"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"inputs": [
|
|
537
|
+
{
|
|
538
|
+
"internalType": "uint256",
|
|
539
|
+
"name": "collectiveId",
|
|
540
|
+
"type": "uint256"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"internalType": "address",
|
|
544
|
+
"name": "workerAddress",
|
|
545
|
+
"type": "address"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"internalType": "uint256",
|
|
549
|
+
"name": "payment",
|
|
550
|
+
"type": "uint256"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"internalType": "uint256",
|
|
554
|
+
"name": "deadline",
|
|
555
|
+
"type": "uint256"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"internalType": "bytes32",
|
|
559
|
+
"name": "descriptionHash",
|
|
560
|
+
"type": "bytes32"
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"name": "launchTask",
|
|
564
|
+
"outputs": [
|
|
565
|
+
{
|
|
566
|
+
"internalType": "uint256",
|
|
567
|
+
"name": "",
|
|
568
|
+
"type": "uint256"
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"stateMutability": "nonpayable",
|
|
572
|
+
"type": "function"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"inputs": [],
|
|
576
|
+
"name": "owner",
|
|
577
|
+
"outputs": [
|
|
578
|
+
{
|
|
579
|
+
"internalType": "address",
|
|
580
|
+
"name": "",
|
|
581
|
+
"type": "address"
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
"stateMutability": "view",
|
|
585
|
+
"type": "function"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"inputs": [],
|
|
589
|
+
"name": "renounceOwnership",
|
|
590
|
+
"outputs": [],
|
|
591
|
+
"stateMutability": "nonpayable",
|
|
592
|
+
"type": "function"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"inputs": [
|
|
596
|
+
{
|
|
597
|
+
"internalType": "uint256",
|
|
598
|
+
"name": "collectiveId",
|
|
599
|
+
"type": "uint256"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"internalType": "uint256",
|
|
603
|
+
"name": "taskId",
|
|
604
|
+
"type": "uint256"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"internalType": "bytes32[]",
|
|
608
|
+
"name": "encryptedDeliveryHashes",
|
|
609
|
+
"type": "bytes32[]"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"name": "submitDeliverable",
|
|
613
|
+
"outputs": [],
|
|
614
|
+
"stateMutability": "nonpayable",
|
|
615
|
+
"type": "function"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"inputs": [],
|
|
619
|
+
"name": "taskEscrow",
|
|
620
|
+
"outputs": [
|
|
621
|
+
{
|
|
622
|
+
"internalType": "contract TaskEscrow",
|
|
623
|
+
"name": "",
|
|
624
|
+
"type": "address"
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"stateMutability": "view",
|
|
628
|
+
"type": "function"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"inputs": [
|
|
632
|
+
{
|
|
633
|
+
"internalType": "address",
|
|
634
|
+
"name": "newOwner",
|
|
635
|
+
"type": "address"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"name": "transferOwnership",
|
|
639
|
+
"outputs": [],
|
|
640
|
+
"stateMutability": "nonpayable",
|
|
641
|
+
"type": "function"
|
|
642
|
+
}
|
|
643
|
+
],
|
|
644
|
+
"bytecode": "0x60c03461010357601f6114f638819003918201601f19168301916001600160401b0383118484101761010857808492604094855283398101031261010357610052602061004b8361011e565b920161011e565b9033156100ea5760008054336001600160a01b0319821681178355604051946001600160a01b0394909385939192918416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3166080521660a0526113c3908161013382396080518181816109bf0152610c36015260a0518181816106b0015281816108c001528181610dd3015261116d0152f35b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101035756fe6080806040526004908136101561001557600080fd5b60003560e01c9081630d1cfcae14610dc0575080631ea3259414610da25780631f1b712f14610c6557806327c4ffe114610c205780633d891f5914610bbb57806347e9531614610b5657806352510cc61461082757806369ed92bc146106715780636a52f7fb1461049f578063715018a6146104585780638aba8efe146103cf5780638da5cb5b146103a6578063954ea4e914610326578063c1253e88146101ba578063d5820db21461014c5763f2fde38b146100d157600080fd5b34610147576020366003190112610147576001600160a01b038135818116929083900361014757610100611321565b821561012f57506000548260018060a01b03198216176000551660008051602061136e833981519152600080a3005b602490600060405191631e4fbdf760e01b8352820152fd5b600080fd5b506020366003190112610147578035801580156101af575b610199578060005260016020526005604060002001546101895761018790611132565b005b5060405163f7d956ff60e01b8152fd5b6040516345e2cbed60e01b815291820152602490fd5b506002548111610164565b503461014757602080600319360112610147578135918215801561031b575b610303578260005260019182815260ff600960406000200154166102a457600084815283825260408120840180549085835b8381106102cb575b50505050156102b4578360005282815260406000209160088301923360005283835260ff604060002054166102a45760079033600052018252604060002054156102955750336000525260406000209060ff1982541617905533907f088762734f0ae39cbf4af8747d3d994bca6cfee54b15f2066a4daa0001d92f68600080a3005b60405163812ea84160e01b8152fd5b50604051630c8d9eab60e31b8152fd5b604051630306c99960e51b81523381840152602490fd5b6102d58184610e51565b905460039190911b1c6001600160a01b031633146102f55701869061020b565b509250505038808581610213565b6040516345e2cbed60e01b8152908101839052602490fd5b5060025483116101d9565b5034610147576040366003190112610147578035610342610e02565b918115801561039b575b6103855750600052600160205260086040600020019060018060a01b0316600052602052602060ff604060002054166040519015158152f35b602491604051916345e2cbed60e01b8352820152fd5b50600254821161034c565b34610147576000366003190112610147576000546040516001600160a01b039091168152602090f35b503461014757602036600319011261014757806101009135600052600160205260406000209060018060a01b0391828154169260038201549282015416600582015460068301549060ff60098501541692600b600a860154950154956040519788526020880152604087015260608601526080850152151560a084015260c083015260e0820152f35b3461014757600036600319011261014757610471611321565b600080546001600160a01b0319811682556001600160a01b031660008051602061136e8339815191528280a3005b503461014757606036600319011261014757803590604435906024906001600160401b0382358185116101475736602386011215610147578483013591821161014757838501948436918460051b0101116101475785158015610666575b61064f57856000526001906020600160205260406000209760018060a01b039283878b0154163303610639578060058b0154036106235750600189019182548603610612578486948b948b60006008600789019801945b610584575b50505050505050505050156105715782356006850155005b603290634e487b7160e01b600052526000fd5b825481101561060d5787877f47adf13f77e0c2397d8b8ff5d7ece911dc083f95974e95bfd66ef966786a696e886105fb858f9e8f988b6105c4848d610e51565b90549060031b1c16976105d8848484611122565b35908960005286526040600020558c8552604060002060ff198154169055611122565b35604051908152a3018c908a98610554565b610559565b60405163652122d960e01b81528790fd5b868891604051916345e2cbed60e01b8352820152fd5b604051630421f7af60e51b815233818901528890fd5b50506040516345e2cbed60e01b8152908101849052fd5b5060025486116104fd565b5060403660031901126101475760243581358015610816578115610816578034106108165760405163fb3551ff60e01b815233848201526000816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa801561080a57606060ff916001936000916107e7575b50015116036107d05760025460001981146107bb576020936001600292018083556000526001855260406000209060018060a01b0319903382845416178355346003840155820190815416905560006005820155600060068201556009810160ff19815416905583600a82015582600b82015561077033600183016110e7565b33600052018352346040600020556002549160405191825283820152817f380db97a5bee86e62ecbacedd68998ce91a2bce848274616f6cda71db26dc03b60403393a3604051908152f35b601184634e487b7160e01b6000525260246000fd5b604051631a4d507960e31b81523381850152602490fd5b61080491503d806000833e6107fc8183610e18565b810190610f2c565b386106f0565b6040513d6000823e3d90fd5b60405163652122d960e01b81528390fd5b50346101475760a0366003190112610147578035610843610e02565b906044359181158015610b4b575b610b335781600052600191602094838652600560406000200154610b2457816000528386526040600020600080868301878154925b838110610aec575b50505050156102b45760405163fb3551ff60e01b81526001600160a01b039485168184018190529492906000816024817f000000000000000000000000000000000000000000000000000000000000000088165afa90811561080a57600091610ad1575b508660ff60608301511603610ab9576040015161ffff1615610aaa576064870287810460641488151715610a955761271061092e9104886110c4565b92834710610a85576040519389850160843581528a86526040860198868a1060018060401b038b1117610a7057899260e4888e969486948f8e87604052631c5795d560e31b88523060448601526064850152608484015260643560a484015260c060c48401526109ad8351809381610104870152610124860190610eb5565b82840152601f01601f191681010301927f0000000000000000000000000000000000000000000000000000000000000000165af195861561080a578893600097610a2f575b5050810180546001600160a01b031916851790556005018490556040519485529293849360008051602061134e83398151915291a4604051908152f35b909296508391933d8311610a69575b610a488185610e18565b8101031261014757519386918060008051602061134e8339815191526109f2565b503d610a3e565b604185634e487b7160e01b6000525260246000fd5b50604051631036b5ad60e31b8152fd5b601182634e487b7160e01b6000525260246000fd5b604051635f460c3f60e11b8152fd5b604051631a4d507960e31b8152808301879052602490fd5b610ae691503d806000833e6107fc8183610e18565b386108f2565b610af68184610e51565b905460039190911b1c6001600160a01b03163314610b1657018890610886565b50925050503880878161088e565b60405163f7d956ff60e01b8152fd5b6040516345e2cbed60e01b8152808501839052602490fd5b506002548211610851565b5034610147576040366003190112610147578035610b72610e02565b9181158015610bb0575b6103855750600052600160205260076040600020019060018060a01b03166000526020526020604060002054604051908152f35b506002548211610b7c565b5034610147576040366003190112610147578035610bd7610e02565b9181158015610c15575b6103855750600052600160205260026040600020019060018060a01b03166000526020526020604060002054604051908152f35b506002548211610be1565b34610147576000366003190112610147576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461014757602036600319011261014757803580158015610d97575b61019957600052600160205260406000209060018060a01b038254169160038101549160018060a01b0390820154166005820154600683015460ff60098501541691600a85015493604051968788602060018a015492838152016001819a0160005260206000209260005b818110610d75575050610d0292500389610e18565b60405197610100808a019a8a5260208a0152518099526101208801966000995b808b10610d5257505087985060408801526060870152608086015260a0850152151560c084015260e08301520390f35b81516001600160a01b0316895260019a909a019960209889019890910190610d22565b84546001600160a01b031683526001948501948d945060209093019201610ced565b506002548111610c82565b34610147576000366003190112610147576020600254604051908152f35b34610147576000366003190112610147577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b602435906001600160a01b038216820361014757565b601f909101601f19168101906001600160401b03821190821017610e3b57604052565b634e487b7160e01b600052604160045260246000fd5b8054821015610e695760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b519061ffff8216820361014757565b51906001600160601b038216820361014757565b519065ffffffffffff8216820361014757565b60005b838110610ec85750506000910152565b8181015183820152602001610eb8565b81601f820112156101475780516001600160401b038111610e3b5760405192610f0b601f8301601f191660200185610e18565b8184526020828401011161014757610f299160208085019101610eb5565b90565b602080828403126101475781516001600160401b03928382116101475701906101809384838203126101475760405194850185811085821117610e3b5760405282518552818301516001600160a01b03811681036101475782860152610f9460408401610e7f565b6040860152606083015160ff81168103610147576060860152608083015163ffffffff81168103610147576080860152610fd060a08401610e7f565b60a0860152610fe160c08401610e8e565b60c0860152610ff260e08401610ea2565b60e0860152610100611005818501610ea2565b90860152610120808401518581116101475782611023918601610ed8565b90860152610140611035818501610e8e565b90860152610160928381015190858211610147570181601f8201121561014757805194808611610e3b578560051b906040519661107486840189610e18565b875284808801928401019380851161014757858401925b85841061109f575050505050505082015290565b83518381116101475787916110b9848480948a0101610ed8565b81520193019261108b565b919082018092116110d157565b634e487b7160e01b600052601160045260246000fd5b8054600160401b811015610e3b5761110491600182018155610e51565b60018060a09493941b038084549260031b9316831b921b1916179055565b9190811015610e695760051b0190565b6000818152600160208181526040808420815163fb3551ff60e01b815233600482015291949093909290916001600160a01b039084816024817f000000000000000000000000000000000000000000000000000000000000000086165afa90811561131757606060019260ff9288916112fd575b50015116036112e65782918460018701945b611284575b505050508054600a840154111561127357600b830154341061123257906111e86003939233906110e7565b338152600282016020528334912055016112033482546110c4565b905551903482527ff4f82575ee84a81aac4be52b6a368e9ba9df524b4f5cf8177d7cfbabe861820c60203393a3565b835162461bcd60e51b815260206004820152601a602482015279436f6e747269627574696f6e2062656c6f77206d696e696d756d60301b6044820152606490fd5b8351631036b5ad60e31b8152600490fd5b84548110156112e1576112978186610e51565b9054600391821b1c841633146112b057508301836111b8565b98505092505050929192338252600284019052206112cf3482546110c4565b9055016112dd3482546110c4565b9055565b6111bd565b8551631a4d507960e31b8152336004820152602490fd5b61131191503d808a833e6107fc8183610e18565b386111a6565b87513d87823e3d90fd5b6000546001600160a01b0316330361133557565b60405163118cdaa760e01b8152336004820152602490fdfe9f49d7cb3c74779f34ae7486f647911d41227bb539d98a146b7475191df15ff68be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a264697066735822122084e019d29eef712018ee1da8e8c25a03333994f3f53b1e4e40a1db65e959c12664736f6c63430008180033",
|
|
645
|
+
"deployedBytecode": "0x6080806040526004908136101561001557600080fd5b60003560e01c9081630d1cfcae14610dc0575080631ea3259414610da25780631f1b712f14610c6557806327c4ffe114610c205780633d891f5914610bbb57806347e9531614610b5657806352510cc61461082757806369ed92bc146106715780636a52f7fb1461049f578063715018a6146104585780638aba8efe146103cf5780638da5cb5b146103a6578063954ea4e914610326578063c1253e88146101ba578063d5820db21461014c5763f2fde38b146100d157600080fd5b34610147576020366003190112610147576001600160a01b038135818116929083900361014757610100611321565b821561012f57506000548260018060a01b03198216176000551660008051602061136e833981519152600080a3005b602490600060405191631e4fbdf760e01b8352820152fd5b600080fd5b506020366003190112610147578035801580156101af575b610199578060005260016020526005604060002001546101895761018790611132565b005b5060405163f7d956ff60e01b8152fd5b6040516345e2cbed60e01b815291820152602490fd5b506002548111610164565b503461014757602080600319360112610147578135918215801561031b575b610303578260005260019182815260ff600960406000200154166102a457600084815283825260408120840180549085835b8381106102cb575b50505050156102b4578360005282815260406000209160088301923360005283835260ff604060002054166102a45760079033600052018252604060002054156102955750336000525260406000209060ff1982541617905533907f088762734f0ae39cbf4af8747d3d994bca6cfee54b15f2066a4daa0001d92f68600080a3005b60405163812ea84160e01b8152fd5b50604051630c8d9eab60e31b8152fd5b604051630306c99960e51b81523381840152602490fd5b6102d58184610e51565b905460039190911b1c6001600160a01b031633146102f55701869061020b565b509250505038808581610213565b6040516345e2cbed60e01b8152908101839052602490fd5b5060025483116101d9565b5034610147576040366003190112610147578035610342610e02565b918115801561039b575b6103855750600052600160205260086040600020019060018060a01b0316600052602052602060ff604060002054166040519015158152f35b602491604051916345e2cbed60e01b8352820152fd5b50600254821161034c565b34610147576000366003190112610147576000546040516001600160a01b039091168152602090f35b503461014757602036600319011261014757806101009135600052600160205260406000209060018060a01b0391828154169260038201549282015416600582015460068301549060ff60098501541692600b600a860154950154956040519788526020880152604087015260608601526080850152151560a084015260c083015260e0820152f35b3461014757600036600319011261014757610471611321565b600080546001600160a01b0319811682556001600160a01b031660008051602061136e8339815191528280a3005b503461014757606036600319011261014757803590604435906024906001600160401b0382358185116101475736602386011215610147578483013591821161014757838501948436918460051b0101116101475785158015610666575b61064f57856000526001906020600160205260406000209760018060a01b039283878b0154163303610639578060058b0154036106235750600189019182548603610612578486948b948b60006008600789019801945b610584575b50505050505050505050156105715782356006850155005b603290634e487b7160e01b600052526000fd5b825481101561060d5787877f47adf13f77e0c2397d8b8ff5d7ece911dc083f95974e95bfd66ef966786a696e886105fb858f9e8f988b6105c4848d610e51565b90549060031b1c16976105d8848484611122565b35908960005286526040600020558c8552604060002060ff198154169055611122565b35604051908152a3018c908a98610554565b610559565b60405163652122d960e01b81528790fd5b868891604051916345e2cbed60e01b8352820152fd5b604051630421f7af60e51b815233818901528890fd5b50506040516345e2cbed60e01b8152908101849052fd5b5060025486116104fd565b5060403660031901126101475760243581358015610816578115610816578034106108165760405163fb3551ff60e01b815233848201526000816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa801561080a57606060ff916001936000916107e7575b50015116036107d05760025460001981146107bb576020936001600292018083556000526001855260406000209060018060a01b0319903382845416178355346003840155820190815416905560006005820155600060068201556009810160ff19815416905583600a82015582600b82015561077033600183016110e7565b33600052018352346040600020556002549160405191825283820152817f380db97a5bee86e62ecbacedd68998ce91a2bce848274616f6cda71db26dc03b60403393a3604051908152f35b601184634e487b7160e01b6000525260246000fd5b604051631a4d507960e31b81523381850152602490fd5b61080491503d806000833e6107fc8183610e18565b810190610f2c565b386106f0565b6040513d6000823e3d90fd5b60405163652122d960e01b81528390fd5b50346101475760a0366003190112610147578035610843610e02565b906044359181158015610b4b575b610b335781600052600191602094838652600560406000200154610b2457816000528386526040600020600080868301878154925b838110610aec575b50505050156102b45760405163fb3551ff60e01b81526001600160a01b039485168184018190529492906000816024817f000000000000000000000000000000000000000000000000000000000000000088165afa90811561080a57600091610ad1575b508660ff60608301511603610ab9576040015161ffff1615610aaa576064870287810460641488151715610a955761271061092e9104886110c4565b92834710610a85576040519389850160843581528a86526040860198868a1060018060401b038b1117610a7057899260e4888e969486948f8e87604052631c5795d560e31b88523060448601526064850152608484015260643560a484015260c060c48401526109ad8351809381610104870152610124860190610eb5565b82840152601f01601f191681010301927f0000000000000000000000000000000000000000000000000000000000000000165af195861561080a578893600097610a2f575b5050810180546001600160a01b031916851790556005018490556040519485529293849360008051602061134e83398151915291a4604051908152f35b909296508391933d8311610a69575b610a488185610e18565b8101031261014757519386918060008051602061134e8339815191526109f2565b503d610a3e565b604185634e487b7160e01b6000525260246000fd5b50604051631036b5ad60e31b8152fd5b601182634e487b7160e01b6000525260246000fd5b604051635f460c3f60e11b8152fd5b604051631a4d507960e31b8152808301879052602490fd5b610ae691503d806000833e6107fc8183610e18565b386108f2565b610af68184610e51565b905460039190911b1c6001600160a01b03163314610b1657018890610886565b50925050503880878161088e565b60405163f7d956ff60e01b8152fd5b6040516345e2cbed60e01b8152808501839052602490fd5b506002548211610851565b5034610147576040366003190112610147578035610b72610e02565b9181158015610bb0575b6103855750600052600160205260076040600020019060018060a01b03166000526020526020604060002054604051908152f35b506002548211610b7c565b5034610147576040366003190112610147578035610bd7610e02565b9181158015610c15575b6103855750600052600160205260026040600020019060018060a01b03166000526020526020604060002054604051908152f35b506002548211610be1565b34610147576000366003190112610147576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461014757602036600319011261014757803580158015610d97575b61019957600052600160205260406000209060018060a01b038254169160038101549160018060a01b0390820154166005820154600683015460ff60098501541691600a85015493604051968788602060018a015492838152016001819a0160005260206000209260005b818110610d75575050610d0292500389610e18565b60405197610100808a019a8a5260208a0152518099526101208801966000995b808b10610d5257505087985060408801526060870152608086015260a0850152151560c084015260e08301520390f35b81516001600160a01b0316895260019a909a019960209889019890910190610d22565b84546001600160a01b031683526001948501948d945060209093019201610ced565b506002548111610c82565b34610147576000366003190112610147576020600254604051908152f35b34610147576000366003190112610147577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b602435906001600160a01b038216820361014757565b601f909101601f19168101906001600160401b03821190821017610e3b57604052565b634e487b7160e01b600052604160045260246000fd5b8054821015610e695760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b519061ffff8216820361014757565b51906001600160601b038216820361014757565b519065ffffffffffff8216820361014757565b60005b838110610ec85750506000910152565b8181015183820152602001610eb8565b81601f820112156101475780516001600160401b038111610e3b5760405192610f0b601f8301601f191660200185610e18565b8184526020828401011161014757610f299160208085019101610eb5565b90565b602080828403126101475781516001600160401b03928382116101475701906101809384838203126101475760405194850185811085821117610e3b5760405282518552818301516001600160a01b03811681036101475782860152610f9460408401610e7f565b6040860152606083015160ff81168103610147576060860152608083015163ffffffff81168103610147576080860152610fd060a08401610e7f565b60a0860152610fe160c08401610e8e565b60c0860152610ff260e08401610ea2565b60e0860152610100611005818501610ea2565b90860152610120808401518581116101475782611023918601610ed8565b90860152610140611035818501610e8e565b90860152610160928381015190858211610147570181601f8201121561014757805194808611610e3b578560051b906040519661107486840189610e18565b875284808801928401019380851161014757858401925b85841061109f575050505050505082015290565b83518381116101475787916110b9848480948a0101610ed8565b81520193019261108b565b919082018092116110d157565b634e487b7160e01b600052601160045260246000fd5b8054600160401b811015610e3b5761110491600182018155610e51565b60018060a09493941b038084549260031b9316831b921b1916179055565b9190811015610e695760051b0190565b6000818152600160208181526040808420815163fb3551ff60e01b815233600482015291949093909290916001600160a01b039084816024817f000000000000000000000000000000000000000000000000000000000000000086165afa90811561131757606060019260ff9288916112fd575b50015116036112e65782918460018701945b611284575b505050508054600a840154111561127357600b830154341061123257906111e86003939233906110e7565b338152600282016020528334912055016112033482546110c4565b905551903482527ff4f82575ee84a81aac4be52b6a368e9ba9df524b4f5cf8177d7cfbabe861820c60203393a3565b835162461bcd60e51b815260206004820152601a602482015279436f6e747269627574696f6e2062656c6f77206d696e696d756d60301b6044820152606490fd5b8351631036b5ad60e31b8152600490fd5b84548110156112e1576112978186610e51565b9054600391821b1c841633146112b057508301836111b8565b98505092505050929192338252600284019052206112cf3482546110c4565b9055016112dd3482546110c4565b9055565b6111bd565b8551631a4d507960e31b8152336004820152602490fd5b61131191503d808a833e6107fc8183610e18565b386111a6565b87513d87823e3d90fd5b6000546001600160a01b0316330361133557565b60405163118cdaa760e01b8152336004820152602490fdfe9f49d7cb3c74779f34ae7486f647911d41227bb539d98a146b7475191df15ff68be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a264697066735822122084e019d29eef712018ee1da8e8c25a03333994f3f53b1e4e40a1db65e959c12664736f6c63430008180033",
|
|
646
|
+
"linkReferences": {},
|
|
647
|
+
"deployedLinkReferences": {}
|
|
648
|
+
}
|