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