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