@merkl/contracts 0.12.2 → 0.12.4

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,1258 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [],
8
+ stateMutability: "nonpayable",
9
+ type: "constructor",
10
+ },
11
+ {
12
+ inputs: [],
13
+ name: "AI",
14
+ type: "error",
15
+ },
16
+ {
17
+ inputs: [],
18
+ name: "AS",
19
+ type: "error",
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "F0",
24
+ type: "error",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "F1",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [],
33
+ name: "I",
34
+ type: "error",
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "IIA",
39
+ type: "error",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "L",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [],
48
+ name: "LOK",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "M0",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "M1",
59
+ type: "error",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "NOT_AUTHORIZED",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "OLD",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "R",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "SPL",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "T",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [],
88
+ name: "TF",
89
+ type: "error",
90
+ },
91
+ {
92
+ inputs: [],
93
+ name: "TLM",
94
+ type: "error",
95
+ },
96
+ {
97
+ inputs: [],
98
+ name: "TLU",
99
+ type: "error",
100
+ },
101
+ {
102
+ inputs: [],
103
+ name: "TUM",
104
+ type: "error",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: "address",
112
+ name: "owner",
113
+ type: "address",
114
+ },
115
+ {
116
+ indexed: true,
117
+ internalType: "int24",
118
+ name: "tickLower",
119
+ type: "int24",
120
+ },
121
+ {
122
+ indexed: true,
123
+ internalType: "int24",
124
+ name: "tickUpper",
125
+ type: "int24",
126
+ },
127
+ {
128
+ indexed: false,
129
+ internalType: "uint128",
130
+ name: "amount",
131
+ type: "uint128",
132
+ },
133
+ {
134
+ indexed: false,
135
+ internalType: "uint256",
136
+ name: "amount0",
137
+ type: "uint256",
138
+ },
139
+ {
140
+ indexed: false,
141
+ internalType: "uint256",
142
+ name: "amount1",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ name: "Burn",
147
+ type: "event",
148
+ },
149
+ {
150
+ anonymous: false,
151
+ inputs: [
152
+ {
153
+ indexed: true,
154
+ internalType: "address",
155
+ name: "owner",
156
+ type: "address",
157
+ },
158
+ {
159
+ indexed: false,
160
+ internalType: "address",
161
+ name: "recipient",
162
+ type: "address",
163
+ },
164
+ {
165
+ indexed: true,
166
+ internalType: "int24",
167
+ name: "tickLower",
168
+ type: "int24",
169
+ },
170
+ {
171
+ indexed: true,
172
+ internalType: "int24",
173
+ name: "tickUpper",
174
+ type: "int24",
175
+ },
176
+ {
177
+ indexed: false,
178
+ internalType: "uint128",
179
+ name: "amount0",
180
+ type: "uint128",
181
+ },
182
+ {
183
+ indexed: false,
184
+ internalType: "uint128",
185
+ name: "amount1",
186
+ type: "uint128",
187
+ },
188
+ ],
189
+ name: "Collect",
190
+ type: "event",
191
+ },
192
+ {
193
+ anonymous: false,
194
+ inputs: [
195
+ {
196
+ indexed: true,
197
+ internalType: "address",
198
+ name: "sender",
199
+ type: "address",
200
+ },
201
+ {
202
+ indexed: true,
203
+ internalType: "address",
204
+ name: "recipient",
205
+ type: "address",
206
+ },
207
+ {
208
+ indexed: false,
209
+ internalType: "uint128",
210
+ name: "amount0",
211
+ type: "uint128",
212
+ },
213
+ {
214
+ indexed: false,
215
+ internalType: "uint128",
216
+ name: "amount1",
217
+ type: "uint128",
218
+ },
219
+ ],
220
+ name: "CollectProtocol",
221
+ type: "event",
222
+ },
223
+ {
224
+ anonymous: false,
225
+ inputs: [
226
+ {
227
+ indexed: true,
228
+ internalType: "address",
229
+ name: "sender",
230
+ type: "address",
231
+ },
232
+ {
233
+ indexed: true,
234
+ internalType: "address",
235
+ name: "recipient",
236
+ type: "address",
237
+ },
238
+ {
239
+ indexed: false,
240
+ internalType: "uint256",
241
+ name: "amount0",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ indexed: false,
246
+ internalType: "uint256",
247
+ name: "amount1",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ indexed: false,
252
+ internalType: "uint256",
253
+ name: "paid0",
254
+ type: "uint256",
255
+ },
256
+ {
257
+ indexed: false,
258
+ internalType: "uint256",
259
+ name: "paid1",
260
+ type: "uint256",
261
+ },
262
+ ],
263
+ name: "Flash",
264
+ type: "event",
265
+ },
266
+ {
267
+ anonymous: false,
268
+ inputs: [
269
+ {
270
+ indexed: false,
271
+ internalType: "uint16",
272
+ name: "observationCardinalityNextOld",
273
+ type: "uint16",
274
+ },
275
+ {
276
+ indexed: false,
277
+ internalType: "uint16",
278
+ name: "observationCardinalityNextNew",
279
+ type: "uint16",
280
+ },
281
+ ],
282
+ name: "IncreaseObservationCardinalityNext",
283
+ type: "event",
284
+ },
285
+ {
286
+ anonymous: false,
287
+ inputs: [
288
+ {
289
+ indexed: false,
290
+ internalType: "uint160",
291
+ name: "sqrtPriceX96",
292
+ type: "uint160",
293
+ },
294
+ {
295
+ indexed: false,
296
+ internalType: "int24",
297
+ name: "tick",
298
+ type: "int24",
299
+ },
300
+ ],
301
+ name: "Initialize",
302
+ type: "event",
303
+ },
304
+ {
305
+ anonymous: false,
306
+ inputs: [
307
+ {
308
+ indexed: false,
309
+ internalType: "address",
310
+ name: "sender",
311
+ type: "address",
312
+ },
313
+ {
314
+ indexed: true,
315
+ internalType: "address",
316
+ name: "owner",
317
+ type: "address",
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: "uint256",
322
+ name: "index",
323
+ type: "uint256",
324
+ },
325
+ {
326
+ indexed: true,
327
+ internalType: "int24",
328
+ name: "tickLower",
329
+ type: "int24",
330
+ },
331
+ {
332
+ indexed: true,
333
+ internalType: "int24",
334
+ name: "tickUpper",
335
+ type: "int24",
336
+ },
337
+ {
338
+ indexed: false,
339
+ internalType: "uint128",
340
+ name: "amount",
341
+ type: "uint128",
342
+ },
343
+ {
344
+ indexed: false,
345
+ internalType: "uint256",
346
+ name: "amount0",
347
+ type: "uint256",
348
+ },
349
+ {
350
+ indexed: false,
351
+ internalType: "uint256",
352
+ name: "amount1",
353
+ type: "uint256",
354
+ },
355
+ ],
356
+ name: "Mint",
357
+ type: "event",
358
+ },
359
+ {
360
+ anonymous: false,
361
+ inputs: [
362
+ {
363
+ indexed: false,
364
+ internalType: "uint8",
365
+ name: "feeProtocol0Old",
366
+ type: "uint8",
367
+ },
368
+ {
369
+ indexed: false,
370
+ internalType: "uint8",
371
+ name: "feeProtocol1Old",
372
+ type: "uint8",
373
+ },
374
+ {
375
+ indexed: false,
376
+ internalType: "uint8",
377
+ name: "feeProtocol0New",
378
+ type: "uint8",
379
+ },
380
+ {
381
+ indexed: false,
382
+ internalType: "uint8",
383
+ name: "feeProtocol1New",
384
+ type: "uint8",
385
+ },
386
+ ],
387
+ name: "SetFeeProtocol",
388
+ type: "event",
389
+ },
390
+ {
391
+ anonymous: false,
392
+ inputs: [
393
+ {
394
+ indexed: true,
395
+ internalType: "address",
396
+ name: "sender",
397
+ type: "address",
398
+ },
399
+ {
400
+ indexed: true,
401
+ internalType: "address",
402
+ name: "recipient",
403
+ type: "address",
404
+ },
405
+ {
406
+ indexed: false,
407
+ internalType: "int256",
408
+ name: "amount0",
409
+ type: "int256",
410
+ },
411
+ {
412
+ indexed: false,
413
+ internalType: "int256",
414
+ name: "amount1",
415
+ type: "int256",
416
+ },
417
+ {
418
+ indexed: false,
419
+ internalType: "uint160",
420
+ name: "sqrtPriceX96",
421
+ type: "uint160",
422
+ },
423
+ {
424
+ indexed: false,
425
+ internalType: "uint128",
426
+ name: "liquidity",
427
+ type: "uint128",
428
+ },
429
+ {
430
+ indexed: false,
431
+ internalType: "int24",
432
+ name: "tick",
433
+ type: "int24",
434
+ },
435
+ ],
436
+ name: "Swap",
437
+ type: "event",
438
+ },
439
+ {
440
+ inputs: [],
441
+ name: "_advancePeriod",
442
+ outputs: [],
443
+ stateMutability: "nonpayable",
444
+ type: "function",
445
+ },
446
+ {
447
+ inputs: [
448
+ {
449
+ internalType: "uint256",
450
+ name: "index",
451
+ type: "uint256",
452
+ },
453
+ {
454
+ internalType: "int24",
455
+ name: "tickLower",
456
+ type: "int24",
457
+ },
458
+ {
459
+ internalType: "int24",
460
+ name: "tickUpper",
461
+ type: "int24",
462
+ },
463
+ {
464
+ internalType: "uint128",
465
+ name: "amount",
466
+ type: "uint128",
467
+ },
468
+ ],
469
+ name: "burn",
470
+ outputs: [
471
+ {
472
+ internalType: "uint256",
473
+ name: "amount0",
474
+ type: "uint256",
475
+ },
476
+ {
477
+ internalType: "uint256",
478
+ name: "amount1",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ stateMutability: "nonpayable",
483
+ type: "function",
484
+ },
485
+ {
486
+ inputs: [
487
+ {
488
+ internalType: "address",
489
+ name: "recipient",
490
+ type: "address",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "index",
495
+ type: "uint256",
496
+ },
497
+ {
498
+ internalType: "int24",
499
+ name: "tickLower",
500
+ type: "int24",
501
+ },
502
+ {
503
+ internalType: "int24",
504
+ name: "tickUpper",
505
+ type: "int24",
506
+ },
507
+ {
508
+ internalType: "uint128",
509
+ name: "amount0Requested",
510
+ type: "uint128",
511
+ },
512
+ {
513
+ internalType: "uint128",
514
+ name: "amount1Requested",
515
+ type: "uint128",
516
+ },
517
+ ],
518
+ name: "collect",
519
+ outputs: [
520
+ {
521
+ internalType: "uint128",
522
+ name: "amount0",
523
+ type: "uint128",
524
+ },
525
+ {
526
+ internalType: "uint128",
527
+ name: "amount1",
528
+ type: "uint128",
529
+ },
530
+ ],
531
+ stateMutability: "nonpayable",
532
+ type: "function",
533
+ },
534
+ {
535
+ inputs: [
536
+ {
537
+ internalType: "address",
538
+ name: "recipient",
539
+ type: "address",
540
+ },
541
+ {
542
+ internalType: "uint128",
543
+ name: "amount0Requested",
544
+ type: "uint128",
545
+ },
546
+ {
547
+ internalType: "uint128",
548
+ name: "amount1Requested",
549
+ type: "uint128",
550
+ },
551
+ ],
552
+ name: "collectProtocol",
553
+ outputs: [
554
+ {
555
+ internalType: "uint128",
556
+ name: "amount0",
557
+ type: "uint128",
558
+ },
559
+ {
560
+ internalType: "uint128",
561
+ name: "amount1",
562
+ type: "uint128",
563
+ },
564
+ ],
565
+ stateMutability: "nonpayable",
566
+ type: "function",
567
+ },
568
+ {
569
+ inputs: [],
570
+ name: "factory",
571
+ outputs: [
572
+ {
573
+ internalType: "address",
574
+ name: "",
575
+ type: "address",
576
+ },
577
+ ],
578
+ stateMutability: "view",
579
+ type: "function",
580
+ },
581
+ {
582
+ inputs: [],
583
+ name: "fee",
584
+ outputs: [
585
+ {
586
+ internalType: "uint24",
587
+ name: "",
588
+ type: "uint24",
589
+ },
590
+ ],
591
+ stateMutability: "view",
592
+ type: "function",
593
+ },
594
+ {
595
+ inputs: [],
596
+ name: "feeGrowthGlobal0X128",
597
+ outputs: [
598
+ {
599
+ internalType: "uint256",
600
+ name: "",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ stateMutability: "view",
605
+ type: "function",
606
+ },
607
+ {
608
+ inputs: [],
609
+ name: "feeGrowthGlobal1X128",
610
+ outputs: [
611
+ {
612
+ internalType: "uint256",
613
+ name: "",
614
+ type: "uint256",
615
+ },
616
+ ],
617
+ stateMutability: "view",
618
+ type: "function",
619
+ },
620
+ {
621
+ inputs: [
622
+ {
623
+ internalType: "address",
624
+ name: "recipient",
625
+ type: "address",
626
+ },
627
+ {
628
+ internalType: "uint256",
629
+ name: "amount0",
630
+ type: "uint256",
631
+ },
632
+ {
633
+ internalType: "uint256",
634
+ name: "amount1",
635
+ type: "uint256",
636
+ },
637
+ {
638
+ internalType: "bytes",
639
+ name: "data",
640
+ type: "bytes",
641
+ },
642
+ ],
643
+ name: "flash",
644
+ outputs: [],
645
+ stateMutability: "nonpayable",
646
+ type: "function",
647
+ },
648
+ {
649
+ inputs: [],
650
+ name: "grossFeeGrowthGlobal0X128",
651
+ outputs: [
652
+ {
653
+ internalType: "uint256",
654
+ name: "",
655
+ type: "uint256",
656
+ },
657
+ ],
658
+ stateMutability: "view",
659
+ type: "function",
660
+ },
661
+ {
662
+ inputs: [],
663
+ name: "grossFeeGrowthGlobal1X128",
664
+ outputs: [
665
+ {
666
+ internalType: "uint256",
667
+ name: "",
668
+ type: "uint256",
669
+ },
670
+ ],
671
+ stateMutability: "view",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [
676
+ {
677
+ internalType: "uint16",
678
+ name: "observationCardinalityNext",
679
+ type: "uint16",
680
+ },
681
+ ],
682
+ name: "increaseObservationCardinalityNext",
683
+ outputs: [],
684
+ stateMutability: "nonpayable",
685
+ type: "function",
686
+ },
687
+ {
688
+ inputs: [
689
+ {
690
+ internalType: "uint160",
691
+ name: "sqrtPriceX96",
692
+ type: "uint160",
693
+ },
694
+ ],
695
+ name: "initialize",
696
+ outputs: [],
697
+ stateMutability: "nonpayable",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [],
702
+ name: "lastPeriod",
703
+ outputs: [
704
+ {
705
+ internalType: "uint256",
706
+ name: "",
707
+ type: "uint256",
708
+ },
709
+ ],
710
+ stateMutability: "view",
711
+ type: "function",
712
+ },
713
+ {
714
+ inputs: [],
715
+ name: "liquidity",
716
+ outputs: [
717
+ {
718
+ internalType: "uint128",
719
+ name: "",
720
+ type: "uint128",
721
+ },
722
+ ],
723
+ stateMutability: "view",
724
+ type: "function",
725
+ },
726
+ {
727
+ inputs: [],
728
+ name: "maxLiquidityPerTick",
729
+ outputs: [
730
+ {
731
+ internalType: "uint128",
732
+ name: "",
733
+ type: "uint128",
734
+ },
735
+ ],
736
+ stateMutability: "view",
737
+ type: "function",
738
+ },
739
+ {
740
+ inputs: [
741
+ {
742
+ internalType: "address",
743
+ name: "recipient",
744
+ type: "address",
745
+ },
746
+ {
747
+ internalType: "uint256",
748
+ name: "index",
749
+ type: "uint256",
750
+ },
751
+ {
752
+ internalType: "int24",
753
+ name: "tickLower",
754
+ type: "int24",
755
+ },
756
+ {
757
+ internalType: "int24",
758
+ name: "tickUpper",
759
+ type: "int24",
760
+ },
761
+ {
762
+ internalType: "uint128",
763
+ name: "amount",
764
+ type: "uint128",
765
+ },
766
+ {
767
+ internalType: "bytes",
768
+ name: "data",
769
+ type: "bytes",
770
+ },
771
+ ],
772
+ name: "mint",
773
+ outputs: [
774
+ {
775
+ internalType: "uint256",
776
+ name: "amount0",
777
+ type: "uint256",
778
+ },
779
+ {
780
+ internalType: "uint256",
781
+ name: "amount1",
782
+ type: "uint256",
783
+ },
784
+ ],
785
+ stateMutability: "nonpayable",
786
+ type: "function",
787
+ },
788
+ {
789
+ inputs: [
790
+ {
791
+ internalType: "uint256",
792
+ name: "index",
793
+ type: "uint256",
794
+ },
795
+ ],
796
+ name: "observations",
797
+ outputs: [
798
+ {
799
+ internalType: "uint32",
800
+ name: "blockTimestamp",
801
+ type: "uint32",
802
+ },
803
+ {
804
+ internalType: "int56",
805
+ name: "tickCumulative",
806
+ type: "int56",
807
+ },
808
+ {
809
+ internalType: "uint160",
810
+ name: "secondsPerLiquidityCumulativeX128",
811
+ type: "uint160",
812
+ },
813
+ {
814
+ internalType: "bool",
815
+ name: "initialized",
816
+ type: "bool",
817
+ },
818
+ ],
819
+ stateMutability: "view",
820
+ type: "function",
821
+ },
822
+ {
823
+ inputs: [
824
+ {
825
+ internalType: "uint32[]",
826
+ name: "secondsAgos",
827
+ type: "uint32[]",
828
+ },
829
+ ],
830
+ name: "observe",
831
+ outputs: [
832
+ {
833
+ internalType: "int56[]",
834
+ name: "tickCumulatives",
835
+ type: "int56[]",
836
+ },
837
+ {
838
+ internalType: "uint160[]",
839
+ name: "secondsPerLiquidityCumulativeX128s",
840
+ type: "uint160[]",
841
+ },
842
+ ],
843
+ stateMutability: "view",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [
848
+ {
849
+ internalType: "uint256",
850
+ name: "period",
851
+ type: "uint256",
852
+ },
853
+ ],
854
+ name: "periods",
855
+ outputs: [
856
+ {
857
+ internalType: "uint32",
858
+ name: "previousPeriod",
859
+ type: "uint32",
860
+ },
861
+ {
862
+ internalType: "int24",
863
+ name: "startTick",
864
+ type: "int24",
865
+ },
866
+ {
867
+ internalType: "int24",
868
+ name: "lastTick",
869
+ type: "int24",
870
+ },
871
+ {
872
+ internalType: "uint160",
873
+ name: "endSecondsPerLiquidityPeriodX128",
874
+ type: "uint160",
875
+ },
876
+ ],
877
+ stateMutability: "view",
878
+ type: "function",
879
+ },
880
+ {
881
+ inputs: [
882
+ {
883
+ internalType: "uint256",
884
+ name: "period",
885
+ type: "uint256",
886
+ },
887
+ {
888
+ internalType: "address",
889
+ name: "owner",
890
+ type: "address",
891
+ },
892
+ {
893
+ internalType: "uint256",
894
+ name: "index",
895
+ type: "uint256",
896
+ },
897
+ {
898
+ internalType: "int24",
899
+ name: "tickLower",
900
+ type: "int24",
901
+ },
902
+ {
903
+ internalType: "int24",
904
+ name: "tickUpper",
905
+ type: "int24",
906
+ },
907
+ ],
908
+ name: "positionPeriodSecondsInRange",
909
+ outputs: [
910
+ {
911
+ internalType: "uint256",
912
+ name: "periodSecondsInsideX96",
913
+ type: "uint256",
914
+ },
915
+ ],
916
+ stateMutability: "view",
917
+ type: "function",
918
+ },
919
+ {
920
+ inputs: [
921
+ {
922
+ internalType: "bytes32",
923
+ name: "key",
924
+ type: "bytes32",
925
+ },
926
+ ],
927
+ name: "positions",
928
+ outputs: [
929
+ {
930
+ internalType: "uint128",
931
+ name: "liquidity",
932
+ type: "uint128",
933
+ },
934
+ {
935
+ internalType: "uint256",
936
+ name: "feeGrowthInside0LastX128",
937
+ type: "uint256",
938
+ },
939
+ {
940
+ internalType: "uint256",
941
+ name: "feeGrowthInside1LastX128",
942
+ type: "uint256",
943
+ },
944
+ {
945
+ internalType: "uint128",
946
+ name: "tokensOwed0",
947
+ type: "uint128",
948
+ },
949
+ {
950
+ internalType: "uint128",
951
+ name: "tokensOwed1",
952
+ type: "uint128",
953
+ },
954
+ ],
955
+ stateMutability: "view",
956
+ type: "function",
957
+ },
958
+ {
959
+ inputs: [],
960
+ name: "protocolFees",
961
+ outputs: [
962
+ {
963
+ internalType: "uint128",
964
+ name: "",
965
+ type: "uint128",
966
+ },
967
+ {
968
+ internalType: "uint128",
969
+ name: "",
970
+ type: "uint128",
971
+ },
972
+ ],
973
+ stateMutability: "view",
974
+ type: "function",
975
+ },
976
+ {
977
+ inputs: [
978
+ {
979
+ internalType: "bytes32[]",
980
+ name: "slots",
981
+ type: "bytes32[]",
982
+ },
983
+ ],
984
+ name: "readStorage",
985
+ outputs: [
986
+ {
987
+ internalType: "bytes32[]",
988
+ name: "returnData",
989
+ type: "bytes32[]",
990
+ },
991
+ ],
992
+ stateMutability: "view",
993
+ type: "function",
994
+ },
995
+ {
996
+ inputs: [
997
+ {
998
+ internalType: "uint24",
999
+ name: "_fee",
1000
+ type: "uint24",
1001
+ },
1002
+ ],
1003
+ name: "setFee",
1004
+ outputs: [],
1005
+ stateMutability: "nonpayable",
1006
+ type: "function",
1007
+ },
1008
+ {
1009
+ inputs: [],
1010
+ name: "setFeeProtocol",
1011
+ outputs: [],
1012
+ stateMutability: "nonpayable",
1013
+ type: "function",
1014
+ },
1015
+ {
1016
+ inputs: [],
1017
+ name: "slot0",
1018
+ outputs: [
1019
+ {
1020
+ internalType: "uint160",
1021
+ name: "sqrtPriceX96",
1022
+ type: "uint160",
1023
+ },
1024
+ {
1025
+ internalType: "int24",
1026
+ name: "tick",
1027
+ type: "int24",
1028
+ },
1029
+ {
1030
+ internalType: "uint16",
1031
+ name: "observationIndex",
1032
+ type: "uint16",
1033
+ },
1034
+ {
1035
+ internalType: "uint16",
1036
+ name: "observationCardinality",
1037
+ type: "uint16",
1038
+ },
1039
+ {
1040
+ internalType: "uint16",
1041
+ name: "observationCardinalityNext",
1042
+ type: "uint16",
1043
+ },
1044
+ {
1045
+ internalType: "uint24",
1046
+ name: "feeProtocol",
1047
+ type: "uint24",
1048
+ },
1049
+ {
1050
+ internalType: "bool",
1051
+ name: "unlocked",
1052
+ type: "bool",
1053
+ },
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function",
1057
+ },
1058
+ {
1059
+ inputs: [
1060
+ {
1061
+ internalType: "int24",
1062
+ name: "tickLower",
1063
+ type: "int24",
1064
+ },
1065
+ {
1066
+ internalType: "int24",
1067
+ name: "tickUpper",
1068
+ type: "int24",
1069
+ },
1070
+ ],
1071
+ name: "snapshotCumulativesInside",
1072
+ outputs: [
1073
+ {
1074
+ internalType: "int56",
1075
+ name: "tickCumulativeInside",
1076
+ type: "int56",
1077
+ },
1078
+ {
1079
+ internalType: "uint160",
1080
+ name: "secondsPerLiquidityInsideX128",
1081
+ type: "uint160",
1082
+ },
1083
+ {
1084
+ internalType: "uint32",
1085
+ name: "secondsInside",
1086
+ type: "uint32",
1087
+ },
1088
+ ],
1089
+ stateMutability: "view",
1090
+ type: "function",
1091
+ },
1092
+ {
1093
+ inputs: [
1094
+ {
1095
+ internalType: "address",
1096
+ name: "recipient",
1097
+ type: "address",
1098
+ },
1099
+ {
1100
+ internalType: "bool",
1101
+ name: "zeroForOne",
1102
+ type: "bool",
1103
+ },
1104
+ {
1105
+ internalType: "int256",
1106
+ name: "amountSpecified",
1107
+ type: "int256",
1108
+ },
1109
+ {
1110
+ internalType: "uint160",
1111
+ name: "sqrtPriceLimitX96",
1112
+ type: "uint160",
1113
+ },
1114
+ {
1115
+ internalType: "bytes",
1116
+ name: "data",
1117
+ type: "bytes",
1118
+ },
1119
+ ],
1120
+ name: "swap",
1121
+ outputs: [
1122
+ {
1123
+ internalType: "int256",
1124
+ name: "amount0",
1125
+ type: "int256",
1126
+ },
1127
+ {
1128
+ internalType: "int256",
1129
+ name: "amount1",
1130
+ type: "int256",
1131
+ },
1132
+ ],
1133
+ stateMutability: "nonpayable",
1134
+ type: "function",
1135
+ },
1136
+ {
1137
+ inputs: [
1138
+ {
1139
+ internalType: "int16",
1140
+ name: "tick",
1141
+ type: "int16",
1142
+ },
1143
+ ],
1144
+ name: "tickBitmap",
1145
+ outputs: [
1146
+ {
1147
+ internalType: "uint256",
1148
+ name: "",
1149
+ type: "uint256",
1150
+ },
1151
+ ],
1152
+ stateMutability: "view",
1153
+ type: "function",
1154
+ },
1155
+ {
1156
+ inputs: [],
1157
+ name: "tickSpacing",
1158
+ outputs: [
1159
+ {
1160
+ internalType: "int24",
1161
+ name: "",
1162
+ type: "int24",
1163
+ },
1164
+ ],
1165
+ stateMutability: "view",
1166
+ type: "function",
1167
+ },
1168
+ {
1169
+ inputs: [
1170
+ {
1171
+ internalType: "int24",
1172
+ name: "tick",
1173
+ type: "int24",
1174
+ },
1175
+ ],
1176
+ name: "ticks",
1177
+ outputs: [
1178
+ {
1179
+ internalType: "uint128",
1180
+ name: "liquidityGross",
1181
+ type: "uint128",
1182
+ },
1183
+ {
1184
+ internalType: "int128",
1185
+ name: "liquidityNet",
1186
+ type: "int128",
1187
+ },
1188
+ {
1189
+ internalType: "uint256",
1190
+ name: "feeGrowthOutside0X128",
1191
+ type: "uint256",
1192
+ },
1193
+ {
1194
+ internalType: "uint256",
1195
+ name: "feeGrowthOutside1X128",
1196
+ type: "uint256",
1197
+ },
1198
+ {
1199
+ internalType: "int56",
1200
+ name: "tickCumulativeOutside",
1201
+ type: "int56",
1202
+ },
1203
+ {
1204
+ internalType: "uint160",
1205
+ name: "secondsPerLiquidityOutsideX128",
1206
+ type: "uint160",
1207
+ },
1208
+ {
1209
+ internalType: "uint32",
1210
+ name: "secondsOutside",
1211
+ type: "uint32",
1212
+ },
1213
+ {
1214
+ internalType: "bool",
1215
+ name: "initialized",
1216
+ type: "bool",
1217
+ },
1218
+ ],
1219
+ stateMutability: "view",
1220
+ type: "function",
1221
+ },
1222
+ {
1223
+ inputs: [],
1224
+ name: "token0",
1225
+ outputs: [
1226
+ {
1227
+ internalType: "address",
1228
+ name: "",
1229
+ type: "address",
1230
+ },
1231
+ ],
1232
+ stateMutability: "view",
1233
+ type: "function",
1234
+ },
1235
+ {
1236
+ inputs: [],
1237
+ name: "token1",
1238
+ outputs: [
1239
+ {
1240
+ internalType: "address",
1241
+ name: "",
1242
+ type: "address",
1243
+ },
1244
+ ],
1245
+ stateMutability: "view",
1246
+ type: "function",
1247
+ },
1248
+ ];
1249
+ export class RamsesV3Pool__factory {
1250
+ static abi = _abi;
1251
+ static createInterface() {
1252
+ return new utils.Interface(_abi);
1253
+ }
1254
+ static connect(address, signerOrProvider) {
1255
+ return new Contract(address, _abi, signerOrProvider);
1256
+ }
1257
+ }
1258
+ //# sourceMappingURL=RamsesV3Pool__factory.js.map