@pendle/core-v2 2.8.0-mainnet → 2.8.2-mainnet

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 (28) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.json +63 -0
  3. package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.dbg.json +4 -0
  4. package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.json +716 -0
  5. package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.dbg.json +4 -0
  6. package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.json +647 -0
  7. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol +31 -10
  8. package/contracts/offchain-helpers/PendleMulticallV1.sol +61 -0
  9. package/deployments/1-markets/BALANCER-LP-AURA-STAFI-RETH-WETH-JUNE-27-2024.json +5 -5
  10. package/deployments/1-offchain-helper.json +1 -1
  11. package/deployments/42161-core.json +3 -3
  12. package/deployments/42161-offchain-helper.json +1 -1
  13. package/package.json +1 -1
  14. package/typechain-types/ICamelotPair.ts +972 -0
  15. package/typechain-types/ICamelotRouter.ts +955 -0
  16. package/typechain-types/PendleCamelotV1Base.ts +120 -0
  17. package/typechain-types/factories/ICamelotPair__factory.ts +728 -0
  18. package/typechain-types/factories/ICamelotRouter__factory.ts +662 -0
  19. package/typechain-types/factories/PendleCamelotV1Base__factory.ts +78 -0
  20. package/typechain-types/hardhat.d.ts +27 -99
  21. package/typechain-types/index.ts +6 -22
  22. package/contracts/offchain-helpers/PendleMulticall.sol +0 -26
  23. /package/deployments/1-markets/{BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json → deprecated/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json} +0 -0
  24. /package/deployments/1-markets/{BALANCER-LP-AURA-RETH-WETH-28DEC.json → deprecated/BALANCER-LP-AURA-RETH-WETH-28DEC.json} +0 -0
  25. /package/deployments/1-markets/{BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json → deprecated/BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json} +0 -0
  26. /package/deployments/1-markets/{FRAXUSDC-CURVELP-MARCH30.json → deprecated/FRAXUSDC-CURVELP-MARCH30.json} +0 -0
  27. /package/deployments/1-markets/{LOOKS-STAKING-MARCH30.json → deprecated/LOOKS-STAKING-MARCH30.json} +0 -0
  28. /package/deployments/1-markets/{STETH-MARCH30.json → deprecated/STETH-MARCH30.json} +0 -0
