@pendle/core-v2 4.5.2 → 4.7.0

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 (160) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.json +1070 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.json +1144 -0
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.json +1111 -0
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.dbg.json +4 -0
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.json +1036 -0
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.dbg.json +4 -0
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.json +1096 -0
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.dbg.json +4 -0
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.json +1116 -0
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +2 -2
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.json +2 -2
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +2 -2
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +2 -2
  29. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
  31. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +1200 -34
  33. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1228 -62
  35. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +4 -0
  36. package/build/artifacts/contracts/interfaces/{IPPtLpOracle.sol/IPPtLpOracle.json → IPPYLpOracle.sol/IPPYLpOracle.json} +50 -2
  37. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +4 -0
  38. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.json +30 -0
  39. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +4 -0
  40. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.json +37 -0
  41. package/build/artifacts/contracts/interfaces/Karak/IKarakVault.sol/IKarakVault.dbg.json +4 -0
  42. package/build/artifacts/contracts/interfaces/Karak/IKarakVault.sol/IKarakVault.json +24 -0
  43. package/build/artifacts/contracts/interfaces/Karak/IKarakVaultSupervisor.sol/IKarakVaultSupervisor.dbg.json +4 -0
  44. package/build/artifacts/contracts/interfaces/Karak/IKarakVaultSupervisor.sol/IKarakVaultSupervisor.json +76 -0
  45. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  46. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +25 -2
  47. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  48. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  49. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  50. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  51. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
  52. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.json +422 -0
  53. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
  54. package/build/artifacts/contracts/oracles/{PendlePtOracleLib.sol/PendlePtOracleLib.json → PendlePYOracleLib.sol/PendlePYOracleLib.json} +4 -4
  55. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  56. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
  57. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
  58. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +183 -0
  59. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
  60. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +183 -0
  61. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  62. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  63. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  64. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +1202 -36
  65. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  67. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  69. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +4 -0
  70. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +34 -0
  71. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  72. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol +32 -0
  73. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol +80 -0
  74. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol +73 -0
  75. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol +141 -0
  76. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol +18 -0
  77. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol +71 -0
  78. package/contracts/interfaces/IERC4626.sol +2 -0
  79. package/contracts/interfaces/IPActionMiscV3.sol +99 -0
  80. package/contracts/interfaces/{IPPtLpOracle.sol → IPPYLpOracle.sol} +5 -1
  81. package/contracts/interfaces/IPReflector.sol +6 -0
  82. package/contracts/interfaces/IPTokenWithSupplyCap.sol +9 -0
  83. package/contracts/interfaces/Karak/IKarakVault.sol +6 -0
  84. package/contracts/interfaces/Karak/IKarakVaultSupervisor.sol +8 -0
  85. package/contracts/offchain-helpers/PendlePoolDeployHelper.sol +5 -0
  86. package/contracts/oracles/PendleLpOracleLib.sol +4 -4
  87. package/contracts/oracles/{PendlePtLpOracle.sol → PendlePYLpOracle.sol} +51 -21
  88. package/contracts/oracles/{PendlePtOracleLib.sol → PendlePYOracleLib.sol} +31 -1
  89. package/contracts/oracles/samples/BoringLpGlpOracle.sol +2 -2
  90. package/contracts/oracles/samples/{BoringPtUsdChainlinkOracle.sol → BoringPYUsdChainlinkAssetOracle.sol} +36 -12
  91. package/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol +102 -0
  92. package/contracts/router/ActionMiscV3.sol +182 -34
  93. package/contracts/router/ActionSwapYTV3.sol +0 -85
  94. package/contracts/router/Reflector.sol +70 -0
  95. package/contracts/router/base/ActionBase.sol +90 -1
  96. package/deployments/1-core.json +11 -2
  97. package/deployments/1-markets/KARAK-SUSDE-MAINNET-SEP2024.json +14 -0
  98. package/deployments/1-markets/KARAK-USDE-MAINNET-SEP2024.json +14 -0
  99. package/deployments/1-markets/KARAK-WEETH-MAINNET-SEP2024.json +14 -0
  100. package/deployments/10-core.json +11 -2
  101. package/deployments/42161-core.json +11 -2
  102. package/deployments/42161-markets/CAMELOT-PEP-ARBITRUM-JUNE2025.json +14 -0
  103. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024-NEW.json +11 -0
  104. package/deployments/5000-core.json +11 -2
  105. package/deployments/56-core.json +11 -2
  106. package/package.json +1 -1
  107. package/typechain-types/ActionMiscV3.ts +628 -16
  108. package/typechain-types/IERC4626.ts +34 -0
  109. package/typechain-types/IKarakVault.ts +84 -0
  110. package/typechain-types/IKarakVaultSupervisor.ts +190 -0
  111. package/typechain-types/IPActionMiscV3.ts +628 -16
  112. package/typechain-types/IPAllActionV3.ts +535 -0
  113. package/typechain-types/IPReflector.ts +95 -0
  114. package/typechain-types/IPTokenWithSupplyCap.ts +110 -0
  115. package/typechain-types/PendleKarakVaultERC20SY.ts +1324 -0
  116. package/typechain-types/PendleKarakVaultEzETHSY.ts +1400 -0
  117. package/typechain-types/PendleKarakVaultSUSDESY.ts +1380 -0
  118. package/typechain-types/PendleKarakVaultSYBaseUpg.ts +1312 -0
  119. package/typechain-types/PendleKarakVaultUSDESY.ts +1366 -0
  120. package/typechain-types/PendleKarakVaultWEETHSY.ts +1370 -0
  121. package/typechain-types/PendlePYLpOracle.ts +10 -3
  122. package/typechain-types/PendlePoolDeployHelper.ts +44 -0
  123. package/typechain-types/Reflector.ts +95 -0
  124. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  125. package/typechain-types/factories/ActionMiscV3__factory.ts +1201 -35
  126. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  127. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  128. package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
  129. package/typechain-types/factories/IERC4626__factory.ts +19 -0
  130. package/typechain-types/factories/IKarakVaultSupervisor__factory.ts +95 -0
  131. package/typechain-types/factories/IKarakVault__factory.ts +36 -0
  132. package/typechain-types/factories/IPActionMiscV3__factory.ts +1200 -34
  133. package/typechain-types/factories/IPAllActionV3__factory.ts +1228 -62
  134. package/typechain-types/factories/IPReflector__factory.ts +42 -0
  135. package/typechain-types/factories/IPTokenWithSupplyCap__factory.ts +56 -0
  136. package/typechain-types/factories/PendleApxETHSY__factory.ts +1 -1
  137. package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1 -1
  138. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  139. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  140. package/typechain-types/factories/PendleKarakVaultERC20SY__factory.ts +1139 -0
  141. package/typechain-types/factories/PendleKarakVaultEzETHSY__factory.ts +1236 -0
  142. package/typechain-types/factories/PendleKarakVaultSUSDESY__factory.ts +1180 -0
  143. package/typechain-types/factories/PendleKarakVaultSYBaseUpg__factory.ts +1055 -0
  144. package/typechain-types/factories/PendleKarakVaultUSDESY__factory.ts +1165 -0
  145. package/typechain-types/factories/PendleKarakVaultWEETHSY__factory.ts +1189 -0
  146. package/typechain-types/factories/PendlePYLpOracle__factory.ts +12 -24
  147. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +24 -1
  148. package/typechain-types/factories/PendlePufStETHSY__factory.ts +1 -1
  149. package/typechain-types/factories/PendlePufWETHSY__factory.ts +1 -1
  150. package/typechain-types/factories/PendleSUSDESY__factory.ts +1 -1
  151. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  152. package/typechain-types/factories/Reflector__factory.ts +84 -0
  153. package/typechain-types/hardhat.d.ts +99 -0
  154. package/typechain-types/index.ts +22 -0
  155. package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +0 -4
  156. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +0 -4
  157. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +0 -367
  158. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +0 -4
  159. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +0 -4
  160. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +0 -157
