opportunity-service 0.0.565 → 0.0.569

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/dist/OpportunityService.js +137 -0
  2. package/dist/OpportunityService.js.map +1 -0
  3. package/dist/api/dispute/check-vote-results.js +33 -0
  4. package/dist/api/dispute/check-vote-results.js.map +1 -0
  5. package/dist/api/dispute/connect.js +39 -0
  6. package/dist/api/dispute/connect.js.map +1 -0
  7. package/dist/api/dispute/ensure-entity-metadata.js +39 -0
  8. package/dist/api/dispute/ensure-entity-metadata.js.map +1 -0
  9. package/dist/api/dispute/launch-new-vote.js +94 -0
  10. package/dist/api/dispute/launch-new-vote.js.map +1 -0
  11. package/dist/api/dispute/submit-vote.js +41 -0
  12. package/dist/api/dispute/submit-vote.js.map +1 -0
  13. package/dist/api/dispute/util/wait-until-present.js +27 -0
  14. package/dist/api/dispute/util/wait-until-present.js.map +1 -0
  15. package/dist/api/dispute/util/wait-until-started.js +23 -0
  16. package/dist/api/dispute/util/wait-until-started.js.map +1 -0
  17. package/dist/api/ethereum/sendAsync.js +37 -0
  18. package/dist/api/ethereum/sendAsync.js.map +1 -0
  19. package/dist/api/exchange/complete-relationship.js +4 -0
  20. package/dist/api/exchange/complete-relationship.js.map +1 -0
  21. package/dist/api/exchange/create-dispute.js +40 -0
  22. package/dist/api/exchange/create-dispute.js.map +1 -0
  23. package/dist/api/exchange/create-task.js +70 -0
  24. package/dist/api/exchange/create-task.js.map +1 -0
  25. package/dist/api/exchange/enter-work-relationship.js +61 -0
  26. package/dist/api/exchange/enter-work-relationship.js.map +1 -0
  27. package/dist/api/exchange/index.js +1 -0
  28. package/dist/api/exchange/index.js.map +1 -0
  29. package/dist/api/exchange/inspect-relationship.js +6 -0
  30. package/dist/api/exchange/inspect-relationship.js.map +1 -0
  31. package/dist/api/identity/register-new-user.js +33 -0
  32. package/dist/api/identity/register-new-user.js.map +1 -0
  33. package/dist/api/index.js +72 -0
  34. package/dist/api/index.js.map +1 -0
  35. package/dist/api/internal/abis.js +10 -0
  36. package/dist/api/internal/abis.js.map +1 -0
  37. package/dist/api/internal/addresses.js +8 -0
  38. package/dist/api/internal/addresses.js.map +1 -0
  39. package/dist/api/internal/events.js +10 -0
  40. package/dist/api/internal/events.js.map +1 -0
  41. package/dist/api/internal/index.js +5 -0
  42. package/dist/api/internal/index.js.map +1 -0
  43. package/dist/api/market/create-market.js +4 -0
  44. package/dist/api/market/create-market.js.map +1 -0
  45. package/dist/api/other/create-eth-crypto-creds.js +20 -0
  46. package/dist/api/other/create-eth-crypto-creds.js.map +1 -0
  47. package/dist/api/provider/decrypt.js +18 -0
  48. package/dist/api/provider/decrypt.js.map +1 -0
  49. package/dist/api/provider/encrypt.js +18 -0
  50. package/dist/api/provider/encrypt.js.map +1 -0
  51. package/dist/api/util/encrypt-by-public-key.js +52 -0
  52. package/dist/api/util/encrypt-by-public-key.js.map +1 -0
  53. package/dist/api/util/parse-cipher.js +11 -0
  54. package/dist/api/util/parse-cipher.js.map +1 -0
  55. package/dist/api/util/stringify-cipher.js +5 -0
  56. package/dist/api/util/stringify-cipher.js.map +1 -0
  57. package/dist/blockchain/abi.json +1626 -0
  58. package/dist/blockchain/addresses.json +17 -0
  59. package/dist/blockchain/blocks.json +3 -0
  60. package/dist/blockchain/bytecode.json +4 -0
  61. package/dist/constants/interface.js +1 -0
  62. package/dist/constants/interface.js.map +1 -0
  63. package/dist/constants/voting.js +1 -0
  64. package/dist/constants/voting.js.map +1 -0
  65. package/dist/constants.js +92 -0
  66. package/dist/constants.js.map +1 -0
  67. package/dist/events/OpportunityEventEmitter.js +32 -0
  68. package/dist/events/OpportunityEventEmitter.js.map +1 -0
  69. package/dist/events/get-log.js +1 -0
  70. package/dist/events/get-log.js.map +1 -0
  71. package/dist/events/start-event-listeners.js +9 -0
  72. package/dist/events/start-event-listeners.js.map +1 -0
  73. package/dist/events/sync-with-ethereum-node.js +20 -0
  74. package/dist/events/sync-with-ethereum-node.js.map +1 -0
  75. package/dist/gas.js +1 -0
  76. package/dist/gas.js.map +1 -0
  77. package/dist/logger.js +1 -0
  78. package/dist/logger.js.map +1 -0
  79. package/dist/modules/storage/OpportunityStorageProvider.js +94 -0
  80. package/dist/modules/storage/OpportunityStorageProvider.js.map +1 -0
  81. package/dist/sync/process/process-log.js +69 -0
  82. package/dist/sync/process/process-log.js.map +1 -0
  83. package/dist/sync/process/processDisputeCreated.js +33 -0
  84. package/dist/sync/process/processDisputeCreated.js.map +1 -0
  85. package/dist/sync/process/processMarketCreatedLog.js +33 -0
  86. package/dist/sync/process/processMarketCreatedLog.js.map +1 -0
  87. package/dist/sync/process/processMarketDestroyedEvent.js +10 -0
  88. package/dist/sync/process/processMarketDestroyedEvent.js.map +1 -0
  89. package/dist/sync/process/processUserAssignedTrueIdentification.js +21 -0
  90. package/dist/sync/process/processUserAssignedTrueIdentification.js.map +1 -0
  91. package/dist/sync/process/processUserRegistered.js +20 -0
  92. package/dist/sync/process/processUserRegistered.js.map +1 -0
  93. package/dist/sync/process/processUserSummaryCreated.js +22 -0
  94. package/dist/sync/process/processUserSummaryCreated.js.map +1 -0
  95. package/dist/sync/process/processWorkRelationshipCreated.js +38 -0
  96. package/dist/sync/process/processWorkRelationshipCreated.js.map +1 -0
  97. package/dist/sync/sync-jobs.js +35 -0
  98. package/dist/sync/sync-jobs.js.map +1 -0
  99. package/dist/sync/sync-markets.js +37 -0
  100. package/dist/sync/sync-markets.js.map +1 -0
  101. package/dist/types.js +2 -0
  102. package/dist/types.js.map +1 -0
  103. package/dist/util.js +1 -0
  104. package/dist/util.js.map +1 -0
  105. package/package.json +1 -1
  106. package/src/api/exchange/create-dispute.ts +0 -1
  107. package/src/api/identity/register-new-user.ts +5 -5
  108. package/src/blockchain/addresses.json +4 -4
  109. package/src/sync/sync-markets.ts +1 -1
