@merkl/contracts 0.9.45 → 0.9.48

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