@pendle/core-v2 4.5.0 → 4.5.1-beta-2

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 (39) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  3. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +1156 -34
  4. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1183 -61
  6. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  8. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  9. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  11. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  12. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +1158 -36
  13. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  14. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  15. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  17. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  18. package/contracts/interfaces/IPActionMiscV3.sol +92 -0
  19. package/contracts/router/ActionMiscV3.sol +150 -36
  20. package/contracts/router/ActionSwapYTV3.sol +0 -85
  21. package/contracts/router/base/ActionBase.sol +106 -1
  22. package/deployments/merkle-distribution/2024-04-25.json +14930 -0
  23. package/package.json +1 -1
  24. package/typechain-types/ActionMiscV3.ts +573 -16
  25. package/typechain-types/IPActionMiscV3.ts +573 -16
  26. package/typechain-types/IPAllActionV3.ts +480 -0
  27. package/typechain-types/ISwellSimpleStakingERC20.ts +289 -0
  28. package/typechain-types/PendleSwellRswETHStakingSY.ts +1325 -0
  29. package/typechain-types/PendleSwellStakingERC20SY.ts +1299 -0
  30. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  31. package/typechain-types/factories/ActionMiscV3__factory.ts +1157 -35
  32. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  33. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  34. package/typechain-types/factories/IPActionMiscV3__factory.ts +1156 -34
  35. package/typechain-types/factories/IPAllActionV3__factory.ts +1183 -61
  36. package/typechain-types/factories/ISwellSimpleStakingERC20__factory.ts +226 -0
  37. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  38. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1106 -0
  39. package/typechain-types/factories/PendleSwellStakingERC20SY__factory.ts +1112 -0
@@ -15,29 +15,56 @@
15
15
  {
16
16
  "indexed": true,
17
17
  "internalType": "address",
18
- "name": "receiver",
18
+ "name": "market",
19
19
  "type": "address"
20
20
  },
21
21
  {
22
22
  "indexed": true,
23
23
  "internalType": "address",
24
- "name": "YT",
24
+ "name": "receiver",
25
25
  "type": "address"
26
26
  },
27
27
  {
28
28
  "indexed": false,
29
29
  "internalType": "uint256",
30
- "name": "netSyIn",
30
+ "name": "netLpIn",
31
31
  "type": "uint256"
32
32
  },
33
33
  {
34
+ "components": [
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "netPtFromRemove",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "netSyFromRemove",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "netPtRedeem",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "netSyFromRedeem",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "totalSyOut",
58
+ "type": "uint256"
59
+ }
60
+ ],
34
61
  "indexed": false,
35
- "internalType": "uint256",
36
- "name": "netPyOut",
37
- "type": "uint256"
62
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
63
+ "name": "params",
64
+ "type": "tuple"
38
65
  }
39
66
  ],
40
- "name": "MintPyFromSy",
67
+ "name": "ExitPostExpToSy",
41
68
  "type": "event"
42
69
  },
