@varla/protocol 0.0.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.
Files changed (61) hide show
  1. package/dist/abi/full/OpinionCtfExecutionEngineAdapter.d.ts +240 -0
  2. package/dist/abi/full/OpinionCtfExecutionEngineAdapter.d.ts.map +1 -0
  3. package/dist/abi/full/OpinionCtfExecutionEngineAdapter.js +315 -0
  4. package/dist/abi/full/PolymarketCtfAdapter.d.ts +234 -0
  5. package/dist/abi/full/PolymarketCtfAdapter.d.ts.map +1 -0
  6. package/dist/abi/full/PolymarketCtfAdapter.js +307 -0
  7. package/dist/abi/full/VarlaAccessManager.d.ts +896 -0
  8. package/dist/abi/full/VarlaAccessManager.d.ts.map +1 -0
  9. package/dist/abi/full/VarlaAccessManager.js +1166 -0
  10. package/dist/abi/full/VarlaConvertLiquidator.d.ts +603 -0
  11. package/dist/abi/full/VarlaConvertLiquidator.d.ts.map +1 -0
  12. package/dist/abi/full/VarlaConvertLiquidator.js +784 -0
  13. package/dist/abi/full/VarlaCore.d.ts +1671 -0
  14. package/dist/abi/full/VarlaCore.d.ts.map +1 -0
  15. package/dist/abi/full/VarlaCore.js +2176 -0
  16. package/dist/abi/full/VarlaInterestRateStrategy.d.ts +337 -0
  17. package/dist/abi/full/VarlaInterestRateStrategy.d.ts.map +1 -0
  18. package/dist/abi/full/VarlaInterestRateStrategy.js +437 -0
  19. package/dist/abi/full/VarlaLiquidator.d.ts +669 -0
  20. package/dist/abi/full/VarlaLiquidator.d.ts.map +1 -0
  21. package/dist/abi/full/VarlaLiquidator.js +864 -0
  22. package/dist/abi/full/VarlaMergeLiquidator.d.ts +575 -0
  23. package/dist/abi/full/VarlaMergeLiquidator.d.ts.map +1 -0
  24. package/dist/abi/full/VarlaMergeLiquidator.js +747 -0
  25. package/dist/abi/full/VarlaOracle.d.ts +1278 -0
  26. package/dist/abi/full/VarlaOracle.d.ts.map +1 -0
  27. package/dist/abi/full/VarlaOracle.js +1673 -0
  28. package/dist/abi/full/VarlaPool.d.ts +1242 -0
  29. package/dist/abi/full/VarlaPool.d.ts.map +1 -0
  30. package/dist/abi/full/VarlaPool.js +1621 -0
  31. package/dist/abi/full/VarlaProxyAdmin.d.ts +227 -0
  32. package/dist/abi/full/VarlaProxyAdmin.d.ts.map +1 -0
  33. package/dist/abi/full/VarlaProxyAdmin.js +296 -0
  34. package/dist/abi/index.d.ts +13 -0
  35. package/dist/abi/index.d.ts.map +1 -0
  36. package/dist/abi/index.js +14 -0
  37. package/dist/abi/subsets/VarlaOracle.registry.d.ts +532 -0
  38. package/dist/abi/subsets/VarlaOracle.registry.d.ts.map +1 -0
  39. package/dist/abi/subsets/VarlaOracle.registry.js +695 -0
  40. package/dist/abi.d.ts +2 -0
  41. package/dist/abi.d.ts.map +1 -0
  42. package/dist/abi.js +2 -0
  43. package/dist/addresses/bsc.d.ts +3 -0
  44. package/dist/addresses/bsc.d.ts.map +1 -0
  45. package/dist/addresses/bsc.js +10 -0
  46. package/dist/addresses/index.d.ts +3 -0
  47. package/dist/addresses/index.d.ts.map +1 -0
  48. package/dist/addresses/index.js +4 -0
  49. package/dist/addresses/polygon.d.ts +3 -0
  50. package/dist/addresses/polygon.d.ts.map +1 -0
  51. package/dist/addresses/polygon.js +10 -0
  52. package/dist/addresses.d.ts +2 -0
  53. package/dist/addresses.d.ts.map +1 -0
  54. package/dist/addresses.js +2 -0
  55. package/dist/index.d.ts +2 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +2 -0
  58. package/dist/types.d.ts +20 -0
  59. package/dist/types.d.ts.map +1 -0
  60. package/dist/types.js +1 -0
  61. package/package.json +42 -0