@@ -0,0 +1,1626 @@
1
+ {
2
+ "MarketFactory": [
3
+ {
4
+ "anonymous": false,
5
+ "inputs": [
6
+ {
7
+ "indexed": true,
8
+ "internalType": "address",
9
+ "name": "_market",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "indexed": true,
14
+ "internalType": "uint256",
15
+ "name": "index",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "indexed": false,
20
+ "internalType": "address",
21
+ "name": "owner",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "indexed": false,
26
+ "internalType": "string",
27
+ "name": "marketName",
28
+ "type": "string"
29
+ }
30
+ ],
31
+ "name": "MarketCreated",
32
+ "type": "event"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": true,
39
+ "internalType": "address",
40
+ "name": "_marketAddress",
41
+ "type": "address"
42
+ }
43
+ ],
44
+ "name": "MarketDestroyed",
45
+ "type": "event"
46
+ },
47
+ {
48
+ "inputs": [
49
+ {
50
+ "internalType": "string",
51
+ "name": "marketName",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "internalType": "enum MarketLib.MarketType",
56
+ "name": "marketType",
57
+ "type": "uint8"
58
+ }
59
+ ],
60
+ "name": "createMarket",
61
+ "outputs": [],
62
+ "stateMutability": "nonpayable",
63
+ "type": "function"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "uint32",
69
+ "name": "index",
70
+ "type": "uint32"
71
+ }
72
+ ],
73
+ "name": "destroyMarket",
74
+ "outputs": [],
75
+ "stateMutability": "nonpayable",
76
+ "type": "function"
77
+ },
78
+ {
79
+ "inputs": [],
80
+ "name": "getNumMarkets",
81
+ "outputs": [
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "",
85
+ "type": "uint256"
86
+ }
87
+ ],
88
+ "stateMutability": "view",
89
+ "type": "function"
90
+ }
91
+ ],
92
+ "WorkRelationship": [
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "_owner",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "internalType": "enum Evaluation.ContractType",
102
+ "name": "_contractType",
103
+ "type": "uint8"
104
+ },
105
+ {
106
+ "internalType": "string",
107
+ "name": "_taskMetadataPointer",
108
+ "type": "string"
109
+ },
110
+ {
111
+ "internalType": "address",
112
+ "name": "_daiTokenAddress",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "stateMutability": "nonpayable",
117
+ "type": "constructor"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "HIGH_MEDIAN_EVALUATION_THRESHOLD",
122
+ "outputs": [
123
+ {
124
+ "internalType": "uint8",
125
+ "name": "",
126
+ "type": "uint8"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "LOW_MEDIAN_EVALUATION_THRESHOLD",
135
+ "outputs": [
136
+ {
137
+ "internalType": "uint8",
138
+ "name": "",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "REVIEW_TYPEHASH",
148
+ "outputs": [
149
+ {
150
+ "internalType": "bytes32",
151
+ "name": "",
152
+ "type": "bytes32"
153
+ }
154
+ ],
155
+ "stateMutability": "view",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "SUBMIT_TYPEHASH",
161
+ "outputs": [
162
+ {
163
+ "internalType": "bytes32",
164
+ "name": "",
165
+ "type": "bytes32"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "WORK_TYPEHASH",
174
+ "outputs": [
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "address payable",
188
+ "name": "_newWorker",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "_wad",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "nonce",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "expiry",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "internalType": "uint8",
208
+ "name": "eV",
209
+ "type": "uint8"
210
+ },
211
+ {
212
+ "internalType": "bytes32",
213
+ "name": "eR",
214
+ "type": "bytes32"
215
+ },
216
+ {
217
+ "internalType": "bytes32",
218
+ "name": "eS",
219
+ "type": "bytes32"
220
+ },
221
+ {
222
+ "internalType": "uint8",
223
+ "name": "vDeny",
224
+ "type": "uint8"
225
+ },
226
+ {
227
+ "internalType": "bytes32",
228
+ "name": "rDeny",
229
+ "type": "bytes32"
230
+ },
231
+ {
232
+ "internalType": "bytes32",
233
+ "name": "sDeny",
234
+ "type": "bytes32"
235
+ }
236
+ ],
237
+ "name": "assignNewWorker",
238
+ "outputs": [],
239
+ "stateMutability": "nonpayable",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "workerUniversalAddress",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "components": [
251
+ {
252
+ "internalType": "address",
253
+ "name": "market",
254
+ "type": "address"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "marketReputation",
259
+ "type": "uint256"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "universalReputation",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "internalType": "struct Evaluation.EvaluationState",
268
+ "name": "evaluationState",
269
+ "type": "tuple"
270
+ },
271
+ {
272
+ "internalType": "address",
273
+ "name": "_market",
274
+ "type": "address"
275
+ }
276
+ ],
277
+ "name": "checkWorkerEvaluation",
278
+ "outputs": [
279
+ {
280
+ "internalType": "bool",
281
+ "name": "",
282
+ "type": "bool"
283
+ }
284
+ ],
285
+ "stateMutability": "nonpayable",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "contractOwnership",
291
+ "outputs": [
292
+ {
293
+ "internalType": "enum WorkRelationship.ContractOwnership",
294
+ "name": "",
295
+ "type": "uint8"
296
+ }
297
+ ],
298
+ "stateMutability": "view",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "inputs": [],
303
+ "name": "contractState",
304
+ "outputs": [
305
+ {
306
+ "internalType": "enum WorkRelationship.ContractState",
307
+ "name": "",
308
+ "type": "uint8"
309
+ }
310
+ ],
311
+ "stateMutability": "view",
312
+ "type": "function"
313
+ },
314
+ {
315
+ "inputs": [],
316
+ "name": "contractStatus",
317
+ "outputs": [
318
+ {
319
+ "internalType": "enum Relationship.ContractStatus",
320
+ "name": "",
321
+ "type": "uint8"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "contractType",
330
+ "outputs": [
331
+ {
332
+ "internalType": "enum Evaluation.ContractType",
333
+ "name": "",
334
+ "type": "uint8"
335
+ }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [],
342
+ "name": "dispute",
343
+ "outputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "_scheduler",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "_complaintMetadataPointer",
363
+ "type": "bytes32"
364
+ },
365
+ {
366
+ "internalType": "bytes32",
367
+ "name": "_complaintResponseMetadataPointer",
368
+ "type": "bytes32"
369
+ }
370
+ ],
371
+ "name": "disputeRelationship",
372
+ "outputs": [],
373
+ "stateMutability": "nonpayable",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "domain_separator",
379
+ "outputs": [
380
+ {
381
+ "internalType": "bytes32",
382
+ "name": "",
383
+ "type": "bytes32"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "getRewardAddress",
392
+ "outputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getTaskSolutionPointer",
405
+ "outputs": [
406
+ {
407
+ "internalType": "bytes32",
408
+ "name": "",
409
+ "type": "bytes32"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "owner",
418
+ "outputs": [
419
+ {
420
+ "internalType": "address",
421
+ "name": "",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [
430
+ {
431
+ "internalType": "address",
432
+ "name": "_beneficiary",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "resolveDisputedReward",
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "resolveTiedDisputedReward",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "uint256",
452
+ "name": "averageMarketWorkerRep",
453
+ "type": "uint256"
454
+ },
455
+ {
456
+ "internalType": "uint8",
457
+ "name": "_evaluationScore",
458
+ "type": "uint8"
459
+ },
460
+ {
461
+ "internalType": "bool",
462
+ "name": "_approve",
463
+ "type": "bool"
464
+ },
465
+ {
466
+ "internalType": "uint8",
467
+ "name": "_v",
468
+ "type": "uint8"
469
+ },
470
+ {
471
+ "internalType": "bytes32",
472
+ "name": "_r",
473
+ "type": "bytes32"
474
+ },
475
+ {
476
+ "internalType": "bytes32",
477
+ "name": "_s",
478
+ "type": "bytes32"
479
+ }
480
+ ],
481
+ "name": "review",
482
+ "outputs": [],
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "bytes32",
490
+ "name": "_submission",
491
+ "type": "bytes32"
492
+ },
493
+ {
494
+ "internalType": "uint8",
495
+ "name": "_v",
496
+ "type": "uint8"
497
+ },
498
+ {
499
+ "internalType": "bytes32",
500
+ "name": "_r",
501
+ "type": "bytes32"
502
+ },
503
+ {
504
+ "internalType": "bytes32",
505
+ "name": "_s",
506
+ "type": "bytes32"
507
+ }
508
+ ],
509
+ "name": "submit",
510
+ "outputs": [],
511
+ "stateMutability": "nonpayable",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [],
516
+ "name": "taskMetadataPointer",
517
+ "outputs": [
518
+ {
519
+ "internalType": "string",
520
+ "name": "",
521
+ "type": "string"
522
+ }
523
+ ],
524
+ "stateMutability": "view",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [
529
+ {
530
+ "internalType": "string",
531
+ "name": "newTaskPointerHash",
532
+ "type": "string"
533
+ }
534
+ ],
535
+ "name": "updateTaskMetadataPointer",
536
+ "outputs": [],
537
+ "stateMutability": "nonpayable",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "wad",
543
+ "outputs": [
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "",
547
+ "type": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "bool",
557
+ "name": "_accepted",
558
+ "type": "bool"
559
+ },
560
+ {
561
+ "internalType": "uint8",
562
+ "name": "wV",
563
+ "type": "uint8"
564
+ },
565
+ {
566
+ "internalType": "bytes32",
567
+ "name": "wR",
568
+ "type": "bytes32"
569
+ },
570
+ {
571
+ "internalType": "bytes32",
572
+ "name": "wS",
573
+ "type": "bytes32"
574
+ }
575
+ ],
576
+ "name": "work",
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "worker",
584
+ "outputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ }
594
+ ],
595
+ "UserRegistration": [
596
+ {
597
+ "inputs": [
598
+ {
599
+ "internalType": "address",
600
+ "name": "userSummaryFactoryAddress",
601
+ "type": "address"
602
+ }
603
+ ],
604
+ "stateMutability": "nonpayable",
605
+ "type": "constructor"
606
+ },
607
+ {
608
+ "anonymous": false,
609
+ "inputs": [
610
+ {
611
+ "indexed": true,
612
+ "internalType": "address",
613
+ "name": "universalAddress",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "indexed": true,
618
+ "internalType": "address",
619
+ "name": "userSummaryContractAddress",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "name": "UserAssignedTrueIdentification",
624
+ "type": "event"
625
+ },
626
+ {
627
+ "anonymous": false,
628
+ "inputs": [
629
+ {
630
+ "indexed": true,
631
+ "internalType": "address",
632
+ "name": "universalAddress",
633
+ "type": "address"
634
+ }
635
+ ],
636
+ "name": "UserRegistered",
637
+ "type": "event"
638
+ },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "universalAddress",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "name": "getTrueIdentification",
648
+ "outputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "registerNewUser",
661
+ "outputs": [
662
+ {
663
+ "internalType": "address",
664
+ "name": "",
665
+ "type": "address"
666
+ }
667
+ ],
668
+ "stateMutability": "nonpayable",
669
+ "type": "function"
670
+ }
671
+ ],
672
+ "Market": [
673
+ {
674
+ "inputs": [
675
+ {
676
+ "internalType": "string",
677
+ "name": "marketName",
678
+ "type": "string"
679
+ },
680
+ {
681
+ "internalType": "enum MarketLib.MarketType",
682
+ "name": "marketType",
683
+ "type": "uint8"
684
+ }
685
+ ],
686
+ "stateMutability": "nonpayable",
687
+ "type": "constructor"
688
+ },
689
+ {
690
+ "anonymous": false,
691
+ "inputs": [
692
+ {
693
+ "indexed": true,
694
+ "internalType": "address",
695
+ "name": "participant",
696
+ "type": "address"
697
+ }
698
+ ],
699
+ "name": "NewMarketParticipant",
700
+ "type": "event"
701
+ },
702
+ {
703
+ "anonymous": false,
704
+ "inputs": [
705
+ {
706
+ "indexed": true,
707
+ "internalType": "address",
708
+ "name": "owner",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "indexed": true,
713
+ "internalType": "address",
714
+ "name": "relationship",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "indexed": true,
719
+ "internalType": "address",
720
+ "name": "marketAddress",
721
+ "type": "address"
722
+ }
723
+ ],
724
+ "name": "WorkRelationshipCreated",
725
+ "type": "event"
726
+ },
727
+ {
728
+ "anonymous": false,
729
+ "inputs": [
730
+ {
731
+ "indexed": true,
732
+ "internalType": "address",
733
+ "name": "owner",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "indexed": true,
738
+ "internalType": "address",
739
+ "name": "relationship",
740
+ "type": "address"
741
+ }
742
+ ],
743
+ "name": "WorkRelationshipEnded",
744
+ "type": "event"
745
+ },
746
+ {
747
+ "inputs": [],
748
+ "name": "_marketName",
749
+ "outputs": [
750
+ {
751
+ "internalType": "string",
752
+ "name": "",
753
+ "type": "string"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [],
761
+ "name": "_marketType",
762
+ "outputs": [
763
+ {
764
+ "internalType": "enum MarketLib.MarketType",
765
+ "name": "",
766
+ "type": "uint8"
767
+ }
768
+ ],
769
+ "stateMutability": "view",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "address",
776
+ "name": "taskOwner",
777
+ "type": "address"
778
+ },
779
+ {
780
+ "internalType": "enum Evaluation.ContractType",
781
+ "name": "_contractType",
782
+ "type": "uint8"
783
+ },
784
+ {
785
+ "internalType": "string",
786
+ "name": "taskMetadataPointer",
787
+ "type": "string"
788
+ },
789
+ {
790
+ "internalType": "address",
791
+ "name": "_daiTokenAddress",
792
+ "type": "address"
793
+ }
794
+ ],
795
+ "name": "createJob",
796
+ "outputs": [],
797
+ "stateMutability": "nonpayable",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [],
802
+ "name": "getNumJobs",
803
+ "outputs": [
804
+ {
805
+ "internalType": "uint256",
806
+ "name": "",
807
+ "type": "uint256"
808
+ }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "getWorkRelationships",
816
+ "outputs": [
817
+ {
818
+ "internalType": "contract WorkRelationship[]",
819
+ "name": "",
820
+ "type": "address[]"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ {
829
+ "internalType": "address",
830
+ "name": "",
831
+ "type": "address"
832
+ }
833
+ ],
834
+ "name": "relationshipsToOwner",
835
+ "outputs": [
836
+ {
837
+ "internalType": "address",
838
+ "name": "",
839
+ "type": "address"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ }
845
+ ],
846
+ "Dai": [{ "inputs": [{ "internalType": "uint256", "name": "chainId_", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "guy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": true, "inputs": [{ "indexed": true, "internalType": "bytes4", "name": "sig", "type": "bytes4" }, { "indexed": true, "internalType": "address", "name": "usr", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "arg1", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "arg2", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "LogNote", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "constant": true, "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "deny", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "move", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "holder", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "bool", "name": "allowed", "type": "bool" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "pull", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "push", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "rely", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "wards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }],
847
+ "Dispute": [
848
+ {
849
+ "inputs": [
850
+ {
851
+ "internalType": "address",
852
+ "name": "_relationship",
853
+ "type": "address"
854
+ },
855
+ {
856
+ "internalType": "bytes32",
857
+ "name": "_complaintMetadataPointer",
858
+ "type": "bytes32"
859
+ },
860
+ {
861
+ "internalType": "bytes32",
862
+ "name": "_complaintResponseMetadataPointer",
863
+ "type": "bytes32"
864
+ }
865
+ ],
866
+ "stateMutability": "nonpayable",
867
+ "type": "constructor"
868
+ },
869
+ {
870
+ "anonymous": false,
871
+ "inputs": [
872
+ {
873
+ "indexed": true,
874
+ "internalType": "address",
875
+ "name": "_dispute",
876
+ "type": "address"
877
+ }
878
+ ],
879
+ "name": "ArbitrationWindowClosed",
880
+ "type": "event"
881
+ },
882
+ {
883
+ "anonymous": false,
884
+ "inputs": [
885
+ {
886
+ "indexed": true,
887
+ "internalType": "address",
888
+ "name": "_dispute",
889
+ "type": "address"
890
+ }
891
+ ],
892
+ "name": "ArbitrationWindowOpened",
893
+ "type": "event"
894
+ },
895
+ {
896
+ "anonymous": false,
897
+ "inputs": [
898
+ {
899
+ "indexed": true,
900
+ "internalType": "address",
901
+ "name": "_employer",
902
+ "type": "address"
903
+ },
904
+ {
905
+ "indexed": true,
906
+ "internalType": "address",
907
+ "name": "_worker",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "indexed": true,
912
+ "internalType": "address",
913
+ "name": "_relationship",
914
+ "type": "address"
915
+ },
916
+ {
917
+ "indexed": false,
918
+ "internalType": "address",
919
+ "name": "_dispute",
920
+ "type": "address"
921
+ }
922
+ ],
923
+ "name": "DisputeCreated",
924
+ "type": "event"
925
+ },
926
+ {
927
+ "anonymous": false,
928
+ "inputs": [
929
+ {
930
+ "indexed": true,
931
+ "internalType": "address",
932
+ "name": "_relationship",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "indexed": false,
937
+ "internalType": "uint8",
938
+ "name": "round",
939
+ "type": "uint8"
940
+ }
941
+ ],
942
+ "name": "DisputeResolved",
943
+ "type": "event"
944
+ },
945
+ {
946
+ "anonymous": false,
947
+ "inputs": [
948
+ {
949
+ "indexed": true,
950
+ "internalType": "address",
951
+ "name": "dispute",
952
+ "type": "address"
953
+ },
954
+ {
955
+ "indexed": true,
956
+ "internalType": "uint256",
957
+ "name": "round",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "indexed": false,
962
+ "internalType": "string",
963
+ "name": "processId",
964
+ "type": "string"
965
+ },
966
+ {
967
+ "indexed": false,
968
+ "internalType": "uint256",
969
+ "name": "timestamp",
970
+ "type": "uint256"
971
+ }
972
+ ],
973
+ "name": "NewRound",
974
+ "type": "event"
975
+ },
976
+ {
977
+ "anonymous": false,
978
+ "inputs": [
979
+ {
980
+ "indexed": true,
981
+ "internalType": "address",
982
+ "name": "voter",
983
+ "type": "address"
984
+ },
985
+ {
986
+ "indexed": true,
987
+ "internalType": "address",
988
+ "name": "_dispute",
989
+ "type": "address"
990
+ },
991
+ {
992
+ "indexed": false,
993
+ "internalType": "uint256",
994
+ "name": "_amount",
995
+ "type": "uint256"
996
+ }
997
+ ],
998
+ "name": "PenaltyProcessed",
999
+ "type": "event"
1000
+ },
1001
+ {
1002
+ "anonymous": false,
1003
+ "inputs": [
1004
+ {
1005
+ "indexed": true,
1006
+ "internalType": "address",
1007
+ "name": "_dispute",
1008
+ "type": "address"
1009
+ }
1010
+ ],
1011
+ "name": "StakeResolved",
1012
+ "type": "event"
1013
+ },
1014
+ {
1015
+ "anonymous": false,
1016
+ "inputs": [
1017
+ {
1018
+ "indexed": true,
1019
+ "internalType": "address",
1020
+ "name": "_dispute",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "name": "StakingWindowClosed",
1025
+ "type": "event"
1026
+ },
1027
+ {
1028
+ "anonymous": false,
1029
+ "inputs": [
1030
+ {
1031
+ "indexed": true,
1032
+ "internalType": "address",
1033
+ "name": "_dispute",
1034
+ "type": "address"
1035
+ }
1036
+ ],
1037
+ "name": "StakingWindowOpened",
1038
+ "type": "event"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "",
1045
+ "type": "address"
1046
+ }
1047
+ ],
1048
+ "name": "addressToArbitrator",
1049
+ "outputs": [
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "universalAddress",
1053
+ "type": "address"
1054
+ },
1055
+ {
1056
+ "internalType": "bytes32",
1057
+ "name": "vote",
1058
+ "type": "bytes32"
1059
+ },
1060
+ {
1061
+ "internalType": "uint64",
1062
+ "name": "blockNumber",
1063
+ "type": "uint64"
1064
+ },
1065
+ {
1066
+ "internalType": "bool",
1067
+ "name": "voted",
1068
+ "type": "bool"
1069
+ },
1070
+ {
1071
+ "internalType": "bool",
1072
+ "name": "revealed",
1073
+ "type": "bool"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "",
1084
+ "type": "uint256"
1085
+ }
1086
+ ],
1087
+ "name": "arbitrators",
1088
+ "outputs": [
1089
+ {
1090
+ "internalType": "address",
1091
+ "name": "",
1092
+ "type": "address"
1093
+ }
1094
+ ],
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [],
1100
+ "name": "checkDispute",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [],
1107
+ "name": "complaintMetadataPointer",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "bytes32",
1111
+ "name": "",
1112
+ "type": "bytes32"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [],
1120
+ "name": "complaintResponseMetadataPointer",
1121
+ "outputs": [
1122
+ {
1123
+ "internalType": "bytes32",
1124
+ "name": "",
1125
+ "type": "bytes32"
1126
+ }
1127
+ ],
1128
+ "stateMutability": "view",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [],
1133
+ "name": "exitDispute",
1134
+ "outputs": [],
1135
+ "stateMutability": "nonpayable",
1136
+ "type": "function"
1137
+ },
1138
+ {
1139
+ "inputs": [],
1140
+ "name": "getStake",
1141
+ "outputs": [],
1142
+ "stateMutability": "nonpayable",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "nonce",
1152
+ "type": "uint256"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "expiry",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint8",
1161
+ "name": "v",
1162
+ "type": "uint8"
1163
+ },
1164
+ {
1165
+ "internalType": "bytes32",
1166
+ "name": "r",
1167
+ "type": "bytes32"
1168
+ },
1169
+ {
1170
+ "internalType": "bytes32",
1171
+ "name": "s",
1172
+ "type": "bytes32"
1173
+ }
1174
+ ],
1175
+ "internalType": "struct Transaction.EIP712ERC20Permit",
1176
+ "name": "allow",
1177
+ "type": "tuple"
1178
+ },
1179
+ {
1180
+ "components": [
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "nonce",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "internalType": "uint256",
1188
+ "name": "expiry",
1189
+ "type": "uint256"
1190
+ },
1191
+ {
1192
+ "internalType": "uint8",
1193
+ "name": "v",
1194
+ "type": "uint8"
1195
+ },
1196
+ {
1197
+ "internalType": "bytes32",
1198
+ "name": "r",
1199
+ "type": "bytes32"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes32",
1203
+ "name": "s",
1204
+ "type": "bytes32"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct Transaction.EIP712ERC20Permit",
1208
+ "name": "deny",
1209
+ "type": "tuple"
1210
+ }
1211
+ ],
1212
+ "name": "joinDispute",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "int256",
1216
+ "name": "",
1217
+ "type": "int256"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "string",
1227
+ "name": "processId",
1228
+ "type": "string"
1229
+ }
1230
+ ],
1231
+ "name": "newProcessId",
1232
+ "outputs": [],
1233
+ "stateMutability": "nonpayable",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [],
1238
+ "name": "numVotes",
1239
+ "outputs": [
1240
+ {
1241
+ "internalType": "uint8",
1242
+ "name": "",
1243
+ "type": "uint8"
1244
+ }
1245
+ ],
1246
+ "stateMutability": "view",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [],
1251
+ "name": "round",
1252
+ "outputs": [
1253
+ {
1254
+ "internalType": "uint8",
1255
+ "name": "",
1256
+ "type": "uint8"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "view",
1260
+ "type": "function"
1261
+ },
1262
+ {
1263
+ "inputs": [],
1264
+ "name": "stake",
1265
+ "outputs": [
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "",
1269
+ "type": "uint256"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [],
1277
+ "name": "startDate",
1278
+ "outputs": [
1279
+ {
1280
+ "internalType": "uint256",
1281
+ "name": "",
1282
+ "type": "uint256"
1283
+ }
1284
+ ],
1285
+ "stateMutability": "view",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "inputs": [],
1290
+ "name": "votingRoundStart",
1291
+ "outputs": [
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "stateMutability": "view",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [],
1303
+ "name": "votingStartDate",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "uint256",
1307
+ "name": "",
1308
+ "type": "uint256"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ }
1314
+ ],
1315
+ "Participation": [
1316
+ {
1317
+ "inputs": [
1318
+ {
1319
+ "internalType": "string",
1320
+ "name": "name_",
1321
+ "type": "string"
1322
+ },
1323
+ {
1324
+ "internalType": "string",
1325
+ "name": "symbol_",
1326
+ "type": "string"
1327
+ },
1328
+ {
1329
+ "internalType": "address",
1330
+ "name": "factory",
1331
+ "type": "address"
1332
+ }
1333
+ ],
1334
+ "stateMutability": "nonpayable",
1335
+ "type": "constructor"
1336
+ },
1337
+ {
1338
+ "anonymous": false,
1339
+ "inputs": [
1340
+ {
1341
+ "indexed": true,
1342
+ "internalType": "address",
1343
+ "name": "owner",
1344
+ "type": "address"
1345
+ },
1346
+ {
1347
+ "indexed": true,
1348
+ "internalType": "address",
1349
+ "name": "spender",
1350
+ "type": "address"
1351
+ },
1352
+ {
1353
+ "indexed": false,
1354
+ "internalType": "uint256",
1355
+ "name": "value",
1356
+ "type": "uint256"
1357
+ }
1358
+ ],
1359
+ "name": "Approval",
1360
+ "type": "event"
1361
+ },
1362
+ {
1363
+ "anonymous": false,
1364
+ "inputs": [
1365
+ {
1366
+ "indexed": true,
1367
+ "internalType": "address",
1368
+ "name": "from",
1369
+ "type": "address"
1370
+ },
1371
+ {
1372
+ "indexed": true,
1373
+ "internalType": "address",
1374
+ "name": "to",
1375
+ "type": "address"
1376
+ },
1377
+ {
1378
+ "indexed": false,
1379
+ "internalType": "uint256",
1380
+ "name": "value",
1381
+ "type": "uint256"
1382
+ }
1383
+ ],
1384
+ "name": "Transfer",
1385
+ "type": "event"
1386
+ },
1387
+ {
1388
+ "inputs": [
1389
+ {
1390
+ "internalType": "address",
1391
+ "name": "owner",
1392
+ "type": "address"
1393
+ },
1394
+ {
1395
+ "internalType": "address",
1396
+ "name": "spender",
1397
+ "type": "address"
1398
+ }
1399
+ ],
1400
+ "name": "allowance",
1401
+ "outputs": [
1402
+ {
1403
+ "internalType": "uint256",
1404
+ "name": "",
1405
+ "type": "uint256"
1406
+ }
1407
+ ],
1408
+ "stateMutability": "view",
1409
+ "type": "function"
1410
+ },
1411
+ {
1412
+ "inputs": [
1413
+ {
1414
+ "internalType": "address",
1415
+ "name": "spender",
1416
+ "type": "address"
1417
+ },
1418
+ {
1419
+ "internalType": "uint256",
1420
+ "name": "amount",
1421
+ "type": "uint256"
1422
+ }
1423
+ ],
1424
+ "name": "approve",
1425
+ "outputs": [
1426
+ {
1427
+ "internalType": "bool",
1428
+ "name": "",
1429
+ "type": "bool"
1430
+ }
1431
+ ],
1432
+ "stateMutability": "nonpayable",
1433
+ "type": "function"
1434
+ },
1435
+ {
1436
+ "inputs": [
1437
+ {
1438
+ "internalType": "address",
1439
+ "name": "account",
1440
+ "type": "address"
1441
+ }
1442
+ ],
1443
+ "name": "balanceOf",
1444
+ "outputs": [
1445
+ {
1446
+ "internalType": "uint256",
1447
+ "name": "",
1448
+ "type": "uint256"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "view",
1452
+ "type": "function"
1453
+ },
1454
+ {
1455
+ "inputs": [],
1456
+ "name": "decimals",
1457
+ "outputs": [
1458
+ {
1459
+ "internalType": "uint8",
1460
+ "name": "",
1461
+ "type": "uint8"
1462
+ }
1463
+ ],
1464
+ "stateMutability": "view",
1465
+ "type": "function"
1466
+ },
1467
+ {
1468
+ "inputs": [
1469
+ {
1470
+ "internalType": "address",
1471
+ "name": "spender",
1472
+ "type": "address"
1473
+ },
1474
+ {
1475
+ "internalType": "uint256",
1476
+ "name": "subtractedValue",
1477
+ "type": "uint256"
1478
+ }
1479
+ ],
1480
+ "name": "decreaseAllowance",
1481
+ "outputs": [
1482
+ {
1483
+ "internalType": "bool",
1484
+ "name": "",
1485
+ "type": "bool"
1486
+ }
1487
+ ],
1488
+ "stateMutability": "nonpayable",
1489
+ "type": "function"
1490
+ },
1491
+ {
1492
+ "inputs": [
1493
+ {
1494
+ "internalType": "address",
1495
+ "name": "spender",
1496
+ "type": "address"
1497
+ },
1498
+ {
1499
+ "internalType": "uint256",
1500
+ "name": "addedValue",
1501
+ "type": "uint256"
1502
+ }
1503
+ ],
1504
+ "name": "increaseAllowance",
1505
+ "outputs": [
1506
+ {
1507
+ "internalType": "bool",
1508
+ "name": "",
1509
+ "type": "bool"
1510
+ }
1511
+ ],
1512
+ "stateMutability": "nonpayable",
1513
+ "type": "function"
1514
+ },
1515
+ {
1516
+ "inputs": [
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "account",
1520
+ "type": "address"
1521
+ },
1522
+ {
1523
+ "internalType": "uint256",
1524
+ "name": "amount",
1525
+ "type": "uint256"
1526
+ }
1527
+ ],
1528
+ "name": "mintJuryToken",
1529
+ "outputs": [],
1530
+ "stateMutability": "nonpayable",
1531
+ "type": "function"
1532
+ },
1533
+ {
1534
+ "inputs": [],
1535
+ "name": "name",
1536
+ "outputs": [
1537
+ {
1538
+ "internalType": "string",
1539
+ "name": "",
1540
+ "type": "string"
1541
+ }
1542
+ ],
1543
+ "stateMutability": "view",
1544
+ "type": "function"
1545
+ },
1546
+ {
1547
+ "inputs": [],
1548
+ "name": "symbol",
1549
+ "outputs": [
1550
+ {
1551
+ "internalType": "string",
1552
+ "name": "",
1553
+ "type": "string"
1554
+ }
1555
+ ],
1556
+ "stateMutability": "view",
1557
+ "type": "function"
1558
+ },
1559
+ {
1560
+ "inputs": [],
1561
+ "name": "totalSupply",
1562
+ "outputs": [
1563
+ {
1564
+ "internalType": "uint256",
1565
+ "name": "",
1566
+ "type": "uint256"
1567
+ }
1568
+ ],
1569
+ "stateMutability": "view",
1570
+ "type": "function"
1571
+ },
1572
+ {
1573
+ "inputs": [
1574
+ {
1575
+ "internalType": "address",
1576
+ "name": "recipient",
1577
+ "type": "address"
1578
+ },
1579
+ {
1580
+ "internalType": "uint256",
1581
+ "name": "amount",
1582
+ "type": "uint256"
1583
+ }
1584
+ ],
1585
+ "name": "transfer",
1586
+ "outputs": [
1587
+ {
1588
+ "internalType": "bool",
1589
+ "name": "",
1590
+ "type": "bool"
1591
+ }
1592
+ ],
1593
+ "stateMutability": "nonpayable",
1594
+ "type": "function"
1595
+ },
1596
+ {
1597
+ "inputs": [
1598
+ {
1599
+ "internalType": "address",
1600
+ "name": "sender",
1601
+ "type": "address"
1602
+ },
1603
+ {
1604
+ "internalType": "address",
1605
+ "name": "recipient",
1606
+ "type": "address"
1607
+ },
1608
+ {
1609
+ "internalType": "uint256",
1610
+ "name": "amount",
1611
+ "type": "uint256"
1612
+ }
1613
+ ],
1614
+ "name": "transferFrom",
1615
+ "outputs": [
1616
+ {
1617
+ "internalType": "bool",
1618
+ "name": "",
1619
+ "type": "bool"
1620
+ }
1621
+ ],
1622
+ "stateMutability": "nonpayable",
1623
+ "type": "function"
1624
+ }
1625
+ ]
1626
+ }