43
70
  {
@@ -52,13 +79,13 @@
52
79
  {
53
80
  "indexed": true,
54
81
  "internalType": "address",
55
- "name": "tokenIn",
82
+ "name": "market",
56
83
  "type": "address"
57
84
  },
58
85
  {
59
86
  "indexed": true,
60
87
  "internalType": "address",
61
- "name": "YT",
88
+ "name": "token",
62
89
  "type": "address"
63
90
  },
64
91
  {
@@ -70,23 +97,134 @@
70
97
  {
71
98
  "indexed": false,
72
99
  "internalType": "uint256",
73
- "name": "netTokenIn",
100
+ "name": "netLpIn",
74
101
  "type": "uint256"
75
102
  },
76
103
  {
77
104
  "indexed": false,
78
105
  "internalType": "uint256",
79
- "name": "netPyOut",
106
+ "name": "totalTokenOut",
80
107
  "type": "uint256"
81
108
  },
109
+ {
110
+ "components": [
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "netPtFromRemove",
114
+ "type": "uint256"
115
+ },
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "netSyFromRemove",
119
+ "type": "uint256"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "netPtRedeem",
124
+ "type": "uint256"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "netSyFromRedeem",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "totalSyOut",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "indexed": false,
138
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
139
+ "name": "params",
140
+ "type": "tuple"
141
+ }
142
+ ],
143
+ "name": "ExitPostExpToToken",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": true,
151
+ "internalType": "address",
152
+ "name": "caller",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "indexed": true,
157
+ "internalType": "address",
158
+ "name": "market",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": true,
163
+ "internalType": "address",
164
+ "name": "receiver",
165
+ "type": "address"
166
+ },
82
167
  {
83
168
  "indexed": false,
84
169
  "internalType": "uint256",
85
- "name": "netSyInterm",
170
+ "name": "netLpToRemove",
86
171
  "type": "uint256"
172
+ },
173
+ {
174
+ "components": [
175
+ {
176
+ "internalType": "uint256",
177
+ "name": "netPtFromRemove",
178
+ "type": "uint256"
179
+ },
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "netSyFromRemove",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "netPyRedeem",
188
+ "type": "uint256"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "netSyFromRedeem",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "netPtSwap",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "netYtSwap",
203
+ "type": "uint256"
204
+ },
205
+ {
206
+ "internalType": "uint256",
207
+ "name": "netSyFromSwap",
208
+ "type": "uint256"
209
+ },
210
+ {
211
+ "internalType": "uint256",
212
+ "name": "netSyFee",
213
+ "type": "uint256"
214
+ },
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "totalSyOut",
218
+ "type": "uint256"
219
+ }
220
+ ],
221
+ "indexed": false,
222
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
223
+ "name": "params",
224
+ "type": "tuple"
87
225
  }
88
226
  ],
89
- "name": "MintPyFromToken",
227
+ "name": "ExitPreExpToSy",
90
228
  "type": "event"
91
229
  },
92
230
  {
@@ -101,13 +239,13 @@
101
239
  {
102
240
  "indexed": true,
103
241
  "internalType": "address",
104
- "name": "tokenIn",
242
+ "name": "market",
105
243
  "type": "address"
106
244
  },
107
245
  {
108
246
  "indexed": true,
109
247
  "internalType": "address",
110
- "name": "SY",
248
+ "name": "token",
111
249
  "type": "address"
112
250
  },
113
251
  {
@@ -119,17 +257,70 @@
119
257
  {
120
258
  "indexed": false,
121
259
  "internalType": "uint256",
122
- "name": "netTokenIn",
260
+ "name": "netLpToRemove",
123
261
  "type": "uint256"
124
262
  },
125
263
  {
126
264
  "indexed": false,
127
265
  "internalType": "uint256",
128
- "name": "netSyOut",
266
+ "name": "totalTokenOut",
129
267
  "type": "uint256"
268
+ },
269
+ {
270
+ "components": [
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "netPtFromRemove",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "netSyFromRemove",
279
+ "type": "uint256"
280
+ },
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "netPyRedeem",
284
+ "type": "uint256"
285
+ },
286
+ {
287
+ "internalType": "uint256",
288
+ "name": "netSyFromRedeem",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "netPtSwap",
294
+ "type": "uint256"
295
+ },
296
+ {
297
+ "internalType": "uint256",
298
+ "name": "netYtSwap",
299
+ "type": "uint256"
300
+ },
301
+ {
302
+ "internalType": "uint256",
303
+ "name": "netSyFromSwap",
304
+ "type": "uint256"
305
+ },
306
+ {
307
+ "internalType": "uint256",
308
+ "name": "netSyFee",
309
+ "type": "uint256"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "totalSyOut",
314
+ "type": "uint256"
315
+ }
316
+ ],
317
+ "indexed": false,
318
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
319
+ "name": "params",
320
+ "type": "tuple"
130
321
  }
131
322
  ],
132
- "name": "MintSyFromToken",
323
+ "name": "ExitPreExpToToken",
133
324
  "type": "event"
134
325
  },
