synapse-filecoin-sdk 0.1.0__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.
Files changed (64) hide show
  1. pynapse/__init__.py +6 -0
  2. pynapse/_version.py +1 -0
  3. pynapse/contracts/__init__.py +34 -0
  4. pynapse/contracts/abi_registry.py +11 -0
  5. pynapse/contracts/addresses.json +30 -0
  6. pynapse/contracts/erc20_abi.json +92 -0
  7. pynapse/contracts/errorsAbi.json +933 -0
  8. pynapse/contracts/filecoinPayV1Abi.json +2424 -0
  9. pynapse/contracts/filecoinWarmStorageServiceAbi.json +2363 -0
  10. pynapse/contracts/filecoinWarmStorageServiceStateViewAbi.json +651 -0
  11. pynapse/contracts/generated.py +35 -0
  12. pynapse/contracts/payments_abi.json +205 -0
  13. pynapse/contracts/pdpVerifierAbi.json +1266 -0
  14. pynapse/contracts/providerIdSetAbi.json +161 -0
  15. pynapse/contracts/serviceProviderRegistryAbi.json +1479 -0
  16. pynapse/contracts/sessionKeyRegistryAbi.json +147 -0
  17. pynapse/core/__init__.py +68 -0
  18. pynapse/core/abis.py +25 -0
  19. pynapse/core/chains.py +97 -0
  20. pynapse/core/constants.py +27 -0
  21. pynapse/core/errors.py +22 -0
  22. pynapse/core/piece.py +263 -0
  23. pynapse/core/rand.py +14 -0
  24. pynapse/core/typed_data.py +320 -0
  25. pynapse/core/utils.py +30 -0
  26. pynapse/evm/__init__.py +3 -0
  27. pynapse/evm/client.py +26 -0
  28. pynapse/filbeam/__init__.py +3 -0
  29. pynapse/filbeam/service.py +39 -0
  30. pynapse/payments/__init__.py +17 -0
  31. pynapse/payments/service.py +826 -0
  32. pynapse/pdp/__init__.py +21 -0
  33. pynapse/pdp/server.py +331 -0
  34. pynapse/pdp/types.py +38 -0
  35. pynapse/pdp/verifier.py +82 -0
  36. pynapse/retriever/__init__.py +12 -0
  37. pynapse/retriever/async_chain.py +227 -0
  38. pynapse/retriever/chain.py +209 -0
  39. pynapse/session/__init__.py +12 -0
  40. pynapse/session/key.py +30 -0
  41. pynapse/session/permissions.py +57 -0
  42. pynapse/session/registry.py +90 -0
  43. pynapse/sp_registry/__init__.py +11 -0
  44. pynapse/sp_registry/capabilities.py +25 -0
  45. pynapse/sp_registry/pdp_capabilities.py +102 -0
  46. pynapse/sp_registry/service.py +446 -0
  47. pynapse/sp_registry/types.py +52 -0
  48. pynapse/storage/__init__.py +57 -0
  49. pynapse/storage/async_context.py +682 -0
  50. pynapse/storage/async_manager.py +757 -0
  51. pynapse/storage/context.py +680 -0
  52. pynapse/storage/manager.py +758 -0
  53. pynapse/synapse.py +191 -0
  54. pynapse/utils/__init__.py +25 -0
  55. pynapse/utils/constants.py +25 -0
  56. pynapse/utils/errors.py +3 -0
  57. pynapse/utils/metadata.py +35 -0
  58. pynapse/utils/piece_url.py +16 -0
  59. pynapse/warm_storage/__init__.py +13 -0
  60. pynapse/warm_storage/service.py +513 -0
  61. synapse_filecoin_sdk-0.1.0.dist-info/METADATA +74 -0
  62. synapse_filecoin_sdk-0.1.0.dist-info/RECORD +64 -0
  63. synapse_filecoin_sdk-0.1.0.dist-info/WHEEL +4 -0
  64. synapse_filecoin_sdk-0.1.0.dist-info/licenses/LICENSE.md +228 -0
