iwa 0.0.17__py3-none-any.whl → 0.0.19__py3-none-any.whl

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.
@@ -0,0 +1,828 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_stakingFactory",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_karmaProxy",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "_minResponseTimeout",
17
+ "type": "uint256"
18
+ },
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "_maxResponseTimeout",
22
+ "type": "uint256"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "requestId",
33
+ "type": "uint256"
34
+ }
35
+ ],
36
+ "name": "AlreadyDelivered",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "provided",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "internalType": "uint256",
48
+ "name": "min",
49
+ "type": "uint256"
50
+ },
51
+ {
52
+ "internalType": "uint256",
53
+ "name": "max",
54
+ "type": "uint256"
55
+ }
56
+ ],
57
+ "name": "OutOfBounds",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "provided",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "max",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "Overflow",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "sender",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "address",
85
+ "name": "owner",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "OwnerOnly",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "expected",
97
+ "type": "uint256"
98
+ },
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "current",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "PriorityMechResponseTimeout",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "ReentrancyGuard",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "stakingInstance",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "serviceId",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "ServiceNotStaked",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "account",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "UnauthorizedAccount",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "ZeroAddress",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "ZeroValue",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "anonymous": false,
152
+ "inputs": [
153
+ {
154
+ "indexed": true,
155
+ "internalType": "address",
156
+ "name": "factory",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "FactoryUpdated",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "anonymous": false,
165
+ "inputs": [
166
+ {
167
+ "indexed": true,
168
+ "internalType": "address",
169
+ "name": "priorityMech",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "indexed": true,
174
+ "internalType": "address",
175
+ "name": "actualMech",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "indexed": true,
180
+ "internalType": "address",
181
+ "name": "requester",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "indexed": false,
186
+ "internalType": "uint256",
187
+ "name": "requestId",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "bytes",
193
+ "name": "data",
194
+ "type": "bytes"
195
+ }
196
+ ],
197
+ "name": "MarketplaceDeliver",
198
+ "type": "event"
199
+ },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": true,
205
+ "internalType": "address",
206
+ "name": "requester",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "indexed": true,
211
+ "internalType": "address",
212
+ "name": "requestedMech",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "indexed": false,
217
+ "internalType": "uint256",
218
+ "name": "requestId",
219
+ "type": "uint256"
220
+ },
221
+ {
222
+ "indexed": false,
223
+ "internalType": "bytes",
224
+ "name": "data",
225
+ "type": "bytes"
226
+ }
227
+ ],
228
+ "name": "MarketplaceRequest",
229
+ "type": "event"
230
+ },
231
+ {
232
+ "anonymous": false,
233
+ "inputs": [
234
+ {
235
+ "indexed": true,
236
+ "internalType": "address",
237
+ "name": "mech",
238
+ "type": "address"
239
+ },
240
+ {
241
+ "indexed": false,
242
+ "internalType": "bool",
243
+ "name": "status",
244
+ "type": "bool"
245
+ }
246
+ ],
247
+ "name": "MechRegistrationStatusChanged",
248
+ "type": "event"
249
+ },
250
+ {
251
+ "anonymous": false,
252
+ "inputs": [
253
+ {
254
+ "indexed": false,
255
+ "internalType": "uint256",
256
+ "name": "minResponseTimeout",
257
+ "type": "uint256"
258
+ },
259
+ {
260
+ "indexed": false,
261
+ "internalType": "uint256",
262
+ "name": "maxResponseTimeout",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "MinMaxResponseTimeoutUpdated",
267
+ "type": "event"
268
+ },
269
+ {
270
+ "anonymous": false,
271
+ "inputs": [
272
+ {
273
+ "indexed": true,
274
+ "internalType": "address",
275
+ "name": "owner",
276
+ "type": "address"
277
+ }
278
+ ],
279
+ "name": "OwnerUpdated",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "inputs": [],
284
+ "name": "DOMAIN_SEPARATOR_TYPE_HASH",
285
+ "outputs": [
286
+ {
287
+ "internalType": "bytes32",
288
+ "name": "",
289
+ "type": "bytes32"
290
+ }
291
+ ],
292
+ "stateMutability": "view",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "inputs": [],
297
+ "name": "VERSION",
298
+ "outputs": [
299
+ {
300
+ "internalType": "string",
301
+ "name": "",
302
+ "type": "string"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "chainId",
311
+ "outputs": [
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "stateMutability": "view",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "address",
325
+ "name": "mech",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "internalType": "address",
330
+ "name": "mechStakingInstance",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "uint256",
335
+ "name": "mechServiceId",
336
+ "type": "uint256"
337
+ }
338
+ ],
339
+ "name": "checkMech",
340
+ "outputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "address",
354
+ "name": "requester",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "internalType": "address",
359
+ "name": "requesterStakingInstance",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "internalType": "uint256",
364
+ "name": "requesterServiceId",
365
+ "type": "uint256"
366
+ }
367
+ ],
368
+ "name": "checkRequester",
369
+ "outputs": [],
370
+ "stateMutability": "view",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "internalType": "address",
377
+ "name": "stakingInstance",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "serviceId",
383
+ "type": "uint256"
384
+ }
385
+ ],
386
+ "name": "checkStakingInstance",
387
+ "outputs": [],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "requestId",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "internalType": "bytes",
400
+ "name": "requestData",
401
+ "type": "bytes"
402
+ },
403
+ {
404
+ "internalType": "address",
405
+ "name": "deliveryMechStakingInstance",
406
+ "type": "address"
407
+ },
408
+ {
409
+ "internalType": "uint256",
410
+ "name": "deliveryMechServiceId",
411
+ "type": "uint256"
412
+ }
413
+ ],
414
+ "name": "deliverMarketplace",
415
+ "outputs": [],
416
+ "stateMutability": "nonpayable",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [],
421
+ "name": "domainSeparator",
422
+ "outputs": [
423
+ {
424
+ "internalType": "bytes32",
425
+ "name": "",
426
+ "type": "bytes32"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "address",
436
+ "name": "account",
437
+ "type": "address"
438
+ }
439
+ ],
440
+ "name": "getDeliveriesCount",
441
+ "outputs": [
442
+ {
443
+ "internalType": "uint256",
444
+ "name": "",
445
+ "type": "uint256"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "getDomainSeparator",
454
+ "outputs": [
455
+ {
456
+ "internalType": "bytes32",
457
+ "name": "",
458
+ "type": "bytes32"
459
+ }
460
+ ],
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "inputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "requestId",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "name": "getMechDeliveryInfo",
473
+ "outputs": [
474
+ {
475
+ "components": [
476
+ {
477
+ "internalType": "address",
478
+ "name": "priorityMech",
479
+ "type": "address"
480
+ },
481
+ {
482
+ "internalType": "address",
483
+ "name": "deliveryMech",
484
+ "type": "address"
485
+ },
486
+ {
487
+ "internalType": "address",
488
+ "name": "requester",
489
+ "type": "address"
490
+ },
491
+ {
492
+ "internalType": "uint32",
493
+ "name": "responseTimeout",
494
+ "type": "uint32"
495
+ }
496
+ ],
497
+ "internalType": "struct MechDelivery",
498
+ "name": "",
499
+ "type": "tuple"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "address",
509
+ "name": "mechService",
510
+ "type": "address"
511
+ }
512
+ ],
513
+ "name": "getMechServiceDeliveriesCount",
514
+ "outputs": [
515
+ {
516
+ "internalType": "uint256",
517
+ "name": "",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "address",
528
+ "name": "account",
529
+ "type": "address"
530
+ },
531
+ {
532
+ "internalType": "bytes",
533
+ "name": "data",
534
+ "type": "bytes"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "nonce",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "name": "getRequestId",
543
+ "outputs": [
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "requestId",
547
+ "type": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "requestId",
558
+ "type": "uint256"
559
+ }
560
+ ],
561
+ "name": "getRequestStatus",
562
+ "outputs": [
563
+ {
564
+ "internalType": "enum MechMarketplace.RequestStatus",
565
+ "name": "status",
566
+ "type": "uint8"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "account",
577
+ "type": "address"
578
+ }
579
+ ],
580
+ "name": "getRequestsCount",
581
+ "outputs": [
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "karmaProxy",
594
+ "outputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "name": "mapDeliveryCounts",
613
+ "outputs": [
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "",
617
+ "type": "uint256"
618
+ }
619
+ ],
620
+ "stateMutability": "view",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [
625
+ {
626
+ "internalType": "address",
627
+ "name": "",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "name": "mapMechServiceDeliveryCounts",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "name": "mapNonces",
651
+ "outputs": [
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [
663
+ {
664
+ "internalType": "address",
665
+ "name": "",
666
+ "type": "address"
667
+ }
668
+ ],
669
+ "name": "mapRequestCounts",
670
+ "outputs": [
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "",
674
+ "type": "uint256"
675
+ }
676
+ ],
677
+ "stateMutability": "view",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [
682
+ {
683
+ "internalType": "uint256",
684
+ "name": "",
685
+ "type": "uint256"
686
+ }
687
+ ],
688
+ "name": "mapRequestIdDeliveries",
689
+ "outputs": [
690
+ {
691
+ "internalType": "address",
692
+ "name": "priorityMech",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "address",
697
+ "name": "deliveryMech",
698
+ "type": "address"
699
+ },
700
+ {
701
+ "internalType": "address",
702
+ "name": "requester",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "uint32",
707
+ "name": "responseTimeout",
708
+ "type": "uint32"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [],
716
+ "name": "maxResponseTimeout",
717
+ "outputs": [
718
+ {
719
+ "internalType": "uint256",
720
+ "name": "",
721
+ "type": "uint256"
722
+ }
723
+ ],
724
+ "stateMutability": "view",
725
+ "type": "function"
726
+ },
727
+ {
728
+ "inputs": [],
729
+ "name": "minResponseTimeout",
730
+ "outputs": [
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "",
734
+ "type": "uint256"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "numTotalRequests",
743
+ "outputs": [
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "",
747
+ "type": "uint256"
748
+ }
749
+ ],
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [],
755
+ "name": "numUndeliveredRequests",
756
+ "outputs": [
757
+ {
758
+ "internalType": "uint256",
759
+ "name": "",
760
+ "type": "uint256"
761
+ }
762
+ ],
763
+ "stateMutability": "view",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [
768
+ {
769
+ "internalType": "bytes",
770
+ "name": "data",
771
+ "type": "bytes"
772
+ },
773
+ {
774
+ "internalType": "address",
775
+ "name": "priorityMech",
776
+ "type": "address"
777
+ },
778
+ {
779
+ "internalType": "address",
780
+ "name": "priorityMechStakingInstance",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "priorityMechServiceId",
786
+ "type": "uint256"
787
+ },
788
+ {
789
+ "internalType": "address",
790
+ "name": "requesterStakingInstance",
791
+ "type": "address"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "requesterServiceId",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "uint256",
800
+ "name": "responseTimeout",
801
+ "type": "uint256"
802
+ }
803
+ ],
804
+ "name": "request",
805
+ "outputs": [
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "requestId",
809
+ "type": "uint256"
810
+ }
811
+ ],
812
+ "stateMutability": "payable",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [],
817
+ "name": "stakingFactory",
818
+ "outputs": [
819
+ {
820
+ "internalType": "address",
821
+ "name": "",
822
+ "type": "address"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ }
828
+ ]