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