@centurion_project/v3-sdk 3.31.4 → 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 (50) 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/constants.d.ts +1 -1
  10. package/dist/cjs/src/constants.js +1 -1
  11. package/dist/cjs/src/multicall.js +1 -1
  12. package/dist/cjs/src/multicall.js.map +1 -1
  13. package/dist/cjs/src/nonfungiblePositionManager.js +2 -2
  14. package/dist/cjs/src/nonfungiblePositionManager.js.map +1 -1
  15. package/dist/cjs/src/payments.js +1 -1
  16. package/dist/cjs/src/payments.js.map +1 -1
  17. package/dist/cjs/src/quoter.js +3 -3
  18. package/dist/cjs/src/quoter.js.map +1 -1
  19. package/dist/cjs/src/selfPermit.js +1 -1
  20. package/dist/cjs/src/selfPermit.js.map +1 -1
  21. package/dist/cjs/src/staker.js +2 -2
  22. package/dist/cjs/src/staker.js.map +1 -1
  23. package/dist/cjs/src/swapRouter.js +2 -2
  24. package/dist/cjs/src/swapRouter.js.map +1 -1
  25. package/dist/esm/src/abis/IMulticall.json +28 -0
  26. package/dist/esm/src/abis/INonfungiblePositionManager.json +1228 -0
  27. package/dist/esm/src/abis/IPeripheryPaymentsWithFee.json +118 -0
  28. package/dist/esm/src/abis/IQuoter.json +200 -0
  29. package/dist/esm/src/abis/ISelfPermit.json +161 -0
  30. package/dist/esm/src/abis/ISwapRouter.json +572 -0
  31. package/dist/esm/src/abis/IUniswapV3Staker.json +713 -0
  32. package/dist/esm/src/abis/QuoterV2.json +276 -0
  33. package/dist/esm/src/constants.d.ts +1 -1
  34. package/dist/esm/src/constants.js +1 -1
  35. package/dist/esm/src/multicall.js +1 -1
  36. package/dist/esm/src/multicall.js.map +1 -1
  37. package/dist/esm/src/nonfungiblePositionManager.js +1 -1
  38. package/dist/esm/src/nonfungiblePositionManager.js.map +1 -1
  39. package/dist/esm/src/payments.js +1 -1
  40. package/dist/esm/src/payments.js.map +1 -1
  41. package/dist/esm/src/quoter.js +2 -2
  42. package/dist/esm/src/quoter.js.map +1 -1
  43. package/dist/esm/src/selfPermit.js +1 -1
  44. package/dist/esm/src/selfPermit.js.map +1 -1
  45. package/dist/esm/src/staker.js +1 -1
  46. package/dist/esm/src/staker.js.map +1 -1
  47. package/dist/esm/src/swapRouter.js +1 -1
  48. package/dist/esm/src/swapRouter.js.map +1 -1
  49. package/dist/types/src/constants.d.ts +1 -1
  50. package/package.json +10 -5
