@somnia-chain/contracts-sdk 0.3.8 → 0.3.9

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,1425 @@
1
+ // Generated by `registry sdk` from dist-public/ — do not edit.
2
+ export const abi_020791ccfc7b = [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "inputs": [],
10
+ "name": "DISPLAY_DECIMALS",
11
+ "outputs": [
12
+ {
13
+ "internalType": "uint8",
14
+ "name": "",
15
+ "type": "uint8"
16
+ }
17
+ ],
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "FEED",
24
+ "outputs": [
25
+ {
26
+ "internalType": "contract IPriceFeedLatest",
27
+ "name": "",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "stateMutability": "view",
32
+ "type": "function"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "MODULE",
37
+ "outputs": [
38
+ {
39
+ "internalType": "contract IOracleAnswerReceiver",
40
+ "name": "",
41
+ "type": "address"
42
+ }
43
+ ],
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "PRICE_DECIMALS",
50
+ "outputs": [
51
+ {
52
+ "internalType": "uint8",
53
+ "name": "",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "stateMutability": "view",
58
+ "type": "function"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "UPGRADE_INTERFACE_VERSION",
63
+ "outputs": [
64
+ {
65
+ "internalType": "string",
66
+ "name": "",
67
+ "type": "string"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "acceptOwnership",
76
+ "outputs": [],
77
+ "stateMutability": "nonpayable",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "uint256",
84
+ "name": "questionId",
85
+ "type": "uint256"
86
+ }
87
+ ],
88
+ "name": "advanceCapture",
89
+ "outputs": [
90
+ {
91
+ "internalType": "bool",
92
+ "name": "captured",
93
+ "type": "bool"
94
+ }
95
+ ],
96
+ "stateMutability": "nonpayable",
97
+ "type": "function"
98
+ },
99
+ {
100
+ "inputs": [
101
+ {
102
+ "internalType": "bytes32",
103
+ "name": "boundaryKey",
104
+ "type": "bytes32"
105
+ }
106
+ ],
107
+ "name": "boundaryCaptures",
108
+ "outputs": [
109
+ {
110
+ "internalType": "uint256",
111
+ "name": "price",
112
+ "type": "uint256"
113
+ },
114
+ {
115
+ "internalType": "uint64",
116
+ "name": "capturedAt",
117
+ "type": "uint64"
118
+ },
119
+ {
120
+ "internalType": "bool",
121
+ "name": "voided",
122
+ "type": "bool"
123
+ },
124
+ {
125
+ "internalType": "bool",
126
+ "name": "captured",
127
+ "type": "bool"
128
+ }
129
+ ],
130
+ "stateMutability": "view",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "internalType": "bytes32",
137
+ "name": "boundaryKey",
138
+ "type": "bytes32"
139
+ }
140
+ ],
141
+ "name": "boundaryObservations",
142
+ "outputs": [
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "price",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "sourceUpdatedAtMs",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "questionId",
162
+ "type": "uint256"
163
+ }
164
+ ],
165
+ "name": "capture",
166
+ "outputs": [],
167
+ "stateMutability": "nonpayable",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "uint256",
174
+ "name": "questionId",
175
+ "type": "uint256"
176
+ }
177
+ ],
178
+ "name": "captures",
179
+ "outputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "price",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint64",
187
+ "name": "capturedAt",
188
+ "type": "uint64"
189
+ },
190
+ {
191
+ "internalType": "uint8",
192
+ "name": "outcomeIdx",
193
+ "type": "uint8"
194
+ },
195
+ {
196
+ "internalType": "bool",
197
+ "name": "voided",
198
+ "type": "bool"
199
+ },
200
+ {
201
+ "internalType": "bool",
202
+ "name": "captured",
203
+ "type": "bool"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "questionId",
214
+ "type": "uint256"
215
+ }
216
+ ],
217
+ "name": "claimText",
218
+ "outputs": [
219
+ {
220
+ "internalType": "string",
221
+ "name": "",
222
+ "type": "string"
223
+ }
224
+ ],
225
+ "stateMutability": "view",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "components": [
232
+ {
233
+ "internalType": "string",
234
+ "name": "questionText",
235
+ "type": "string"
236
+ },
237
+ {
238
+ "components": [
239
+ {
240
+ "internalType": "enum QuestionSourceType",
241
+ "name": "sourceType",
242
+ "type": "uint8"
243
+ },
244
+ {
245
+ "internalType": "bytes",
246
+ "name": "params",
247
+ "type": "bytes"
248
+ }
249
+ ],
250
+ "internalType": "struct QuestionSource[]",
251
+ "name": "sources",
252
+ "type": "tuple[]"
253
+ },
254
+ {
255
+ "components": [
256
+ {
257
+ "internalType": "enum AnswerType",
258
+ "name": "answerType",
259
+ "type": "uint8"
260
+ },
261
+ {
262
+ "internalType": "string[]",
263
+ "name": "discreteOutcomes",
264
+ "type": "string[]"
265
+ },
266
+ {
267
+ "components": [
268
+ {
269
+ "internalType": "int256",
270
+ "name": "low",
271
+ "type": "int256"
272
+ },
273
+ {
274
+ "internalType": "int256",
275
+ "name": "high",
276
+ "type": "int256"
277
+ }
278
+ ],
279
+ "internalType": "struct Interval[]",
280
+ "name": "numericIntervals",
281
+ "type": "tuple[]"
282
+ },
283
+ {
284
+ "internalType": "uint64",
285
+ "name": "numericDecimals",
286
+ "type": "uint64"
287
+ }
288
+ ],
289
+ "internalType": "struct ValidAnswers",
290
+ "name": "validAnswers",
291
+ "type": "tuple"
292
+ },
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "resolutionTime",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "minAgreement",
301
+ "type": "uint256"
302
+ },
303
+ {
304
+ "internalType": "uint256",
305
+ "name": "subcommitteeSize",
306
+ "type": "uint256"
307
+ },
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "subcommitteeThreshold",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "internalType": "struct QuestionDefinition",
315
+ "name": "",
316
+ "type": "tuple"
317
+ }
318
+ ],
319
+ "name": "getSchedulingCost",
320
+ "outputs": [
321
+ {
322
+ "internalType": "uint256",
323
+ "name": "",
324
+ "type": "uint256"
325
+ }
326
+ ],
327
+ "stateMutability": "pure",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [
332
+ {
333
+ "internalType": "uint256",
334
+ "name": "",
335
+ "type": "uint256"
336
+ }
337
+ ],
338
+ "name": "getSlotCount",
339
+ "outputs": [
340
+ {
341
+ "internalType": "uint8",
342
+ "name": "",
343
+ "type": "uint8"
344
+ }
345
+ ],
346
+ "stateMutability": "pure",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "inputs": [
351
+ {
352
+ "internalType": "address",
353
+ "name": "admin",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "internalType": "contract IPriceFeedLatest",
358
+ "name": "feed",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "internalType": "contract IOracleAnswerReceiver",
363
+ "name": "module",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "uint64",
368
+ "name": "stalenessToleranceSec_",
369
+ "type": "uint64"
370
+ },
371
+ {
372
+ "internalType": "string",
373
+ "name": "labelPrefix_",
374
+ "type": "string"
375
+ },
376
+ {
377
+ "internalType": "uint8",
378
+ "name": "displayDecimals_",
379
+ "type": "uint8"
380
+ }
381
+ ],
382
+ "name": "initialize",
383
+ "outputs": [],
384
+ "stateMutability": "nonpayable",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "labelPrefix",
390
+ "outputs": [
391
+ {
392
+ "internalType": "string",
393
+ "name": "",
394
+ "type": "string"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "bytes32",
404
+ "name": "marketId",
405
+ "type": "bytes32"
406
+ }
407
+ ],
408
+ "name": "marketBound",
409
+ "outputs": [
410
+ {
411
+ "internalType": "bool",
412
+ "name": "",
413
+ "type": "bool"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "questionId",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "name": "marketCountFor",
428
+ "outputs": [
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "count",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "bytes32",
442
+ "name": "marketId",
443
+ "type": "bytes32"
444
+ }
445
+ ],
446
+ "name": "marketResolutionDelivered",
447
+ "outputs": [
448
+ {
449
+ "internalType": "bool",
450
+ "name": "",
451
+ "type": "bool"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "uint256",
461
+ "name": "questionId",
462
+ "type": "uint256"
463
+ }
464
+ ],
465
+ "name": "marketsFor",
466
+ "outputs": [
467
+ {
468
+ "internalType": "bytes32[]",
469
+ "name": "marketIds",
470
+ "type": "bytes32[]"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "bytes32",
480
+ "name": "marketId",
481
+ "type": "bytes32"
482
+ },
483
+ {
484
+ "internalType": "uint32",
485
+ "name": "",
486
+ "type": "uint32"
487
+ },
488
+ {
489
+ "internalType": "uint256",
490
+ "name": "oracleQuestionId",
491
+ "type": "uint256"
492
+ },
493
+ {
494
+ "internalType": "address",
495
+ "name": "",
496
+ "type": "address"
497
+ }
498
+ ],
499
+ "name": "onBind",
500
+ "outputs": [],
501
+ "stateMutability": "payable",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "bytes32",
508
+ "name": "marketId",
509
+ "type": "bytes32"
510
+ },
511
+ {
512
+ "internalType": "uint32",
513
+ "name": "",
514
+ "type": "uint32"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "oracleQuestionId",
519
+ "type": "uint256"
520
+ }
521
+ ],
522
+ "name": "onBind",
523
+ "outputs": [],
524
+ "stateMutability": "payable",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [
529
+ {
530
+ "internalType": "bytes32",
531
+ "name": "",
532
+ "type": "bytes32"
533
+ }
534
+ ],
535
+ "name": "onResolved",
536
+ "outputs": [],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "owner",
543
+ "outputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [],
555
+ "name": "pendingOwner",
556
+ "outputs": [
557
+ {
558
+ "internalType": "address",
559
+ "name": "",
560
+ "type": "address"
561
+ }
562
+ ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "proxiableUUID",
569
+ "outputs": [
570
+ {
571
+ "internalType": "bytes32",
572
+ "name": "",
573
+ "type": "bytes32"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "oracleQuestionId",
584
+ "type": "uint256"
585
+ }
586
+ ],
587
+ "name": "pullAnswer",
588
+ "outputs": [
589
+ {
590
+ "internalType": "uint8",
591
+ "name": "outcomeIdx",
592
+ "type": "uint8"
593
+ },
594
+ {
595
+ "internalType": "bool",
596
+ "name": "voided",
597
+ "type": "bool"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "oracleQuestionId",
608
+ "type": "uint256"
609
+ }
610
+ ],
611
+ "name": "pullNumericAnswer",
612
+ "outputs": [
613
+ {
614
+ "internalType": "int256",
615
+ "name": "numericValue",
616
+ "type": "int256"
617
+ },
618
+ {
619
+ "internalType": "bool",
620
+ "name": "voided",
621
+ "type": "bool"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "bytes32",
631
+ "name": "marketId",
632
+ "type": "bytes32"
633
+ }
634
+ ],
635
+ "name": "questionForMarket",
636
+ "outputs": [
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "",
640
+ "type": "uint256"
641
+ }
642
+ ],
643
+ "stateMutability": "view",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [
648
+ {
649
+ "internalType": "string",
650
+ "name": "symbol",
651
+ "type": "string"
652
+ },
653
+ {
654
+ "internalType": "uint256",
655
+ "name": "strike",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "internalType": "uint64",
660
+ "name": "expiry",
661
+ "type": "uint64"
662
+ }
663
+ ],
664
+ "name": "questionIdFor",
665
+ "outputs": [
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "questionId",
669
+ "type": "uint256"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "internalType": "uint256",
679
+ "name": "questionId",
680
+ "type": "uint256"
681
+ }
682
+ ],
683
+ "name": "questions",
684
+ "outputs": [
685
+ {
686
+ "internalType": "string",
687
+ "name": "symbol",
688
+ "type": "string"
689
+ },
690
+ {
691
+ "internalType": "uint256",
692
+ "name": "strike",
693
+ "type": "uint256"
694
+ },
695
+ {
696
+ "internalType": "uint64",
697
+ "name": "expiry",
698
+ "type": "uint64"
699
+ },
700
+ {
701
+ "internalType": "bool",
702
+ "name": "registered",
703
+ "type": "bool"
704
+ }
705
+ ],
706
+ "stateMutability": "view",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "string",
713
+ "name": "symbol",
714
+ "type": "string"
715
+ }
716
+ ],
717
+ "name": "readFreshPrice",
718
+ "outputs": [
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "price",
722
+ "type": "uint256"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [
730
+ {
731
+ "internalType": "string",
732
+ "name": "symbol",
733
+ "type": "string"
734
+ },
735
+ {
736
+ "internalType": "uint256",
737
+ "name": "strike",
738
+ "type": "uint256"
739
+ },
740
+ {
741
+ "internalType": "uint64",
742
+ "name": "expiry",
743
+ "type": "uint64"
744
+ }
745
+ ],
746
+ "name": "registerQuestion",
747
+ "outputs": [
748
+ {
749
+ "internalType": "uint256",
750
+ "name": "questionId",
751
+ "type": "uint256"
752
+ }
753
+ ],
754
+ "stateMutability": "nonpayable",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [],
759
+ "name": "renounceOwnership",
760
+ "outputs": [],
761
+ "stateMutability": "nonpayable",
762
+ "type": "function"
763
+ },
764
+ {
765
+ "inputs": [
766
+ {
767
+ "internalType": "uint256",
768
+ "name": "value",
769
+ "type": "uint256"
770
+ },
771
+ {
772
+ "internalType": "uint8",
773
+ "name": "toDecimals",
774
+ "type": "uint8"
775
+ }
776
+ ],
777
+ "name": "rescale",
778
+ "outputs": [
779
+ {
780
+ "internalType": "uint256",
781
+ "name": "scaled",
782
+ "type": "uint256"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
790
+ {
791
+ "internalType": "bytes32",
792
+ "name": "marketId",
793
+ "type": "bytes32"
794
+ }
795
+ ],
796
+ "name": "resolveMarket",
797
+ "outputs": [],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [],
803
+ "name": "resolveReserve",
804
+ "outputs": [
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "",
808
+ "type": "uint256"
809
+ }
810
+ ],
811
+ "stateMutability": "pure",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "components": [
818
+ {
819
+ "internalType": "string",
820
+ "name": "questionText",
821
+ "type": "string"
822
+ },
823
+ {
824
+ "components": [
825
+ {
826
+ "internalType": "enum QuestionSourceType",
827
+ "name": "sourceType",
828
+ "type": "uint8"
829
+ },
830
+ {
831
+ "internalType": "bytes",
832
+ "name": "params",
833
+ "type": "bytes"
834
+ }
835
+ ],
836
+ "internalType": "struct QuestionSource[]",
837
+ "name": "sources",
838
+ "type": "tuple[]"
839
+ },
840
+ {
841
+ "components": [
842
+ {
843
+ "internalType": "enum AnswerType",
844
+ "name": "answerType",
845
+ "type": "uint8"
846
+ },
847
+ {
848
+ "internalType": "string[]",
849
+ "name": "discreteOutcomes",
850
+ "type": "string[]"
851
+ },
852
+ {
853
+ "components": [
854
+ {
855
+ "internalType": "int256",
856
+ "name": "low",
857
+ "type": "int256"
858
+ },
859
+ {
860
+ "internalType": "int256",
861
+ "name": "high",
862
+ "type": "int256"
863
+ }
864
+ ],
865
+ "internalType": "struct Interval[]",
866
+ "name": "numericIntervals",
867
+ "type": "tuple[]"
868
+ },
869
+ {
870
+ "internalType": "uint64",
871
+ "name": "numericDecimals",
872
+ "type": "uint64"
873
+ }
874
+ ],
875
+ "internalType": "struct ValidAnswers",
876
+ "name": "validAnswers",
877
+ "type": "tuple"
878
+ },
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "resolutionTime",
882
+ "type": "uint256"
883
+ },
884
+ {
885
+ "internalType": "uint256",
886
+ "name": "minAgreement",
887
+ "type": "uint256"
888
+ },
889
+ {
890
+ "internalType": "uint256",
891
+ "name": "subcommitteeSize",
892
+ "type": "uint256"
893
+ },
894
+ {
895
+ "internalType": "uint256",
896
+ "name": "subcommitteeThreshold",
897
+ "type": "uint256"
898
+ }
899
+ ],
900
+ "internalType": "struct QuestionDefinition",
901
+ "name": "",
902
+ "type": "tuple"
903
+ }
904
+ ],
905
+ "name": "scheduleQuestion",
906
+ "outputs": [
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "stateMutability": "payable",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [],
918
+ "name": "stalenessToleranceSec",
919
+ "outputs": [
920
+ {
921
+ "internalType": "uint64",
922
+ "name": "",
923
+ "type": "uint64"
924
+ }
925
+ ],
926
+ "stateMutability": "view",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
931
+ {
932
+ "internalType": "bytes4",
933
+ "name": "interfaceId",
934
+ "type": "bytes4"
935
+ }
936
+ ],
937
+ "name": "supportsInterface",
938
+ "outputs": [
939
+ {
940
+ "internalType": "bool",
941
+ "name": "",
942
+ "type": "bool"
943
+ }
944
+ ],
945
+ "stateMutability": "view",
946
+ "type": "function"
947
+ },
948
+ {
949
+ "inputs": [
950
+ {
951
+ "internalType": "address",
952
+ "name": "newOwner",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "name": "transferOwnership",
957
+ "outputs": [],
958
+ "stateMutability": "nonpayable",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [
963
+ {
964
+ "internalType": "address",
965
+ "name": "newImplementation",
966
+ "type": "address"
967
+ },
968
+ {
969
+ "internalType": "bytes",
970
+ "name": "data",
971
+ "type": "bytes"
972
+ }
973
+ ],
974
+ "name": "upgradeToAndCall",
975
+ "outputs": [],
976
+ "stateMutability": "payable",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "anonymous": false,
981
+ "inputs": [
982
+ {
983
+ "indexed": true,
984
+ "internalType": "uint256",
985
+ "name": "questionId",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "indexed": false,
990
+ "internalType": "uint8",
991
+ "name": "outcomeIdx",
992
+ "type": "uint8"
993
+ },
994
+ {
995
+ "indexed": false,
996
+ "internalType": "string",
997
+ "name": "outcomeLabel",
998
+ "type": "string"
999
+ },
1000
+ {
1001
+ "indexed": false,
1002
+ "internalType": "int256",
1003
+ "name": "numericValue",
1004
+ "type": "int256"
1005
+ },
1006
+ {
1007
+ "indexed": false,
1008
+ "internalType": "bool",
1009
+ "name": "voided",
1010
+ "type": "bool"
1011
+ },
1012
+ {
1013
+ "indexed": false,
1014
+ "internalType": "uint8",
1015
+ "name": "reason",
1016
+ "type": "uint8"
1017
+ },
1018
+ {
1019
+ "indexed": false,
1020
+ "internalType": "uint256[]",
1021
+ "name": "receiptIds",
1022
+ "type": "uint256[]"
1023
+ }
1024
+ ],
1025
+ "name": "AnswerPosted",
1026
+ "type": "event"
1027
+ },
1028
+ {
1029
+ "anonymous": false,
1030
+ "inputs": [
1031
+ {
1032
+ "indexed": false,
1033
+ "internalType": "uint64",
1034
+ "name": "version",
1035
+ "type": "uint64"
1036
+ }
1037
+ ],
1038
+ "name": "Initialized",
1039
+ "type": "event"
1040
+ },
1041
+ {
1042
+ "anonymous": false,
1043
+ "inputs": [
1044
+ {
1045
+ "indexed": true,
1046
+ "internalType": "uint256",
1047
+ "name": "questionId",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "indexed": true,
1052
+ "internalType": "bytes32",
1053
+ "name": "marketId",
1054
+ "type": "bytes32"
1055
+ },
1056
+ {
1057
+ "indexed": false,
1058
+ "internalType": "bool",
1059
+ "name": "voided",
1060
+ "type": "bool"
1061
+ }
1062
+ ],
1063
+ "name": "MarketAnswered",
1064
+ "type": "event"
1065
+ },
1066
+ {
1067
+ "anonymous": false,
1068
+ "inputs": [
1069
+ {
1070
+ "indexed": true,
1071
+ "internalType": "uint256",
1072
+ "name": "questionId",
1073
+ "type": "uint256"
1074
+ },
1075
+ {
1076
+ "indexed": true,
1077
+ "internalType": "bytes32",
1078
+ "name": "marketId",
1079
+ "type": "bytes32"
1080
+ }
1081
+ ],
1082
+ "name": "MarketResolutionFailed",
1083
+ "type": "event"
1084
+ },
1085
+ {
1086
+ "anonymous": false,
1087
+ "inputs": [
1088
+ {
1089
+ "indexed": true,
1090
+ "internalType": "address",
1091
+ "name": "previousOwner",
1092
+ "type": "address"
1093
+ },
1094
+ {
1095
+ "indexed": true,
1096
+ "internalType": "address",
1097
+ "name": "newOwner",
1098
+ "type": "address"
1099
+ }
1100
+ ],
1101
+ "name": "OwnershipTransferStarted",
1102
+ "type": "event"
1103
+ },
1104
+ {
1105
+ "anonymous": false,
1106
+ "inputs": [
1107
+ {
1108
+ "indexed": true,
1109
+ "internalType": "address",
1110
+ "name": "previousOwner",
1111
+ "type": "address"
1112
+ },
1113
+ {
1114
+ "indexed": true,
1115
+ "internalType": "address",
1116
+ "name": "newOwner",
1117
+ "type": "address"
1118
+ }
1119
+ ],
1120
+ "name": "OwnershipTransferred",
1121
+ "type": "event"
1122
+ },
1123
+ {
1124
+ "anonymous": false,
1125
+ "inputs": [
1126
+ {
1127
+ "indexed": true,
1128
+ "internalType": "uint256",
1129
+ "name": "questionId",
1130
+ "type": "uint256"
1131
+ },
1132
+ {
1133
+ "indexed": false,
1134
+ "internalType": "string",
1135
+ "name": "symbol",
1136
+ "type": "string"
1137
+ },
1138
+ {
1139
+ "indexed": false,
1140
+ "internalType": "uint256",
1141
+ "name": "strike",
1142
+ "type": "uint256"
1143
+ },
1144
+ {
1145
+ "indexed": false,
1146
+ "internalType": "uint64",
1147
+ "name": "expiry",
1148
+ "type": "uint64"
1149
+ }
1150
+ ],
1151
+ "name": "QuestionRegistered",
1152
+ "type": "event"
1153
+ },
1154
+ {
1155
+ "anonymous": false,
1156
+ "inputs": [
1157
+ {
1158
+ "indexed": true,
1159
+ "internalType": "address",
1160
+ "name": "implementation",
1161
+ "type": "address"
1162
+ }
1163
+ ],
1164
+ "name": "Upgraded",
1165
+ "type": "event"
1166
+ },
1167
+ {
1168
+ "inputs": [
1169
+ {
1170
+ "internalType": "address",
1171
+ "name": "target",
1172
+ "type": "address"
1173
+ }
1174
+ ],
1175
+ "name": "AddressEmptyCode",
1176
+ "type": "error"
1177
+ },
1178
+ {
1179
+ "inputs": [
1180
+ {
1181
+ "internalType": "uint256",
1182
+ "name": "questionId",
1183
+ "type": "uint256"
1184
+ }
1185
+ ],
1186
+ "name": "AlreadyCaptured",
1187
+ "type": "error"
1188
+ },
1189
+ {
1190
+ "inputs": [
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "questionId",
1194
+ "type": "uint256"
1195
+ }
1196
+ ],
1197
+ "name": "CaptureOpen",
1198
+ "type": "error"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "implementation",
1205
+ "type": "address"
1206
+ }
1207
+ ],
1208
+ "name": "ERC1967InvalidImplementation",
1209
+ "type": "error"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "ERC1967NonPayable",
1214
+ "type": "error"
1215
+ },
1216
+ {
1217
+ "inputs": [],
1218
+ "name": "FailedCall",
1219
+ "type": "error"
1220
+ },
1221
+ {
1222
+ "inputs": [
1223
+ {
1224
+ "internalType": "bytes32",
1225
+ "name": "marketId",
1226
+ "type": "bytes32"
1227
+ }
1228
+ ],
1229
+ "name": "IncompatibleMarket",
1230
+ "type": "error"
1231
+ },
1232
+ {
1233
+ "inputs": [],
1234
+ "name": "InvalidConfiguration",
1235
+ "type": "error"
1236
+ },
1237
+ {
1238
+ "inputs": [],
1239
+ "name": "InvalidDependency",
1240
+ "type": "error"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "string",
1246
+ "name": "symbol",
1247
+ "type": "string"
1248
+ }
1249
+ ],
1250
+ "name": "InvalidFeedReading",
1251
+ "type": "error"
1252
+ },
1253
+ {
1254
+ "inputs": [],
1255
+ "name": "InvalidInitialization",
1256
+ "type": "error"
1257
+ },
1258
+ {
1259
+ "inputs": [],
1260
+ "name": "InvalidQuestion",
1261
+ "type": "error"
1262
+ },
1263
+ {
1264
+ "inputs": [
1265
+ {
1266
+ "internalType": "uint256",
1267
+ "name": "questionId",
1268
+ "type": "uint256"
1269
+ }
1270
+ ],
1271
+ "name": "NoAnswerYet",
1272
+ "type": "error"
1273
+ },
1274
+ {
1275
+ "inputs": [],
1276
+ "name": "NotInitializing",
1277
+ "type": "error"
1278
+ },
1279
+ {
1280
+ "inputs": [
1281
+ {
1282
+ "internalType": "uint64",
1283
+ "name": "expiry",
1284
+ "type": "uint64"
1285
+ }
1286
+ ],
1287
+ "name": "NotYetExpired",
1288
+ "type": "error"
1289
+ },
1290
+ {
1291
+ "inputs": [],
1292
+ "name": "OnlyModule",
1293
+ "type": "error"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ {
1298
+ "internalType": "address",
1299
+ "name": "owner",
1300
+ "type": "address"
1301
+ }
1302
+ ],
1303
+ "name": "OwnableInvalidOwner",
1304
+ "type": "error"
1305
+ },
1306
+ {
1307
+ "inputs": [
1308
+ {
1309
+ "internalType": "address",
1310
+ "name": "account",
1311
+ "type": "address"
1312
+ }
1313
+ ],
1314
+ "name": "OwnableUnauthorizedAccount",
1315
+ "type": "error"
1316
+ },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "uint256",
1321
+ "name": "questionId",
1322
+ "type": "uint256"
1323
+ }
1324
+ ],
1325
+ "name": "QuestionAlreadyExpired",
1326
+ "type": "error"
1327
+ },
1328
+ {
1329
+ "inputs": [],
1330
+ "name": "ReentrancyGuardReentrantCall",
1331
+ "type": "error"
1332
+ },
1333
+ {
1334
+ "inputs": [
1335
+ {
1336
+ "internalType": "uint256",
1337
+ "name": "value",
1338
+ "type": "uint256"
1339
+ },
1340
+ {
1341
+ "internalType": "uint8",
1342
+ "name": "fromDecimals",
1343
+ "type": "uint8"
1344
+ },
1345
+ {
1346
+ "internalType": "uint8",
1347
+ "name": "toDecimals",
1348
+ "type": "uint8"
1349
+ }
1350
+ ],
1351
+ "name": "RescaleOverflow",
1352
+ "type": "error"
1353
+ },
1354
+ {
1355
+ "inputs": [],
1356
+ "name": "SchedulingNotSupported",
1357
+ "type": "error"
1358
+ },
1359
+ {
1360
+ "inputs": [],
1361
+ "name": "UUPSUnauthorizedCallContext",
1362
+ "type": "error"
1363
+ },
1364
+ {
1365
+ "inputs": [
1366
+ {
1367
+ "internalType": "bytes32",
1368
+ "name": "slot",
1369
+ "type": "bytes32"
1370
+ }
1371
+ ],
1372
+ "name": "UUPSUnsupportedProxiableUUID",
1373
+ "type": "error"
1374
+ },
1375
+ {
1376
+ "inputs": [],
1377
+ "name": "UnexpectedValue",
1378
+ "type": "error"
1379
+ },
1380
+ {
1381
+ "inputs": [
1382
+ {
1383
+ "internalType": "bytes32",
1384
+ "name": "marketId",
1385
+ "type": "bytes32"
1386
+ }
1387
+ ],
1388
+ "name": "UnknownMarket",
1389
+ "type": "error"
1390
+ },
1391
+ {
1392
+ "inputs": [
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "questionId",
1396
+ "type": "uint256"
1397
+ }
1398
+ ],
1399
+ "name": "UnknownQuestion",
1400
+ "type": "error"
1401
+ },
1402
+ {
1403
+ "inputs": [
1404
+ {
1405
+ "internalType": "string",
1406
+ "name": "symbol",
1407
+ "type": "string"
1408
+ }
1409
+ ],
1410
+ "name": "UnknownSymbol",
1411
+ "type": "error"
1412
+ },
1413
+ {
1414
+ "inputs": [
1415
+ {
1416
+ "internalType": "uint8",
1417
+ "name": "decimals",
1418
+ "type": "uint8"
1419
+ }
1420
+ ],
1421
+ "name": "UnsupportedDecimals",
1422
+ "type": "error"
1423
+ }
1424
+ ];
1425
+ export const digest = "sha256:020791ccfc7b32419e90044b3688d25e485702b0725070015f9a996efceb3c9d";