@noosphere/contracts 0.1.0-alpha.0

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