@@ -0,0 +1,647 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ICamelotRouter",
4
+ "sourceName": "contracts/interfaces/ICamelotRouter.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "WETH",
9
+ "outputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "pure",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "tokenA",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "internalType": "address",
28
+ "name": "tokenB",
29
+ "type": "address"
30
+ },
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "amountADesired",
34
+ "type": "uint256"
35
+ },
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "amountBDesired",
39
+ "type": "uint256"
40
+ },
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "amountAMin",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "internalType": "uint256",
48
+ "name": "amountBMin",
49
+ "type": "uint256"
50
+ },
51
+ {
52
+ "internalType": "address",
53
+ "name": "to",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "deadline",
59
+ "type": "uint256"
60
+ }
61
+ ],
62
+ "name": "addLiquidity",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "amountA",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "amountB",
72
+ "type": "uint256"
73
+ },
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "liquidity",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "stateMutability": "nonpayable",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "internalType": "address",
87
+ "name": "token",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "amountTokenDesired",
93
+ "type": "uint256"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "amountTokenMin",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "amountETHMin",
103
+ "type": "uint256"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "to",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "deadline",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "addLiquidityETH",
117
+ "outputs": [
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "amountToken",
121
+ "type": "uint256"
122
+ },
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "amountETH",
126
+ "type": "uint256"
127
+ },
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "liquidity",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "payable",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "factory",
140
+ "outputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "stateMutability": "pure",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "amountA",
155
+ "type": "uint256"
156
+ },
157
+ {
158
+ "internalType": "uint256",
159
+ "name": "reserveA",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "reserveB",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "name": "quote",
169
+ "outputs": [
170
+ {
171
+ "internalType": "uint256",
172
+ "name": "amountB",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "stateMutability": "pure",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "address",
183
+ "name": "tokenA",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "internalType": "address",
188
+ "name": "tokenB",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "liquidity",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "amountAMin",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "amountBMin",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "internalType": "address",
208
+ "name": "to",
209
+ "type": "address"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "deadline",
214
+ "type": "uint256"
215
+ }
216
+ ],
217
+ "name": "removeLiquidity",
218
+ "outputs": [
219
+ {
220
+ "internalType": "uint256",
221
+ "name": "amountA",
222
+ "type": "uint256"
223
+ },
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "amountB",
227
+ "type": "uint256"
228
+ }
229
+ ],
230
+ "stateMutability": "nonpayable",
231
+ "type": "function"
232
+ },
233
+ {
234
+ "inputs": [
235
+ {
236
+ "internalType": "address",
237
+ "name": "token",
238
+ "type": "address"
239
+ },
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "liquidity",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "amountTokenMin",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "amountETHMin",
253
+ "type": "uint256"
254
+ },
255
+ {
256
+ "internalType": "address",
257
+ "name": "to",
258
+ "type": "address"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "deadline",
263
+ "type": "uint256"
264
+ }
265
+ ],
266
+ "name": "removeLiquidityETH",
267
+ "outputs": [
268
+ {
269
+ "internalType": "uint256",
270
+ "name": "amountToken",
271
+ "type": "uint256"
272
+ },
273
+ {
274
+ "internalType": "uint256",
275
+ "name": "amountETH",
276
+ "type": "uint256"
277
+ }
278
+ ],
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "address",
286
+ "name": "token",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "internalType": "uint256",
291
+ "name": "liquidity",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "amountTokenMin",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "amountETHMin",
302
+ "type": "uint256"
303
+ },
304
+ {
305
+ "internalType": "address",
306
+ "name": "to",
307
+ "type": "address"
308
+ },
309
+ {
310
+ "internalType": "uint256",
311
+ "name": "deadline",
312
+ "type": "uint256"
313
+ }
314
+ ],
315
+ "name": "removeLiquidityETHSupportingFeeOnTransferTokens",
316
+ "outputs": [
317
+ {
318
+ "internalType": "uint256",
319
+ "name": "amountETH",
320
+ "type": "uint256"
321
+ }
322
+ ],
323
+ "stateMutability": "nonpayable",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "address",
330
+ "name": "token",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "internalType": "uint256",
335
+ "name": "liquidity",
336
+ "type": "uint256"
337
+ },
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "amountTokenMin",
341
+ "type": "uint256"
342
+ },
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "amountETHMin",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "internalType": "address",
350
+ "name": "to",
351
+ "type": "address"
352
+ },
353
+ {
354
+ "internalType": "uint256",
355
+ "name": "deadline",
356
+ "type": "uint256"
357
+ },
358
+ {
359
+ "internalType": "bool",
360
+ "name": "approveMax",
361
+ "type": "bool"
362
+ },
363
+ {
364
+ "internalType": "uint8",
365
+ "name": "v",
366
+ "type": "uint8"
367
+ },
368
+ {
369
+ "internalType": "bytes32",
370
+ "name": "r",
371
+ "type": "bytes32"
372
+ },
373
+ {
374
+ "internalType": "bytes32",
375
+ "name": "s",
376
+ "type": "bytes32"
377
+ }
378
+ ],
379
+ "name": "removeLiquidityETHWithPermit",
380
+ "outputs": [
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "amountToken",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "amountETH",
389
+ "type": "uint256"
390
+ }
391
+ ],
392
+ "stateMutability": "nonpayable",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "token",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "liquidity",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "internalType": "uint256",
409
+ "name": "amountTokenMin",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "amountETHMin",
415
+ "type": "uint256"
416
+ },
417
+ {
418
+ "internalType": "address",
419
+ "name": "to",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "deadline",
425
+ "type": "uint256"
426
+ },
427
+ {
428
+ "internalType": "bool",
429
+ "name": "approveMax",
430
+ "type": "bool"
431
+ },
432
+ {
433
+ "internalType": "uint8",
434
+ "name": "v",
435
+ "type": "uint8"
436
+ },
437
+ {
438
+ "internalType": "bytes32",
439
+ "name": "r",
440
+ "type": "bytes32"
441
+ },
442
+ {
443
+ "internalType": "bytes32",
444
+ "name": "s",
445
+ "type": "bytes32"
446
+ }
447
+ ],
448
+ "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens",
449
+ "outputs": [
450
+ {
451
+ "internalType": "uint256",
452
+ "name": "amountETH",
453
+ "type": "uint256"
454
+ }
455
+ ],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "address",
463
+ "name": "tokenA",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "address",
468
+ "name": "tokenB",
469
+ "type": "address"
470
+ },
471
+ {
472
+ "internalType": "uint256",
473
+ "name": "liquidity",
474
+ "type": "uint256"
475
+ },
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "amountAMin",
479
+ "type": "uint256"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "amountBMin",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "address",
488
+ "name": "to",
489
+ "type": "address"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "deadline",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "bool",
498
+ "name": "approveMax",
499
+ "type": "bool"
500
+ },
501
+ {
502
+ "internalType": "uint8",
503
+ "name": "v",
504
+ "type": "uint8"
505
+ },
506
+ {
507
+ "internalType": "bytes32",
508
+ "name": "r",
509
+ "type": "bytes32"
510
+ },
511
+ {
512
+ "internalType": "bytes32",
513
+ "name": "s",
514
+ "type": "bytes32"
515
+ }
516
+ ],
517
+ "name": "removeLiquidityWithPermit",
518
+ "outputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "amountA",
522
+ "type": "uint256"
523
+ },
524
+ {
525
+ "internalType": "uint256",
526
+ "name": "amountB",
527
+ "type": "uint256"
528
+ }
529
+ ],
530
+ "stateMutability": "nonpayable",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "amountOutMin",
538
+ "type": "uint256"
539
+ },
540
+ {
541
+ "internalType": "address[]",
542
+ "name": "path",
543
+ "type": "address[]"
544
+ },
545
+ {
546
+ "internalType": "address",
547
+ "name": "to",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "internalType": "address",
552
+ "name": "referrer",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "deadline",
558
+ "type": "uint256"
559
+ }
560
+ ],
561
+ "name": "swapExactETHForTokensSupportingFeeOnTransferTokens",
562
+ "outputs": [],
563
+ "stateMutability": "payable",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "amountIn",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "amountOutMin",
576
+ "type": "uint256"
577
+ },
578
+ {
579
+ "internalType": "address[]",
580
+ "name": "path",
581
+ "type": "address[]"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "to",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "internalType": "address",
590
+ "name": "referrer",
591
+ "type": "address"
592
+ },
593
+ {
594
+ "internalType": "uint256",
595
+ "name": "deadline",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "name": "swapExactTokensForETHSupportingFeeOnTransferTokens",
600
+ "outputs": [],
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "amountIn",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "amountOutMin",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "address[]",
618
+ "name": "path",
619
+ "type": "address[]"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "to",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "address",
628
+ "name": "referrer",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "deadline",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens",
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable",
640
+ "type": "function"
641
+ }
642
+ ],
643
+ "bytecode": "0x",
644
+ "deployedBytecode": "0x",
645
+ "linkReferences": {},
646
+ "deployedLinkReferences": {}
647
+ }