@centurion_project/v3-sdk 3.31.5 → 3.31.6

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 (48) hide show
  1. package/dist/cjs/src/abis/IMulticall.json +28 -0
  2. package/dist/cjs/src/abis/INonfungiblePositionManager.json +1228 -0
  3. package/dist/cjs/src/abis/IPeripheryPaymentsWithFee.json +118 -0
  4. package/dist/cjs/src/abis/IQuoter.json +200 -0
  5. package/dist/cjs/src/abis/ISelfPermit.json +161 -0
  6. package/dist/cjs/src/abis/ISwapRouter.json +572 -0
  7. package/dist/cjs/src/abis/IUniswapV3Staker.json +713 -0
  8. package/dist/cjs/src/abis/QuoterV2.json +276 -0
  9. package/dist/cjs/src/entities/trade.js.map +1 -1
  10. package/dist/cjs/src/multicall.js +1 -1
  11. package/dist/cjs/src/multicall.js.map +1 -1
  12. package/dist/cjs/src/nonfungiblePositionManager.js +2 -2
  13. package/dist/cjs/src/nonfungiblePositionManager.js.map +1 -1
  14. package/dist/cjs/src/payments.js +1 -1
  15. package/dist/cjs/src/payments.js.map +1 -1
  16. package/dist/cjs/src/quoter.js +3 -3
  17. package/dist/cjs/src/quoter.js.map +1 -1
  18. package/dist/cjs/src/selfPermit.js +1 -1
  19. package/dist/cjs/src/selfPermit.js.map +1 -1
  20. package/dist/cjs/src/staker.js +2 -2
  21. package/dist/cjs/src/staker.js.map +1 -1
  22. package/dist/cjs/src/swapRouter.js +2 -2
  23. package/dist/cjs/src/swapRouter.js.map +1 -1
  24. package/dist/esm/src/abis/IMulticall.json +28 -0
  25. package/dist/esm/src/abis/INonfungiblePositionManager.json +1228 -0
  26. package/dist/esm/src/abis/IPeripheryPaymentsWithFee.json +118 -0
  27. package/dist/esm/src/abis/IQuoter.json +200 -0
  28. package/dist/esm/src/abis/ISelfPermit.json +161 -0
  29. package/dist/esm/src/abis/ISwapRouter.json +572 -0
  30. package/dist/esm/src/abis/IUniswapV3Staker.json +713 -0
  31. package/dist/esm/src/abis/QuoterV2.json +276 -0
  32. package/dist/esm/src/entities/trade.js +1 -1
  33. package/dist/esm/src/entities/trade.js.map +1 -1
  34. package/dist/esm/src/multicall.js +1 -1
  35. package/dist/esm/src/multicall.js.map +1 -1
  36. package/dist/esm/src/nonfungiblePositionManager.js +1 -1
  37. package/dist/esm/src/nonfungiblePositionManager.js.map +1 -1
  38. package/dist/esm/src/payments.js +1 -1
  39. package/dist/esm/src/payments.js.map +1 -1
  40. package/dist/esm/src/quoter.js +2 -2
  41. package/dist/esm/src/quoter.js.map +1 -1
  42. package/dist/esm/src/selfPermit.js +1 -1
  43. package/dist/esm/src/selfPermit.js.map +1 -1
  44. package/dist/esm/src/staker.js +1 -1
  45. package/dist/esm/src/staker.js.map +1 -1
  46. package/dist/esm/src/swapRouter.js +2 -2
  47. package/dist/esm/src/swapRouter.js.map +1 -1
  48. package/package.json +4 -4
