@pendle/core-v2 2.8.2-mainnet → 2.8.3-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 (35) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +28 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +28 -2
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +28 -2
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +28 -2
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.json +26 -0
  11. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +4 -0
  12. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +89 -0
  13. package/package.json +1 -1
  14. package/typechain-types/PendleAuraBalancerStableLPSYV2.ts +55 -0
  15. package/typechain-types/PendleAuraWethAnkrethSYV2.ts +55 -0
  16. package/typechain-types/PendleAuraWethRocketEthSYV2.ts +55 -0
  17. package/typechain-types/PendleAuraWethStafiEthSY.ts +55 -0
  18. package/typechain-types/PendleAuraWethWstethSYV2.ts +55 -0
  19. package/typechain-types/PendleMulticallV1.ts +162 -0
  20. package/typechain-types/factories/PendleAuraBalancerStableLPSYV2__factory.ts +26 -0
  21. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +27 -1
  22. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +27 -1
  23. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +27 -1
  24. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +27 -1
  25. package/typechain-types/factories/PendleMulticallV1__factory.ts +142 -0
  26. package/typechain-types/hardhat.d.ts +9 -0
  27. package/typechain-types/index.ts +2 -0
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.dbg.json +0 -4
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/UniV2/PendleUniV2Base.sol/PendleCamelotV1Base.json +0 -63
  30. package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.dbg.json +0 -4
  31. package/build/artifacts/contracts/interfaces/ICamelotPair.sol/ICamelotPair.json +0 -716
  32. package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.dbg.json +0 -4
  33. package/build/artifacts/contracts/interfaces/ICamelotRouter.sol/ICamelotRouter.json +0 -647
  34. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +0 -4
  35. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +0 -47
@@ -1,647 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed4c53b78b434e924e0a1f193767da47.json"
4
- }
@@ -1,47 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PendleMulticall",
4
- "sourceName": "contracts/offchain-helpers/PendleMulticall.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "uint256",
10
- "name": "index",
11
- "type": "uint256"
12
- }
13
- ],
14
- "name": "MulticallFailed",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "components": [
21
- {
22
- "internalType": "address",
23
- "name": "target",
24
- "type": "address"
25
- },
26
- {
27
- "internalType": "bytes",
28
- "name": "callData",
29
- "type": "bytes"
30
- }
31
- ],
32
- "internalType": "struct PendleMulticall.Call[]",
33
- "name": "calls",
34
- "type": "tuple[]"
35
- }
36
- ],
37
- "name": "aggregate",
38
- "outputs": [],
39
- "stateMutability": "payable",
40
- "type": "function"
41
- }
42
- ],
43
- "bytecode": "0x608060405234801561001057600080fd5b50610286806100206000396000f3fe60806040526004361061001e5760003560e01c8063252dba4214610023575b600080fd5b610036610031366004610119565b610038565b005b803660005b82811015610112578484828181106100575761005761018d565b905060200281019061006991906101a3565b9150600061007a60208401846101c3565b6001600160a01b031661009060208501856101f3565b60405161009e929190610240565b6000604051808303816000865af19150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b50509050806101095760405163750ebb7d60e01b81526004810183905260240160405180910390fd5b5060010161003d565b5050505050565b6000806020838503121561012c57600080fd5b82356001600160401b038082111561014357600080fd5b818501915085601f83011261015757600080fd5b81358181111561016657600080fd5b8660208260051b850101111561017b57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e198336030181126101b957600080fd5b9190910192915050565b6000602082840312156101d557600080fd5b81356001600160a01b03811681146101ec57600080fd5b9392505050565b6000808335601e1984360301811261020a57600080fd5b8301803591506001600160401b0382111561022457600080fd5b60200191503681900382131561023957600080fd5b9250929050565b818382376000910190815291905056fea2646970667358221220c48b029086a30e87e30bee019948209846e3d27707f95aac377443f7ab8448f964736f6c63430008110033",
44
- "deployedBytecode": "0x60806040526004361061001e5760003560e01c8063252dba4214610023575b600080fd5b610036610031366004610119565b610038565b005b803660005b82811015610112578484828181106100575761005761018d565b905060200281019061006991906101a3565b9150600061007a60208401846101c3565b6001600160a01b031661009060208501856101f3565b60405161009e929190610240565b6000604051808303816000865af19150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b50509050806101095760405163750ebb7d60e01b81526004810183905260240160405180910390fd5b5060010161003d565b5050505050565b6000806020838503121561012c57600080fd5b82356001600160401b038082111561014357600080fd5b818501915085601f83011261015757600080fd5b81358181111561016657600080fd5b8660208260051b850101111561017b57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e198336030181126101b957600080fd5b9190910192915050565b6000602082840312156101d557600080fd5b81356001600160a01b03811681146101ec57600080fd5b9392505050565b6000808335601e1984360301811261020a57600080fd5b8301803591506001600160401b0382111561022457600080fd5b60200191503681900382131561023957600080fd5b9250929050565b818382376000910190815291905056fea2646970667358221220c48b029086a30e87e30bee019948209846e3d27707f95aac377443f7ab8448f964736f6c63430008110033",
45
- "linkReferences": {},
46
- "deployedLinkReferences": {}
47
- }