135
326
  {
@@ -156,17 +347,17 @@
156
347
  {
157
348
  "indexed": false,
158
349
  "internalType": "uint256",
159
- "name": "netPyIn",
350
+ "name": "netSyIn",
160
351
  "type": "uint256"
161
352
  },
162
353
  {
163
354
  "indexed": false,
164
355
  "internalType": "uint256",
165
- "name": "netSyOut",
356
+ "name": "netPyOut",
166
357
  "type": "uint256"
167
358
  }
168
359
  ],
169
- "name": "RedeemPyToSy",
360
+ "name": "MintPyFromSy",
170
361
  "type": "event"
171
362
  },
172
363
  {
@@ -181,7 +372,7 @@
181
372
  {
182
373
  "indexed": true,
183
374
  "internalType": "address",
184
- "name": "tokenOut",
375
+ "name": "tokenIn",
185
376
  "type": "address"
186
377
  },
187
378
  {
@@ -199,13 +390,13 @@
199
390
  {
200
391
  "indexed": false,
201
392
  "internalType": "uint256",
202
- "name": "netPyIn",
393
+ "name": "netTokenIn",
203
394
  "type": "uint256"
204
395
  },
205
396
  {
206
397
  "indexed": false,
207
398
  "internalType": "uint256",
208
- "name": "netTokenOut",
399
+ "name": "netPyOut",
209
400
  "type": "uint256"
210
401
  },
211
402
  {
@@ -215,7 +406,7 @@
215
406
  "type": "uint256"
216
407
  }
217
408
  ],
218
- "name": "RedeemPyToToken",
409
+ "name": "MintPyFromToken",
219
410
  "type": "event"
220
411
  },
221
412
  {
@@ -230,7 +421,7 @@
230
421
  {
231
422
  "indexed": true,
232
423
  "internalType": "address",
233
- "name": "tokenOut",
424
+ "name": "tokenIn",
234
425
  "type": "address"
235
426
  },
236
427
  {
@@ -248,29 +439,960 @@
248
439
  {
249
440
  "indexed": false,
250
441
  "internalType": "uint256",
251
- "name": "netSyIn",
442
+ "name": "netTokenIn",
252
443
  "type": "uint256"
253
444
  },
254
445
  {
255
446
  "indexed": false,
256
447
  "internalType": "uint256",
257
- "name": "netTokenOut",
448
+ "name": "netSyOut",
258
449
  "type": "uint256"
259
450
  }
260
451
  ],
261
- "name": "RedeemSyToToken",
452
+ "name": "MintSyFromToken",
262
453
  "type": "event"
263
454
  },