@@ -0,0 +1,572 @@
1
+ {
2
+ "_centurionProvenance": {
3
+ "package": "@uniswap/v3-periphery@1.4.4",
4
+ "sourceArtifact": "@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json",
5
+ "sourceArtifactSha256": "c3eb42a951dbe00277660ba47304ed41cf1bde67e98b8a952f7f22c917d6fb02"
6
+ },
7
+ "abi": [
8
+ {
9
+ "inputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "_factory",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "internalType": "address",
17
+ "name": "_WETH9",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "stateMutability": "nonpayable",
22
+ "type": "constructor"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "WETH9",
27
+ "outputs": [
28
+ {
29
+ "internalType": "address",
30
+ "name": "",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "stateMutability": "view",
35
+ "type": "function"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "components": [
41
+ {
42
+ "internalType": "bytes",
43
+ "name": "path",
44
+ "type": "bytes"
45
+ },
46
+ {
47
+ "internalType": "address",
48
+ "name": "recipient",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "uint256",
53
+ "name": "deadline",
54
+ "type": "uint256"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "amountIn",
59
+ "type": "uint256"
60
+ },
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "amountOutMinimum",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "internalType": "struct ISwapRouter.ExactInputParams",
68
+ "name": "params",
69
+ "type": "tuple"
70
+ }
71
+ ],
72
+ "name": "exactInput",
73
+ "outputs": [
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "amountOut",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "stateMutability": "payable",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "components": [
87
+ {
88
+ "internalType": "address",
89
+ "name": "tokenIn",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "internalType": "address",
94
+ "name": "tokenOut",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "internalType": "uint24",
99
+ "name": "fee",
100
+ "type": "uint24"
101
+ },
102
+ {
103
+ "internalType": "address",
104
+ "name": "recipient",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "internalType": "uint256",
109
+ "name": "deadline",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "amountIn",
115
+ "type": "uint256"
116
+ },
117
+ {
118
+ "internalType": "uint256",
119
+ "name": "amountOutMinimum",
120
+ "type": "uint256"
121
+ },
122
+ {
123
+ "internalType": "uint160",
124
+ "name": "sqrtPriceLimitX96",
125
+ "type": "uint160"
126
+ }
127
+ ],
128
+ "internalType": "struct ISwapRouter.ExactInputSingleParams",
129
+ "name": "params",
130
+ "type": "tuple"
131
+ }
132
+ ],
133
+ "name": "exactInputSingle",
134
+ "outputs": [
135
+ {
136
+ "internalType": "uint256",
137
+ "name": "amountOut",
138
+ "type": "uint256"
139
+ }
140
+ ],
141
+ "stateMutability": "payable",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [
146
+ {
147
+ "components": [
148
+ {
149
+ "internalType": "bytes",
150
+ "name": "path",
151
+ "type": "bytes"
152
+ },
153
+ {
154
+ "internalType": "address",
155
+ "name": "recipient",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "deadline",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "amountOut",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "amountInMaximum",
171
+ "type": "uint256"
172
+ }
173
+ ],
174
+ "internalType": "struct ISwapRouter.ExactOutputParams",
175
+ "name": "params",
176
+ "type": "tuple"
177
+ }
178
+ ],
179
+ "name": "exactOutput",
180
+ "outputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "amountIn",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "stateMutability": "payable",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [
192
+ {
193
+ "components": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "tokenIn",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "internalType": "address",
201
+ "name": "tokenOut",
202
+ "type": "address"
203
+ },
204
+ {
205
+ "internalType": "uint24",
206
+ "name": "fee",
207
+ "type": "uint24"
208
+ },
209
+ {
210
+ "internalType": "address",
211
+ "name": "recipient",
212
+ "type": "address"
213
+ },
214
+ {
215
+ "internalType": "uint256",
216
+ "name": "deadline",
217
+ "type": "uint256"
218
+ },
219
+ {
220
+ "internalType": "uint256",
221
+ "name": "amountOut",
222
+ "type": "uint256"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "amountInMaximum",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "internalType": "uint160",
231
+ "name": "sqrtPriceLimitX96",
232
+ "type": "uint160"
233
+ }
234
+ ],
235
+ "internalType": "struct ISwapRouter.ExactOutputSingleParams",
236
+ "name": "params",
237
+ "type": "tuple"
238
+ }
239
+ ],
240
+ "name": "exactOutputSingle",
241
+ "outputs": [
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "amountIn",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "stateMutability": "payable",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "factory",
254
+ "outputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "bytes[]",
268
+ "name": "data",
269
+ "type": "bytes[]"
270
+ }
271
+ ],
272
+ "name": "multicall",
273
+ "outputs": [
274
+ {
275
+ "internalType": "bytes[]",
276
+ "name": "results",
277
+ "type": "bytes[]"
278
+ }
279
+ ],
280
+ "stateMutability": "payable",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "refundETH",
286
+ "outputs": [],
287
+ "stateMutability": "payable",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [
292
+ {
293
+ "internalType": "address",
294
+ "name": "token",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "value",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "deadline",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "uint8",
309
+ "name": "v",
310
+ "type": "uint8"
311
+ },
312
+ {
313
+ "internalType": "bytes32",
314
+ "name": "r",
315
+ "type": "bytes32"
316
+ },
317
+ {
318
+ "internalType": "bytes32",
319
+ "name": "s",
320
+ "type": "bytes32"
321
+ }
322
+ ],
323
+ "name": "selfPermit",
324
+ "outputs": [],
325
+ "stateMutability": "payable",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "address",
332
+ "name": "token",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "internalType": "uint256",
337
+ "name": "nonce",
338
+ "type": "uint256"
339
+ },
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "expiry",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "internalType": "uint8",
347
+ "name": "v",
348
+ "type": "uint8"
349
+ },
350
+ {
351
+ "internalType": "bytes32",
352
+ "name": "r",
353
+ "type": "bytes32"
354
+ },
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "s",
358
+ "type": "bytes32"
359
+ }
360
+ ],
361
+ "name": "selfPermitAllowed",
362
+ "outputs": [],
363
+ "stateMutability": "payable",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "token",
371
+ "type": "address"
372
+ },
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "nonce",
376
+ "type": "uint256"
377
+ },
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "expiry",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "internalType": "uint8",
385
+ "name": "v",
386
+ "type": "uint8"
387
+ },
388
+ {
389
+ "internalType": "bytes32",
390
+ "name": "r",
391
+ "type": "bytes32"
392
+ },
393
+ {
394
+ "internalType": "bytes32",
395
+ "name": "s",
396
+ "type": "bytes32"
397
+ }
398
+ ],
399
+ "name": "selfPermitAllowedIfNecessary",
400
+ "outputs": [],
401
+ "stateMutability": "payable",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "token",
409
+ "type": "address"
410
+ },
411
+ {
412
+ "internalType": "uint256",
413
+ "name": "value",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "internalType": "uint256",
418
+ "name": "deadline",
419
+ "type": "uint256"
420
+ },
421
+ {
422
+ "internalType": "uint8",
423
+ "name": "v",
424
+ "type": "uint8"
425
+ },
426
+ {
427
+ "internalType": "bytes32",
428
+ "name": "r",
429
+ "type": "bytes32"
430
+ },
431
+ {
432
+ "internalType": "bytes32",
433
+ "name": "s",
434
+ "type": "bytes32"
435
+ }
436
+ ],
437
+ "name": "selfPermitIfNecessary",
438
+ "outputs": [],
439
+ "stateMutability": "payable",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [
444
+ {
445
+ "internalType": "address",
446
+ "name": "token",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "internalType": "uint256",
451
+ "name": "amountMinimum",
452
+ "type": "uint256"
453
+ },
454
+ {
455
+ "internalType": "address",
456
+ "name": "recipient",
457
+ "type": "address"
458
+ }
459
+ ],
460
+ "name": "sweepToken",
461
+ "outputs": [],
462
+ "stateMutability": "payable",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "address",
469
+ "name": "token",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "amountMinimum",
475
+ "type": "uint256"
476
+ },
477
+ {
478
+ "internalType": "address",
479
+ "name": "recipient",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "feeBips",
485
+ "type": "uint256"
486
+ },
487
+ {
488
+ "internalType": "address",
489
+ "name": "feeRecipient",
490
+ "type": "address"
491
+ }
492
+ ],
493
+ "name": "sweepTokenWithFee",
494
+ "outputs": [],
495
+ "stateMutability": "payable",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "int256",
502
+ "name": "amount0Delta",
503
+ "type": "int256"
504
+ },
505
+ {
506
+ "internalType": "int256",
507
+ "name": "amount1Delta",
508
+ "type": "int256"
509
+ },
510
+ {
511
+ "internalType": "bytes",
512
+ "name": "_data",
513
+ "type": "bytes"
514
+ }
515
+ ],
516
+ "name": "uniswapV3SwapCallback",
517
+ "outputs": [],
518
+ "stateMutability": "nonpayable",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "uint256",
525
+ "name": "amountMinimum",
526
+ "type": "uint256"
527
+ },
528
+ {
529
+ "internalType": "address",
530
+ "name": "recipient",
531
+ "type": "address"
532
+ }
533
+ ],
534
+ "name": "unwrapWETH9",
535
+ "outputs": [],
536
+ "stateMutability": "payable",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "amountMinimum",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "recipient",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "uint256",
553
+ "name": "feeBips",
554
+ "type": "uint256"
555
+ },
556
+ {
557
+ "internalType": "address",
558
+ "name": "feeRecipient",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "name": "unwrapWETH9WithFee",
563
+ "outputs": [],
564
+ "stateMutability": "payable",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "stateMutability": "payable",
569
+ "type": "receive"
570
+ }
571
+ ]
572
+ }