@@ -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": "netLpIn",
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": "netLpIn",
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,1004 @@
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 payable",
601
+ "name": "reflector",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "bytes",
606
+ "name": "selfCall1",
607
+ "type": "bytes"
608
+ },
609
+ {
610
+ "internalType": "bytes",
611
+ "name": "selfCall2",
612
+ "type": "bytes"
613
+ },
614
+ {
615
+ "internalType": "bytes",
616
+ "name": "reflectCall",
617
+ "type": "bytes"
618
+ }
619
+ ],
620
+ "name": "callAndReflect",
621
+ "outputs": [
622
+ {
623
+ "internalType": "bytes",
624
+ "name": "selfRes1",
625
+ "type": "bytes"
626
+ },
627
+ {
628
+ "internalType": "bytes",
629
+ "name": "selfRes2",
630
+ "type": "bytes"
631
+ },
632
+ {
633
+ "internalType": "bytes",
634
+ "name": "reflectRes",
635
+ "type": "bytes"
636
+ }
637
+ ],
638
+ "stateMutability": "payable",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [
643
+ {
644
+ "internalType": "address",
645
+ "name": "receiver",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "address",
650
+ "name": "market",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "uint256",
655
+ "name": "netPtIn",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "netLpIn",
661
+ "type": "uint256"
662
+ },
663
+ {
664
+ "internalType": "uint256",
665
+ "name": "minSyOut",
666
+ "type": "uint256"
667
+ }
668
+ ],
669
+ "name": "exitPostExpToSy",
670
+ "outputs": [
671
+ {
672
+ "components": [
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "netPtFromRemove",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "netSyFromRemove",
681
+ "type": "uint256"
682
+ },
683
+ {
684
+ "internalType": "uint256",
685
+ "name": "netPtRedeem",
686
+ "type": "uint256"
687
+ },
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "netSyFromRedeem",
691
+ "type": "uint256"
692
+ },
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "totalSyOut",
696
+ "type": "uint256"
697
+ }
698
+ ],
699
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
700
+ "name": "params",
701
+ "type": "tuple"
702
+ }
703
+ ],
704
+ "stateMutability": "nonpayable",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [
709
+ {
710
+ "internalType": "address",
711
+ "name": "receiver",
712
+ "type": "address"
713
+ },
714
+ {
715
+ "internalType": "address",
716
+ "name": "market",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "netPtIn",
722
+ "type": "uint256"
723
+ },
724
+ {
725
+ "internalType": "uint256",
726
+ "name": "netLpIn",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "components": [
731
+ {
732
+ "internalType": "address",
733
+ "name": "tokenOut",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "uint256",
738
+ "name": "minTokenOut",
739
+ "type": "uint256"
740
+ },
741
+ {
742
+ "internalType": "address",
743
+ "name": "tokenRedeemSy",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "address",
748
+ "name": "pendleSwap",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "components": [
753
+ {
754
+ "internalType": "enum SwapType",
755
+ "name": "swapType",
756
+ "type": "uint8"
757
+ },
758
+ {
759
+ "internalType": "address",
760
+ "name": "extRouter",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "bytes",
765
+ "name": "extCalldata",
766
+ "type": "bytes"
767
+ },
768
+ {
769
+ "internalType": "bool",
770
+ "name": "needScale",
771
+ "type": "bool"
772
+ }
773
+ ],
774
+ "internalType": "struct SwapData",
775
+ "name": "swapData",
776
+ "type": "tuple"
777
+ }
778
+ ],
779
+ "internalType": "struct TokenOutput",
780
+ "name": "output",
781
+ "type": "tuple"
782
+ }
783
+ ],
784
+ "name": "exitPostExpToToken",
785
+ "outputs": [
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "netTokenOut",
789
+ "type": "uint256"
790
+ },
791
+ {
792
+ "components": [
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "netPtFromRemove",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "uint256",
800
+ "name": "netSyFromRemove",
801
+ "type": "uint256"
802
+ },
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "netPtRedeem",
806
+ "type": "uint256"
807
+ },
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "netSyFromRedeem",
811
+ "type": "uint256"
812
+ },
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "totalSyOut",
816
+ "type": "uint256"
817
+ }
818
+ ],
819
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
820
+ "name": "params",
821
+ "type": "tuple"
822
+ }
823
+ ],
824
+ "stateMutability": "nonpayable",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "address",
831
+ "name": "receiver",
832
+ "type": "address"
833
+ },
834
+ {
835
+ "internalType": "address",
836
+ "name": "market",
837
+ "type": "address"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "netPtIn",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "netYtIn",
847
+ "type": "uint256"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "netLpIn",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "uint256",
856
+ "name": "minSyOut",
857
+ "type": "uint256"
858
+ },
859
+ {
860
+ "components": [
861
+ {
862
+ "internalType": "address",
863
+ "name": "limitRouter",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "uint256",
868
+ "name": "epsSkipMarket",
869
+ "type": "uint256"
870
+ },
871
+ {
872
+ "components": [
873
+ {
874
+ "components": [
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "salt",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "expiry",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "nonce",
888
+ "type": "uint256"
889
+ },
890
+ {
891
+ "internalType": "enum IPLimitOrderType.OrderType",
892
+ "name": "orderType",
893
+ "type": "uint8"
894
+ },
895
+ {
896
+ "internalType": "address",
897
+ "name": "token",
898
+ "type": "address"
899
+ },
900
+ {
901
+ "internalType": "address",
902
+ "name": "YT",
903
+ "type": "address"
904
+ },
905
+ {
906
+ "internalType": "address",
907
+ "name": "maker",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "internalType": "address",
912
+ "name": "receiver",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "makingAmount",
918
+ "type": "uint256"
919
+ },
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "lnImpliedRate",
923
+ "type": "uint256"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "failSafeRate",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "bytes",
932
+ "name": "permit",
933
+ "type": "bytes"
934
+ }
935
+ ],
936
+ "internalType": "struct Order",
937
+ "name": "order",
938
+ "type": "tuple"
939
+ },
940
+ {
941
+ "internalType": "bytes",
942
+ "name": "signature",
943
+ "type": "bytes"
944
+ },
945
+ {
946
+ "internalType": "uint256",
947
+ "name": "makingAmount",
948
+ "type": "uint256"
949
+ }
950
+ ],
951
+ "internalType": "struct FillOrderParams[]",
952
+ "name": "normalFills",
953
+ "type": "tuple[]"
954
+ },
955
+ {
956
+ "components": [
957
+ {
958
+ "components": [
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "salt",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "expiry",
967
+ "type": "uint256"
968
+ },
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "nonce",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "enum IPLimitOrderType.OrderType",
976
+ "name": "orderType",
977
+ "type": "uint8"
978
+ },
979
+ {
980
+ "internalType": "address",
981
+ "name": "token",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "address",
986
+ "name": "YT",
987
+ "type": "address"
988
+ },
989
+ {
990
+ "internalType": "address",
991
+ "name": "maker",
992
+ "type": "address"
993
+ },
994
+ {
995
+ "internalType": "address",
996
+ "name": "receiver",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "makingAmount",
1002
+ "type": "uint256"
1003
+ },
1004
+ {
1005
+ "internalType": "uint256",
1006
+ "name": "lnImpliedRate",
1007
+ "type": "uint256"
1008
+ },
1009
+ {
1010
+ "internalType": "uint256",
1011
+ "name": "failSafeRate",
1012
+ "type": "uint256"
1013
+ },
1014
+ {
1015
+ "internalType": "bytes",
1016
+ "name": "permit",
1017
+ "type": "bytes"
1018
+ }
1019
+ ],
1020
+ "internalType": "struct Order",
1021
+ "name": "order",
1022
+ "type": "tuple"
1023
+ },
1024
+ {
1025
+ "internalType": "bytes",
1026
+ "name": "signature",
1027
+ "type": "bytes"
1028
+ },
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "makingAmount",
1032
+ "type": "uint256"
1033
+ }
1034
+ ],
1035
+ "internalType": "struct FillOrderParams[]",
1036
+ "name": "flashFills",
1037
+ "type": "tuple[]"
1038
+ },
1039
+ {
1040
+ "internalType": "bytes",
1041
+ "name": "optData",
1042
+ "type": "bytes"
1043
+ }
1044
+ ],
1045
+ "internalType": "struct LimitOrderData",
1046
+ "name": "limit",
1047
+ "type": "tuple"
1048
+ }
1049
+ ],
1050
+ "name": "exitPreExpToSy",
1051
+ "outputs": [
1052
+ {
1053
+ "components": [
1054
+ {
1055
+ "internalType": "uint256",
1056
+ "name": "netPtFromRemove",
1057
+ "type": "uint256"
1058
+ },
1059
+ {
1060
+ "internalType": "uint256",
1061
+ "name": "netSyFromRemove",
1062
+ "type": "uint256"
1063
+ },
1064
+ {
1065
+ "internalType": "uint256",
1066
+ "name": "netPyRedeem",
1067
+ "type": "uint256"
1068
+ },
1069
+ {
1070
+ "internalType": "uint256",
1071
+ "name": "netSyFromRedeem",
1072
+ "type": "uint256"
1073
+ },
1074
+ {
1075
+ "internalType": "uint256",
1076
+ "name": "netPtSwap",
1077
+ "type": "uint256"
1078
+ },
1079
+ {
1080
+ "internalType": "uint256",
1081
+ "name": "netYtSwap",
1082
+ "type": "uint256"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "netSyFromSwap",
1087
+ "type": "uint256"
1088
+ },
1089
+ {
1090
+ "internalType": "uint256",
1091
+ "name": "netSyFee",
1092
+ "type": "uint256"
1093
+ },
1094
+ {
1095
+ "internalType": "uint256",
1096
+ "name": "totalSyOut",
1097
+ "type": "uint256"
1098
+ }
1099
+ ],
1100
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
1101
+ "name": "params",
1102
+ "type": "tuple"
1103
+ }
1104
+ ],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "address",
1112
+ "name": "receiver",
1113
+ "type": "address"
1114
+ },
1115
+ {
1116
+ "internalType": "address",
1117
+ "name": "market",
1118
+ "type": "address"
1119
+ },
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "netPtIn",
1123
+ "type": "uint256"
1124
+ },
1125
+ {
1126
+ "internalType": "uint256",
1127
+ "name": "netYtIn",
1128
+ "type": "uint256"
1129
+ },
1130
+ {
1131
+ "internalType": "uint256",
1132
+ "name": "netLpIn",
1133
+ "type": "uint256"
1134
+ },
1135
+ {
1136
+ "components": [
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "tokenOut",
1140
+ "type": "address"
1141
+ },
1142
+ {
1143
+ "internalType": "uint256",
1144
+ "name": "minTokenOut",
1145
+ "type": "uint256"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "tokenRedeemSy",
1150
+ "type": "address"
1151
+ },
1152
+ {
1153
+ "internalType": "address",
1154
+ "name": "pendleSwap",
1155
+ "type": "address"
1156
+ },
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "enum SwapType",
1161
+ "name": "swapType",
1162
+ "type": "uint8"
1163
+ },
1164
+ {
1165
+ "internalType": "address",
1166
+ "name": "extRouter",
1167
+ "type": "address"
1168
+ },
1169
+ {
1170
+ "internalType": "bytes",
1171
+ "name": "extCalldata",
1172
+ "type": "bytes"
1173
+ },
1174
+ {
1175
+ "internalType": "bool",
1176
+ "name": "needScale",
1177
+ "type": "bool"
1178
+ }
1179
+ ],
1180
+ "internalType": "struct SwapData",
1181
+ "name": "swapData",
1182
+ "type": "tuple"
1183
+ }
1184
+ ],
1185
+ "internalType": "struct TokenOutput",
1186
+ "name": "output",
1187
+ "type": "tuple"
1188
+ },
1189
+ {
1190
+ "components": [
1191
+ {
1192
+ "internalType": "address",
1193
+ "name": "limitRouter",
1194
+ "type": "address"
1195
+ },
1196
+ {
1197
+ "internalType": "uint256",
1198
+ "name": "epsSkipMarket",
1199
+ "type": "uint256"
1200
+ },
1201
+ {
1202
+ "components": [
1203
+ {
1204
+ "components": [
1205
+ {
1206
+ "internalType": "uint256",
1207
+ "name": "salt",
1208
+ "type": "uint256"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256",
1212
+ "name": "expiry",
1213
+ "type": "uint256"
1214
+ },
1215
+ {
1216
+ "internalType": "uint256",
1217
+ "name": "nonce",
1218
+ "type": "uint256"
1219
+ },
1220
+ {
1221
+ "internalType": "enum IPLimitOrderType.OrderType",
1222
+ "name": "orderType",
1223
+ "type": "uint8"
1224
+ },
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "token",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "address",
1232
+ "name": "YT",
1233
+ "type": "address"
1234
+ },
1235
+ {
1236
+ "internalType": "address",
1237
+ "name": "maker",
1238
+ "type": "address"
1239
+ },
1240
+ {
1241
+ "internalType": "address",
1242
+ "name": "receiver",
1243
+ "type": "address"
1244
+ },
1245
+ {
1246
+ "internalType": "uint256",
1247
+ "name": "makingAmount",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "lnImpliedRate",
1253
+ "type": "uint256"
1254
+ },
1255
+ {
1256
+ "internalType": "uint256",
1257
+ "name": "failSafeRate",
1258
+ "type": "uint256"
1259
+ },
1260
+ {
1261
+ "internalType": "bytes",
1262
+ "name": "permit",
1263
+ "type": "bytes"
1264
+ }
1265
+ ],
1266
+ "internalType": "struct Order",
1267
+ "name": "order",
1268
+ "type": "tuple"
1269
+ },
1270
+ {
1271
+ "internalType": "bytes",
1272
+ "name": "signature",
1273
+ "type": "bytes"
1274
+ },
1275
+ {
1276
+ "internalType": "uint256",
1277
+ "name": "makingAmount",
1278
+ "type": "uint256"
1279
+ }
1280
+ ],
1281
+ "internalType": "struct FillOrderParams[]",
1282
+ "name": "normalFills",
1283
+ "type": "tuple[]"
1284
+ },
1285
+ {
1286
+ "components": [
1287
+ {
1288
+ "components": [
1289
+ {
1290
+ "internalType": "uint256",
1291
+ "name": "salt",
1292
+ "type": "uint256"
1293
+ },
1294
+ {
1295
+ "internalType": "uint256",
1296
+ "name": "expiry",
1297
+ "type": "uint256"
1298
+ },
1299
+ {
1300
+ "internalType": "uint256",
1301
+ "name": "nonce",
1302
+ "type": "uint256"
1303
+ },
1304
+ {
1305
+ "internalType": "enum IPLimitOrderType.OrderType",
1306
+ "name": "orderType",
1307
+ "type": "uint8"
1308
+ },
1309
+ {
1310
+ "internalType": "address",
1311
+ "name": "token",
1312
+ "type": "address"
1313
+ },
1314
+ {
1315
+ "internalType": "address",
1316
+ "name": "YT",
1317
+ "type": "address"
1318
+ },
1319
+ {
1320
+ "internalType": "address",
1321
+ "name": "maker",
1322
+ "type": "address"
1323
+ },
1324
+ {
1325
+ "internalType": "address",
1326
+ "name": "receiver",
1327
+ "type": "address"
1328
+ },
1329
+ {
1330
+ "internalType": "uint256",
1331
+ "name": "makingAmount",
1332
+ "type": "uint256"
1333
+ },
1334
+ {
1335
+ "internalType": "uint256",
1336
+ "name": "lnImpliedRate",
1337
+ "type": "uint256"
1338
+ },
1339
+ {
1340
+ "internalType": "uint256",
1341
+ "name": "failSafeRate",
1342
+ "type": "uint256"
1343
+ },
1344
+ {
1345
+ "internalType": "bytes",
1346
+ "name": "permit",
1347
+ "type": "bytes"
1348
+ }
1349
+ ],
1350
+ "internalType": "struct Order",
1351
+ "name": "order",
1352
+ "type": "tuple"
1353
+ },
1354
+ {
1355
+ "internalType": "bytes",
1356
+ "name": "signature",
1357
+ "type": "bytes"
1358
+ },
1359
+ {
1360
+ "internalType": "uint256",
1361
+ "name": "makingAmount",
1362
+ "type": "uint256"
1363
+ }
1364
+ ],
1365
+ "internalType": "struct FillOrderParams[]",
1366
+ "name": "flashFills",
1367
+ "type": "tuple[]"
1368
+ },
1369
+ {
1370
+ "internalType": "bytes",
1371
+ "name": "optData",
1372
+ "type": "bytes"
1373
+ }
1374
+ ],
1375
+ "internalType": "struct LimitOrderData",
1376
+ "name": "limit",
1377
+ "type": "tuple"
1378
+ }
1379
+ ],
1380
+ "name": "exitPreExpToToken",
1381
+ "outputs": [
1382
+ {
1383
+ "internalType": "uint256",
1384
+ "name": "netTokenOut",
1385
+ "type": "uint256"
1386
+ },
1387
+ {
1388
+ "components": [
1389
+ {
1390
+ "internalType": "uint256",
1391
+ "name": "netPtFromRemove",
1392
+ "type": "uint256"
1393
+ },
1394
+ {
1395
+ "internalType": "uint256",
1396
+ "name": "netSyFromRemove",
1397
+ "type": "uint256"
1398
+ },
1399
+ {
1400
+ "internalType": "uint256",
1401
+ "name": "netPyRedeem",
1402
+ "type": "uint256"
1403
+ },
1404
+ {
1405
+ "internalType": "uint256",
1406
+ "name": "netSyFromRedeem",
1407
+ "type": "uint256"
1408
+ },
1409
+ {
1410
+ "internalType": "uint256",
1411
+ "name": "netPtSwap",
1412
+ "type": "uint256"
1413
+ },
1414
+ {
1415
+ "internalType": "uint256",
1416
+ "name": "netYtSwap",
1417
+ "type": "uint256"
1418
+ },
1419
+ {
1420
+ "internalType": "uint256",
1421
+ "name": "netSyFromSwap",
1422
+ "type": "uint256"
1423
+ },
1424
+ {
1425
+ "internalType": "uint256",
1426
+ "name": "netSyFee",
1427
+ "type": "uint256"
1428
+ },
1429
+ {
1430
+ "internalType": "uint256",
1431
+ "name": "totalSyOut",
1432
+ "type": "uint256"
1433
+ }
1434
+ ],
1435
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
1436
+ "name": "params",
1437
+ "type": "tuple"
270
1438
  }
271
1439
  ],
272
- "name": "boostMarkets",
273
- "outputs": [],
274
1440
  "stateMutability": "nonpayable",
275
1441
  "type": "function"
276
1442
  },