@@ -0,0 +1,1673 @@
1
+ export const VARLAORACLE_ABI = [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_authority",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_updater",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_collateral",
17
+ "type": "address"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [
25
+ {
26
+ "internalType": "address",
27
+ "name": "authority",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "name": "AccessManagedInvalidAuthority",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "caller",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "internalType": "uint32",
43
+ "name": "delay",
44
+ "type": "uint32"
45
+ }
46
+ ],
47
+ "name": "AccessManagedRequiredDelay",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "address",
54
+ "name": "caller",
55
+ "type": "address"
56
+ }
57
+ ],
58
+ "name": "AccessManagedUnauthorized",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "ArrayLengthMismatch",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "uint256",
70
+ "name": "positionId",
71
+ "type": "uint256"
72
+ }
73
+ ],
74
+ "name": "DuplicateNegRiskPositionId",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "uint256",
81
+ "name": "positionId",
82
+ "type": "uint256"
83
+ }
84
+ ],
85
+ "name": "EarlyClosureWindowActive",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "bytes32",
92
+ "name": "marketId",
93
+ "type": "bytes32"
94
+ }
95
+ ],
96
+ "name": "EmptyNegRiskMarketPositions",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "InvalidAddress",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "uint256",
108
+ "name": "value",
109
+ "type": "uint256"
110
+ }
111
+ ],
112
+ "name": "InvalidEarlyClosureWindow",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "uint256",
119
+ "name": "value",
120
+ "type": "uint256"
121
+ }
122
+ ],
123
+ "name": "InvalidLiquidationGracePeriod",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "value",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "name": "InvalidMaxStaleness",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "yesPositionId",
142
+ "type": "uint256"
143
+ },
144
+ {
145
+ "internalType": "uint256",
146
+ "name": "noPositionId",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "name": "InvalidOppositePositionPair",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "positionId",
158
+ "type": "uint256"
159
+ }
160
+ ],
161
+ "name": "InvalidPrice",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "uint8",
168
+ "name": "tier",
169
+ "type": "uint8"
170
+ }
171
+ ],
172
+ "name": "InvalidRiskTier",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "bytes32",
179
+ "name": "marketId",
180
+ "type": "bytes32"
181
+ }
182
+ ],
183
+ "name": "NegRiskMarketAlreadyRegistered",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "OnlyUpdater",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [
193
+ {
194
+ "internalType": "uint256",
195
+ "name": "positionId",
196
+ "type": "uint256"
197
+ }
198
+ ],
199
+ "name": "PositionNotConfigured",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "price",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "name": "PriceExceedsMax",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "positionId",
218
+ "type": "uint256"
219
+ },
220
+ {
221
+ "internalType": "uint256",
222
+ "name": "lastUpdated",
223
+ "type": "uint256"
224
+ },
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "maxAge",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "name": "StalePrice",
232
+ "type": "error"
233
+ },
234
+ {
235
+ "anonymous": false,
236
+ "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "authority",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "AuthorityUpdated",
245
+ "type": "event"
246
+ },
247
+ {
248
+ "anonymous": false,
249
+ "inputs": [
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint256",
253
+ "name": "oldWindow",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "newWindow",
260
+ "type": "uint256"
261
+ }
262
+ ],
263
+ "name": "DefaultEarlyClosureWindowUpdated",
264
+ "type": "event"
265
+ },
266
+ {
267
+ "anonymous": false,
268
+ "inputs": [
269
+ {
270
+ "indexed": false,
271
+ "internalType": "uint256",
272
+ "name": "oldGracePeriod",
273
+ "type": "uint256"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint256",
278
+ "name": "newGracePeriod",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "LiquidationGracePeriodUpdated",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "uint256",
291
+ "name": "oldMaxStaleness",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "uint256",
297
+ "name": "newMaxStaleness",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "MaxStalenessUpdated",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "anonymous": false,
306
+ "inputs": [
307
+ {
308
+ "indexed": true,
309
+ "internalType": "bytes32",
310
+ "name": "marketId",
311
+ "type": "bytes32"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "uint256",
316
+ "name": "oldCount",
317
+ "type": "uint256"
318
+ },
319
+ {
320
+ "indexed": false,
321
+ "internalType": "uint256",
322
+ "name": "newCount",
323
+ "type": "uint256"
324
+ }
325
+ ],
326
+ "name": "NegRiskMarketPositionsOverridden",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": true,
334
+ "internalType": "bytes32",
335
+ "name": "marketId",
336
+ "type": "bytes32"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "uint256",
341
+ "name": "count",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "name": "NegRiskMarketPositionsRegistered",
346
+ "type": "event"
347
+ },
348
+ {
349
+ "anonymous": false,
350
+ "inputs": [
351
+ {
352
+ "indexed": true,
353
+ "internalType": "uint256",
354
+ "name": "positionId",
355
+ "type": "uint256"
356
+ },
357
+ {
358
+ "indexed": true,
359
+ "internalType": "bytes32",
360
+ "name": "marketId",
361
+ "type": "bytes32"
362
+ }
363
+ ],
364
+ "name": "NegRiskPositionConfigured",
365
+ "type": "event"
366
+ },
367
+ {
368
+ "anonymous": false,
369
+ "inputs": [
370
+ {
371
+ "indexed": true,
372
+ "internalType": "bytes32",
373
+ "name": "marketId",
374
+ "type": "bytes32"
375
+ },
376
+ {
377
+ "indexed": false,
378
+ "internalType": "uint256",
379
+ "name": "count",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "name": "NegRiskPositionsBatchConfigured",
384
+ "type": "event"
385
+ },
386
+ {
387
+ "anonymous": false,
388
+ "inputs": [
389
+ {
390
+ "indexed": true,
391
+ "internalType": "uint256",
392
+ "name": "yesPositionId",
393
+ "type": "uint256"
394
+ },
395
+ {
396
+ "indexed": true,
397
+ "internalType": "uint256",
398
+ "name": "noPositionId",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "name": "OppositePositionsConfigured",
403
+ "type": "event"
404
+ },
405
+ {
406
+ "anonymous": false,
407
+ "inputs": [
408
+ {
409
+ "indexed": true,
410
+ "internalType": "uint256",
411
+ "name": "positionId",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "uint8",
417
+ "name": "riskTier",
418
+ "type": "uint8"
419
+ },
420
+ {
421
+ "indexed": false,
422
+ "internalType": "bytes32",
423
+ "name": "conditionId",
424
+ "type": "bytes32"
425
+ },
426
+ {
427
+ "indexed": false,
428
+ "internalType": "uint256",
429
+ "name": "resolutionTime",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "name": "PositionConfigured",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "anonymous": false,
438
+ "inputs": [
439
+ {
440
+ "indexed": true,
441
+ "internalType": "uint256",
442
+ "name": "positionId",
443
+ "type": "uint256"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "bool",
448
+ "name": "isSet",
449
+ "type": "bool"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint256",
454
+ "name": "window",
455
+ "type": "uint256"
456
+ }
457
+ ],
458
+ "name": "PositionEarlyClosureWindowOverrideUpdated",
459
+ "type": "event"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": true,
466
+ "internalType": "uint256",
467
+ "name": "positionId",
468
+ "type": "uint256"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "string",
473
+ "name": "reason",
474
+ "type": "string"
475
+ }
476
+ ],
477
+ "name": "PositionInvalidated",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [
483
+ {
484
+ "indexed": true,
485
+ "internalType": "uint256",
486
+ "name": "positionId",
487
+ "type": "uint256"
488
+ }
489
+ ],
490
+ "name": "PositionValidated",
491
+ "type": "event"
492
+ },
493
+ {
494
+ "anonymous": false,
495
+ "inputs": [
496
+ {
497
+ "indexed": true,
498
+ "internalType": "uint256",
499
+ "name": "positionId",
500
+ "type": "uint256"
501
+ },
502
+ {
503
+ "indexed": false,
504
+ "internalType": "uint256",
505
+ "name": "price",
506
+ "type": "uint256"
507
+ },
508
+ {
509
+ "indexed": false,
510
+ "internalType": "uint256",
511
+ "name": "twap",
512
+ "type": "uint256"
513
+ },
514
+ {
515
+ "indexed": false,
516
+ "internalType": "uint256",
517
+ "name": "liquidity",
518
+ "type": "uint256"
519
+ },
520
+ {
521
+ "indexed": false,
522
+ "internalType": "bool",
523
+ "name": "isValid",
524
+ "type": "bool"
525
+ }
526
+ ],
527
+ "name": "PriceUpdated",
528
+ "type": "event"
529
+ },
530
+ {
531
+ "anonymous": false,
532
+ "inputs": [
533
+ {
534
+ "indexed": true,
535
+ "internalType": "address",
536
+ "name": "oldUpdater",
537
+ "type": "address"
538
+ },
539
+ {
540
+ "indexed": true,
541
+ "internalType": "address",
542
+ "name": "newUpdater",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "name": "UpdaterChanged",
547
+ "type": "event"
548
+ },
549
+ {
550
+ "inputs": [],
551
+ "name": "DEFAULT_EARLY_CLOSURE_WINDOW",
552
+ "outputs": [
553
+ {
554
+ "internalType": "uint256",
555
+ "name": "",
556
+ "type": "uint256"
557
+ }
558
+ ],
559
+ "stateMutability": "view",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "DEFAULT_LIQUIDATION_GRACE_PERIOD",
565
+ "outputs": [
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "DEFAULT_MAX_STALENESS",
578
+ "outputs": [
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "",
582
+ "type": "uint256"
583
+ }
584
+ ],
585
+ "stateMutability": "view",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [],
590
+ "name": "MAX_EARLY_CLOSURE_WINDOW",
591
+ "outputs": [
592
+ {
593
+ "internalType": "uint256",
594
+ "name": "",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "stateMutability": "view",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [],
603
+ "name": "MAX_LIQUIDATION_GRACE_PERIOD",
604
+ "outputs": [
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "",
608
+ "type": "uint256"
609
+ }
610
+ ],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [],
616
+ "name": "MAX_MAX_STALENESS",
617
+ "outputs": [
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [],
629
+ "name": "MAX_PRICE",
630
+ "outputs": [
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "stateMutability": "view",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [],
642
+ "name": "MIN_LIQUIDITY",
643
+ "outputs": [
644
+ {
645
+ "internalType": "uint256",
646
+ "name": "",
647
+ "type": "uint256"
648
+ }
649
+ ],
650
+ "stateMutability": "view",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [],
655
+ "name": "MIN_MAX_STALENESS",
656
+ "outputs": [
657
+ {
658
+ "internalType": "uint256",
659
+ "name": "",
660
+ "type": "uint256"
661
+ }
662
+ ],
663
+ "stateMutability": "view",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [],
668
+ "name": "PRICE_DECIMALS",
669
+ "outputs": [
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "stateMutability": "view",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [],
681
+ "name": "authority",
682
+ "outputs": [
683
+ {
684
+ "internalType": "address",
685
+ "name": "",
686
+ "type": "address"
687
+ }
688
+ ],
689
+ "stateMutability": "view",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "positionId",
697
+ "type": "uint256"
698
+ }
699
+ ],
700
+ "name": "clearPositionEarlyClosureWindowOverride",
701
+ "outputs": [],
702
+ "stateMutability": "nonpayable",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [],
707
+ "name": "collateralDecimals",
708
+ "outputs": [
709
+ {
710
+ "internalType": "uint8",
711
+ "name": "",
712
+ "type": "uint8"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "uint256",
722
+ "name": "positionId",
723
+ "type": "uint256"
724
+ },
725
+ {
726
+ "internalType": "bytes32",
727
+ "name": "negRiskMarketId",
728
+ "type": "bytes32"
729
+ }
730
+ ],
731
+ "name": "configureNegRiskPosition",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "uint256[]",
740
+ "name": "positionIds",
741
+ "type": "uint256[]"
742
+ },
743
+ {
744
+ "internalType": "bytes32",
745
+ "name": "negRiskMarketId",
746
+ "type": "bytes32"
747
+ }
748
+ ],
749
+ "name": "configureNegRiskPositionsBatch",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "uint256",
758
+ "name": "yesPositionId",
759
+ "type": "uint256"
760
+ },
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "noPositionId",
764
+ "type": "uint256"
765
+ }
766
+ ],
767
+ "name": "configureOppositePositions",
768
+ "outputs": [],
769
+ "stateMutability": "nonpayable",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "uint256",
776
+ "name": "positionId",
777
+ "type": "uint256"
778
+ },
779
+ {
780
+ "internalType": "uint8",
781
+ "name": "riskTier",
782
+ "type": "uint8"
783
+ },
784
+ {
785
+ "internalType": "bytes32",
786
+ "name": "conditionId",
787
+ "type": "bytes32"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "resolutionTime",
792
+ "type": "uint256"
793
+ }
794
+ ],
795
+ "name": "configurePosition",
796
+ "outputs": [],
797
+ "stateMutability": "nonpayable",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [
802
+ {
803
+ "internalType": "uint256[]",
804
+ "name": "positionIds",
805
+ "type": "uint256[]"
806
+ },
807
+ {
808
+ "internalType": "uint8[]",
809
+ "name": "riskTiers",
810
+ "type": "uint8[]"
811
+ },
812
+ {
813
+ "internalType": "bytes32[]",
814
+ "name": "conditionIds",
815
+ "type": "bytes32[]"
816
+ },
817
+ {
818
+ "internalType": "uint256[]",
819
+ "name": "resolutionTimes",
820
+ "type": "uint256[]"
821
+ }
822
+ ],
823
+ "name": "configurePositionsBatch",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [],
830
+ "name": "defaultEarlyClosureWindow",
831
+ "outputs": [
832
+ {
833
+ "internalType": "uint256",
834
+ "name": "",
835
+ "type": "uint256"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "positionId",
846
+ "type": "uint256"
847
+ }
848
+ ],
849
+ "name": "getConditionId",
850
+ "outputs": [
851
+ {
852
+ "internalType": "bytes32",
853
+ "name": "",
854
+ "type": "bytes32"
855
+ }
856
+ ],
857
+ "stateMutability": "view",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "index",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "name": "getConfiguredPositionAt",
869
+ "outputs": [
870
+ {
871
+ "internalType": "uint256",
872
+ "name": "",
873
+ "type": "uint256"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [],
881
+ "name": "getConfiguredPositions",
882
+ "outputs": [
883
+ {
884
+ "internalType": "uint256[]",
885
+ "name": "",
886
+ "type": "uint256[]"
887
+ }
888
+ ],
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [],
894
+ "name": "getConfiguredPositionsCount",
895
+ "outputs": [
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "positionId",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "name": "getEarlyClosureFactor",
914
+ "outputs": [
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "",
918
+ "type": "uint256"
919
+ }
920
+ ],
921
+ "stateMutability": "view",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [
926
+ {
927
+ "internalType": "uint256",
928
+ "name": "positionId",
929
+ "type": "uint256"
930
+ }
931
+ ],
932
+ "name": "getEarlyClosureWindow",
933
+ "outputs": [
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "",
937
+ "type": "uint256"
938
+ }
939
+ ],
940
+ "stateMutability": "view",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "uint256",
947
+ "name": "positionId",
948
+ "type": "uint256"
949
+ }
950
+ ],
951
+ "name": "getLastUpdated",
952
+ "outputs": [
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "positionId",
967
+ "type": "uint256"
968
+ }
969
+ ],
970
+ "name": "getLiquidity",
971
+ "outputs": [
972
+ {
973
+ "internalType": "uint256",
974
+ "name": "",
975
+ "type": "uint256"
976
+ }
977
+ ],
978
+ "stateMutability": "view",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [
983
+ {
984
+ "internalType": "uint256",
985
+ "name": "positionId",
986
+ "type": "uint256"
987
+ }
988
+ ],
989
+ "name": "getNegRiskMarketId",
990
+ "outputs": [
991
+ {
992
+ "internalType": "bytes32",
993
+ "name": "",
994
+ "type": "bytes32"
995
+ }
996
+ ],
997
+ "stateMutability": "view",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "bytes32",
1004
+ "name": "marketId",
1005
+ "type": "bytes32"
1006
+ }
1007
+ ],
1008
+ "name": "getNegRiskMarketPositionIds",
1009
+ "outputs": [
1010
+ {
1011
+ "internalType": "uint256[]",
1012
+ "name": "positionIds",
1013
+ "type": "uint256[]"
1014
+ }
1015
+ ],
1016
+ "stateMutability": "view",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "uint256",
1023
+ "name": "positionId",
1024
+ "type": "uint256"
1025
+ }
1026
+ ],
1027
+ "name": "getOppositePositionId",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "",
1032
+ "type": "uint256"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "positionId",
1043
+ "type": "uint256"
1044
+ }
1045
+ ],
1046
+ "name": "getPositionSnapshot",
1047
+ "outputs": [
1048
+ {
1049
+ "internalType": "bool",
1050
+ "name": "priceOk",
1051
+ "type": "bool"
1052
+ },
1053
+ {
1054
+ "internalType": "uint256",
1055
+ "name": "priceE8",
1056
+ "type": "uint256"
1057
+ },
1058
+ {
1059
+ "internalType": "bool",
1060
+ "name": "manuallyInvalidated",
1061
+ "type": "bool"
1062
+ },
1063
+ {
1064
+ "internalType": "uint8",
1065
+ "name": "riskTier",
1066
+ "type": "uint8"
1067
+ },
1068
+ {
1069
+ "internalType": "uint256",
1070
+ "name": "earlyClosureFactorWad",
1071
+ "type": "uint256"
1072
+ },
1073
+ {
1074
+ "internalType": "uint256",
1075
+ "name": "lastRecoveryFromStale_",
1076
+ "type": "uint256"
1077
+ }
1078
+ ],
1079
+ "stateMutability": "view",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "positionId",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "name": "getPrice",
1091
+ "outputs": [
1092
+ {
1093
+ "internalType": "uint256",
1094
+ "name": "",
1095
+ "type": "uint256"
1096
+ }
1097
+ ],
1098
+ "stateMutability": "view",
1099
+ "type": "function"
1100
+ },
1101
+ {
1102
+ "inputs": [
1103
+ {
1104
+ "internalType": "uint256",
1105
+ "name": "positionId",
1106
+ "type": "uint256"
1107
+ }
1108
+ ],
1109
+ "name": "getPriceData",
1110
+ "outputs": [
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "price",
1114
+ "type": "uint256"
1115
+ },
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "twap",
1119
+ "type": "uint256"
1120
+ },
1121
+ {
1122
+ "internalType": "uint256",
1123
+ "name": "liquidity",
1124
+ "type": "uint256"
1125
+ },
1126
+ {
1127
+ "internalType": "uint256",
1128
+ "name": "lastUpdated",
1129
+ "type": "uint256"
1130
+ },
1131
+ {
1132
+ "internalType": "bool",
1133
+ "name": "isValid",
1134
+ "type": "bool"
1135
+ },
1136
+ {
1137
+ "internalType": "uint8",
1138
+ "name": "riskTier",
1139
+ "type": "uint8"
1140
+ }
1141
+ ],
1142
+ "stateMutability": "view",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "positionId",
1150
+ "type": "uint256"
1151
+ }
1152
+ ],
1153
+ "name": "getResolutionTime",
1154
+ "outputs": [
1155
+ {
1156
+ "internalType": "uint256",
1157
+ "name": "",
1158
+ "type": "uint256"
1159
+ }
1160
+ ],
1161
+ "stateMutability": "view",
1162
+ "type": "function"
1163
+ },
1164
+ {
1165
+ "inputs": [
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "positionId",
1169
+ "type": "uint256"
1170
+ }
1171
+ ],
1172
+ "name": "getRiskTier",
1173
+ "outputs": [
1174
+ {
1175
+ "internalType": "uint8",
1176
+ "name": "",
1177
+ "type": "uint8"
1178
+ }
1179
+ ],
1180
+ "stateMutability": "view",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "positionId",
1188
+ "type": "uint256"
1189
+ }
1190
+ ],
1191
+ "name": "getSpotPrice",
1192
+ "outputs": [
1193
+ {
1194
+ "internalType": "uint256",
1195
+ "name": "",
1196
+ "type": "uint256"
1197
+ }
1198
+ ],
1199
+ "stateMutability": "view",
1200
+ "type": "function"
1201
+ },
1202
+ {
1203
+ "inputs": [
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "positionId",
1207
+ "type": "uint256"
1208
+ }
1209
+ ],
1210
+ "name": "getTWAP",
1211
+ "outputs": [
1212
+ {
1213
+ "internalType": "uint256",
1214
+ "name": "",
1215
+ "type": "uint256"
1216
+ }
1217
+ ],
1218
+ "stateMutability": "view",
1219
+ "type": "function"
1220
+ },
1221
+ {
1222
+ "inputs": [
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "positionId",
1226
+ "type": "uint256"
1227
+ },
1228
+ {
1229
+ "internalType": "string",
1230
+ "name": "reason",
1231
+ "type": "string"
1232
+ }
1233
+ ],
1234
+ "name": "invalidatePosition",
1235
+ "outputs": [],
1236
+ "stateMutability": "nonpayable",
1237
+ "type": "function"
1238
+ },
1239
+ {
1240
+ "inputs": [
1241
+ {
1242
+ "internalType": "uint256",
1243
+ "name": "positionId",
1244
+ "type": "uint256"
1245
+ }
1246
+ ],
1247
+ "name": "isConfigured",
1248
+ "outputs": [
1249
+ {
1250
+ "internalType": "bool",
1251
+ "name": "",
1252
+ "type": "bool"
1253
+ }
1254
+ ],
1255
+ "stateMutability": "view",
1256
+ "type": "function"
1257
+ },
1258
+ {
1259
+ "inputs": [],
1260
+ "name": "isConsumingScheduledOp",
1261
+ "outputs": [
1262
+ {
1263
+ "internalType": "bytes4",
1264
+ "name": "",
1265
+ "type": "bytes4"
1266
+ }
1267
+ ],
1268
+ "stateMutability": "view",
1269
+ "type": "function"
1270
+ },
1271
+ {
1272
+ "inputs": [
1273
+ {
1274
+ "internalType": "uint256",
1275
+ "name": "positionId",
1276
+ "type": "uint256"
1277
+ }
1278
+ ],
1279
+ "name": "isDepositAllowed",
1280
+ "outputs": [
1281
+ {
1282
+ "internalType": "bool",
1283
+ "name": "",
1284
+ "type": "bool"
1285
+ }
1286
+ ],
1287
+ "stateMutability": "view",
1288
+ "type": "function"
1289
+ },
1290
+ {
1291
+ "inputs": [
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "positionId",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "name": "isManuallyInvalidated",
1299
+ "outputs": [
1300
+ {
1301
+ "internalType": "bool",
1302
+ "name": "",
1303
+ "type": "bool"
1304
+ }
1305
+ ],
1306
+ "stateMutability": "view",
1307
+ "type": "function"
1308
+ },
1309
+ {
1310
+ "inputs": [
1311
+ {
1312
+ "internalType": "uint256",
1313
+ "name": "positionId",
1314
+ "type": "uint256"
1315
+ }
1316
+ ],
1317
+ "name": "isNegRisk",
1318
+ "outputs": [
1319
+ {
1320
+ "internalType": "bool",
1321
+ "name": "",
1322
+ "type": "bool"
1323
+ }
1324
+ ],
1325
+ "stateMutability": "view",
1326
+ "type": "function"
1327
+ },
1328
+ {
1329
+ "inputs": [
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "positionId",
1333
+ "type": "uint256"
1334
+ }
1335
+ ],
1336
+ "name": "isPriceStale",
1337
+ "outputs": [
1338
+ {
1339
+ "internalType": "bool",
1340
+ "name": "",
1341
+ "type": "bool"
1342
+ }
1343
+ ],
1344
+ "stateMutability": "view",
1345
+ "type": "function"
1346
+ },
1347
+ {
1348
+ "inputs": [
1349
+ {
1350
+ "internalType": "uint256",
1351
+ "name": "positionId",
1352
+ "type": "uint256"
1353
+ }
1354
+ ],
1355
+ "name": "isResolved",
1356
+ "outputs": [
1357
+ {
1358
+ "internalType": "bool",
1359
+ "name": "",
1360
+ "type": "bool"
1361
+ }
1362
+ ],
1363
+ "stateMutability": "view",
1364
+ "type": "function"
1365
+ },
1366
+ {
1367
+ "inputs": [
1368
+ {
1369
+ "internalType": "uint256",
1370
+ "name": "positionId",
1371
+ "type": "uint256"
1372
+ }
1373
+ ],
1374
+ "name": "isValidCollateral",
1375
+ "outputs": [
1376
+ {
1377
+ "internalType": "bool",
1378
+ "name": "",
1379
+ "type": "bool"
1380
+ }
1381
+ ],
1382
+ "stateMutability": "view",
1383
+ "type": "function"
1384
+ },
1385
+ {
1386
+ "inputs": [
1387
+ {
1388
+ "internalType": "uint256",
1389
+ "name": "positionId",
1390
+ "type": "uint256"
1391
+ }
1392
+ ],
1393
+ "name": "lastRecoveryFromStale",
1394
+ "outputs": [
1395
+ {
1396
+ "internalType": "uint256",
1397
+ "name": "",
1398
+ "type": "uint256"
1399
+ }
1400
+ ],
1401
+ "stateMutability": "view",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [],
1406
+ "name": "liquidationGracePeriod",
1407
+ "outputs": [
1408
+ {
1409
+ "internalType": "uint256",
1410
+ "name": "",
1411
+ "type": "uint256"
1412
+ }
1413
+ ],
1414
+ "stateMutability": "view",
1415
+ "type": "function"
1416
+ },
1417
+ {
1418
+ "inputs": [],
1419
+ "name": "maxStaleness",
1420
+ "outputs": [
1421
+ {
1422
+ "internalType": "uint256",
1423
+ "name": "",
1424
+ "type": "uint256"
1425
+ }
1426
+ ],
1427
+ "stateMutability": "view",
1428
+ "type": "function"
1429
+ },
1430
+ {
1431
+ "inputs": [
1432
+ {
1433
+ "internalType": "bytes32",
1434
+ "name": "marketId",
1435
+ "type": "bytes32"
1436
+ },
1437
+ {
1438
+ "internalType": "uint256[]",
1439
+ "name": "positionIds",
1440
+ "type": "uint256[]"
1441
+ }
1442
+ ],
1443
+ "name": "overrideNegRiskMarketPositions",
1444
+ "outputs": [],
1445
+ "stateMutability": "nonpayable",
1446
+ "type": "function"
1447
+ },
1448
+ {
1449
+ "inputs": [
1450
+ {
1451
+ "internalType": "bytes32",
1452
+ "name": "marketId",
1453
+ "type": "bytes32"
1454
+ },
1455
+ {
1456
+ "internalType": "uint256[]",
1457
+ "name": "positionIds",
1458
+ "type": "uint256[]"
1459
+ }
1460
+ ],
1461
+ "name": "registerNegRiskMarketPositions",
1462
+ "outputs": [],
1463
+ "stateMutability": "nonpayable",
1464
+ "type": "function"
1465
+ },
1466
+ {
1467
+ "inputs": [
1468
+ {
1469
+ "internalType": "address",
1470
+ "name": "newAuthority",
1471
+ "type": "address"
1472
+ }
1473
+ ],
1474
+ "name": "setAuthority",
1475
+ "outputs": [],
1476
+ "stateMutability": "nonpayable",
1477
+ "type": "function"
1478
+ },
1479
+ {
1480
+ "inputs": [
1481
+ {
1482
+ "internalType": "uint256",
1483
+ "name": "newWindow",
1484
+ "type": "uint256"
1485
+ }
1486
+ ],
1487
+ "name": "setDefaultEarlyClosureWindow",
1488
+ "outputs": [],
1489
+ "stateMutability": "nonpayable",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [
1494
+ {
1495
+ "internalType": "uint256",
1496
+ "name": "newGracePeriod",
1497
+ "type": "uint256"
1498
+ }
1499
+ ],
1500
+ "name": "setLiquidationGracePeriod",
1501
+ "outputs": [],
1502
+ "stateMutability": "nonpayable",
1503
+ "type": "function"
1504
+ },
1505
+ {
1506
+ "inputs": [
1507
+ {
1508
+ "internalType": "uint256",
1509
+ "name": "newMaxStaleness",
1510
+ "type": "uint256"
1511
+ }
1512
+ ],
1513
+ "name": "setMaxStaleness",
1514
+ "outputs": [],
1515
+ "stateMutability": "nonpayable",
1516
+ "type": "function"
1517
+ },
1518
+ {
1519
+ "inputs": [
1520
+ {
1521
+ "internalType": "uint256",
1522
+ "name": "positionId",
1523
+ "type": "uint256"
1524
+ },
1525
+ {
1526
+ "internalType": "uint256",
1527
+ "name": "window",
1528
+ "type": "uint256"
1529
+ }
1530
+ ],
1531
+ "name": "setPositionEarlyClosureWindowOverride",
1532
+ "outputs": [],
1533
+ "stateMutability": "nonpayable",
1534
+ "type": "function"
1535
+ },
1536
+ {
1537
+ "inputs": [
1538
+ {
1539
+ "internalType": "uint256",
1540
+ "name": "positionId",
1541
+ "type": "uint256"
1542
+ },
1543
+ {
1544
+ "internalType": "uint256",
1545
+ "name": "finalPrice",
1546
+ "type": "uint256"
1547
+ }
1548
+ ],
1549
+ "name": "setResolutionPrice",
1550
+ "outputs": [],
1551
+ "stateMutability": "nonpayable",
1552
+ "type": "function"
1553
+ },
1554
+ {
1555
+ "inputs": [
1556
+ {
1557
+ "internalType": "address",
1558
+ "name": "_updater",
1559
+ "type": "address"
1560
+ }
1561
+ ],
1562
+ "name": "setUpdater",
1563
+ "outputs": [],
1564
+ "stateMutability": "nonpayable",
1565
+ "type": "function"
1566
+ },
1567
+ {
1568
+ "inputs": [
1569
+ {
1570
+ "internalType": "uint256",
1571
+ "name": "positionId",
1572
+ "type": "uint256"
1573
+ }
1574
+ ],
1575
+ "name": "tryGetPrice",
1576
+ "outputs": [
1577
+ {
1578
+ "internalType": "bool",
1579
+ "name": "ok",
1580
+ "type": "bool"
1581
+ },
1582
+ {
1583
+ "internalType": "uint256",
1584
+ "name": "price",
1585
+ "type": "uint256"
1586
+ }
1587
+ ],
1588
+ "stateMutability": "view",
1589
+ "type": "function"
1590
+ },
1591
+ {
1592
+ "inputs": [
1593
+ {
1594
+ "internalType": "uint256",
1595
+ "name": "positionId",
1596
+ "type": "uint256"
1597
+ },
1598
+ {
1599
+ "internalType": "uint256",
1600
+ "name": "price",
1601
+ "type": "uint256"
1602
+ },
1603
+ {
1604
+ "internalType": "uint256",
1605
+ "name": "twap",
1606
+ "type": "uint256"
1607
+ },
1608
+ {
1609
+ "internalType": "uint256",
1610
+ "name": "liquidity",
1611
+ "type": "uint256"
1612
+ }
1613
+ ],
1614
+ "name": "updatePrice",
1615
+ "outputs": [],
1616
+ "stateMutability": "nonpayable",
1617
+ "type": "function"
1618
+ },
1619
+ {
1620
+ "inputs": [
1621
+ {
1622
+ "internalType": "uint256[]",
1623
+ "name": "positionIds",
1624
+ "type": "uint256[]"
1625
+ },
1626
+ {
1627
+ "internalType": "uint256[]",
1628
+ "name": "priceList",
1629
+ "type": "uint256[]"
1630
+ },
1631
+ {
1632
+ "internalType": "uint256[]",
1633
+ "name": "twapList",
1634
+ "type": "uint256[]"
1635
+ },
1636
+ {
1637
+ "internalType": "uint256[]",
1638
+ "name": "liquidityList",
1639
+ "type": "uint256[]"
1640
+ }
1641
+ ],
1642
+ "name": "updatePrices",
1643
+ "outputs": [],
1644
+ "stateMutability": "nonpayable",
1645
+ "type": "function"
1646
+ },
1647
+ {
1648
+ "inputs": [],
1649
+ "name": "updater",
1650
+ "outputs": [
1651
+ {
1652
+ "internalType": "address",
1653
+ "name": "",
1654
+ "type": "address"
1655
+ }
1656
+ ],
1657
+ "stateMutability": "view",
1658
+ "type": "function"
1659
+ },
1660
+ {
1661
+ "inputs": [
1662
+ {
1663
+ "internalType": "uint256",
1664
+ "name": "positionId",
1665
+ "type": "uint256"
1666
+ }
1667
+ ],
1668
+ "name": "validatePosition",
1669
+ "outputs": [],
1670
+ "stateMutability": "nonpayable",
1671
+ "type": "function"
1672
+ }
1673
+ ];