264
455
  {
456
+ "anonymous": false,
265
457
  "inputs": [
266
458
  {
267
- "internalType": "address[]",
268
- "name": "markets",
269
- "type": "address[]"
459
+ "indexed": true,
460
+ "internalType": "address",
461
+ "name": "caller",
462
+ "type": "address"
463
+ },
464
+ {
465
+ "indexed": true,
466
+ "internalType": "address",
467
+ "name": "receiver",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "indexed": true,
472
+ "internalType": "address",
473
+ "name": "YT",
474
+ "type": "address"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "uint256",
479
+ "name": "netPyIn",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "uint256",
485
+ "name": "netSyOut",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "name": "RedeemPyToSy",
490
+ "type": "event"
491
+ },
492
+ {
493
+ "anonymous": false,
494
+ "inputs": [
495
+ {
496
+ "indexed": true,
497
+ "internalType": "address",
498
+ "name": "caller",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "indexed": true,
503
+ "internalType": "address",
504
+ "name": "tokenOut",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "indexed": true,
509
+ "internalType": "address",
510
+ "name": "YT",
511
+ "type": "address"
512
+ },
513
+ {
514
+ "indexed": false,
515
+ "internalType": "address",
516
+ "name": "receiver",
517
+ "type": "address"
518
+ },
519
+ {
520
+ "indexed": false,
521
+ "internalType": "uint256",
522
+ "name": "netPyIn",
523
+ "type": "uint256"
524
+ },
525
+ {
526
+ "indexed": false,
527
+ "internalType": "uint256",
528
+ "name": "netTokenOut",
529
+ "type": "uint256"
530
+ },
531
+ {
532
+ "indexed": false,
533
+ "internalType": "uint256",
534
+ "name": "netSyInterm",
535
+ "type": "uint256"
536
+ }
537
+ ],
538
+ "name": "RedeemPyToToken",
539
+ "type": "event"
540
+ },
541
+ {
542
+ "anonymous": false,
543
+ "inputs": [
544
+ {
545
+ "indexed": true,
546
+ "internalType": "address",
547
+ "name": "caller",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "indexed": true,
552
+ "internalType": "address",
553
+ "name": "tokenOut",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "indexed": true,
558
+ "internalType": "address",
559
+ "name": "SY",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "indexed": false,
564
+ "internalType": "address",
565
+ "name": "receiver",
566
+ "type": "address"
567
+ },
568
+ {
569
+ "indexed": false,
570
+ "internalType": "uint256",
571
+ "name": "netSyIn",
572
+ "type": "uint256"
573
+ },
574
+ {
575
+ "indexed": false,
576
+ "internalType": "uint256",
577
+ "name": "netTokenOut",
578
+ "type": "uint256"
579
+ }
580
+ ],
581
+ "name": "RedeemSyToToken",
582
+ "type": "event"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "address[]",
588
+ "name": "markets",
589
+ "type": "address[]"
590
+ }
591
+ ],
592
+ "name": "boostMarkets",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "receiver",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "address",
606
+ "name": "market",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "uint256",
611
+ "name": "netPtIn",
612
+ "type": "uint256"
613
+ },
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "netLpIn",
617
+ "type": "uint256"
618
+ },
619
+ {
620
+ "internalType": "uint256",
621
+ "name": "minSyOut",
622
+ "type": "uint256"
623
+ }
624
+ ],
625
+ "name": "exitPostExpToSy",
626
+ "outputs": [
627
+ {
628
+ "components": [
629
+ {
630
+ "internalType": "uint256",
631
+ "name": "netPtFromRemove",
632
+ "type": "uint256"
633
+ },
634
+ {
635
+ "internalType": "uint256",
636
+ "name": "netSyFromRemove",
637
+ "type": "uint256"
638
+ },
639
+ {
640
+ "internalType": "uint256",
641
+ "name": "netPtRedeem",
642
+ "type": "uint256"
643
+ },
644
+ {
645
+ "internalType": "uint256",
646
+ "name": "netSyFromRedeem",
647
+ "type": "uint256"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "totalSyOut",
652
+ "type": "uint256"
653
+ }
654
+ ],
655
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
656
+ "name": "params",
657
+ "type": "tuple"
658
+ }
659
+ ],
660
+ "stateMutability": "nonpayable",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "receiver",
668
+ "type": "address"
669
+ },
670
+ {
671
+ "internalType": "address",
672
+ "name": "market",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "netPtIn",
678
+ "type": "uint256"
679
+ },
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "netLpIn",
683
+ "type": "uint256"
684
+ },
685
+ {
686
+ "components": [
687
+ {
688
+ "internalType": "address",
689
+ "name": "tokenOut",
690
+ "type": "address"
691
+ },
692
+ {
693
+ "internalType": "uint256",
694
+ "name": "minTokenOut",
695
+ "type": "uint256"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "tokenRedeemSy",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "pendleSwap",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "components": [
709
+ {
710
+ "internalType": "enum SwapType",
711
+ "name": "swapType",
712
+ "type": "uint8"
713
+ },
714
+ {
715
+ "internalType": "address",
716
+ "name": "extRouter",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "bytes",
721
+ "name": "extCalldata",
722
+ "type": "bytes"
723
+ },
724
+ {
725
+ "internalType": "bool",
726
+ "name": "needScale",
727
+ "type": "bool"
728
+ }
729
+ ],
730
+ "internalType": "struct SwapData",
731
+ "name": "swapData",
732
+ "type": "tuple"
733
+ }
734
+ ],
735
+ "internalType": "struct TokenOutput",
736
+ "name": "output",
737
+ "type": "tuple"
738
+ }
739
+ ],
740
+ "name": "exitPostExpToToken",
741
+ "outputs": [
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "netTokenOut",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "components": [
749
+ {
750
+ "internalType": "uint256",
751
+ "name": "netPtFromRemove",
752
+ "type": "uint256"
753
+ },
754
+ {
755
+ "internalType": "uint256",
756
+ "name": "netSyFromRemove",
757
+ "type": "uint256"
758
+ },
759
+ {
760
+ "internalType": "uint256",
761
+ "name": "netPtRedeem",
762
+ "type": "uint256"
763
+ },
764
+ {
765
+ "internalType": "uint256",
766
+ "name": "netSyFromRedeem",
767
+ "type": "uint256"
768
+ },
769
+ {
770
+ "internalType": "uint256",
771
+ "name": "totalSyOut",
772
+ "type": "uint256"
773
+ }
774
+ ],
775
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
776
+ "name": "params",
777
+ "type": "tuple"
778
+ }
779
+ ],
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "address",
787
+ "name": "receiver",
788
+ "type": "address"
789
+ },
790
+ {
791
+ "internalType": "address",
792
+ "name": "market",
793
+ "type": "address"
794
+ },
795
+ {
796
+ "internalType": "uint256",
797
+ "name": "netPtIn",
798
+ "type": "uint256"
799
+ },
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "netYtIn",
803
+ "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "netLpIn",
808
+ "type": "uint256"
809
+ },
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "minSyOut",
813
+ "type": "uint256"
814
+ },
815
+ {
816
+ "components": [
817
+ {
818
+ "internalType": "address",
819
+ "name": "limitRouter",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "uint256",
824
+ "name": "epsSkipMarket",
825
+ "type": "uint256"
826
+ },
827
+ {
828
+ "components": [
829
+ {
830
+ "components": [
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "salt",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "expiry",
839
+ "type": "uint256"
840
+ },
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "nonce",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "enum IPLimitOrderType.OrderType",
848
+ "name": "orderType",
849
+ "type": "uint8"
850
+ },
851
+ {
852
+ "internalType": "address",
853
+ "name": "token",
854
+ "type": "address"
855
+ },
856
+ {
857
+ "internalType": "address",
858
+ "name": "YT",
859
+ "type": "address"
860
+ },
861
+ {
862
+ "internalType": "address",
863
+ "name": "maker",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "address",
868
+ "name": "receiver",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "uint256",
873
+ "name": "makingAmount",
874
+ "type": "uint256"
875
+ },
876
+ {
877
+ "internalType": "uint256",
878
+ "name": "lnImpliedRate",
879
+ "type": "uint256"
880
+ },
881
+ {
882
+ "internalType": "uint256",
883
+ "name": "failSafeRate",
884
+ "type": "uint256"
885
+ },
886
+ {
887
+ "internalType": "bytes",
888
+ "name": "permit",
889
+ "type": "bytes"
890
+ }
891
+ ],
892
+ "internalType": "struct Order",
893
+ "name": "order",
894
+ "type": "tuple"
895
+ },
896
+ {
897
+ "internalType": "bytes",
898
+ "name": "signature",
899
+ "type": "bytes"
900
+ },
901
+ {
902
+ "internalType": "uint256",
903
+ "name": "makingAmount",
904
+ "type": "uint256"
905
+ }
906
+ ],
907
+ "internalType": "struct FillOrderParams[]",
908
+ "name": "normalFills",
909
+ "type": "tuple[]"
910
+ },
911
+ {
912
+ "components": [
913
+ {
914
+ "components": [
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "salt",
918
+ "type": "uint256"
919
+ },
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "expiry",
923
+ "type": "uint256"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "nonce",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "enum IPLimitOrderType.OrderType",
932
+ "name": "orderType",
933
+ "type": "uint8"
934
+ },
935
+ {
936
+ "internalType": "address",
937
+ "name": "token",
938
+ "type": "address"
939
+ },
940
+ {
941
+ "internalType": "address",
942
+ "name": "YT",
943
+ "type": "address"
944
+ },
945
+ {
946
+ "internalType": "address",
947
+ "name": "maker",
948
+ "type": "address"
949
+ },
950
+ {
951
+ "internalType": "address",
952
+ "name": "receiver",
953
+ "type": "address"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "makingAmount",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "internalType": "uint256",
962
+ "name": "lnImpliedRate",
963
+ "type": "uint256"
964
+ },
965
+ {
966
+ "internalType": "uint256",
967
+ "name": "failSafeRate",
968
+ "type": "uint256"
969
+ },
970
+ {
971
+ "internalType": "bytes",
972
+ "name": "permit",
973
+ "type": "bytes"
974
+ }
975
+ ],
976
+ "internalType": "struct Order",
977
+ "name": "order",
978
+ "type": "tuple"
979
+ },
980
+ {
981
+ "internalType": "bytes",
982
+ "name": "signature",
983
+ "type": "bytes"
984
+ },
985
+ {
986
+ "internalType": "uint256",
987
+ "name": "makingAmount",
988
+ "type": "uint256"
989
+ }
990
+ ],
991
+ "internalType": "struct FillOrderParams[]",
992
+ "name": "flashFills",
993
+ "type": "tuple[]"
994
+ },
995
+ {
996
+ "internalType": "bytes",
997
+ "name": "optData",
998
+ "type": "bytes"
999
+ }
1000
+ ],
1001
+ "internalType": "struct LimitOrderData",
1002
+ "name": "limit",
1003
+ "type": "tuple"
1004
+ }
1005
+ ],
1006
+ "name": "exitPreExpToSy",
1007
+ "outputs": [
1008
+ {
1009
+ "components": [
1010
+ {
1011
+ "internalType": "uint256",
1012
+ "name": "netPtFromRemove",
1013
+ "type": "uint256"
1014
+ },
1015
+ {
1016
+ "internalType": "uint256",
1017
+ "name": "netSyFromRemove",
1018
+ "type": "uint256"
1019
+ },
1020
+ {
1021
+ "internalType": "uint256",
1022
+ "name": "netPyRedeem",
1023
+ "type": "uint256"
1024
+ },
1025
+ {
1026
+ "internalType": "uint256",
1027
+ "name": "netSyFromRedeem",
1028
+ "type": "uint256"
1029
+ },
1030
+ {
1031
+ "internalType": "uint256",
1032
+ "name": "netPtSwap",
1033
+ "type": "uint256"
1034
+ },
1035
+ {
1036
+ "internalType": "uint256",
1037
+ "name": "netYtSwap",
1038
+ "type": "uint256"
1039
+ },
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "netSyFromSwap",
1043
+ "type": "uint256"
1044
+ },
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "netSyFee",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "totalSyOut",
1053
+ "type": "uint256"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
1057
+ "name": "params",
1058
+ "type": "tuple"
1059
+ }
1060
+ ],
1061
+ "stateMutability": "nonpayable",
1062
+ "type": "function"
1063
+ },
1064
+ {
1065
+ "inputs": [
1066
+ {
1067
+ "internalType": "address",
1068
+ "name": "receiver",
1069
+ "type": "address"
1070
+ },
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "market",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "netPtIn",
1079
+ "type": "uint256"
1080
+ },
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "netYtIn",
1084
+ "type": "uint256"
1085
+ },
1086
+ {
1087
+ "internalType": "uint256",
1088
+ "name": "netLpIn",
1089
+ "type": "uint256"
1090
+ },
1091
+ {
1092
+ "components": [
1093
+ {
1094
+ "internalType": "address",
1095
+ "name": "tokenOut",
1096
+ "type": "address"
1097
+ },
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "minTokenOut",
1101
+ "type": "uint256"
1102
+ },
1103
+ {
1104
+ "internalType": "address",
1105
+ "name": "tokenRedeemSy",
1106
+ "type": "address"
1107
+ },
1108
+ {
1109
+ "internalType": "address",
1110
+ "name": "pendleSwap",
1111
+ "type": "address"
1112
+ },
1113
+ {
1114
+ "components": [
1115
+ {
1116
+ "internalType": "enum SwapType",
1117
+ "name": "swapType",
1118
+ "type": "uint8"
1119
+ },
1120
+ {
1121
+ "internalType": "address",
1122
+ "name": "extRouter",
1123
+ "type": "address"
1124
+ },
1125
+ {
1126
+ "internalType": "bytes",
1127
+ "name": "extCalldata",
1128
+ "type": "bytes"
1129
+ },
1130
+ {
1131
+ "internalType": "bool",
1132
+ "name": "needScale",
1133
+ "type": "bool"
1134
+ }
1135
+ ],
1136
+ "internalType": "struct SwapData",
1137
+ "name": "swapData",
1138
+ "type": "tuple"
1139
+ }
1140
+ ],
1141
+ "internalType": "struct TokenOutput",
1142
+ "name": "output",
1143
+ "type": "tuple"
1144
+ },
1145
+ {
1146
+ "components": [
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "limitRouter",
1150
+ "type": "address"
1151
+ },
1152
+ {
1153
+ "internalType": "uint256",
1154
+ "name": "epsSkipMarket",
1155
+ "type": "uint256"
1156
+ },
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "salt",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "expiry",
1169
+ "type": "uint256"
1170
+ },
1171
+ {
1172
+ "internalType": "uint256",
1173
+ "name": "nonce",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "enum IPLimitOrderType.OrderType",
1178
+ "name": "orderType",
1179
+ "type": "uint8"
1180
+ },
1181
+ {
1182
+ "internalType": "address",
1183
+ "name": "token",
1184
+ "type": "address"
1185
+ },
1186
+ {
1187
+ "internalType": "address",
1188
+ "name": "YT",
1189
+ "type": "address"
1190
+ },
1191
+ {
1192
+ "internalType": "address",
1193
+ "name": "maker",
1194
+ "type": "address"
1195
+ },
1196
+ {
1197
+ "internalType": "address",
1198
+ "name": "receiver",
1199
+ "type": "address"
1200
+ },
1201
+ {
1202
+ "internalType": "uint256",
1203
+ "name": "makingAmount",
1204
+ "type": "uint256"
1205
+ },
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "lnImpliedRate",
1209
+ "type": "uint256"
1210
+ },
1211
+ {
1212
+ "internalType": "uint256",
1213
+ "name": "failSafeRate",
1214
+ "type": "uint256"
1215
+ },
1216
+ {
1217
+ "internalType": "bytes",
1218
+ "name": "permit",
1219
+ "type": "bytes"
1220
+ }
1221
+ ],
1222
+ "internalType": "struct Order",
1223
+ "name": "order",
1224
+ "type": "tuple"
1225
+ },
1226
+ {
1227
+ "internalType": "bytes",
1228
+ "name": "signature",
1229
+ "type": "bytes"
1230
+ },
1231
+ {
1232
+ "internalType": "uint256",
1233
+ "name": "makingAmount",
1234
+ "type": "uint256"
1235
+ }
1236
+ ],
1237
+ "internalType": "struct FillOrderParams[]",
1238
+ "name": "normalFills",
1239
+ "type": "tuple[]"
1240
+ },
1241
+ {
1242
+ "components": [
1243
+ {
1244
+ "components": [
1245
+ {
1246
+ "internalType": "uint256",
1247
+ "name": "salt",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "expiry",
1253
+ "type": "uint256"
1254
+ },
1255
+ {
1256
+ "internalType": "uint256",
1257
+ "name": "nonce",
1258
+ "type": "uint256"
1259
+ },
1260
+ {
1261
+ "internalType": "enum IPLimitOrderType.OrderType",
1262
+ "name": "orderType",
1263
+ "type": "uint8"
1264
+ },
1265
+ {
1266
+ "internalType": "address",
1267
+ "name": "token",
1268
+ "type": "address"
1269
+ },
1270
+ {
1271
+ "internalType": "address",
1272
+ "name": "YT",
1273
+ "type": "address"
1274
+ },
1275
+ {
1276
+ "internalType": "address",
1277
+ "name": "maker",
1278
+ "type": "address"
1279
+ },
1280
+ {
1281
+ "internalType": "address",
1282
+ "name": "receiver",
1283
+ "type": "address"
1284
+ },
1285
+ {
1286
+ "internalType": "uint256",
1287
+ "name": "makingAmount",
1288
+ "type": "uint256"
1289
+ },
1290
+ {
1291
+ "internalType": "uint256",
1292
+ "name": "lnImpliedRate",
1293
+ "type": "uint256"
1294
+ },
1295
+ {
1296
+ "internalType": "uint256",
1297
+ "name": "failSafeRate",
1298
+ "type": "uint256"
1299
+ },
1300
+ {
1301
+ "internalType": "bytes",
1302
+ "name": "permit",
1303
+ "type": "bytes"
1304
+ }
1305
+ ],
1306
+ "internalType": "struct Order",
1307
+ "name": "order",
1308
+ "type": "tuple"
1309
+ },
1310
+ {
1311
+ "internalType": "bytes",
1312
+ "name": "signature",
1313
+ "type": "bytes"
1314
+ },
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "makingAmount",
1318
+ "type": "uint256"
1319
+ }
1320
+ ],
1321
+ "internalType": "struct FillOrderParams[]",
1322
+ "name": "flashFills",
1323
+ "type": "tuple[]"
1324
+ },
1325
+ {
1326
+ "internalType": "bytes",
1327
+ "name": "optData",
1328
+ "type": "bytes"
1329
+ }
1330
+ ],
1331
+ "internalType": "struct LimitOrderData",
1332
+ "name": "limit",
1333
+ "type": "tuple"
1334
+ }
1335
+ ],
1336
+ "name": "exitPreExpToToken",
1337
+ "outputs": [
1338
+ {
1339
+ "internalType": "uint256",
1340
+ "name": "netTokenOut",
1341
+ "type": "uint256"
1342
+ },
1343
+ {
1344
+ "components": [
1345
+ {
1346
+ "internalType": "uint256",
1347
+ "name": "netPtFromRemove",
1348
+ "type": "uint256"
1349
+ },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "netSyFromRemove",
1353
+ "type": "uint256"
1354
+ },
1355
+ {
1356
+ "internalType": "uint256",
1357
+ "name": "netPyRedeem",
1358
+ "type": "uint256"
1359
+ },
1360
+ {
1361
+ "internalType": "uint256",
1362
+ "name": "netSyFromRedeem",
1363
+ "type": "uint256"
1364
+ },
1365
+ {
1366
+ "internalType": "uint256",
1367
+ "name": "netPtSwap",
1368
+ "type": "uint256"
1369
+ },
1370
+ {
1371
+ "internalType": "uint256",
1372
+ "name": "netYtSwap",
1373
+ "type": "uint256"
1374
+ },
1375
+ {
1376
+ "internalType": "uint256",
1377
+ "name": "netSyFromSwap",
1378
+ "type": "uint256"
1379
+ },
1380
+ {
1381
+ "internalType": "uint256",
1382
+ "name": "netSyFee",
1383
+ "type": "uint256"
1384
+ },
1385
+ {
1386
+ "internalType": "uint256",
1387
+ "name": "totalSyOut",
1388
+ "type": "uint256"
1389
+ }
1390
+ ],
1391
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
1392
+ "name": "params",
1393
+ "type": "tuple"
270
1394
  }
271
1395
  ],
272
- "name": "boostMarkets",
273
- "outputs": [],
274
1396
  "stateMutability": "nonpayable",
275
1397
  "type": "function"
276
1398
  },