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,2363 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "_pdpVerifierAddress",
7
+ "internalType": "address",
8
+ "type": "address"
9
+ },
10
+ {
11
+ "name": "_paymentsContractAddress",
12
+ "internalType": "address",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "name": "_usdfc",
17
+ "internalType": "contract IERC20Metadata",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "name": "_filBeamBeneficiaryAddress",
22
+ "internalType": "address",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "name": "_serviceProviderRegistry",
27
+ "internalType": "contract ServiceProviderRegistry",
28
+ "type": "address"
29
+ },
30
+ {
31
+ "name": "_sessionKeyRegistry",
32
+ "internalType": "contract SessionKeyRegistry",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "stateMutability": "nonpayable"
37
+ },
38
+ {
39
+ "type": "function",
40
+ "inputs": [],
41
+ "name": "UPGRADE_INTERFACE_VERSION",
42
+ "outputs": [
43
+ {
44
+ "name": "",
45
+ "internalType": "string",
46
+ "type": "string"
47
+ }
48
+ ],
49
+ "stateMutability": "view"
50
+ },
51
+ {
52
+ "type": "function",
53
+ "inputs": [],
54
+ "name": "VERSION",
55
+ "outputs": [
56
+ {
57
+ "name": "",
58
+ "internalType": "string",
59
+ "type": "string"
60
+ }
61
+ ],
62
+ "stateMutability": "view"
63
+ },
64
+ {
65
+ "type": "function",
66
+ "inputs": [
67
+ {
68
+ "name": "providerId",
69
+ "internalType": "uint256",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "addApprovedProvider",
74
+ "outputs": [],
75
+ "stateMutability": "nonpayable"
76
+ },
77
+ {
78
+ "type": "function",
79
+ "inputs": [
80
+ {
81
+ "name": "plannedUpgrade",
82
+ "internalType": "struct FilecoinWarmStorageService.PlannedUpgrade",
83
+ "type": "tuple",
84
+ "components": [
85
+ {
86
+ "name": "nextImplementation",
87
+ "internalType": "address",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "name": "afterEpoch",
92
+ "internalType": "uint96",
93
+ "type": "uint96"
94
+ }
95
+ ]
96
+ }
97
+ ],
98
+ "name": "announcePlannedUpgrade",
99
+ "outputs": [],
100
+ "stateMutability": "nonpayable"
101
+ },
102
+ {
103
+ "type": "function",
104
+ "inputs": [
105
+ {
106
+ "name": "totalBytes",
107
+ "internalType": "uint256",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "name": "calculateRatePerEpoch",
112
+ "outputs": [
113
+ {
114
+ "name": "storageRate",
115
+ "internalType": "uint256",
116
+ "type": "uint256"
117
+ }
118
+ ],
119
+ "stateMutability": "view"
120
+ },
121
+ {
122
+ "type": "function",
123
+ "inputs": [
124
+ {
125
+ "name": "_maxProvingPeriod",
126
+ "internalType": "uint64",
127
+ "type": "uint64"
128
+ },
129
+ {
130
+ "name": "_challengeWindowSize",
131
+ "internalType": "uint256",
132
+ "type": "uint256"
133
+ }
134
+ ],
135
+ "name": "configureProvingPeriod",
136
+ "outputs": [],
137
+ "stateMutability": "nonpayable"
138
+ },
139
+ {
140
+ "type": "function",
141
+ "inputs": [
142
+ {
143
+ "name": "dataSetId",
144
+ "internalType": "uint256",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "name": "serviceProvider",
149
+ "internalType": "address",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "name": "extraData",
154
+ "internalType": "bytes",
155
+ "type": "bytes"
156
+ }
157
+ ],
158
+ "name": "dataSetCreated",
159
+ "outputs": [],
160
+ "stateMutability": "nonpayable"
161
+ },
162
+ {
163
+ "type": "function",
164
+ "inputs": [
165
+ {
166
+ "name": "dataSetId",
167
+ "internalType": "uint256",
168
+ "type": "uint256"
169
+ },
170
+ {
171
+ "name": "",
172
+ "internalType": "uint256",
173
+ "type": "uint256"
174
+ },
175
+ {
176
+ "name": "",
177
+ "internalType": "bytes",
178
+ "type": "bytes"
179
+ }
180
+ ],
181
+ "name": "dataSetDeleted",
182
+ "outputs": [],
183
+ "stateMutability": "nonpayable"
184
+ },
185
+ {
186
+ "type": "function",
187
+ "inputs": [],
188
+ "name": "eip712Domain",
189
+ "outputs": [
190
+ {
191
+ "name": "fields",
192
+ "internalType": "bytes1",
193
+ "type": "bytes1"
194
+ },
195
+ {
196
+ "name": "name",
197
+ "internalType": "string",
198
+ "type": "string"
199
+ },
200
+ {
201
+ "name": "version",
202
+ "internalType": "string",
203
+ "type": "string"
204
+ },
205
+ {
206
+ "name": "chainId",
207
+ "internalType": "uint256",
208
+ "type": "uint256"
209
+ },
210
+ {
211
+ "name": "verifyingContract",
212
+ "internalType": "address",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "name": "salt",
217
+ "internalType": "bytes32",
218
+ "type": "bytes32"
219
+ },
220
+ {
221
+ "name": "extensions",
222
+ "internalType": "uint256[]",
223
+ "type": "uint256[]"
224
+ }
225
+ ],
226
+ "stateMutability": "view"
227
+ },
228
+ {
229
+ "type": "function",
230
+ "inputs": [
231
+ {
232
+ "name": "slot",
233
+ "internalType": "bytes32",
234
+ "type": "bytes32"
235
+ }
236
+ ],
237
+ "name": "extsload",
238
+ "outputs": [
239
+ {
240
+ "name": "",
241
+ "internalType": "bytes32",
242
+ "type": "bytes32"
243
+ }
244
+ ],
245
+ "stateMutability": "view"
246
+ },
247
+ {
248
+ "type": "function",
249
+ "inputs": [
250
+ {
251
+ "name": "slot",
252
+ "internalType": "bytes32",
253
+ "type": "bytes32"
254
+ },
255
+ {
256
+ "name": "size",
257
+ "internalType": "uint256",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "name": "extsloadStruct",
262
+ "outputs": [
263
+ {
264
+ "name": "",
265
+ "internalType": "bytes32[]",
266
+ "type": "bytes32[]"
267
+ }
268
+ ],
269
+ "stateMutability": "view"
270
+ },
271
+ {
272
+ "type": "function",
273
+ "inputs": [],
274
+ "name": "filBeamBeneficiaryAddress",
275
+ "outputs": [
276
+ {
277
+ "name": "",
278
+ "internalType": "address",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "stateMutability": "view"
283
+ },
284
+ {
285
+ "type": "function",
286
+ "inputs": [],
287
+ "name": "getEffectiveRates",
288
+ "outputs": [
289
+ {
290
+ "name": "serviceFee",
291
+ "internalType": "uint256",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "name": "spPayment",
296
+ "internalType": "uint256",
297
+ "type": "uint256"
298
+ }
299
+ ],
300
+ "stateMutability": "view"
301
+ },
302
+ {
303
+ "type": "function",
304
+ "inputs": [
305
+ {
306
+ "name": "dataSetId",
307
+ "internalType": "uint256",
308
+ "type": "uint256"
309
+ },
310
+ {
311
+ "name": "epoch",
312
+ "internalType": "uint256",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "name": "getProvingPeriodForEpoch",
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "internalType": "uint256",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "inputs": [],
329
+ "name": "getServicePrice",
330
+ "outputs": [
331
+ {
332
+ "name": "pricing",
333
+ "internalType": "struct FilecoinWarmStorageService.ServicePricing",
334
+ "type": "tuple",
335
+ "components": [
336
+ {
337
+ "name": "pricePerTiBPerMonthNoCDN",
338
+ "internalType": "uint256",
339
+ "type": "uint256"
340
+ },
341
+ {
342
+ "name": "pricePerTiBCdnEgress",
343
+ "internalType": "uint256",
344
+ "type": "uint256"
345
+ },
346
+ {
347
+ "name": "pricePerTiBCacheMissEgress",
348
+ "internalType": "uint256",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "name": "tokenAddress",
353
+ "internalType": "contract IERC20",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "name": "epochsPerMonth",
358
+ "internalType": "uint256",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "name": "minimumPricePerMonth",
363
+ "internalType": "uint256",
364
+ "type": "uint256"
365
+ }
366
+ ]
367
+ }
368
+ ],
369
+ "stateMutability": "view"
370
+ },
371
+ {
372
+ "type": "function",
373
+ "inputs": [
374
+ {
375
+ "name": "_maxProvingPeriod",
376
+ "internalType": "uint64",
377
+ "type": "uint64"
378
+ },
379
+ {
380
+ "name": "_challengeWindowSize",
381
+ "internalType": "uint256",
382
+ "type": "uint256"
383
+ },
384
+ {
385
+ "name": "_filBeamControllerAddress",
386
+ "internalType": "address",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "name": "_name",
391
+ "internalType": "string",
392
+ "type": "string"
393
+ },
394
+ {
395
+ "name": "_description",
396
+ "internalType": "string",
397
+ "type": "string"
398
+ }
399
+ ],
400
+ "name": "initialize",
401
+ "outputs": [],
402
+ "stateMutability": "nonpayable"
403
+ },
404
+ {
405
+ "type": "function",
406
+ "inputs": [
407
+ {
408
+ "name": "_viewContract",
409
+ "internalType": "address",
410
+ "type": "address"
411
+ }
412
+ ],
413
+ "name": "migrate",
414
+ "outputs": [],
415
+ "stateMutability": "nonpayable"
416
+ },
417
+ {
418
+ "type": "function",
419
+ "inputs": [
420
+ {
421
+ "name": "dataSetId",
422
+ "internalType": "uint256",
423
+ "type": "uint256"
424
+ },
425
+ {
426
+ "name": "challengeEpoch",
427
+ "internalType": "uint256",
428
+ "type": "uint256"
429
+ },
430
+ {
431
+ "name": "leafCount",
432
+ "internalType": "uint256",
433
+ "type": "uint256"
434
+ },
435
+ {
436
+ "name": "",
437
+ "internalType": "bytes",
438
+ "type": "bytes"
439
+ }
440
+ ],
441
+ "name": "nextProvingPeriod",
442
+ "outputs": [],
443
+ "stateMutability": "nonpayable"
444
+ },
445
+ {
446
+ "type": "function",
447
+ "inputs": [],
448
+ "name": "owner",
449
+ "outputs": [
450
+ {
451
+ "name": "",
452
+ "internalType": "address",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "stateMutability": "view"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "inputs": [],
461
+ "name": "paymentsContractAddress",
462
+ "outputs": [
463
+ {
464
+ "name": "",
465
+ "internalType": "address",
466
+ "type": "address"
467
+ }
468
+ ],
469
+ "stateMutability": "view"
470
+ },
471
+ {
472
+ "type": "function",
473
+ "inputs": [],
474
+ "name": "pdpVerifierAddress",
475
+ "outputs": [
476
+ {
477
+ "name": "",
478
+ "internalType": "address",
479
+ "type": "address"
480
+ }
481
+ ],
482
+ "stateMutability": "view"
483
+ },
484
+ {
485
+ "type": "function",
486
+ "inputs": [
487
+ {
488
+ "name": "dataSetId",
489
+ "internalType": "uint256",
490
+ "type": "uint256"
491
+ },
492
+ {
493
+ "name": "firstAdded",
494
+ "internalType": "uint256",
495
+ "type": "uint256"
496
+ },
497
+ {
498
+ "name": "pieceData",
499
+ "internalType": "struct Cids.Cid[]",
500
+ "type": "tuple[]",
501
+ "components": [
502
+ {
503
+ "name": "data",
504
+ "internalType": "bytes",
505
+ "type": "bytes"
506
+ }
507
+ ]
508
+ },
509
+ {
510
+ "name": "extraData",
511
+ "internalType": "bytes",
512
+ "type": "bytes"
513
+ }
514
+ ],
515
+ "name": "piecesAdded",
516
+ "outputs": [],
517
+ "stateMutability": "nonpayable"
518
+ },
519
+ {
520
+ "type": "function",
521
+ "inputs": [
522
+ {
523
+ "name": "dataSetId",
524
+ "internalType": "uint256",
525
+ "type": "uint256"
526
+ },
527
+ {
528
+ "name": "pieceIds",
529
+ "internalType": "uint256[]",
530
+ "type": "uint256[]"
531
+ },
532
+ {
533
+ "name": "extraData",
534
+ "internalType": "bytes",
535
+ "type": "bytes"
536
+ }
537
+ ],
538
+ "name": "piecesScheduledRemove",
539
+ "outputs": [],
540
+ "stateMutability": "nonpayable"
541
+ },
542
+ {
543
+ "type": "function",
544
+ "inputs": [
545
+ {
546
+ "name": "dataSetId",
547
+ "internalType": "uint256",
548
+ "type": "uint256"
549
+ },
550
+ {
551
+ "name": "",
552
+ "internalType": "uint256",
553
+ "type": "uint256"
554
+ },
555
+ {
556
+ "name": "",
557
+ "internalType": "uint256",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "name": "challengeCount",
562
+ "internalType": "uint256",
563
+ "type": "uint256"
564
+ }
565
+ ],
566
+ "name": "possessionProven",
567
+ "outputs": [],
568
+ "stateMutability": "nonpayable"
569
+ },
570
+ {
571
+ "type": "function",
572
+ "inputs": [],
573
+ "name": "proxiableUUID",
574
+ "outputs": [
575
+ {
576
+ "name": "",
577
+ "internalType": "bytes32",
578
+ "type": "bytes32"
579
+ }
580
+ ],
581
+ "stateMutability": "view"
582
+ },
583
+ {
584
+ "type": "function",
585
+ "inputs": [
586
+ {
587
+ "name": "railId",
588
+ "internalType": "uint256",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "name": "terminator",
593
+ "internalType": "address",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "name": "endEpoch",
598
+ "internalType": "uint256",
599
+ "type": "uint256"
600
+ }
601
+ ],
602
+ "name": "railTerminated",
603
+ "outputs": [],
604
+ "stateMutability": "nonpayable"
605
+ },
606
+ {
607
+ "type": "function",
608
+ "inputs": [
609
+ {
610
+ "name": "providerId",
611
+ "internalType": "uint256",
612
+ "type": "uint256"
613
+ },
614
+ {
615
+ "name": "index",
616
+ "internalType": "uint256",
617
+ "type": "uint256"
618
+ }
619
+ ],
620
+ "name": "removeApprovedProvider",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable"
623
+ },
624
+ {
625
+ "type": "function",
626
+ "inputs": [],
627
+ "name": "renounceOwnership",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable"
630
+ },
631
+ {
632
+ "type": "function",
633
+ "inputs": [],
634
+ "name": "serviceProviderRegistry",
635
+ "outputs": [
636
+ {
637
+ "name": "",
638
+ "internalType": "contract ServiceProviderRegistry",
639
+ "type": "address"
640
+ }
641
+ ],
642
+ "stateMutability": "view"
643
+ },
644
+ {
645
+ "type": "function",
646
+ "inputs": [],
647
+ "name": "sessionKeyRegistry",
648
+ "outputs": [
649
+ {
650
+ "name": "",
651
+ "internalType": "contract SessionKeyRegistry",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "stateMutability": "view"
656
+ },
657
+ {
658
+ "type": "function",
659
+ "inputs": [
660
+ {
661
+ "name": "_viewContract",
662
+ "internalType": "address",
663
+ "type": "address"
664
+ }
665
+ ],
666
+ "name": "setViewContract",
667
+ "outputs": [],
668
+ "stateMutability": "nonpayable"
669
+ },
670
+ {
671
+ "type": "function",
672
+ "inputs": [
673
+ {
674
+ "name": "dataSetId",
675
+ "internalType": "uint256",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "name": "cdnAmount",
680
+ "internalType": "uint256",
681
+ "type": "uint256"
682
+ },
683
+ {
684
+ "name": "cacheMissAmount",
685
+ "internalType": "uint256",
686
+ "type": "uint256"
687
+ }
688
+ ],
689
+ "name": "settleFilBeamPaymentRails",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable"
692
+ },
693
+ {
694
+ "type": "function",
695
+ "inputs": [
696
+ {
697
+ "name": "",
698
+ "internalType": "uint256",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "name": "",
703
+ "internalType": "address",
704
+ "type": "address"
705
+ },
706
+ {
707
+ "name": "",
708
+ "internalType": "address",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "name": "",
713
+ "internalType": "bytes",
714
+ "type": "bytes"
715
+ }
716
+ ],
717
+ "name": "storageProviderChanged",
718
+ "outputs": [],
719
+ "stateMutability": "nonpayable"
720
+ },
721
+ {
722
+ "type": "function",
723
+ "inputs": [
724
+ {
725
+ "name": "dataSetId",
726
+ "internalType": "uint256",
727
+ "type": "uint256"
728
+ }
729
+ ],
730
+ "name": "terminateCDNService",
731
+ "outputs": [],
732
+ "stateMutability": "nonpayable"
733
+ },
734
+ {
735
+ "type": "function",
736
+ "inputs": [
737
+ {
738
+ "name": "dataSetId",
739
+ "internalType": "uint256",
740
+ "type": "uint256"
741
+ }
742
+ ],
743
+ "name": "terminateService",
744
+ "outputs": [],
745
+ "stateMutability": "nonpayable"
746
+ },
747
+ {
748
+ "type": "function",
749
+ "inputs": [
750
+ {
751
+ "name": "dataSetId",
752
+ "internalType": "uint256",
753
+ "type": "uint256"
754
+ },
755
+ {
756
+ "name": "cdnAmountToAdd",
757
+ "internalType": "uint256",
758
+ "type": "uint256"
759
+ },
760
+ {
761
+ "name": "cacheMissAmountToAdd",
762
+ "internalType": "uint256",
763
+ "type": "uint256"
764
+ }
765
+ ],
766
+ "name": "topUpCDNPaymentRails",
767
+ "outputs": [],
768
+ "stateMutability": "nonpayable"
769
+ },
770
+ {
771
+ "type": "function",
772
+ "inputs": [
773
+ {
774
+ "name": "newController",
775
+ "internalType": "address",
776
+ "type": "address"
777
+ }
778
+ ],
779
+ "name": "transferFilBeamController",
780
+ "outputs": [],
781
+ "stateMutability": "nonpayable"
782
+ },
783
+ {
784
+ "type": "function",
785
+ "inputs": [
786
+ {
787
+ "name": "newOwner",
788
+ "internalType": "address",
789
+ "type": "address"
790
+ }
791
+ ],
792
+ "name": "transferOwnership",
793
+ "outputs": [],
794
+ "stateMutability": "nonpayable"
795
+ },
796
+ {
797
+ "type": "function",
798
+ "inputs": [
799
+ {
800
+ "name": "newStoragePrice",
801
+ "internalType": "uint256",
802
+ "type": "uint256"
803
+ },
804
+ {
805
+ "name": "newMinimumRate",
806
+ "internalType": "uint256",
807
+ "type": "uint256"
808
+ }
809
+ ],
810
+ "name": "updatePricing",
811
+ "outputs": [],
812
+ "stateMutability": "nonpayable"
813
+ },
814
+ {
815
+ "type": "function",
816
+ "inputs": [
817
+ {
818
+ "name": "newCommissionBps",
819
+ "internalType": "uint256",
820
+ "type": "uint256"
821
+ }
822
+ ],
823
+ "name": "updateServiceCommission",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable"
826
+ },
827
+ {
828
+ "type": "function",
829
+ "inputs": [
830
+ {
831
+ "name": "newImplementation",
832
+ "internalType": "address",
833
+ "type": "address"
834
+ },
835
+ {
836
+ "name": "data",
837
+ "internalType": "bytes",
838
+ "type": "bytes"
839
+ }
840
+ ],
841
+ "name": "upgradeToAndCall",
842
+ "outputs": [],
843
+ "stateMutability": "payable"
844
+ },
845
+ {
846
+ "type": "function",
847
+ "inputs": [],
848
+ "name": "usdfcTokenAddress",
849
+ "outputs": [
850
+ {
851
+ "name": "",
852
+ "internalType": "contract IERC20Metadata",
853
+ "type": "address"
854
+ }
855
+ ],
856
+ "stateMutability": "view"
857
+ },
858
+ {
859
+ "type": "function",
860
+ "inputs": [
861
+ {
862
+ "name": "railId",
863
+ "internalType": "uint256",
864
+ "type": "uint256"
865
+ },
866
+ {
867
+ "name": "proposedAmount",
868
+ "internalType": "uint256",
869
+ "type": "uint256"
870
+ },
871
+ {
872
+ "name": "fromEpoch",
873
+ "internalType": "uint256",
874
+ "type": "uint256"
875
+ },
876
+ {
877
+ "name": "toEpoch",
878
+ "internalType": "uint256",
879
+ "type": "uint256"
880
+ },
881
+ {
882
+ "name": "",
883
+ "internalType": "uint256",
884
+ "type": "uint256"
885
+ }
886
+ ],
887
+ "name": "validatePayment",
888
+ "outputs": [
889
+ {
890
+ "name": "result",
891
+ "internalType": "struct IValidator.ValidationResult",
892
+ "type": "tuple",
893
+ "components": [
894
+ {
895
+ "name": "modifiedAmount",
896
+ "internalType": "uint256",
897
+ "type": "uint256"
898
+ },
899
+ {
900
+ "name": "settleUpto",
901
+ "internalType": "uint256",
902
+ "type": "uint256"
903
+ },
904
+ {
905
+ "name": "note",
906
+ "internalType": "string",
907
+ "type": "string"
908
+ }
909
+ ]
910
+ }
911
+ ],
912
+ "stateMutability": "view"
913
+ },
914
+ {
915
+ "type": "function",
916
+ "inputs": [],
917
+ "name": "viewContractAddress",
918
+ "outputs": [
919
+ {
920
+ "name": "",
921
+ "internalType": "address",
922
+ "type": "address"
923
+ }
924
+ ],
925
+ "stateMutability": "view"
926
+ },
927
+ {
928
+ "type": "event",
929
+ "anonymous": false,
930
+ "inputs": [
931
+ {
932
+ "name": "dataSetId",
933
+ "internalType": "uint256",
934
+ "type": "uint256",
935
+ "indexed": true
936
+ },
937
+ {
938
+ "name": "cdnAmountAdded",
939
+ "internalType": "uint256",
940
+ "type": "uint256",
941
+ "indexed": false
942
+ },
943
+ {
944
+ "name": "totalCdnLockup",
945
+ "internalType": "uint256",
946
+ "type": "uint256",
947
+ "indexed": false
948
+ },
949
+ {
950
+ "name": "cacheMissAmountAdded",
951
+ "internalType": "uint256",
952
+ "type": "uint256",
953
+ "indexed": false
954
+ },
955
+ {
956
+ "name": "totalCacheMissLockup",
957
+ "internalType": "uint256",
958
+ "type": "uint256",
959
+ "indexed": false
960
+ }
961
+ ],
962
+ "name": "CDNPaymentRailsToppedUp"
963
+ },
964
+ {
965
+ "type": "event",
966
+ "anonymous": false,
967
+ "inputs": [
968
+ {
969
+ "name": "dataSetId",
970
+ "internalType": "uint256",
971
+ "type": "uint256",
972
+ "indexed": true
973
+ },
974
+ {
975
+ "name": "endEpoch",
976
+ "internalType": "uint256",
977
+ "type": "uint256",
978
+ "indexed": false
979
+ },
980
+ {
981
+ "name": "cacheMissRailId",
982
+ "internalType": "uint256",
983
+ "type": "uint256",
984
+ "indexed": false
985
+ },
986
+ {
987
+ "name": "cdnRailId",
988
+ "internalType": "uint256",
989
+ "type": "uint256",
990
+ "indexed": false
991
+ }
992
+ ],
993
+ "name": "CDNPaymentTerminated"
994
+ },
995
+ {
996
+ "type": "event",
997
+ "anonymous": false,
998
+ "inputs": [
999
+ {
1000
+ "name": "caller",
1001
+ "internalType": "address",
1002
+ "type": "address",
1003
+ "indexed": true
1004
+ },
1005
+ {
1006
+ "name": "dataSetId",
1007
+ "internalType": "uint256",
1008
+ "type": "uint256",
1009
+ "indexed": true
1010
+ },
1011
+ {
1012
+ "name": "cacheMissRailId",
1013
+ "internalType": "uint256",
1014
+ "type": "uint256",
1015
+ "indexed": false
1016
+ },
1017
+ {
1018
+ "name": "cdnRailId",
1019
+ "internalType": "uint256",
1020
+ "type": "uint256",
1021
+ "indexed": false
1022
+ }
1023
+ ],
1024
+ "name": "CDNServiceTerminated"
1025
+ },
1026
+ {
1027
+ "type": "event",
1028
+ "anonymous": false,
1029
+ "inputs": [
1030
+ {
1031
+ "name": "version",
1032
+ "internalType": "string",
1033
+ "type": "string",
1034
+ "indexed": false
1035
+ },
1036
+ {
1037
+ "name": "implementation",
1038
+ "internalType": "address",
1039
+ "type": "address",
1040
+ "indexed": false
1041
+ }
1042
+ ],
1043
+ "name": "ContractUpgraded"
1044
+ },
1045
+ {
1046
+ "type": "event",
1047
+ "anonymous": false,
1048
+ "inputs": [
1049
+ {
1050
+ "name": "dataSetId",
1051
+ "internalType": "uint256",
1052
+ "type": "uint256",
1053
+ "indexed": true
1054
+ },
1055
+ {
1056
+ "name": "providerId",
1057
+ "internalType": "uint256",
1058
+ "type": "uint256",
1059
+ "indexed": true
1060
+ },
1061
+ {
1062
+ "name": "pdpRailId",
1063
+ "internalType": "uint256",
1064
+ "type": "uint256",
1065
+ "indexed": false
1066
+ },
1067
+ {
1068
+ "name": "cacheMissRailId",
1069
+ "internalType": "uint256",
1070
+ "type": "uint256",
1071
+ "indexed": false
1072
+ },
1073
+ {
1074
+ "name": "cdnRailId",
1075
+ "internalType": "uint256",
1076
+ "type": "uint256",
1077
+ "indexed": false
1078
+ },
1079
+ {
1080
+ "name": "payer",
1081
+ "internalType": "address",
1082
+ "type": "address",
1083
+ "indexed": false
1084
+ },
1085
+ {
1086
+ "name": "serviceProvider",
1087
+ "internalType": "address",
1088
+ "type": "address",
1089
+ "indexed": false
1090
+ },
1091
+ {
1092
+ "name": "payee",
1093
+ "internalType": "address",
1094
+ "type": "address",
1095
+ "indexed": false
1096
+ },
1097
+ {
1098
+ "name": "metadataKeys",
1099
+ "internalType": "string[]",
1100
+ "type": "string[]",
1101
+ "indexed": false
1102
+ },
1103
+ {
1104
+ "name": "metadataValues",
1105
+ "internalType": "string[]",
1106
+ "type": "string[]",
1107
+ "indexed": false
1108
+ }
1109
+ ],
1110
+ "name": "DataSetCreated"
1111
+ },
1112
+ {
1113
+ "type": "event",
1114
+ "anonymous": false,
1115
+ "inputs": [
1116
+ {
1117
+ "name": "dataSetId",
1118
+ "internalType": "uint256",
1119
+ "type": "uint256",
1120
+ "indexed": true
1121
+ },
1122
+ {
1123
+ "name": "oldServiceProvider",
1124
+ "internalType": "address",
1125
+ "type": "address",
1126
+ "indexed": true
1127
+ },
1128
+ {
1129
+ "name": "newServiceProvider",
1130
+ "internalType": "address",
1131
+ "type": "address",
1132
+ "indexed": true
1133
+ }
1134
+ ],
1135
+ "name": "DataSetServiceProviderChanged"
1136
+ },
1137
+ {
1138
+ "type": "event",
1139
+ "anonymous": false,
1140
+ "inputs": [],
1141
+ "name": "EIP712DomainChanged"
1142
+ },
1143
+ {
1144
+ "type": "event",
1145
+ "anonymous": false,
1146
+ "inputs": [
1147
+ {
1148
+ "name": "dataSetId",
1149
+ "internalType": "uint256",
1150
+ "type": "uint256",
1151
+ "indexed": true
1152
+ },
1153
+ {
1154
+ "name": "periodsFaulted",
1155
+ "internalType": "uint256",
1156
+ "type": "uint256",
1157
+ "indexed": false
1158
+ },
1159
+ {
1160
+ "name": "deadline",
1161
+ "internalType": "uint256",
1162
+ "type": "uint256",
1163
+ "indexed": false
1164
+ }
1165
+ ],
1166
+ "name": "FaultRecord"
1167
+ },
1168
+ {
1169
+ "type": "event",
1170
+ "anonymous": false,
1171
+ "inputs": [
1172
+ {
1173
+ "name": "oldController",
1174
+ "internalType": "address",
1175
+ "type": "address",
1176
+ "indexed": false
1177
+ },
1178
+ {
1179
+ "name": "newController",
1180
+ "internalType": "address",
1181
+ "type": "address",
1182
+ "indexed": false
1183
+ }
1184
+ ],
1185
+ "name": "FilBeamControllerChanged"
1186
+ },
1187
+ {
1188
+ "type": "event",
1189
+ "anonymous": false,
1190
+ "inputs": [
1191
+ {
1192
+ "name": "name",
1193
+ "internalType": "string",
1194
+ "type": "string",
1195
+ "indexed": false
1196
+ },
1197
+ {
1198
+ "name": "description",
1199
+ "internalType": "string",
1200
+ "type": "string",
1201
+ "indexed": false
1202
+ }
1203
+ ],
1204
+ "name": "FilecoinServiceDeployed"
1205
+ },
1206
+ {
1207
+ "type": "event",
1208
+ "anonymous": false,
1209
+ "inputs": [
1210
+ {
1211
+ "name": "version",
1212
+ "internalType": "uint64",
1213
+ "type": "uint64",
1214
+ "indexed": false
1215
+ }
1216
+ ],
1217
+ "name": "Initialized"
1218
+ },
1219
+ {
1220
+ "type": "event",
1221
+ "anonymous": false,
1222
+ "inputs": [
1223
+ {
1224
+ "name": "previousOwner",
1225
+ "internalType": "address",
1226
+ "type": "address",
1227
+ "indexed": true
1228
+ },
1229
+ {
1230
+ "name": "newOwner",
1231
+ "internalType": "address",
1232
+ "type": "address",
1233
+ "indexed": true
1234
+ }
1235
+ ],
1236
+ "name": "OwnershipTransferred"
1237
+ },
1238
+ {
1239
+ "type": "event",
1240
+ "anonymous": false,
1241
+ "inputs": [
1242
+ {
1243
+ "name": "dataSetId",
1244
+ "internalType": "uint256",
1245
+ "type": "uint256",
1246
+ "indexed": true
1247
+ },
1248
+ {
1249
+ "name": "endEpoch",
1250
+ "internalType": "uint256",
1251
+ "type": "uint256",
1252
+ "indexed": false
1253
+ },
1254
+ {
1255
+ "name": "pdpRailId",
1256
+ "internalType": "uint256",
1257
+ "type": "uint256",
1258
+ "indexed": false
1259
+ }
1260
+ ],
1261
+ "name": "PDPPaymentTerminated"
1262
+ },
1263
+ {
1264
+ "type": "event",
1265
+ "anonymous": false,
1266
+ "inputs": [
1267
+ {
1268
+ "name": "dataSetId",
1269
+ "internalType": "uint256",
1270
+ "type": "uint256",
1271
+ "indexed": true
1272
+ },
1273
+ {
1274
+ "name": "pieceId",
1275
+ "internalType": "uint256",
1276
+ "type": "uint256",
1277
+ "indexed": true
1278
+ },
1279
+ {
1280
+ "name": "pieceCid",
1281
+ "internalType": "struct Cids.Cid",
1282
+ "type": "tuple",
1283
+ "components": [
1284
+ {
1285
+ "name": "data",
1286
+ "internalType": "bytes",
1287
+ "type": "bytes"
1288
+ }
1289
+ ],
1290
+ "indexed": false
1291
+ },
1292
+ {
1293
+ "name": "keys",
1294
+ "internalType": "string[]",
1295
+ "type": "string[]",
1296
+ "indexed": false
1297
+ },
1298
+ {
1299
+ "name": "values",
1300
+ "internalType": "string[]",
1301
+ "type": "string[]",
1302
+ "indexed": false
1303
+ }
1304
+ ],
1305
+ "name": "PieceAdded"
1306
+ },
1307
+ {
1308
+ "type": "event",
1309
+ "anonymous": false,
1310
+ "inputs": [
1311
+ {
1312
+ "name": "storagePrice",
1313
+ "internalType": "uint256",
1314
+ "type": "uint256",
1315
+ "indexed": false
1316
+ },
1317
+ {
1318
+ "name": "minimumRate",
1319
+ "internalType": "uint256",
1320
+ "type": "uint256",
1321
+ "indexed": false
1322
+ }
1323
+ ],
1324
+ "name": "PricingUpdated"
1325
+ },
1326
+ {
1327
+ "type": "event",
1328
+ "anonymous": false,
1329
+ "inputs": [
1330
+ {
1331
+ "name": "providerId",
1332
+ "internalType": "uint256",
1333
+ "type": "uint256",
1334
+ "indexed": true
1335
+ }
1336
+ ],
1337
+ "name": "ProviderApproved"
1338
+ },
1339
+ {
1340
+ "type": "event",
1341
+ "anonymous": false,
1342
+ "inputs": [
1343
+ {
1344
+ "name": "providerId",
1345
+ "internalType": "uint256",
1346
+ "type": "uint256",
1347
+ "indexed": true
1348
+ }
1349
+ ],
1350
+ "name": "ProviderUnapproved"
1351
+ },
1352
+ {
1353
+ "type": "event",
1354
+ "anonymous": false,
1355
+ "inputs": [
1356
+ {
1357
+ "name": "dataSetId",
1358
+ "internalType": "uint256",
1359
+ "type": "uint256",
1360
+ "indexed": true
1361
+ },
1362
+ {
1363
+ "name": "railId",
1364
+ "internalType": "uint256",
1365
+ "type": "uint256",
1366
+ "indexed": false
1367
+ },
1368
+ {
1369
+ "name": "newRate",
1370
+ "internalType": "uint256",
1371
+ "type": "uint256",
1372
+ "indexed": false
1373
+ }
1374
+ ],
1375
+ "name": "RailRateUpdated"
1376
+ },
1377
+ {
1378
+ "type": "event",
1379
+ "anonymous": false,
1380
+ "inputs": [
1381
+ {
1382
+ "name": "caller",
1383
+ "internalType": "address",
1384
+ "type": "address",
1385
+ "indexed": true
1386
+ },
1387
+ {
1388
+ "name": "dataSetId",
1389
+ "internalType": "uint256",
1390
+ "type": "uint256",
1391
+ "indexed": true
1392
+ },
1393
+ {
1394
+ "name": "pdpRailId",
1395
+ "internalType": "uint256",
1396
+ "type": "uint256",
1397
+ "indexed": false
1398
+ },
1399
+ {
1400
+ "name": "cacheMissRailId",
1401
+ "internalType": "uint256",
1402
+ "type": "uint256",
1403
+ "indexed": false
1404
+ },
1405
+ {
1406
+ "name": "cdnRailId",
1407
+ "internalType": "uint256",
1408
+ "type": "uint256",
1409
+ "indexed": false
1410
+ }
1411
+ ],
1412
+ "name": "ServiceTerminated"
1413
+ },
1414
+ {
1415
+ "type": "event",
1416
+ "anonymous": false,
1417
+ "inputs": [
1418
+ {
1419
+ "name": "plannedUpgrade",
1420
+ "internalType": "struct FilecoinWarmStorageService.PlannedUpgrade",
1421
+ "type": "tuple",
1422
+ "components": [
1423
+ {
1424
+ "name": "nextImplementation",
1425
+ "internalType": "address",
1426
+ "type": "address"
1427
+ },
1428
+ {
1429
+ "name": "afterEpoch",
1430
+ "internalType": "uint96",
1431
+ "type": "uint96"
1432
+ }
1433
+ ],
1434
+ "indexed": false
1435
+ }
1436
+ ],
1437
+ "name": "UpgradeAnnounced"
1438
+ },
1439
+ {
1440
+ "type": "event",
1441
+ "anonymous": false,
1442
+ "inputs": [
1443
+ {
1444
+ "name": "implementation",
1445
+ "internalType": "address",
1446
+ "type": "address",
1447
+ "indexed": true
1448
+ }
1449
+ ],
1450
+ "name": "Upgraded"
1451
+ },
1452
+ {
1453
+ "type": "event",
1454
+ "anonymous": false,
1455
+ "inputs": [
1456
+ {
1457
+ "name": "viewContract",
1458
+ "internalType": "address",
1459
+ "type": "address",
1460
+ "indexed": true
1461
+ }
1462
+ ],
1463
+ "name": "ViewContractSet"
1464
+ },
1465
+ {
1466
+ "type": "error",
1467
+ "inputs": [
1468
+ {
1469
+ "name": "target",
1470
+ "internalType": "address",
1471
+ "type": "address"
1472
+ }
1473
+ ],
1474
+ "name": "AddressEmptyCode"
1475
+ },
1476
+ {
1477
+ "type": "error",
1478
+ "inputs": [],
1479
+ "name": "AtLeastOnePriceMustBeNonZero"
1480
+ },
1481
+ {
1482
+ "type": "error",
1483
+ "inputs": [
1484
+ {
1485
+ "name": "dataSetId",
1486
+ "internalType": "uint256",
1487
+ "type": "uint256"
1488
+ }
1489
+ ],
1490
+ "name": "CDNPaymentAlreadyTerminated"
1491
+ },
1492
+ {
1493
+ "type": "error",
1494
+ "inputs": [
1495
+ {
1496
+ "name": "dataSetId",
1497
+ "internalType": "uint256",
1498
+ "type": "uint256"
1499
+ }
1500
+ ],
1501
+ "name": "CacheMissPaymentAlreadyTerminated"
1502
+ },
1503
+ {
1504
+ "type": "error",
1505
+ "inputs": [
1506
+ {
1507
+ "name": "dataSetId",
1508
+ "internalType": "uint256",
1509
+ "type": "uint256"
1510
+ },
1511
+ {
1512
+ "name": "expectedPayer",
1513
+ "internalType": "address",
1514
+ "type": "address"
1515
+ },
1516
+ {
1517
+ "name": "caller",
1518
+ "internalType": "address",
1519
+ "type": "address"
1520
+ }
1521
+ ],
1522
+ "name": "CallerNotPayer"
1523
+ },
1524
+ {
1525
+ "type": "error",
1526
+ "inputs": [
1527
+ {
1528
+ "name": "dataSetId",
1529
+ "internalType": "uint256",
1530
+ "type": "uint256"
1531
+ },
1532
+ {
1533
+ "name": "expectedPayer",
1534
+ "internalType": "address",
1535
+ "type": "address"
1536
+ },
1537
+ {
1538
+ "name": "expectedPayee",
1539
+ "internalType": "address",
1540
+ "type": "address"
1541
+ },
1542
+ {
1543
+ "name": "caller",
1544
+ "internalType": "address",
1545
+ "type": "address"
1546
+ }
1547
+ ],
1548
+ "name": "CallerNotPayerOrPayee"
1549
+ },
1550
+ {
1551
+ "type": "error",
1552
+ "inputs": [
1553
+ {
1554
+ "name": "expected",
1555
+ "internalType": "address",
1556
+ "type": "address"
1557
+ },
1558
+ {
1559
+ "name": "actual",
1560
+ "internalType": "address",
1561
+ "type": "address"
1562
+ }
1563
+ ],
1564
+ "name": "CallerNotPayments"
1565
+ },
1566
+ {
1567
+ "type": "error",
1568
+ "inputs": [
1569
+ {
1570
+ "name": "dataSetId",
1571
+ "internalType": "uint256",
1572
+ "type": "uint256"
1573
+ },
1574
+ {
1575
+ "name": "windowStart",
1576
+ "internalType": "uint256",
1577
+ "type": "uint256"
1578
+ },
1579
+ {
1580
+ "name": "nowBlock",
1581
+ "internalType": "uint256",
1582
+ "type": "uint256"
1583
+ }
1584
+ ],
1585
+ "name": "ChallengeWindowTooEarly"
1586
+ },
1587
+ {
1588
+ "type": "error",
1589
+ "inputs": [
1590
+ {
1591
+ "name": "clientDataSetId",
1592
+ "internalType": "uint256",
1593
+ "type": "uint256"
1594
+ }
1595
+ ],
1596
+ "name": "ClientDataSetAlreadyRegistered"
1597
+ },
1598
+ {
1599
+ "type": "error",
1600
+ "inputs": [
1601
+ {
1602
+ "name": "commissionType",
1603
+ "internalType": "enum Errors.CommissionType",
1604
+ "type": "uint8"
1605
+ },
1606
+ {
1607
+ "name": "max",
1608
+ "internalType": "uint256",
1609
+ "type": "uint256"
1610
+ },
1611
+ {
1612
+ "name": "actual",
1613
+ "internalType": "uint256",
1614
+ "type": "uint256"
1615
+ }
1616
+ ],
1617
+ "name": "CommissionExceedsMaximum"
1618
+ },
1619
+ {
1620
+ "type": "error",
1621
+ "inputs": [
1622
+ {
1623
+ "name": "railId",
1624
+ "internalType": "uint256",
1625
+ "type": "uint256"
1626
+ }
1627
+ ],
1628
+ "name": "DataSetNotFoundForRail"
1629
+ },
1630
+ {
1631
+ "type": "error",
1632
+ "inputs": [
1633
+ {
1634
+ "name": "dataSetId",
1635
+ "internalType": "uint256",
1636
+ "type": "uint256"
1637
+ }
1638
+ ],
1639
+ "name": "DataSetNotRegistered"
1640
+ },
1641
+ {
1642
+ "type": "error",
1643
+ "inputs": [
1644
+ {
1645
+ "name": "dataSetId",
1646
+ "internalType": "uint256",
1647
+ "type": "uint256"
1648
+ }
1649
+ ],
1650
+ "name": "DataSetPaymentAlreadyTerminated"
1651
+ },
1652
+ {
1653
+ "type": "error",
1654
+ "inputs": [
1655
+ {
1656
+ "name": "dataSetId",
1657
+ "internalType": "uint256",
1658
+ "type": "uint256"
1659
+ },
1660
+ {
1661
+ "name": "pdpEndEpoch",
1662
+ "internalType": "uint256",
1663
+ "type": "uint256"
1664
+ },
1665
+ {
1666
+ "name": "currentBlock",
1667
+ "internalType": "uint256",
1668
+ "type": "uint256"
1669
+ }
1670
+ ],
1671
+ "name": "DataSetPaymentBeyondEndEpoch"
1672
+ },
1673
+ {
1674
+ "type": "error",
1675
+ "inputs": [],
1676
+ "name": "DivisionByZero"
1677
+ },
1678
+ {
1679
+ "type": "error",
1680
+ "inputs": [
1681
+ {
1682
+ "name": "dataSetId",
1683
+ "internalType": "uint256",
1684
+ "type": "uint256"
1685
+ },
1686
+ {
1687
+ "name": "key",
1688
+ "internalType": "string",
1689
+ "type": "string"
1690
+ }
1691
+ ],
1692
+ "name": "DuplicateMetadataKey"
1693
+ },
1694
+ {
1695
+ "type": "error",
1696
+ "inputs": [
1697
+ {
1698
+ "name": "implementation",
1699
+ "internalType": "address",
1700
+ "type": "address"
1701
+ }
1702
+ ],
1703
+ "name": "ERC1967InvalidImplementation"
1704
+ },
1705
+ {
1706
+ "type": "error",
1707
+ "inputs": [],
1708
+ "name": "ERC1967NonPayable"
1709
+ },
1710
+ {
1711
+ "type": "error",
1712
+ "inputs": [],
1713
+ "name": "ExtraDataRequired"
1714
+ },
1715
+ {
1716
+ "type": "error",
1717
+ "inputs": [
1718
+ {
1719
+ "name": "actualSize",
1720
+ "internalType": "uint256",
1721
+ "type": "uint256"
1722
+ },
1723
+ {
1724
+ "name": "maxAllowedSize",
1725
+ "internalType": "uint256",
1726
+ "type": "uint256"
1727
+ }
1728
+ ],
1729
+ "name": "ExtraDataTooLarge"
1730
+ },
1731
+ {
1732
+ "type": "error",
1733
+ "inputs": [],
1734
+ "name": "FailedCall"
1735
+ },
1736
+ {
1737
+ "type": "error",
1738
+ "inputs": [
1739
+ {
1740
+ "name": "dataSetId",
1741
+ "internalType": "uint256",
1742
+ "type": "uint256"
1743
+ }
1744
+ ],
1745
+ "name": "FilBeamServiceNotConfigured"
1746
+ },
1747
+ {
1748
+ "type": "error",
1749
+ "inputs": [
1750
+ {
1751
+ "name": "payer",
1752
+ "internalType": "address",
1753
+ "type": "address"
1754
+ },
1755
+ {
1756
+ "name": "operator",
1757
+ "internalType": "address",
1758
+ "type": "address"
1759
+ },
1760
+ {
1761
+ "name": "lockupAllowance",
1762
+ "internalType": "uint256",
1763
+ "type": "uint256"
1764
+ },
1765
+ {
1766
+ "name": "lockupUsage",
1767
+ "internalType": "uint256",
1768
+ "type": "uint256"
1769
+ },
1770
+ {
1771
+ "name": "minimumLockupRequired",
1772
+ "internalType": "uint256",
1773
+ "type": "uint256"
1774
+ }
1775
+ ],
1776
+ "name": "InsufficientLockupAllowance"
1777
+ },
1778
+ {
1779
+ "type": "error",
1780
+ "inputs": [
1781
+ {
1782
+ "name": "payer",
1783
+ "internalType": "address",
1784
+ "type": "address"
1785
+ },
1786
+ {
1787
+ "name": "minimumRequired",
1788
+ "internalType": "uint256",
1789
+ "type": "uint256"
1790
+ },
1791
+ {
1792
+ "name": "available",
1793
+ "internalType": "uint256",
1794
+ "type": "uint256"
1795
+ }
1796
+ ],
1797
+ "name": "InsufficientLockupFunds"
1798
+ },
1799
+ {
1800
+ "type": "error",
1801
+ "inputs": [
1802
+ {
1803
+ "name": "payer",
1804
+ "internalType": "address",
1805
+ "type": "address"
1806
+ },
1807
+ {
1808
+ "name": "operator",
1809
+ "internalType": "address",
1810
+ "type": "address"
1811
+ },
1812
+ {
1813
+ "name": "maxLockupPeriod",
1814
+ "internalType": "uint256",
1815
+ "type": "uint256"
1816
+ },
1817
+ {
1818
+ "name": "requiredLockupPeriod",
1819
+ "internalType": "uint256",
1820
+ "type": "uint256"
1821
+ }
1822
+ ],
1823
+ "name": "InsufficientMaxLockupPeriod"
1824
+ },
1825
+ {
1826
+ "type": "error",
1827
+ "inputs": [
1828
+ {
1829
+ "name": "payer",
1830
+ "internalType": "address",
1831
+ "type": "address"
1832
+ },
1833
+ {
1834
+ "name": "operator",
1835
+ "internalType": "address",
1836
+ "type": "address"
1837
+ },
1838
+ {
1839
+ "name": "rateAllowance",
1840
+ "internalType": "uint256",
1841
+ "type": "uint256"
1842
+ },
1843
+ {
1844
+ "name": "rateUsage",
1845
+ "internalType": "uint256",
1846
+ "type": "uint256"
1847
+ },
1848
+ {
1849
+ "name": "minimumRateRequired",
1850
+ "internalType": "uint256",
1851
+ "type": "uint256"
1852
+ }
1853
+ ],
1854
+ "name": "InsufficientRateAllowance"
1855
+ },
1856
+ {
1857
+ "type": "error",
1858
+ "inputs": [
1859
+ {
1860
+ "name": "dataSetId",
1861
+ "internalType": "uint256",
1862
+ "type": "uint256"
1863
+ },
1864
+ {
1865
+ "name": "minExpected",
1866
+ "internalType": "uint256",
1867
+ "type": "uint256"
1868
+ },
1869
+ {
1870
+ "name": "actual",
1871
+ "internalType": "uint256",
1872
+ "type": "uint256"
1873
+ }
1874
+ ],
1875
+ "name": "InvalidChallengeCount"
1876
+ },
1877
+ {
1878
+ "type": "error",
1879
+ "inputs": [
1880
+ {
1881
+ "name": "dataSetId",
1882
+ "internalType": "uint256",
1883
+ "type": "uint256"
1884
+ },
1885
+ {
1886
+ "name": "minAllowed",
1887
+ "internalType": "uint256",
1888
+ "type": "uint256"
1889
+ },
1890
+ {
1891
+ "name": "maxAllowed",
1892
+ "internalType": "uint256",
1893
+ "type": "uint256"
1894
+ },
1895
+ {
1896
+ "name": "actual",
1897
+ "internalType": "uint256",
1898
+ "type": "uint256"
1899
+ }
1900
+ ],
1901
+ "name": "InvalidChallengeEpoch"
1902
+ },
1903
+ {
1904
+ "type": "error",
1905
+ "inputs": [
1906
+ {
1907
+ "name": "maxProvingPeriod",
1908
+ "internalType": "uint256",
1909
+ "type": "uint256"
1910
+ },
1911
+ {
1912
+ "name": "challengeWindowSize",
1913
+ "internalType": "uint256",
1914
+ "type": "uint256"
1915
+ }
1916
+ ],
1917
+ "name": "InvalidChallengeWindowSize"
1918
+ },
1919
+ {
1920
+ "type": "error",
1921
+ "inputs": [
1922
+ {
1923
+ "name": "dataSetId",
1924
+ "internalType": "uint256",
1925
+ "type": "uint256"
1926
+ }
1927
+ ],
1928
+ "name": "InvalidDataSetId"
1929
+ },
1930
+ {
1931
+ "type": "error",
1932
+ "inputs": [
1933
+ {
1934
+ "name": "fromEpoch",
1935
+ "internalType": "uint256",
1936
+ "type": "uint256"
1937
+ },
1938
+ {
1939
+ "name": "toEpoch",
1940
+ "internalType": "uint256",
1941
+ "type": "uint256"
1942
+ }
1943
+ ],
1944
+ "name": "InvalidEpochRange"
1945
+ },
1946
+ {
1947
+ "type": "error",
1948
+ "inputs": [],
1949
+ "name": "InvalidInitialization"
1950
+ },
1951
+ {
1952
+ "type": "error",
1953
+ "inputs": [
1954
+ {
1955
+ "name": "length",
1956
+ "internalType": "uint256",
1957
+ "type": "uint256"
1958
+ }
1959
+ ],
1960
+ "name": "InvalidServiceDescriptionLength"
1961
+ },
1962
+ {
1963
+ "type": "error",
1964
+ "inputs": [
1965
+ {
1966
+ "name": "length",
1967
+ "internalType": "uint256",
1968
+ "type": "uint256"
1969
+ }
1970
+ ],
1971
+ "name": "InvalidServiceNameLength"
1972
+ },
1973
+ {
1974
+ "type": "error",
1975
+ "inputs": [
1976
+ {
1977
+ "name": "dataSetId",
1978
+ "internalType": "uint256",
1979
+ "type": "uint256"
1980
+ }
1981
+ ],
1982
+ "name": "InvalidTopUpAmount"
1983
+ },
1984
+ {
1985
+ "type": "error",
1986
+ "inputs": [],
1987
+ "name": "MaxProvingPeriodZero"
1988
+ },
1989
+ {
1990
+ "type": "error",
1991
+ "inputs": [
1992
+ {
1993
+ "name": "metadataArrayCount",
1994
+ "internalType": "uint256",
1995
+ "type": "uint256"
1996
+ },
1997
+ {
1998
+ "name": "pieceCount",
1999
+ "internalType": "uint256",
2000
+ "type": "uint256"
2001
+ }
2002
+ ],
2003
+ "name": "MetadataArrayCountMismatch"
2004
+ },
2005
+ {
2006
+ "type": "error",
2007
+ "inputs": [
2008
+ {
2009
+ "name": "keysLength",
2010
+ "internalType": "uint256",
2011
+ "type": "uint256"
2012
+ },
2013
+ {
2014
+ "name": "valuesLength",
2015
+ "internalType": "uint256",
2016
+ "type": "uint256"
2017
+ }
2018
+ ],
2019
+ "name": "MetadataKeyAndValueLengthMismatch"
2020
+ },
2021
+ {
2022
+ "type": "error",
2023
+ "inputs": [
2024
+ {
2025
+ "name": "index",
2026
+ "internalType": "uint256",
2027
+ "type": "uint256"
2028
+ },
2029
+ {
2030
+ "name": "maxAllowed",
2031
+ "internalType": "uint256",
2032
+ "type": "uint256"
2033
+ },
2034
+ {
2035
+ "name": "length",
2036
+ "internalType": "uint256",
2037
+ "type": "uint256"
2038
+ }
2039
+ ],
2040
+ "name": "MetadataKeyExceedsMaxLength"
2041
+ },
2042
+ {
2043
+ "type": "error",
2044
+ "inputs": [
2045
+ {
2046
+ "name": "index",
2047
+ "internalType": "uint256",
2048
+ "type": "uint256"
2049
+ },
2050
+ {
2051
+ "name": "maxAllowed",
2052
+ "internalType": "uint256",
2053
+ "type": "uint256"
2054
+ },
2055
+ {
2056
+ "name": "length",
2057
+ "internalType": "uint256",
2058
+ "type": "uint256"
2059
+ }
2060
+ ],
2061
+ "name": "MetadataValueExceedsMaxLength"
2062
+ },
2063
+ {
2064
+ "type": "error",
2065
+ "inputs": [
2066
+ {
2067
+ "name": "dataSetId",
2068
+ "internalType": "uint256",
2069
+ "type": "uint256"
2070
+ },
2071
+ {
2072
+ "name": "periodDeadline",
2073
+ "internalType": "uint256",
2074
+ "type": "uint256"
2075
+ },
2076
+ {
2077
+ "name": "nowBlock",
2078
+ "internalType": "uint256",
2079
+ "type": "uint256"
2080
+ }
2081
+ ],
2082
+ "name": "NextProvingPeriodAlreadyCalled"
2083
+ },
2084
+ {
2085
+ "type": "error",
2086
+ "inputs": [
2087
+ {
2088
+ "name": "dataSetId",
2089
+ "internalType": "uint256",
2090
+ "type": "uint256"
2091
+ }
2092
+ ],
2093
+ "name": "NoPDPPaymentRail"
2094
+ },
2095
+ {
2096
+ "type": "error",
2097
+ "inputs": [],
2098
+ "name": "NotInitializing"
2099
+ },
2100
+ {
2101
+ "type": "error",
2102
+ "inputs": [
2103
+ {
2104
+ "name": "expected",
2105
+ "internalType": "address",
2106
+ "type": "address"
2107
+ },
2108
+ {
2109
+ "name": "actual",
2110
+ "internalType": "address",
2111
+ "type": "address"
2112
+ }
2113
+ ],
2114
+ "name": "OnlyFilBeamControllerAllowed"
2115
+ },
2116
+ {
2117
+ "type": "error",
2118
+ "inputs": [
2119
+ {
2120
+ "name": "expected",
2121
+ "internalType": "address",
2122
+ "type": "address"
2123
+ },
2124
+ {
2125
+ "name": "actual",
2126
+ "internalType": "address",
2127
+ "type": "address"
2128
+ }
2129
+ ],
2130
+ "name": "OnlyPDPVerifierAllowed"
2131
+ },
2132
+ {
2133
+ "type": "error",
2134
+ "inputs": [
2135
+ {
2136
+ "name": "payer",
2137
+ "internalType": "address",
2138
+ "type": "address"
2139
+ },
2140
+ {
2141
+ "name": "operator",
2142
+ "internalType": "address",
2143
+ "type": "address"
2144
+ }
2145
+ ],
2146
+ "name": "OperatorNotApproved"
2147
+ },
2148
+ {
2149
+ "type": "error",
2150
+ "inputs": [
2151
+ {
2152
+ "name": "owner",
2153
+ "internalType": "address",
2154
+ "type": "address"
2155
+ }
2156
+ ],
2157
+ "name": "OwnableInvalidOwner"
2158
+ },
2159
+ {
2160
+ "type": "error",
2161
+ "inputs": [
2162
+ {
2163
+ "name": "account",
2164
+ "internalType": "address",
2165
+ "type": "address"
2166
+ }
2167
+ ],
2168
+ "name": "OwnableUnauthorizedAccount"
2169
+ },
2170
+ {
2171
+ "type": "error",
2172
+ "inputs": [
2173
+ {
2174
+ "name": "dataSetId",
2175
+ "internalType": "uint256",
2176
+ "type": "uint256"
2177
+ },
2178
+ {
2179
+ "name": "pdpEndEpoch",
2180
+ "internalType": "uint256",
2181
+ "type": "uint256"
2182
+ }
2183
+ ],
2184
+ "name": "PaymentRailsNotFinalized"
2185
+ },
2186
+ {
2187
+ "type": "error",
2188
+ "inputs": [
2189
+ {
2190
+ "name": "priceType",
2191
+ "internalType": "enum Errors.PriceType",
2192
+ "type": "uint8"
2193
+ },
2194
+ {
2195
+ "name": "maxAllowed",
2196
+ "internalType": "uint256",
2197
+ "type": "uint256"
2198
+ },
2199
+ {
2200
+ "name": "actual",
2201
+ "internalType": "uint256",
2202
+ "type": "uint256"
2203
+ }
2204
+ ],
2205
+ "name": "PriceExceedsMaximum"
2206
+ },
2207
+ {
2208
+ "type": "error",
2209
+ "inputs": [
2210
+ {
2211
+ "name": "dataSetId",
2212
+ "internalType": "uint256",
2213
+ "type": "uint256"
2214
+ }
2215
+ ],
2216
+ "name": "ProofAlreadySubmitted"
2217
+ },
2218
+ {
2219
+ "type": "error",
2220
+ "inputs": [
2221
+ {
2222
+ "name": "providerId",
2223
+ "internalType": "uint256",
2224
+ "type": "uint256"
2225
+ }
2226
+ ],
2227
+ "name": "ProviderAlreadyApproved"
2228
+ },
2229
+ {
2230
+ "type": "error",
2231
+ "inputs": [
2232
+ {
2233
+ "name": "providerId",
2234
+ "internalType": "uint256",
2235
+ "type": "uint256"
2236
+ }
2237
+ ],
2238
+ "name": "ProviderNotInApprovedList"
2239
+ },
2240
+ {
2241
+ "type": "error",
2242
+ "inputs": [
2243
+ {
2244
+ "name": "provider",
2245
+ "internalType": "address",
2246
+ "type": "address"
2247
+ }
2248
+ ],
2249
+ "name": "ProviderNotRegistered"
2250
+ },
2251
+ {
2252
+ "type": "error",
2253
+ "inputs": [
2254
+ {
2255
+ "name": "dataSetId",
2256
+ "internalType": "uint256",
2257
+ "type": "uint256"
2258
+ }
2259
+ ],
2260
+ "name": "ProvingNotStarted"
2261
+ },
2262
+ {
2263
+ "type": "error",
2264
+ "inputs": [
2265
+ {
2266
+ "name": "dataSetId",
2267
+ "internalType": "uint256",
2268
+ "type": "uint256"
2269
+ },
2270
+ {
2271
+ "name": "deadline",
2272
+ "internalType": "uint256",
2273
+ "type": "uint256"
2274
+ },
2275
+ {
2276
+ "name": "nowBlock",
2277
+ "internalType": "uint256",
2278
+ "type": "uint256"
2279
+ }
2280
+ ],
2281
+ "name": "ProvingPeriodPassed"
2282
+ },
2283
+ {
2284
+ "type": "error",
2285
+ "inputs": [
2286
+ {
2287
+ "name": "railId",
2288
+ "internalType": "uint256",
2289
+ "type": "uint256"
2290
+ }
2291
+ ],
2292
+ "name": "RailNotAssociated"
2293
+ },
2294
+ {
2295
+ "type": "error",
2296
+ "inputs": [
2297
+ {
2298
+ "name": "railId",
2299
+ "internalType": "uint256",
2300
+ "type": "uint256"
2301
+ },
2302
+ {
2303
+ "name": "settledUpTo",
2304
+ "internalType": "uint256",
2305
+ "type": "uint256"
2306
+ },
2307
+ {
2308
+ "name": "endEpoch",
2309
+ "internalType": "uint256",
2310
+ "type": "uint256"
2311
+ }
2312
+ ],
2313
+ "name": "RailNotFullySettled"
2314
+ },
2315
+ {
2316
+ "type": "error",
2317
+ "inputs": [],
2318
+ "name": "ServiceContractMustTerminateRail"
2319
+ },
2320
+ {
2321
+ "type": "error",
2322
+ "inputs": [
2323
+ {
2324
+ "name": "maxAllowed",
2325
+ "internalType": "uint256",
2326
+ "type": "uint256"
2327
+ },
2328
+ {
2329
+ "name": "keysLength",
2330
+ "internalType": "uint256",
2331
+ "type": "uint256"
2332
+ }
2333
+ ],
2334
+ "name": "TooManyMetadataKeys"
2335
+ },
2336
+ {
2337
+ "type": "error",
2338
+ "inputs": [],
2339
+ "name": "UUPSUnauthorizedCallContext"
2340
+ },
2341
+ {
2342
+ "type": "error",
2343
+ "inputs": [
2344
+ {
2345
+ "name": "slot",
2346
+ "internalType": "bytes32",
2347
+ "type": "bytes32"
2348
+ }
2349
+ ],
2350
+ "name": "UUPSUnsupportedProxiableUUID"
2351
+ },
2352
+ {
2353
+ "type": "error",
2354
+ "inputs": [
2355
+ {
2356
+ "name": "field",
2357
+ "internalType": "enum Errors.AddressField",
2358
+ "type": "uint8"
2359
+ }
2360
+ ],
2361
+ "name": "ZeroAddress"
2362
+ }
2363
+ ]