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