@@ -0,0 +1,713 @@
1
+ {
2
+ "_centurionProvenance": {
3
+ "package": "@uniswap/v3-staker@1.0.0",
4
+ "sourceArtifact": "@uniswap/v3-staker/artifacts/contracts/UniswapV3Staker.sol/UniswapV3Staker.json",
5
+ "sourceArtifactSha256": "c28bbd89700f7eda91afa2c3e90591d9e37e0e58e9a864f7451479d267863ffd"
6
+ },
7
+ "abi": [
8
+ {
9
+ "inputs": [
10
+ {
11
+ "internalType": "contract IUniswapV3Factory",
12
+ "name": "_factory",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "internalType": "contract INonfungiblePositionManager",
17
+ "name": "_nonfungiblePositionManager",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "_maxIncentiveStartLeadTime",
23
+ "type": "uint256"
24
+ },
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "_maxIncentiveDuration",
28
+ "type": "uint256"
29
+ }
30
+ ],
31
+ "stateMutability": "nonpayable",
32
+ "type": "constructor"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": true,
39
+ "internalType": "uint256",
40
+ "name": "tokenId",
41
+ "type": "uint256"
42
+ },
43
+ {
44
+ "indexed": true,
45
+ "internalType": "address",
46
+ "name": "oldOwner",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "indexed": true,
51
+ "internalType": "address",
52
+ "name": "newOwner",
53
+ "type": "address"
54
+ }
55
+ ],
56
+ "name": "DepositTransferred",
57
+ "type": "event"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": true,
64
+ "internalType": "contract IERC20Minimal",
65
+ "name": "rewardToken",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": true,
70
+ "internalType": "contract IUniswapV3Pool",
71
+ "name": "pool",
72
+ "type": "address"
73
+ },
74
+ {
75
+ "indexed": false,
76
+ "internalType": "uint256",
77
+ "name": "startTime",
78
+ "type": "uint256"
79
+ },
80
+ {
81
+ "indexed": false,
82
+ "internalType": "uint256",
83
+ "name": "endTime",
84
+ "type": "uint256"
85
+ },
86
+ {
87
+ "indexed": false,
88
+ "internalType": "address",
89
+ "name": "refundee",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint256",
95
+ "name": "reward",
96
+ "type": "uint256"
97
+ }
98
+ ],
99
+ "name": "IncentiveCreated",
100
+ "type": "event"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "bytes32",
108
+ "name": "incentiveId",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "uint256",
114
+ "name": "refund",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "IncentiveEnded",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "anonymous": false,
123
+ "inputs": [
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "to",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "uint256",
133
+ "name": "reward",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "RewardClaimed",
138
+ "type": "event"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": true,
145
+ "internalType": "uint256",
146
+ "name": "tokenId",
147
+ "type": "uint256"
148
+ },
149
+ {
150
+ "indexed": true,
151
+ "internalType": "bytes32",
152
+ "name": "incentiveId",
153
+ "type": "bytes32"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "uint128",
158
+ "name": "liquidity",
159
+ "type": "uint128"
160
+ }
161
+ ],
162
+ "name": "TokenStaked",
163
+ "type": "event"
164
+ },
165
+ {
166
+ "anonymous": false,
167
+ "inputs": [
168
+ {
169
+ "indexed": true,
170
+ "internalType": "uint256",
171
+ "name": "tokenId",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "indexed": true,
176
+ "internalType": "bytes32",
177
+ "name": "incentiveId",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "name": "TokenUnstaked",
182
+ "type": "event"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "contract IERC20Minimal",
188
+ "name": "rewardToken",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "internalType": "address",
193
+ "name": "to",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "amountRequested",
199
+ "type": "uint256"
200
+ }
201
+ ],
202
+ "name": "claimReward",
203
+ "outputs": [
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "reward",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "stateMutability": "nonpayable",
211
+ "type": "function"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "components": [
217
+ {
218
+ "internalType": "contract IERC20Minimal",
219
+ "name": "rewardToken",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "contract IUniswapV3Pool",
224
+ "name": "pool",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "startTime",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "endTime",
235
+ "type": "uint256"
236
+ },
237
+ {
238
+ "internalType": "address",
239
+ "name": "refundee",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "internalType": "struct IUniswapV3Staker.IncentiveKey",
244
+ "name": "key",
245
+ "type": "tuple"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "reward",
250
+ "type": "uint256"
251
+ }
252
+ ],
253
+ "name": "createIncentive",
254
+ "outputs": [],
255
+ "stateMutability": "nonpayable",
256
+ "type": "function"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "deposits",
267
+ "outputs": [
268
+ {
269
+ "internalType": "address",
270
+ "name": "owner",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "internalType": "uint48",
275
+ "name": "numberOfStakes",
276
+ "type": "uint48"
277
+ },
278
+ {
279
+ "internalType": "int24",
280
+ "name": "tickLower",
281
+ "type": "int24"
282
+ },
283
+ {
284
+ "internalType": "int24",
285
+ "name": "tickUpper",
286
+ "type": "int24"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "components": [
296
+ {
297
+ "internalType": "contract IERC20Minimal",
298
+ "name": "rewardToken",
299
+ "type": "address"
300
+ },
301
+ {
302
+ "internalType": "contract IUniswapV3Pool",
303
+ "name": "pool",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "internalType": "uint256",
308
+ "name": "startTime",
309
+ "type": "uint256"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "endTime",
314
+ "type": "uint256"
315
+ },
316
+ {
317
+ "internalType": "address",
318
+ "name": "refundee",
319
+ "type": "address"
320
+ }
321
+ ],
322
+ "internalType": "struct IUniswapV3Staker.IncentiveKey",
323
+ "name": "key",
324
+ "type": "tuple"
325
+ }
326
+ ],
327
+ "name": "endIncentive",
328
+ "outputs": [
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "refund",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "stateMutability": "nonpayable",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "factory",
341
+ "outputs": [
342
+ {
343
+ "internalType": "contract IUniswapV3Factory",
344
+ "name": "",
345
+ "type": "address"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [
353
+ {
354
+ "components": [
355
+ {
356
+ "internalType": "contract IERC20Minimal",
357
+ "name": "rewardToken",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "contract IUniswapV3Pool",
362
+ "name": "pool",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "uint256",
367
+ "name": "startTime",
368
+ "type": "uint256"
369
+ },
370
+ {
371
+ "internalType": "uint256",
372
+ "name": "endTime",
373
+ "type": "uint256"
374
+ },
375
+ {
376
+ "internalType": "address",
377
+ "name": "refundee",
378
+ "type": "address"
379
+ }
380
+ ],
381
+ "internalType": "struct IUniswapV3Staker.IncentiveKey",
382
+ "name": "key",
383
+ "type": "tuple"
384
+ },
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "tokenId",
388
+ "type": "uint256"
389
+ }
390
+ ],
391
+ "name": "getRewardInfo",
392
+ "outputs": [
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "reward",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "internalType": "uint160",
400
+ "name": "secondsInsideX128",
401
+ "type": "uint160"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "bytes32",
411
+ "name": "",
412
+ "type": "bytes32"
413
+ }
414
+ ],
415
+ "name": "incentives",
416
+ "outputs": [
417
+ {
418
+ "internalType": "uint256",
419
+ "name": "totalRewardUnclaimed",
420
+ "type": "uint256"
421
+ },
422
+ {
423
+ "internalType": "uint160",
424
+ "name": "totalSecondsClaimedX128",
425
+ "type": "uint160"
426
+ },
427
+ {
428
+ "internalType": "uint96",
429
+ "name": "numberOfStakes",
430
+ "type": "uint96"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "maxIncentiveDuration",
439
+ "outputs": [
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "maxIncentiveStartLeadTime",
452
+ "outputs": [
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "internalType": "bytes[]",
466
+ "name": "data",
467
+ "type": "bytes[]"
468
+ }
469
+ ],
470
+ "name": "multicall",
471
+ "outputs": [
472
+ {
473
+ "internalType": "bytes[]",
474
+ "name": "results",
475
+ "type": "bytes[]"
476
+ }
477
+ ],
478
+ "stateMutability": "payable",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "nonfungiblePositionManager",
484
+ "outputs": [
485
+ {
486
+ "internalType": "contract INonfungiblePositionManager",
487
+ "name": "",
488
+ "type": "address"
489
+ }
490
+ ],
491
+ "stateMutability": "view",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [
496
+ {
497
+ "internalType": "address",
498
+ "name": "",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "internalType": "address",
503
+ "name": "from",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "tokenId",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "bytes",
513
+ "name": "data",
514
+ "type": "bytes"
515
+ }
516
+ ],
517
+ "name": "onERC721Received",
518
+ "outputs": [
519
+ {
520
+ "internalType": "bytes4",
521
+ "name": "",
522
+ "type": "bytes4"
523
+ }
524
+ ],
525
+ "stateMutability": "nonpayable",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [
530
+ {
531
+ "internalType": "contract IERC20Minimal",
532
+ "name": "",
533
+ "type": "address"
534
+ },
535
+ {
536
+ "internalType": "address",
537
+ "name": "",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "name": "rewards",
542
+ "outputs": [
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "components": [
556
+ {
557
+ "internalType": "contract IERC20Minimal",
558
+ "name": "rewardToken",
559
+ "type": "address"
560
+ },
561
+ {
562
+ "internalType": "contract IUniswapV3Pool",
563
+ "name": "pool",
564
+ "type": "address"
565
+ },
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "startTime",
569
+ "type": "uint256"
570
+ },
571
+ {
572
+ "internalType": "uint256",
573
+ "name": "endTime",
574
+ "type": "uint256"
575
+ },
576
+ {
577
+ "internalType": "address",
578
+ "name": "refundee",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "internalType": "struct IUniswapV3Staker.IncentiveKey",
583
+ "name": "key",
584
+ "type": "tuple"
585
+ },
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "tokenId",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "name": "stakeToken",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "uint256",
601
+ "name": "tokenId",
602
+ "type": "uint256"
603
+ },
604
+ {
605
+ "internalType": "bytes32",
606
+ "name": "incentiveId",
607
+ "type": "bytes32"
608
+ }
609
+ ],
610
+ "name": "stakes",
611
+ "outputs": [
612
+ {
613
+ "internalType": "uint160",
614
+ "name": "secondsPerLiquidityInsideInitialX128",
615
+ "type": "uint160"
616
+ },
617
+ {
618
+ "internalType": "uint128",
619
+ "name": "liquidity",
620
+ "type": "uint128"
621
+ }
622
+ ],
623
+ "stateMutability": "view",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "tokenId",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "address",
635
+ "name": "to",
636
+ "type": "address"
637
+ }
638
+ ],
639
+ "name": "transferDeposit",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "inputs": [
646
+ {
647
+ "components": [
648
+ {
649
+ "internalType": "contract IERC20Minimal",
650
+ "name": "rewardToken",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "contract IUniswapV3Pool",
655
+ "name": "pool",
656
+ "type": "address"
657
+ },
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "startTime",
661
+ "type": "uint256"
662
+ },
663
+ {
664
+ "internalType": "uint256",
665
+ "name": "endTime",
666
+ "type": "uint256"
667
+ },
668
+ {
669
+ "internalType": "address",
670
+ "name": "refundee",
671
+ "type": "address"
672
+ }
673
+ ],
674
+ "internalType": "struct IUniswapV3Staker.IncentiveKey",
675
+ "name": "key",
676
+ "type": "tuple"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "tokenId",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "name": "unstakeToken",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "tokenId",
694
+ "type": "uint256"
695
+ },
696
+ {
697
+ "internalType": "address",
698
+ "name": "to",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "internalType": "bytes",
703
+ "name": "data",
704
+ "type": "bytes"
705
+ }
706
+ ],
707
+ "name": "withdrawToken",
708
+ "outputs": [],
709
+ "stateMutability": "nonpayable",
710
+ "type": "function"
711
+ }
712
+ ]
713
+ }