iwa 0.0.1a3__py3-none-any.whl → 0.0.1a5__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,1909 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "_name",
7
+ "type": "string"
8
+ },
9
+ {
10
+ "internalType": "string",
11
+ "name": "_symbol",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "internalType": "string",
16
+ "name": "_baseURI",
17
+ "type": "string"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [
25
+ {
26
+ "internalType": "address",
27
+ "name": "operator",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "name": "AgentInstanceRegistered",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "serviceId",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "name": "AgentInstancesSlotsFilled",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "agentId",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "AgentNotFound",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "agentId",
61
+ "type": "uint256"
62
+ },
63
+ {
64
+ "internalType": "uint256",
65
+ "name": "serviceId",
66
+ "type": "uint256"
67
+ }
68
+ ],
69
+ "name": "AgentNotInService",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "componentId",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "name": "ComponentNotFound",
81
+ "type": "error"
82
+ },
83
+ {
84
+ "inputs": [],
85
+ "name": "HashExists",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "sent",
93
+ "type": "uint256"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "expected",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "serviceId",
103
+ "type": "uint256"
104
+ }
105
+ ],
106
+ "name": "IncorrectAgentBondingValue",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "sent",
114
+ "type": "uint256"
115
+ },
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "expected",
119
+ "type": "uint256"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "serviceId",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "IncorrectRegistrationDepositValue",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "sender",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "address",
139
+ "name": "manager",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ManagerOnly",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "provided",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "address",
155
+ "name": "expected",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "serviceId",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "OnlyOwnServiceMultisig",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "operator",
172
+ "type": "address"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "serviceId",
177
+ "type": "uint256"
178
+ }
179
+ ],
180
+ "name": "OperatorHasNoInstances",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "provided",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "max",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "name": "Overflow",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "sender",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "internalType": "address",
208
+ "name": "owner",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "OwnerOnly",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "Paused",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ReentrancyGuard",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "serviceId",
230
+ "type": "uint256"
231
+ }
232
+ ],
233
+ "name": "ServiceMustBeInactive",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "token",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "from",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "address",
250
+ "name": "to",
251
+ "type": "address"
252
+ },
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "value",
256
+ "type": "uint256"
257
+ }
258
+ ],
259
+ "name": "TransferFailed",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "multisig",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "name": "UnauthorizedMultisig",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "agentId",
278
+ "type": "uint256"
279
+ }
280
+ ],
281
+ "name": "WrongAgentId",
282
+ "type": "error"
283
+ },
284
+ {
285
+ "inputs": [
286
+ {
287
+ "internalType": "uint256",
288
+ "name": "numValues1",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "numValues2",
294
+ "type": "uint256"
295
+ }
296
+ ],
297
+ "name": "WrongArrayLength",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "serviceId",
305
+ "type": "uint256"
306
+ }
307
+ ],
308
+ "name": "WrongOperator",
309
+ "type": "error"
310
+ },
311
+ {
312
+ "inputs": [
313
+ {
314
+ "internalType": "uint256",
315
+ "name": "state",
316
+ "type": "uint256"
317
+ },
318
+ {
319
+ "internalType": "uint256",
320
+ "name": "serviceId",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "name": "WrongServiceState",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "currentThreshold",
332
+ "type": "uint256"
333
+ },
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "minThreshold",
337
+ "type": "uint256"
338
+ },
339
+ {
340
+ "internalType": "uint256",
341
+ "name": "maxThreshold",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "name": "WrongThreshold",
346
+ "type": "error"
347
+ },
348
+ {
349
+ "inputs": [],
350
+ "name": "ZeroAddress",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [],
355
+ "name": "ZeroValue",
356
+ "type": "error"
357
+ },
358
+ {
359
+ "anonymous": false,
360
+ "inputs": [
361
+ {
362
+ "indexed": true,
363
+ "internalType": "uint256",
364
+ "name": "serviceId",
365
+ "type": "uint256"
366
+ }
367
+ ],
368
+ "name": "ActivateRegistration",
369
+ "type": "event"
370
+ },
371
+ {
372
+ "anonymous": false,
373
+ "inputs": [
374
+ {
375
+ "indexed": true,
376
+ "internalType": "address",
377
+ "name": "owner",
378
+ "type": "address"
379
+ },
380
+ {
381
+ "indexed": true,
382
+ "internalType": "address",
383
+ "name": "spender",
384
+ "type": "address"
385
+ },
386
+ {
387
+ "indexed": true,
388
+ "internalType": "uint256",
389
+ "name": "id",
390
+ "type": "uint256"
391
+ }
392
+ ],
393
+ "name": "Approval",
394
+ "type": "event"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": true,
401
+ "internalType": "address",
402
+ "name": "owner",
403
+ "type": "address"
404
+ },
405
+ {
406
+ "indexed": true,
407
+ "internalType": "address",
408
+ "name": "operator",
409
+ "type": "address"
410
+ },
411
+ {
412
+ "indexed": false,
413
+ "internalType": "bool",
414
+ "name": "approved",
415
+ "type": "bool"
416
+ }
417
+ ],
418
+ "name": "ApprovalForAll",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "string",
427
+ "name": "baseURI",
428
+ "type": "string"
429
+ }
430
+ ],
431
+ "name": "BaseURIChanged",
432
+ "type": "event"
433
+ },
434
+ {
435
+ "anonymous": false,
436
+ "inputs": [
437
+ {
438
+ "indexed": true,
439
+ "internalType": "uint256",
440
+ "name": "serviceId",
441
+ "type": "uint256"
442
+ },
443
+ {
444
+ "indexed": true,
445
+ "internalType": "address",
446
+ "name": "multisig",
447
+ "type": "address"
448
+ }
449
+ ],
450
+ "name": "CreateMultisigWithAgents",
451
+ "type": "event"
452
+ },
453
+ {
454
+ "anonymous": false,
455
+ "inputs": [
456
+ {
457
+ "indexed": true,
458
+ "internalType": "uint256",
459
+ "name": "serviceId",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "indexed": false,
464
+ "internalType": "bytes32",
465
+ "name": "configHash",
466
+ "type": "bytes32"
467
+ }
468
+ ],
469
+ "name": "CreateService",
470
+ "type": "event"
471
+ },
472
+ {
473
+ "anonymous": false,
474
+ "inputs": [
475
+ {
476
+ "indexed": true,
477
+ "internalType": "uint256",
478
+ "name": "serviceId",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "name": "DeployService",
483
+ "type": "event"
484
+ },
485
+ {
486
+ "anonymous": false,
487
+ "inputs": [
488
+ {
489
+ "indexed": true,
490
+ "internalType": "address",
491
+ "name": "sender",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "uint256",
497
+ "name": "amount",
498
+ "type": "uint256"
499
+ }
500
+ ],
501
+ "name": "Deposit",
502
+ "type": "event"
503
+ },
504
+ {
505
+ "anonymous": false,
506
+ "inputs": [
507
+ {
508
+ "indexed": true,
509
+ "internalType": "address",
510
+ "name": "drainer",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "indexed": false,
515
+ "internalType": "uint256",
516
+ "name": "amount",
517
+ "type": "uint256"
518
+ }
519
+ ],
520
+ "name": "Drain",
521
+ "type": "event"
522
+ },
523
+ {
524
+ "anonymous": false,
525
+ "inputs": [
526
+ {
527
+ "indexed": true,
528
+ "internalType": "address",
529
+ "name": "drainer",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "name": "DrainerUpdated",
534
+ "type": "event"
535
+ },
536
+ {
537
+ "anonymous": false,
538
+ "inputs": [
539
+ {
540
+ "indexed": true,
541
+ "internalType": "address",
542
+ "name": "manager",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "name": "ManagerUpdated",
547
+ "type": "event"
548
+ },
549
+ {
550
+ "anonymous": false,
551
+ "inputs": [
552
+ {
553
+ "indexed": false,
554
+ "internalType": "uint256",
555
+ "name": "amount",
556
+ "type": "uint256"
557
+ },
558
+ {
559
+ "indexed": true,
560
+ "internalType": "address",
561
+ "name": "operator",
562
+ "type": "address"
563
+ },
564
+ {
565
+ "indexed": true,
566
+ "internalType": "uint256",
567
+ "name": "serviceId",
568
+ "type": "uint256"
569
+ }
570
+ ],
571
+ "name": "OperatorSlashed",
572
+ "type": "event"
573
+ },
574
+ {
575
+ "anonymous": false,
576
+ "inputs": [
577
+ {
578
+ "indexed": true,
579
+ "internalType": "address",
580
+ "name": "operator",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "indexed": true,
585
+ "internalType": "uint256",
586
+ "name": "serviceId",
587
+ "type": "uint256"
588
+ }
589
+ ],
590
+ "name": "OperatorUnbond",
591
+ "type": "event"
592
+ },
593
+ {
594
+ "anonymous": false,
595
+ "inputs": [
596
+ {
597
+ "indexed": true,
598
+ "internalType": "address",
599
+ "name": "owner",
600
+ "type": "address"
601
+ }
602
+ ],
603
+ "name": "OwnerUpdated",
604
+ "type": "event"
605
+ },
606
+ {
607
+ "anonymous": false,
608
+ "inputs": [
609
+ {
610
+ "indexed": true,
611
+ "internalType": "address",
612
+ "name": "receiver",
613
+ "type": "address"
614
+ },
615
+ {
616
+ "indexed": false,
617
+ "internalType": "uint256",
618
+ "name": "amount",
619
+ "type": "uint256"
620
+ }
621
+ ],
622
+ "name": "Refund",
623
+ "type": "event"
624
+ },
625
+ {
626
+ "anonymous": false,
627
+ "inputs": [
628
+ {
629
+ "indexed": true,
630
+ "internalType": "address",
631
+ "name": "operator",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "indexed": true,
636
+ "internalType": "uint256",
637
+ "name": "serviceId",
638
+ "type": "uint256"
639
+ },
640
+ {
641
+ "indexed": true,
642
+ "internalType": "address",
643
+ "name": "agentInstance",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "indexed": false,
648
+ "internalType": "uint256",
649
+ "name": "agentId",
650
+ "type": "uint256"
651
+ }
652
+ ],
653
+ "name": "RegisterInstance",
654
+ "type": "event"
655
+ },
656
+ {
657
+ "anonymous": false,
658
+ "inputs": [
659
+ {
660
+ "indexed": true,
661
+ "internalType": "uint256",
662
+ "name": "serviceId",
663
+ "type": "uint256"
664
+ }
665
+ ],
666
+ "name": "TerminateService",
667
+ "type": "event"
668
+ },
669
+ {
670
+ "anonymous": false,
671
+ "inputs": [
672
+ {
673
+ "indexed": true,
674
+ "internalType": "address",
675
+ "name": "from",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "indexed": true,
680
+ "internalType": "address",
681
+ "name": "to",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "indexed": true,
686
+ "internalType": "uint256",
687
+ "name": "id",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "name": "Transfer",
692
+ "type": "event"
693
+ },
694
+ {
695
+ "anonymous": false,
696
+ "inputs": [
697
+ {
698
+ "indexed": true,
699
+ "internalType": "uint256",
700
+ "name": "serviceId",
701
+ "type": "uint256"
702
+ },
703
+ {
704
+ "indexed": false,
705
+ "internalType": "bytes32",
706
+ "name": "configHash",
707
+ "type": "bytes32"
708
+ }
709
+ ],
710
+ "name": "UpdateService",
711
+ "type": "event"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "CID_PREFIX",
716
+ "outputs": [
717
+ {
718
+ "internalType": "string",
719
+ "name": "",
720
+ "type": "string"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "VERSION",
729
+ "outputs": [
730
+ {
731
+ "internalType": "string",
732
+ "name": "",
733
+ "type": "string"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "serviceId",
744
+ "type": "uint256"
745
+ }
746
+ ],
747
+ "name": "token",
748
+ "outputs": [
749
+ {
750
+ "internalType": "address",
751
+ "name": "token",
752
+ "type": "address"
753
+ }
754
+ ],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [
760
+ {
761
+ "internalType": "address",
762
+ "name": "serviceOwner",
763
+ "type": "address"
764
+ },
765
+ {
766
+ "internalType": "uint256",
767
+ "name": "serviceId",
768
+ "type": "uint256"
769
+ }
770
+ ],
771
+ "name": "activateRegistration",
772
+ "outputs": [
773
+ {
774
+ "internalType": "bool",
775
+ "name": "success",
776
+ "type": "bool"
777
+ }
778
+ ],
779
+ "stateMutability": "payable",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "address",
786
+ "name": "spender",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "id",
792
+ "type": "uint256"
793
+ }
794
+ ],
795
+ "name": "approve",
796
+ "outputs": [],
797
+ "stateMutability": "nonpayable",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [
802
+ {
803
+ "internalType": "address",
804
+ "name": "owner",
805
+ "type": "address"
806
+ }
807
+ ],
808
+ "name": "balanceOf",
809
+ "outputs": [
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "",
813
+ "type": "uint256"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [],
821
+ "name": "baseURI",
822
+ "outputs": [
823
+ {
824
+ "internalType": "string",
825
+ "name": "",
826
+ "type": "string"
827
+ }
828
+ ],
829
+ "stateMutability": "view",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "newDrainer",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "changeDrainer",
841
+ "outputs": [],
842
+ "stateMutability": "nonpayable",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [
847
+ {
848
+ "internalType": "address",
849
+ "name": "newManager",
850
+ "type": "address"
851
+ }
852
+ ],
853
+ "name": "changeManager",
854
+ "outputs": [],
855
+ "stateMutability": "nonpayable",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [
860
+ {
861
+ "internalType": "address",
862
+ "name": "multisig",
863
+ "type": "address"
864
+ },
865
+ {
866
+ "internalType": "bool",
867
+ "name": "permission",
868
+ "type": "bool"
869
+ }
870
+ ],
871
+ "name": "changeMultisigPermission",
872
+ "outputs": [
873
+ {
874
+ "internalType": "bool",
875
+ "name": "success",
876
+ "type": "bool"
877
+ }
878
+ ],
879
+ "stateMutability": "nonpayable",
880
+ "type": "function"
881
+ },
882
+ {
883
+ "inputs": [
884
+ {
885
+ "internalType": "address",
886
+ "name": "newOwner",
887
+ "type": "address"
888
+ }
889
+ ],
890
+ "name": "changeOwner",
891
+ "outputs": [],
892
+ "stateMutability": "nonpayable",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "internalType": "address",
899
+ "name": "serviceOwner",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "internalType": "bytes32",
904
+ "name": "configHash",
905
+ "type": "bytes32"
906
+ },
907
+ {
908
+ "internalType": "uint32[]",
909
+ "name": "agentIds",
910
+ "type": "uint32[]"
911
+ },
912
+ {
913
+ "components": [
914
+ {
915
+ "internalType": "uint32",
916
+ "name": "slots",
917
+ "type": "uint32"
918
+ },
919
+ {
920
+ "internalType": "uint96",
921
+ "name": "bond",
922
+ "type": "uint96"
923
+ }
924
+ ],
925
+ "internalType": "struct AgentParams[]",
926
+ "name": "agentParams",
927
+ "type": "tuple[]"
928
+ },
929
+ {
930
+ "internalType": "uint32",
931
+ "name": "threshold",
932
+ "type": "uint32"
933
+ }
934
+ ],
935
+ "name": "create",
936
+ "outputs": [
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "serviceId",
940
+ "type": "uint256"
941
+ }
942
+ ],
943
+ "stateMutability": "nonpayable",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [
948
+ {
949
+ "internalType": "address",
950
+ "name": "serviceOwner",
951
+ "type": "address"
952
+ },
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "serviceId",
956
+ "type": "uint256"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "multisigImplementation",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "data",
966
+ "type": "bytes"
967
+ }
968
+ ],
969
+ "name": "deploy",
970
+ "outputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "multisig",
974
+ "type": "address"
975
+ }
976
+ ],
977
+ "stateMutability": "nonpayable",
978
+ "type": "function"
979
+ },
980
+ {
981
+ "inputs": [],
982
+ "name": "drain",
983
+ "outputs": [
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "amount",
987
+ "type": "uint256"
988
+ }
989
+ ],
990
+ "stateMutability": "nonpayable",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "inputs": [],
995
+ "name": "drainer",
996
+ "outputs": [
997
+ {
998
+ "internalType": "address",
999
+ "name": "",
1000
+ "type": "address"
1001
+ }
1002
+ ],
1003
+ "stateMutability": "view",
1004
+ "type": "function"
1005
+ },
1006
+ {
1007
+ "inputs": [
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "unitId",
1011
+ "type": "uint256"
1012
+ }
1013
+ ],
1014
+ "name": "exists",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "bool",
1018
+ "name": "",
1019
+ "type": "bool"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "serviceId",
1030
+ "type": "uint256"
1031
+ }
1032
+ ],
1033
+ "name": "getAgentInstances",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "uint256",
1037
+ "name": "numAgentInstances",
1038
+ "type": "uint256"
1039
+ },
1040
+ {
1041
+ "internalType": "address[]",
1042
+ "name": "agentInstances",
1043
+ "type": "address[]"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "serviceId",
1054
+ "type": "uint256"
1055
+ }
1056
+ ],
1057
+ "name": "getAgentParams",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "uint256",
1061
+ "name": "numAgentIds",
1062
+ "type": "uint256"
1063
+ },
1064
+ {
1065
+ "components": [
1066
+ {
1067
+ "internalType": "uint32",
1068
+ "name": "slots",
1069
+ "type": "uint32"
1070
+ },
1071
+ {
1072
+ "internalType": "uint96",
1073
+ "name": "bond",
1074
+ "type": "uint96"
1075
+ }
1076
+ ],
1077
+ "internalType": "struct AgentParams[]",
1078
+ "name": "agentParams",
1079
+ "type": "tuple[]"
1080
+ }
1081
+ ],
1082
+ "stateMutability": "view",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "uint256",
1089
+ "name": "",
1090
+ "type": "uint256"
1091
+ }
1092
+ ],
1093
+ "name": "getApproved",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "address",
1097
+ "name": "",
1098
+ "type": "address"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [
1106
+ {
1107
+ "internalType": "uint256",
1108
+ "name": "serviceId",
1109
+ "type": "uint256"
1110
+ },
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "agentId",
1114
+ "type": "uint256"
1115
+ }
1116
+ ],
1117
+ "name": "getInstancesForAgentId",
1118
+ "outputs": [
1119
+ {
1120
+ "internalType": "uint256",
1121
+ "name": "numAgentInstances",
1122
+ "type": "uint256"
1123
+ },
1124
+ {
1125
+ "internalType": "address[]",
1126
+ "name": "agentInstances",
1127
+ "type": "address[]"
1128
+ }
1129
+ ],
1130
+ "stateMutability": "view",
1131
+ "type": "function"
1132
+ },
1133
+ {
1134
+ "inputs": [
1135
+ {
1136
+ "internalType": "address",
1137
+ "name": "operator",
1138
+ "type": "address"
1139
+ },
1140
+ {
1141
+ "internalType": "uint256",
1142
+ "name": "serviceId",
1143
+ "type": "uint256"
1144
+ }
1145
+ ],
1146
+ "name": "getOperatorBalance",
1147
+ "outputs": [
1148
+ {
1149
+ "internalType": "uint256",
1150
+ "name": "balance",
1151
+ "type": "uint256"
1152
+ }
1153
+ ],
1154
+ "stateMutability": "view",
1155
+ "type": "function"
1156
+ },
1157
+ {
1158
+ "inputs": [
1159
+ {
1160
+ "internalType": "uint256",
1161
+ "name": "serviceId",
1162
+ "type": "uint256"
1163
+ }
1164
+ ],
1165
+ "name": "getPreviousHashes",
1166
+ "outputs": [
1167
+ {
1168
+ "internalType": "uint256",
1169
+ "name": "numHashes",
1170
+ "type": "uint256"
1171
+ },
1172
+ {
1173
+ "internalType": "bytes32[]",
1174
+ "name": "configHashes",
1175
+ "type": "bytes32[]"
1176
+ }
1177
+ ],
1178
+ "stateMutability": "view",
1179
+ "type": "function"
1180
+ },
1181
+ {
1182
+ "inputs": [
1183
+ {
1184
+ "internalType": "uint256",
1185
+ "name": "serviceId",
1186
+ "type": "uint256"
1187
+ }
1188
+ ],
1189
+ "name": "getService",
1190
+ "outputs": [
1191
+ {
1192
+ "components": [
1193
+ {
1194
+ "internalType": "uint96",
1195
+ "name": "securityDeposit",
1196
+ "type": "uint96"
1197
+ },
1198
+ {
1199
+ "internalType": "address",
1200
+ "name": "multisig",
1201
+ "type": "address"
1202
+ },
1203
+ {
1204
+ "internalType": "bytes32",
1205
+ "name": "configHash",
1206
+ "type": "bytes32"
1207
+ },
1208
+ {
1209
+ "internalType": "uint32",
1210
+ "name": "threshold",
1211
+ "type": "uint32"
1212
+ },
1213
+ {
1214
+ "internalType": "uint32",
1215
+ "name": "maxNumAgentInstances",
1216
+ "type": "uint32"
1217
+ },
1218
+ {
1219
+ "internalType": "uint32",
1220
+ "name": "numAgentInstances",
1221
+ "type": "uint32"
1222
+ },
1223
+ {
1224
+ "internalType": "enum ServiceRegistryL2.ServiceState",
1225
+ "name": "state",
1226
+ "type": "uint8"
1227
+ },
1228
+ {
1229
+ "internalType": "uint32[]",
1230
+ "name": "agentIds",
1231
+ "type": "uint32[]"
1232
+ }
1233
+ ],
1234
+ "internalType": "struct ServiceRegistryL2.Service",
1235
+ "name": "service",
1236
+ "type": "tuple"
1237
+ }
1238
+ ],
1239
+ "stateMutability": "view",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "address",
1246
+ "name": "",
1247
+ "type": "address"
1248
+ },
1249
+ {
1250
+ "internalType": "address",
1251
+ "name": "",
1252
+ "type": "address"
1253
+ }
1254
+ ],
1255
+ "name": "isApprovedForAll",
1256
+ "outputs": [
1257
+ {
1258
+ "internalType": "bool",
1259
+ "name": "",
1260
+ "type": "bool"
1261
+ }
1262
+ ],
1263
+ "stateMutability": "view",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [],
1268
+ "name": "manager",
1269
+ "outputs": [
1270
+ {
1271
+ "internalType": "address",
1272
+ "name": "",
1273
+ "type": "address"
1274
+ }
1275
+ ],
1276
+ "stateMutability": "view",
1277
+ "type": "function"
1278
+ },
1279
+ {
1280
+ "inputs": [
1281
+ {
1282
+ "internalType": "address",
1283
+ "name": "",
1284
+ "type": "address"
1285
+ }
1286
+ ],
1287
+ "name": "mapAgentInstanceOperators",
1288
+ "outputs": [
1289
+ {
1290
+ "internalType": "address",
1291
+ "name": "",
1292
+ "type": "address"
1293
+ }
1294
+ ],
1295
+ "stateMutability": "view",
1296
+ "type": "function"
1297
+ },
1298
+ {
1299
+ "inputs": [
1300
+ {
1301
+ "internalType": "uint256",
1302
+ "name": "",
1303
+ "type": "uint256"
1304
+ },
1305
+ {
1306
+ "internalType": "uint256",
1307
+ "name": "",
1308
+ "type": "uint256"
1309
+ }
1310
+ ],
1311
+ "name": "mapConfigHashes",
1312
+ "outputs": [
1313
+ {
1314
+ "internalType": "bytes32",
1315
+ "name": "",
1316
+ "type": "bytes32"
1317
+ }
1318
+ ],
1319
+ "stateMutability": "view",
1320
+ "type": "function"
1321
+ },
1322
+ {
1323
+ "inputs": [
1324
+ {
1325
+ "internalType": "address",
1326
+ "name": "",
1327
+ "type": "address"
1328
+ }
1329
+ ],
1330
+ "name": "mapMultisigs",
1331
+ "outputs": [
1332
+ {
1333
+ "internalType": "bool",
1334
+ "name": "",
1335
+ "type": "bool"
1336
+ }
1337
+ ],
1338
+ "stateMutability": "view",
1339
+ "type": "function"
1340
+ },
1341
+ {
1342
+ "inputs": [
1343
+ {
1344
+ "internalType": "uint256",
1345
+ "name": "",
1346
+ "type": "uint256"
1347
+ },
1348
+ {
1349
+ "internalType": "uint256",
1350
+ "name": "",
1351
+ "type": "uint256"
1352
+ }
1353
+ ],
1354
+ "name": "mapOperatorAndServiceIdAgentInstances",
1355
+ "outputs": [
1356
+ {
1357
+ "internalType": "address",
1358
+ "name": "instance",
1359
+ "type": "address"
1360
+ },
1361
+ {
1362
+ "internalType": "uint32",
1363
+ "name": "agentId",
1364
+ "type": "uint32"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "view",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [
1372
+ {
1373
+ "internalType": "uint256",
1374
+ "name": "",
1375
+ "type": "uint256"
1376
+ }
1377
+ ],
1378
+ "name": "mapOperatorAndServiceIdOperatorBalances",
1379
+ "outputs": [
1380
+ {
1381
+ "internalType": "uint96",
1382
+ "name": "",
1383
+ "type": "uint96"
1384
+ }
1385
+ ],
1386
+ "stateMutability": "view",
1387
+ "type": "function"
1388
+ },
1389
+ {
1390
+ "inputs": [
1391
+ {
1392
+ "internalType": "uint256",
1393
+ "name": "",
1394
+ "type": "uint256"
1395
+ },
1396
+ {
1397
+ "internalType": "uint256",
1398
+ "name": "",
1399
+ "type": "uint256"
1400
+ }
1401
+ ],
1402
+ "name": "mapServiceAndAgentIdAgentInstances",
1403
+ "outputs": [
1404
+ {
1405
+ "internalType": "address",
1406
+ "name": "",
1407
+ "type": "address"
1408
+ }
1409
+ ],
1410
+ "stateMutability": "view",
1411
+ "type": "function"
1412
+ },
1413
+ {
1414
+ "inputs": [
1415
+ {
1416
+ "internalType": "uint256",
1417
+ "name": "",
1418
+ "type": "uint256"
1419
+ }
1420
+ ],
1421
+ "name": "mapServiceAndAgentIdAgentParams",
1422
+ "outputs": [
1423
+ {
1424
+ "internalType": "uint32",
1425
+ "name": "slots",
1426
+ "type": "uint32"
1427
+ },
1428
+ {
1429
+ "internalType": "uint96",
1430
+ "name": "bond",
1431
+ "type": "uint96"
1432
+ }
1433
+ ],
1434
+ "stateMutability": "view",
1435
+ "type": "function"
1436
+ },
1437
+ {
1438
+ "inputs": [
1439
+ {
1440
+ "internalType": "uint256",
1441
+ "name": "",
1442
+ "type": "uint256"
1443
+ }
1444
+ ],
1445
+ "name": "mapServices",
1446
+ "outputs": [
1447
+ {
1448
+ "internalType": "uint96",
1449
+ "name": "securityDeposit",
1450
+ "type": "uint96"
1451
+ },
1452
+ {
1453
+ "internalType": "address",
1454
+ "name": "multisig",
1455
+ "type": "address"
1456
+ },
1457
+ {
1458
+ "internalType": "bytes32",
1459
+ "name": "configHash",
1460
+ "type": "bytes32"
1461
+ },
1462
+ {
1463
+ "internalType": "uint32",
1464
+ "name": "threshold",
1465
+ "type": "uint32"
1466
+ },
1467
+ {
1468
+ "internalType": "uint32",
1469
+ "name": "maxNumAgentInstances",
1470
+ "type": "uint32"
1471
+ },
1472
+ {
1473
+ "internalType": "uint32",
1474
+ "name": "numAgentInstances",
1475
+ "type": "uint32"
1476
+ },
1477
+ {
1478
+ "internalType": "enum ServiceRegistryL2.ServiceState",
1479
+ "name": "state",
1480
+ "type": "uint8"
1481
+ }
1482
+ ],
1483
+ "stateMutability": "view",
1484
+ "type": "function"
1485
+ },
1486
+ {
1487
+ "inputs": [],
1488
+ "name": "name",
1489
+ "outputs": [
1490
+ {
1491
+ "internalType": "string",
1492
+ "name": "",
1493
+ "type": "string"
1494
+ }
1495
+ ],
1496
+ "stateMutability": "view",
1497
+ "type": "function"
1498
+ },
1499
+ {
1500
+ "inputs": [],
1501
+ "name": "owner",
1502
+ "outputs": [
1503
+ {
1504
+ "internalType": "address",
1505
+ "name": "",
1506
+ "type": "address"
1507
+ }
1508
+ ],
1509
+ "stateMutability": "view",
1510
+ "type": "function"
1511
+ },
1512
+ {
1513
+ "inputs": [
1514
+ {
1515
+ "internalType": "uint256",
1516
+ "name": "id",
1517
+ "type": "uint256"
1518
+ }
1519
+ ],
1520
+ "name": "ownerOf",
1521
+ "outputs": [
1522
+ {
1523
+ "internalType": "address",
1524
+ "name": "owner",
1525
+ "type": "address"
1526
+ }
1527
+ ],
1528
+ "stateMutability": "view",
1529
+ "type": "function"
1530
+ },
1531
+ {
1532
+ "inputs": [
1533
+ {
1534
+ "internalType": "address",
1535
+ "name": "operator",
1536
+ "type": "address"
1537
+ },
1538
+ {
1539
+ "internalType": "uint256",
1540
+ "name": "serviceId",
1541
+ "type": "uint256"
1542
+ },
1543
+ {
1544
+ "internalType": "address[]",
1545
+ "name": "agentInstances",
1546
+ "type": "address[]"
1547
+ },
1548
+ {
1549
+ "internalType": "uint32[]",
1550
+ "name": "agentIds",
1551
+ "type": "uint32[]"
1552
+ }
1553
+ ],
1554
+ "name": "registerAgents",
1555
+ "outputs": [
1556
+ {
1557
+ "internalType": "bool",
1558
+ "name": "success",
1559
+ "type": "bool"
1560
+ }
1561
+ ],
1562
+ "stateMutability": "payable",
1563
+ "type": "function"
1564
+ },
1565
+ {
1566
+ "inputs": [
1567
+ {
1568
+ "internalType": "address",
1569
+ "name": "from",
1570
+ "type": "address"
1571
+ },
1572
+ {
1573
+ "internalType": "address",
1574
+ "name": "to",
1575
+ "type": "address"
1576
+ },
1577
+ {
1578
+ "internalType": "uint256",
1579
+ "name": "id",
1580
+ "type": "uint256"
1581
+ }
1582
+ ],
1583
+ "name": "safeTransferFrom",
1584
+ "outputs": [],
1585
+ "stateMutability": "nonpayable",
1586
+ "type": "function"
1587
+ },
1588
+ {
1589
+ "inputs": [
1590
+ {
1591
+ "internalType": "address",
1592
+ "name": "from",
1593
+ "type": "address"
1594
+ },
1595
+ {
1596
+ "internalType": "address",
1597
+ "name": "to",
1598
+ "type": "address"
1599
+ },
1600
+ {
1601
+ "internalType": "uint256",
1602
+ "name": "id",
1603
+ "type": "uint256"
1604
+ },
1605
+ {
1606
+ "internalType": "bytes",
1607
+ "name": "data",
1608
+ "type": "bytes"
1609
+ }
1610
+ ],
1611
+ "name": "safeTransferFrom",
1612
+ "outputs": [],
1613
+ "stateMutability": "nonpayable",
1614
+ "type": "function"
1615
+ },
1616
+ {
1617
+ "inputs": [
1618
+ {
1619
+ "internalType": "address",
1620
+ "name": "operator",
1621
+ "type": "address"
1622
+ },
1623
+ {
1624
+ "internalType": "bool",
1625
+ "name": "approved",
1626
+ "type": "bool"
1627
+ }
1628
+ ],
1629
+ "name": "setApprovalForAll",
1630
+ "outputs": [],
1631
+ "stateMutability": "nonpayable",
1632
+ "type": "function"
1633
+ },
1634
+ {
1635
+ "inputs": [
1636
+ {
1637
+ "internalType": "string",
1638
+ "name": "bURI",
1639
+ "type": "string"
1640
+ }
1641
+ ],
1642
+ "name": "setBaseURI",
1643
+ "outputs": [],
1644
+ "stateMutability": "nonpayable",
1645
+ "type": "function"
1646
+ },
1647
+ {
1648
+ "inputs": [
1649
+ {
1650
+ "internalType": "address[]",
1651
+ "name": "agentInstances",
1652
+ "type": "address[]"
1653
+ },
1654
+ {
1655
+ "internalType": "uint96[]",
1656
+ "name": "amounts",
1657
+ "type": "uint96[]"
1658
+ },
1659
+ {
1660
+ "internalType": "uint256",
1661
+ "name": "serviceId",
1662
+ "type": "uint256"
1663
+ }
1664
+ ],
1665
+ "name": "slash",
1666
+ "outputs": [
1667
+ {
1668
+ "internalType": "bool",
1669
+ "name": "success",
1670
+ "type": "bool"
1671
+ }
1672
+ ],
1673
+ "stateMutability": "nonpayable",
1674
+ "type": "function"
1675
+ },
1676
+ {
1677
+ "inputs": [],
1678
+ "name": "slashedFunds",
1679
+ "outputs": [
1680
+ {
1681
+ "internalType": "uint96",
1682
+ "name": "",
1683
+ "type": "uint96"
1684
+ }
1685
+ ],
1686
+ "stateMutability": "view",
1687
+ "type": "function"
1688
+ },
1689
+ {
1690
+ "inputs": [
1691
+ {
1692
+ "internalType": "bytes4",
1693
+ "name": "interfaceId",
1694
+ "type": "bytes4"
1695
+ }
1696
+ ],
1697
+ "name": "supportsInterface",
1698
+ "outputs": [
1699
+ {
1700
+ "internalType": "bool",
1701
+ "name": "",
1702
+ "type": "bool"
1703
+ }
1704
+ ],
1705
+ "stateMutability": "view",
1706
+ "type": "function"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "symbol",
1711
+ "outputs": [
1712
+ {
1713
+ "internalType": "string",
1714
+ "name": "",
1715
+ "type": "string"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1719
+ "type": "function"
1720
+ },
1721
+ {
1722
+ "inputs": [
1723
+ {
1724
+ "internalType": "address",
1725
+ "name": "serviceOwner",
1726
+ "type": "address"
1727
+ },
1728
+ {
1729
+ "internalType": "uint256",
1730
+ "name": "serviceId",
1731
+ "type": "uint256"
1732
+ }
1733
+ ],
1734
+ "name": "terminate",
1735
+ "outputs": [
1736
+ {
1737
+ "internalType": "bool",
1738
+ "name": "success",
1739
+ "type": "bool"
1740
+ },
1741
+ {
1742
+ "internalType": "uint256",
1743
+ "name": "refund",
1744
+ "type": "uint256"
1745
+ }
1746
+ ],
1747
+ "stateMutability": "nonpayable",
1748
+ "type": "function"
1749
+ },
1750
+ {
1751
+ "inputs": [
1752
+ {
1753
+ "internalType": "uint256",
1754
+ "name": "id",
1755
+ "type": "uint256"
1756
+ }
1757
+ ],
1758
+ "name": "tokenByIndex",
1759
+ "outputs": [
1760
+ {
1761
+ "internalType": "uint256",
1762
+ "name": "unitId",
1763
+ "type": "uint256"
1764
+ }
1765
+ ],
1766
+ "stateMutability": "view",
1767
+ "type": "function"
1768
+ },
1769
+ {
1770
+ "inputs": [
1771
+ {
1772
+ "internalType": "uint256",
1773
+ "name": "unitId",
1774
+ "type": "uint256"
1775
+ }
1776
+ ],
1777
+ "name": "tokenURI",
1778
+ "outputs": [
1779
+ {
1780
+ "internalType": "string",
1781
+ "name": "",
1782
+ "type": "string"
1783
+ }
1784
+ ],
1785
+ "stateMutability": "view",
1786
+ "type": "function"
1787
+ },
1788
+ {
1789
+ "inputs": [],
1790
+ "name": "totalSupply",
1791
+ "outputs": [
1792
+ {
1793
+ "internalType": "uint256",
1794
+ "name": "",
1795
+ "type": "uint256"
1796
+ }
1797
+ ],
1798
+ "stateMutability": "view",
1799
+ "type": "function"
1800
+ },
1801
+ {
1802
+ "inputs": [
1803
+ {
1804
+ "internalType": "address",
1805
+ "name": "from",
1806
+ "type": "address"
1807
+ },
1808
+ {
1809
+ "internalType": "address",
1810
+ "name": "to",
1811
+ "type": "address"
1812
+ },
1813
+ {
1814
+ "internalType": "uint256",
1815
+ "name": "id",
1816
+ "type": "uint256"
1817
+ }
1818
+ ],
1819
+ "name": "transferFrom",
1820
+ "outputs": [],
1821
+ "stateMutability": "nonpayable",
1822
+ "type": "function"
1823
+ },
1824
+ {
1825
+ "inputs": [
1826
+ {
1827
+ "internalType": "address",
1828
+ "name": "operator",
1829
+ "type": "address"
1830
+ },
1831
+ {
1832
+ "internalType": "uint256",
1833
+ "name": "serviceId",
1834
+ "type": "uint256"
1835
+ }
1836
+ ],
1837
+ "name": "unbond",
1838
+ "outputs": [
1839
+ {
1840
+ "internalType": "bool",
1841
+ "name": "success",
1842
+ "type": "bool"
1843
+ },
1844
+ {
1845
+ "internalType": "uint256",
1846
+ "name": "refund",
1847
+ "type": "uint256"
1848
+ }
1849
+ ],
1850
+ "stateMutability": "nonpayable",
1851
+ "type": "function"
1852
+ },
1853
+ {
1854
+ "inputs": [
1855
+ {
1856
+ "internalType": "address",
1857
+ "name": "serviceOwner",
1858
+ "type": "address"
1859
+ },
1860
+ {
1861
+ "internalType": "bytes32",
1862
+ "name": "configHash",
1863
+ "type": "bytes32"
1864
+ },
1865
+ {
1866
+ "internalType": "uint32[]",
1867
+ "name": "agentIds",
1868
+ "type": "uint32[]"
1869
+ },
1870
+ {
1871
+ "components": [
1872
+ {
1873
+ "internalType": "uint32",
1874
+ "name": "slots",
1875
+ "type": "uint32"
1876
+ },
1877
+ {
1878
+ "internalType": "uint96",
1879
+ "name": "bond",
1880
+ "type": "uint96"
1881
+ }
1882
+ ],
1883
+ "internalType": "struct AgentParams[]",
1884
+ "name": "agentParams",
1885
+ "type": "tuple[]"
1886
+ },
1887
+ {
1888
+ "internalType": "uint32",
1889
+ "name": "threshold",
1890
+ "type": "uint32"
1891
+ },
1892
+ {
1893
+ "internalType": "uint256",
1894
+ "name": "serviceId",
1895
+ "type": "uint256"
1896
+ }
1897
+ ],
1898
+ "name": "update",
1899
+ "outputs": [
1900
+ {
1901
+ "internalType": "bool",
1902
+ "name": "success",
1903
+ "type": "bool"
1904
+ }
1905
+ ],
1906
+ "stateMutability": "nonpayable",
1907
+ "type": "function"
1908
+ }
1909
+ ]