@@ -0,0 +1,933 @@
1
+ [
2
+ {
3
+ "type": "error",
4
+ "inputs": [
5
+ {
6
+ "name": "field",
7
+ "internalType": "enum Errors.AddressField",
8
+ "type": "uint8"
9
+ }
10
+ ],
11
+ "name": "AddressAlreadySet"
12
+ },
13
+ {
14
+ "type": "error",
15
+ "inputs": [],
16
+ "name": "AtLeastOnePriceMustBeNonZero"
17
+ },
18
+ {
19
+ "type": "error",
20
+ "inputs": [
21
+ {
22
+ "name": "dataSetId",
23
+ "internalType": "uint256",
24
+ "type": "uint256"
25
+ }
26
+ ],
27
+ "name": "CDNPaymentAlreadyTerminated"
28
+ },
29
+ {
30
+ "type": "error",
31
+ "inputs": [
32
+ {
33
+ "name": "dataSetId",
34
+ "internalType": "uint256",
35
+ "type": "uint256"
36
+ }
37
+ ],
38
+ "name": "CacheMissPaymentAlreadyTerminated"
39
+ },
40
+ {
41
+ "type": "error",
42
+ "inputs": [
43
+ {
44
+ "name": "dataSetId",
45
+ "internalType": "uint256",
46
+ "type": "uint256"
47
+ },
48
+ {
49
+ "name": "expectedPayer",
50
+ "internalType": "address",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "name": "caller",
55
+ "internalType": "address",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "name": "CallerNotPayer"
60
+ },
61
+ {
62
+ "type": "error",
63
+ "inputs": [
64
+ {
65
+ "name": "dataSetId",
66
+ "internalType": "uint256",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "name": "expectedPayer",
71
+ "internalType": "address",
72
+ "type": "address"
73
+ },
74
+ {
75
+ "name": "expectedPayee",
76
+ "internalType": "address",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "name": "caller",
81
+ "internalType": "address",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "CallerNotPayerOrPayee"
86
+ },
87
+ {
88
+ "type": "error",
89
+ "inputs": [
90
+ {
91
+ "name": "expected",
92
+ "internalType": "address",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "name": "actual",
97
+ "internalType": "address",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "CallerNotPayments"
102
+ },
103
+ {
104
+ "type": "error",
105
+ "inputs": [
106
+ {
107
+ "name": "dataSetId",
108
+ "internalType": "uint256",
109
+ "type": "uint256"
110
+ },
111
+ {
112
+ "name": "windowStart",
113
+ "internalType": "uint256",
114
+ "type": "uint256"
115
+ },
116
+ {
117
+ "name": "nowBlock",
118
+ "internalType": "uint256",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "name": "ChallengeWindowTooEarly"
123
+ },
124
+ {
125
+ "type": "error",
126
+ "inputs": [
127
+ {
128
+ "name": "clientDataSetId",
129
+ "internalType": "uint256",
130
+ "type": "uint256"
131
+ }
132
+ ],
133
+ "name": "ClientDataSetAlreadyRegistered"
134
+ },
135
+ {
136
+ "type": "error",
137
+ "inputs": [
138
+ {
139
+ "name": "commissionType",
140
+ "internalType": "enum Errors.CommissionType",
141
+ "type": "uint8"
142
+ },
143
+ {
144
+ "name": "max",
145
+ "internalType": "uint256",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "name": "actual",
150
+ "internalType": "uint256",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "name": "CommissionExceedsMaximum"
155
+ },
156
+ {
157
+ "type": "error",
158
+ "inputs": [
159
+ {
160
+ "name": "railId",
161
+ "internalType": "uint256",
162
+ "type": "uint256"
163
+ }
164
+ ],
165
+ "name": "DataSetNotFoundForRail"
166
+ },
167
+ {
168
+ "type": "error",
169
+ "inputs": [
170
+ {
171
+ "name": "dataSetId",
172
+ "internalType": "uint256",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "name": "DataSetNotRegistered"
177
+ },
178
+ {
179
+ "type": "error",
180
+ "inputs": [
181
+ {
182
+ "name": "dataSetId",
183
+ "internalType": "uint256",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "name": "DataSetPaymentAlreadyTerminated"
188
+ },
189
+ {
190
+ "type": "error",
191
+ "inputs": [
192
+ {
193
+ "name": "dataSetId",
194
+ "internalType": "uint256",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "name": "pdpEndEpoch",
199
+ "internalType": "uint256",
200
+ "type": "uint256"
201
+ },
202
+ {
203
+ "name": "currentBlock",
204
+ "internalType": "uint256",
205
+ "type": "uint256"
206
+ }
207
+ ],
208
+ "name": "DataSetPaymentBeyondEndEpoch"
209
+ },
210
+ {
211
+ "type": "error",
212
+ "inputs": [],
213
+ "name": "DivisionByZero"
214
+ },
215
+ {
216
+ "type": "error",
217
+ "inputs": [
218
+ {
219
+ "name": "dataSetId",
220
+ "internalType": "uint256",
221
+ "type": "uint256"
222
+ },
223
+ {
224
+ "name": "key",
225
+ "internalType": "string",
226
+ "type": "string"
227
+ }
228
+ ],
229
+ "name": "DuplicateMetadataKey"
230
+ },
231
+ {
232
+ "type": "error",
233
+ "inputs": [],
234
+ "name": "ExtraDataRequired"
235
+ },
236
+ {
237
+ "type": "error",
238
+ "inputs": [
239
+ {
240
+ "name": "actualSize",
241
+ "internalType": "uint256",
242
+ "type": "uint256"
243
+ },
244
+ {
245
+ "name": "maxAllowedSize",
246
+ "internalType": "uint256",
247
+ "type": "uint256"
248
+ }
249
+ ],
250
+ "name": "ExtraDataTooLarge"
251
+ },
252
+ {
253
+ "type": "error",
254
+ "inputs": [
255
+ {
256
+ "name": "dataSetId",
257
+ "internalType": "uint256",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "name": "FilBeamServiceNotConfigured"
262
+ },
263
+ {
264
+ "type": "error",
265
+ "inputs": [
266
+ {
267
+ "name": "productType",
268
+ "internalType": "enum ServiceProviderRegistryStorage.ProductType",
269
+ "type": "uint8"
270
+ }
271
+ ],
272
+ "name": "InsufficientCapabilitiesForProduct"
273
+ },
274
+ {
275
+ "type": "error",
276
+ "inputs": [
277
+ {
278
+ "name": "payer",
279
+ "internalType": "address",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "name": "operator",
284
+ "internalType": "address",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "name": "lockupAllowance",
289
+ "internalType": "uint256",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "name": "lockupUsage",
294
+ "internalType": "uint256",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "name": "minimumLockupRequired",
299
+ "internalType": "uint256",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "name": "InsufficientLockupAllowance"
304
+ },
305
+ {
306
+ "type": "error",
307
+ "inputs": [
308
+ {
309
+ "name": "payer",
310
+ "internalType": "address",
311
+ "type": "address"
312
+ },
313
+ {
314
+ "name": "minimumRequired",
315
+ "internalType": "uint256",
316
+ "type": "uint256"
317
+ },
318
+ {
319
+ "name": "available",
320
+ "internalType": "uint256",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "name": "InsufficientLockupFunds"
325
+ },
326
+ {
327
+ "type": "error",
328
+ "inputs": [
329
+ {
330
+ "name": "payer",
331
+ "internalType": "address",
332
+ "type": "address"
333
+ },
334
+ {
335
+ "name": "operator",
336
+ "internalType": "address",
337
+ "type": "address"
338
+ },
339
+ {
340
+ "name": "maxLockupPeriod",
341
+ "internalType": "uint256",
342
+ "type": "uint256"
343
+ },
344
+ {
345
+ "name": "requiredLockupPeriod",
346
+ "internalType": "uint256",
347
+ "type": "uint256"
348
+ }
349
+ ],
350
+ "name": "InsufficientMaxLockupPeriod"
351
+ },
352
+ {
353
+ "type": "error",
354
+ "inputs": [
355
+ {
356
+ "name": "payer",
357
+ "internalType": "address",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "name": "operator",
362
+ "internalType": "address",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "name": "rateAllowance",
367
+ "internalType": "uint256",
368
+ "type": "uint256"
369
+ },
370
+ {
371
+ "name": "rateUsage",
372
+ "internalType": "uint256",
373
+ "type": "uint256"
374
+ },
375
+ {
376
+ "name": "minimumRateRequired",
377
+ "internalType": "uint256",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "name": "InsufficientRateAllowance"
382
+ },
383
+ {
384
+ "type": "error",
385
+ "inputs": [
386
+ {
387
+ "name": "dataSetId",
388
+ "internalType": "uint256",
389
+ "type": "uint256"
390
+ },
391
+ {
392
+ "name": "minExpected",
393
+ "internalType": "uint256",
394
+ "type": "uint256"
395
+ },
396
+ {
397
+ "name": "actual",
398
+ "internalType": "uint256",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "name": "InvalidChallengeCount"
403
+ },
404
+ {
405
+ "type": "error",
406
+ "inputs": [
407
+ {
408
+ "name": "dataSetId",
409
+ "internalType": "uint256",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "name": "minAllowed",
414
+ "internalType": "uint256",
415
+ "type": "uint256"
416
+ },
417
+ {
418
+ "name": "maxAllowed",
419
+ "internalType": "uint256",
420
+ "type": "uint256"
421
+ },
422
+ {
423
+ "name": "actual",
424
+ "internalType": "uint256",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "name": "InvalidChallengeEpoch"
429
+ },
430
+ {
431
+ "type": "error",
432
+ "inputs": [
433
+ {
434
+ "name": "maxProvingPeriod",
435
+ "internalType": "uint256",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "name": "challengeWindowSize",
440
+ "internalType": "uint256",
441
+ "type": "uint256"
442
+ }
443
+ ],
444
+ "name": "InvalidChallengeWindowSize"
445
+ },
446
+ {
447
+ "type": "error",
448
+ "inputs": [
449
+ {
450
+ "name": "dataSetId",
451
+ "internalType": "uint256",
452
+ "type": "uint256"
453
+ }
454
+ ],
455
+ "name": "InvalidDataSetId"
456
+ },
457
+ {
458
+ "type": "error",
459
+ "inputs": [
460
+ {
461
+ "name": "fromEpoch",
462
+ "internalType": "uint256",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "name": "toEpoch",
467
+ "internalType": "uint256",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "name": "InvalidEpochRange"
472
+ },
473
+ {
474
+ "type": "error",
475
+ "inputs": [
476
+ {
477
+ "name": "length",
478
+ "internalType": "uint256",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "name": "InvalidServiceDescriptionLength"
483
+ },
484
+ {
485
+ "type": "error",
486
+ "inputs": [
487
+ {
488
+ "name": "length",
489
+ "internalType": "uint256",
490
+ "type": "uint256"
491
+ }
492
+ ],
493
+ "name": "InvalidServiceNameLength"
494
+ },
495
+ {
496
+ "type": "error",
497
+ "inputs": [
498
+ {
499
+ "name": "expected",
500
+ "internalType": "address",
501
+ "type": "address"
502
+ },
503
+ {
504
+ "name": "actual",
505
+ "internalType": "address",
506
+ "type": "address"
507
+ }
508
+ ],
509
+ "name": "InvalidSignature"
510
+ },
511
+ {
512
+ "type": "error",
513
+ "inputs": [
514
+ {
515
+ "name": "expectedLength",
516
+ "internalType": "uint256",
517
+ "type": "uint256"
518
+ },
519
+ {
520
+ "name": "actualLength",
521
+ "internalType": "uint256",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "name": "InvalidSignatureLength"
526
+ },
527
+ {
528
+ "type": "error",
529
+ "inputs": [
530
+ {
531
+ "name": "dataSetId",
532
+ "internalType": "uint256",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "name": "InvalidTopUpAmount"
537
+ },
538
+ {
539
+ "type": "error",
540
+ "inputs": [],
541
+ "name": "MaxProvingPeriodZero"
542
+ },
543
+ {
544
+ "type": "error",
545
+ "inputs": [
546
+ {
547
+ "name": "metadataArrayCount",
548
+ "internalType": "uint256",
549
+ "type": "uint256"
550
+ },
551
+ {
552
+ "name": "pieceCount",
553
+ "internalType": "uint256",
554
+ "type": "uint256"
555
+ }
556
+ ],
557
+ "name": "MetadataArrayCountMismatch"
558
+ },
559
+ {
560
+ "type": "error",
561
+ "inputs": [
562
+ {
563
+ "name": "keysLength",
564
+ "internalType": "uint256",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "name": "valuesLength",
569
+ "internalType": "uint256",
570
+ "type": "uint256"
571
+ }
572
+ ],
573
+ "name": "MetadataKeyAndValueLengthMismatch"
574
+ },
575
+ {
576
+ "type": "error",
577
+ "inputs": [
578
+ {
579
+ "name": "index",
580
+ "internalType": "uint256",
581
+ "type": "uint256"
582
+ },
583
+ {
584
+ "name": "maxAllowed",
585
+ "internalType": "uint256",
586
+ "type": "uint256"
587
+ },
588
+ {
589
+ "name": "length",
590
+ "internalType": "uint256",
591
+ "type": "uint256"
592
+ }
593
+ ],
594
+ "name": "MetadataKeyExceedsMaxLength"
595
+ },
596
+ {
597
+ "type": "error",
598
+ "inputs": [
599
+ {
600
+ "name": "index",
601
+ "internalType": "uint256",
602
+ "type": "uint256"
603
+ },
604
+ {
605
+ "name": "maxAllowed",
606
+ "internalType": "uint256",
607
+ "type": "uint256"
608
+ },
609
+ {
610
+ "name": "length",
611
+ "internalType": "uint256",
612
+ "type": "uint256"
613
+ }
614
+ ],
615
+ "name": "MetadataValueExceedsMaxLength"
616
+ },
617
+ {
618
+ "type": "error",
619
+ "inputs": [
620
+ {
621
+ "name": "dataSetId",
622
+ "internalType": "uint256",
623
+ "type": "uint256"
624
+ },
625
+ {
626
+ "name": "periodDeadline",
627
+ "internalType": "uint256",
628
+ "type": "uint256"
629
+ },
630
+ {
631
+ "name": "nowBlock",
632
+ "internalType": "uint256",
633
+ "type": "uint256"
634
+ }
635
+ ],
636
+ "name": "NextProvingPeriodAlreadyCalled"
637
+ },
638
+ {
639
+ "type": "error",
640
+ "inputs": [
641
+ {
642
+ "name": "dataSetId",
643
+ "internalType": "uint256",
644
+ "type": "uint256"
645
+ }
646
+ ],
647
+ "name": "NoPDPPaymentRail"
648
+ },
649
+ {
650
+ "type": "error",
651
+ "inputs": [
652
+ {
653
+ "name": "dataSetId",
654
+ "internalType": "uint256",
655
+ "type": "uint256"
656
+ },
657
+ {
658
+ "name": "expected",
659
+ "internalType": "address",
660
+ "type": "address"
661
+ },
662
+ {
663
+ "name": "actual",
664
+ "internalType": "address",
665
+ "type": "address"
666
+ }
667
+ ],
668
+ "name": "OldServiceProviderMismatch"
669
+ },
670
+ {
671
+ "type": "error",
672
+ "inputs": [
673
+ {
674
+ "name": "expected",
675
+ "internalType": "address",
676
+ "type": "address"
677
+ },
678
+ {
679
+ "name": "actual",
680
+ "internalType": "address",
681
+ "type": "address"
682
+ }
683
+ ],
684
+ "name": "OnlyFilBeamControllerAllowed"
685
+ },
686
+ {
687
+ "type": "error",
688
+ "inputs": [
689
+ {
690
+ "name": "expected",
691
+ "internalType": "address",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "name": "actual",
696
+ "internalType": "address",
697
+ "type": "address"
698
+ }
699
+ ],
700
+ "name": "OnlyPDPVerifierAllowed"
701
+ },
702
+ {
703
+ "type": "error",
704
+ "inputs": [
705
+ {
706
+ "name": "expected",
707
+ "internalType": "address",
708
+ "type": "address"
709
+ },
710
+ {
711
+ "name": "actual",
712
+ "internalType": "address",
713
+ "type": "address"
714
+ }
715
+ ],
716
+ "name": "OnlySelf"
717
+ },
718
+ {
719
+ "type": "error",
720
+ "inputs": [
721
+ {
722
+ "name": "payer",
723
+ "internalType": "address",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "name": "operator",
728
+ "internalType": "address",
729
+ "type": "address"
730
+ }
731
+ ],
732
+ "name": "OperatorNotApproved"
733
+ },
734
+ {
735
+ "type": "error",
736
+ "inputs": [
737
+ {
738
+ "name": "dataSetId",
739
+ "internalType": "uint256",
740
+ "type": "uint256"
741
+ },
742
+ {
743
+ "name": "pdpEndEpoch",
744
+ "internalType": "uint256",
745
+ "type": "uint256"
746
+ }
747
+ ],
748
+ "name": "PaymentRailsNotFinalized"
749
+ },
750
+ {
751
+ "type": "error",
752
+ "inputs": [
753
+ {
754
+ "name": "priceType",
755
+ "internalType": "enum Errors.PriceType",
756
+ "type": "uint8"
757
+ },
758
+ {
759
+ "name": "maxAllowed",
760
+ "internalType": "uint256",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "name": "actual",
765
+ "internalType": "uint256",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "name": "PriceExceedsMaximum"
770
+ },
771
+ {
772
+ "type": "error",
773
+ "inputs": [
774
+ {
775
+ "name": "dataSetId",
776
+ "internalType": "uint256",
777
+ "type": "uint256"
778
+ }
779
+ ],
780
+ "name": "ProofAlreadySubmitted"
781
+ },
782
+ {
783
+ "type": "error",
784
+ "inputs": [
785
+ {
786
+ "name": "providerId",
787
+ "internalType": "uint256",
788
+ "type": "uint256"
789
+ }
790
+ ],
791
+ "name": "ProviderAlreadyApproved"
792
+ },
793
+ {
794
+ "type": "error",
795
+ "inputs": [
796
+ {
797
+ "name": "providerId",
798
+ "internalType": "uint256",
799
+ "type": "uint256"
800
+ }
801
+ ],
802
+ "name": "ProviderNotInApprovedList"
803
+ },
804
+ {
805
+ "type": "error",
806
+ "inputs": [
807
+ {
808
+ "name": "provider",
809
+ "internalType": "address",
810
+ "type": "address"
811
+ }
812
+ ],
813
+ "name": "ProviderNotRegistered"
814
+ },
815
+ {
816
+ "type": "error",
817
+ "inputs": [
818
+ {
819
+ "name": "dataSetId",
820
+ "internalType": "uint256",
821
+ "type": "uint256"
822
+ }
823
+ ],
824
+ "name": "ProvingNotStarted"
825
+ },
826
+ {
827
+ "type": "error",
828
+ "inputs": [
829
+ {
830
+ "name": "dataSetId",
831
+ "internalType": "uint256",
832
+ "type": "uint256"
833
+ }
834
+ ],
835
+ "name": "ProvingPeriodNotInitialized"
836
+ },
837
+ {
838
+ "type": "error",
839
+ "inputs": [
840
+ {
841
+ "name": "dataSetId",
842
+ "internalType": "uint256",
843
+ "type": "uint256"
844
+ },
845
+ {
846
+ "name": "deadline",
847
+ "internalType": "uint256",
848
+ "type": "uint256"
849
+ },
850
+ {
851
+ "name": "nowBlock",
852
+ "internalType": "uint256",
853
+ "type": "uint256"
854
+ }
855
+ ],
856
+ "name": "ProvingPeriodPassed"
857
+ },
858
+ {
859
+ "type": "error",
860
+ "inputs": [
861
+ {
862
+ "name": "railId",
863
+ "internalType": "uint256",
864
+ "type": "uint256"
865
+ }
866
+ ],
867
+ "name": "RailNotAssociated"
868
+ },
869
+ {
870
+ "type": "error",
871
+ "inputs": [
872
+ {
873
+ "name": "railId",
874
+ "internalType": "uint256",
875
+ "type": "uint256"
876
+ },
877
+ {
878
+ "name": "settledUpTo",
879
+ "internalType": "uint256",
880
+ "type": "uint256"
881
+ },
882
+ {
883
+ "name": "endEpoch",
884
+ "internalType": "uint256",
885
+ "type": "uint256"
886
+ }
887
+ ],
888
+ "name": "RailNotFullySettled"
889
+ },
890
+ {
891
+ "type": "error",
892
+ "inputs": [],
893
+ "name": "ServiceContractMustTerminateRail"
894
+ },
895
+ {
896
+ "type": "error",
897
+ "inputs": [
898
+ {
899
+ "name": "maxAllowed",
900
+ "internalType": "uint256",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "name": "keysLength",
905
+ "internalType": "uint256",
906
+ "type": "uint256"
907
+ }
908
+ ],
909
+ "name": "TooManyMetadataKeys"
910
+ },
911
+ {
912
+ "type": "error",
913
+ "inputs": [
914
+ {
915
+ "name": "v",
916
+ "internalType": "uint8",
917
+ "type": "uint8"
918
+ }
919
+ ],
920
+ "name": "UnsupportedSignatureV"
921
+ },
922
+ {
923
+ "type": "error",
924
+ "inputs": [
925
+ {
926
+ "name": "field",
927
+ "internalType": "enum Errors.AddressField",
928
+ "type": "uint8"
929
+ }
930
+ ],
931
+ "name": "ZeroAddress"
932
+ }
933
+ ]