@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
@@ -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: "netLpIn",
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: "netLpIn",
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,1004 @@ 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 payable",
608
+ name: "reflector",
609
+ type: "address",
610
+ },
611
+ {
612
+ internalType: "bytes",
613
+ name: "selfCall1",
614
+ type: "bytes",
615
+ },
616
+ {
617
+ internalType: "bytes",
618
+ name: "selfCall2",
619
+ type: "bytes",
620
+ },
621
+ {
622
+ internalType: "bytes",
623
+ name: "reflectCall",
624
+ type: "bytes",
625
+ },
626
+ ],
627
+ name: "callAndReflect",
628
+ outputs: [
629
+ {
630
+ internalType: "bytes",
631
+ name: "selfRes1",
632
+ type: "bytes",
633
+ },
634
+ {
635
+ internalType: "bytes",
636
+ name: "selfRes2",
637
+ type: "bytes",
638
+ },
639
+ {
640
+ internalType: "bytes",
641
+ name: "reflectRes",
642
+ type: "bytes",
643
+ },
644
+ ],
645
+ stateMutability: "payable",
646
+ type: "function",
647
+ },
648
+ {
649
+ inputs: [
650
+ {
651
+ internalType: "address",
652
+ name: "receiver",
653
+ type: "address",
654
+ },
655
+ {
656
+ internalType: "address",
657
+ name: "market",
658
+ type: "address",
659
+ },
660
+ {
661
+ internalType: "uint256",
662
+ name: "netPtIn",
663
+ type: "uint256",
664
+ },
665
+ {
666
+ internalType: "uint256",
667
+ name: "netLpIn",
668
+ type: "uint256",
669
+ },
670
+ {
671
+ internalType: "uint256",
672
+ name: "minSyOut",
673
+ type: "uint256",
674
+ },
675
+ ],
676
+ name: "exitPostExpToSy",
677
+ outputs: [
678
+ {
679
+ components: [
680
+ {
681
+ internalType: "uint256",
682
+ name: "netPtFromRemove",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "uint256",
687
+ name: "netSyFromRemove",
688
+ type: "uint256",
689
+ },
690
+ {
691
+ internalType: "uint256",
692
+ name: "netPtRedeem",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "netSyFromRedeem",
698
+ type: "uint256",
699
+ },
700
+ {
701
+ internalType: "uint256",
702
+ name: "totalSyOut",
703
+ type: "uint256",
704
+ },
705
+ ],
706
+ internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
707
+ name: "params",
708
+ type: "tuple",
709
+ },
710
+ ],
711
+ stateMutability: "nonpayable",
712
+ type: "function",
713
+ },
714
+ {
715
+ inputs: [
716
+ {
717
+ internalType: "address",
718
+ name: "receiver",
719
+ type: "address",
720
+ },
721
+ {
722
+ internalType: "address",
723
+ name: "market",
724
+ type: "address",
725
+ },
726
+ {
727
+ internalType: "uint256",
728
+ name: "netPtIn",
729
+ type: "uint256",
730
+ },
731
+ {
732
+ internalType: "uint256",
733
+ name: "netLpIn",
734
+ type: "uint256",
735
+ },
736
+ {
737
+ components: [
738
+ {
739
+ internalType: "address",
740
+ name: "tokenOut",
741
+ type: "address",
742
+ },
743
+ {
744
+ internalType: "uint256",
745
+ name: "minTokenOut",
746
+ type: "uint256",
747
+ },
748
+ {
749
+ internalType: "address",
750
+ name: "tokenRedeemSy",
751
+ type: "address",
752
+ },
753
+ {
754
+ internalType: "address",
755
+ name: "pendleSwap",
756
+ type: "address",
757
+ },
758
+ {
759
+ components: [
760
+ {
761
+ internalType: "enum SwapType",
762
+ name: "swapType",
763
+ type: "uint8",
764
+ },
765
+ {
766
+ internalType: "address",
767
+ name: "extRouter",
768
+ type: "address",
769
+ },
770
+ {
771
+ internalType: "bytes",
772
+ name: "extCalldata",
773
+ type: "bytes",
774
+ },
775
+ {
776
+ internalType: "bool",
777
+ name: "needScale",
778
+ type: "bool",
779
+ },
780
+ ],
781
+ internalType: "struct SwapData",
782
+ name: "swapData",
783
+ type: "tuple",
784
+ },
785
+ ],
786
+ internalType: "struct TokenOutput",
787
+ name: "output",
788
+ type: "tuple",
789
+ },
790
+ ],
791
+ name: "exitPostExpToToken",
792
+ outputs: [
793
+ {
794
+ internalType: "uint256",
795
+ name: "netTokenOut",
796
+ type: "uint256",
797
+ },
798
+ {
799
+ components: [
800
+ {
801
+ internalType: "uint256",
802
+ name: "netPtFromRemove",
803
+ type: "uint256",
804
+ },
805
+ {
806
+ internalType: "uint256",
807
+ name: "netSyFromRemove",
808
+ type: "uint256",
809
+ },
810
+ {
811
+ internalType: "uint256",
812
+ name: "netPtRedeem",
813
+ type: "uint256",
814
+ },
815
+ {
816
+ internalType: "uint256",
817
+ name: "netSyFromRedeem",
818
+ type: "uint256",
819
+ },
820
+ {
821
+ internalType: "uint256",
822
+ name: "totalSyOut",
823
+ type: "uint256",
824
+ },
825
+ ],
826
+ internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
827
+ name: "params",
828
+ type: "tuple",
829
+ },
830
+ ],
831
+ stateMutability: "nonpayable",
832
+ type: "function",
833
+ },
834
+ {
835
+ inputs: [
836
+ {
837
+ internalType: "address",
838
+ name: "receiver",
839
+ type: "address",
840
+ },
841
+ {
842
+ internalType: "address",
843
+ name: "market",
844
+ type: "address",
845
+ },
846
+ {
847
+ internalType: "uint256",
848
+ name: "netPtIn",
849
+ type: "uint256",
850
+ },
851
+ {
852
+ internalType: "uint256",
853
+ name: "netYtIn",
854
+ type: "uint256",
855
+ },
856
+ {
857
+ internalType: "uint256",
858
+ name: "netLpIn",
859
+ type: "uint256",
860
+ },
861
+ {
862
+ internalType: "uint256",
863
+ name: "minSyOut",
864
+ type: "uint256",
865
+ },
866
+ {
867
+ components: [
868
+ {
869
+ internalType: "address",
870
+ name: "limitRouter",
871
+ type: "address",
872
+ },
873
+ {
874
+ internalType: "uint256",
875
+ name: "epsSkipMarket",
876
+ type: "uint256",
877
+ },
878
+ {
879
+ components: [
880
+ {
881
+ components: [
882
+ {
883
+ internalType: "uint256",
884
+ name: "salt",
885
+ type: "uint256",
886
+ },
887
+ {
888
+ internalType: "uint256",
889
+ name: "expiry",
890
+ type: "uint256",
891
+ },
892
+ {
893
+ internalType: "uint256",
894
+ name: "nonce",
895
+ type: "uint256",
896
+ },
897
+ {
898
+ internalType: "enum IPLimitOrderType.OrderType",
899
+ name: "orderType",
900
+ type: "uint8",
901
+ },
902
+ {
903
+ internalType: "address",
904
+ name: "token",
905
+ type: "address",
906
+ },
907
+ {
908
+ internalType: "address",
909
+ name: "YT",
910
+ type: "address",
911
+ },
912
+ {
913
+ internalType: "address",
914
+ name: "maker",
915
+ type: "address",
916
+ },
917
+ {
918
+ internalType: "address",
919
+ name: "receiver",
920
+ type: "address",
921
+ },
922
+ {
923
+ internalType: "uint256",
924
+ name: "makingAmount",
925
+ type: "uint256",
926
+ },
927
+ {
928
+ internalType: "uint256",
929
+ name: "lnImpliedRate",
930
+ type: "uint256",
931
+ },
932
+ {
933
+ internalType: "uint256",
934
+ name: "failSafeRate",
935
+ type: "uint256",
936
+ },
937
+ {
938
+ internalType: "bytes",
939
+ name: "permit",
940
+ type: "bytes",
941
+ },
942
+ ],
943
+ internalType: "struct Order",
944
+ name: "order",
945
+ type: "tuple",
946
+ },
947
+ {
948
+ internalType: "bytes",
949
+ name: "signature",
950
+ type: "bytes",
951
+ },
952
+ {
953
+ internalType: "uint256",
954
+ name: "makingAmount",
955
+ type: "uint256",
956
+ },
957
+ ],
958
+ internalType: "struct FillOrderParams[]",
959
+ name: "normalFills",
960
+ type: "tuple[]",
961
+ },
962
+ {
963
+ components: [
964
+ {
965
+ components: [
966
+ {
967
+ internalType: "uint256",
968
+ name: "salt",
969
+ type: "uint256",
970
+ },
971
+ {
972
+ internalType: "uint256",
973
+ name: "expiry",
974
+ type: "uint256",
975
+ },
976
+ {
977
+ internalType: "uint256",
978
+ name: "nonce",
979
+ type: "uint256",
980
+ },
981
+ {
982
+ internalType: "enum IPLimitOrderType.OrderType",
983
+ name: "orderType",
984
+ type: "uint8",
985
+ },
986
+ {
987
+ internalType: "address",
988
+ name: "token",
989
+ type: "address",
990
+ },
991
+ {
992
+ internalType: "address",
993
+ name: "YT",
994
+ type: "address",
995
+ },
996
+ {
997
+ internalType: "address",
998
+ name: "maker",
999
+ type: "address",
1000
+ },
1001
+ {
1002
+ internalType: "address",
1003
+ name: "receiver",
1004
+ type: "address",
1005
+ },
1006
+ {
1007
+ internalType: "uint256",
1008
+ name: "makingAmount",
1009
+ type: "uint256",
1010
+ },
1011
+ {
1012
+ internalType: "uint256",
1013
+ name: "lnImpliedRate",
1014
+ type: "uint256",
1015
+ },
1016
+ {
1017
+ internalType: "uint256",
1018
+ name: "failSafeRate",
1019
+ type: "uint256",
1020
+ },
1021
+ {
1022
+ internalType: "bytes",
1023
+ name: "permit",
1024
+ type: "bytes",
1025
+ },
1026
+ ],
1027
+ internalType: "struct Order",
1028
+ name: "order",
1029
+ type: "tuple",
1030
+ },
1031
+ {
1032
+ internalType: "bytes",
1033
+ name: "signature",
1034
+ type: "bytes",
1035
+ },
1036
+ {
1037
+ internalType: "uint256",
1038
+ name: "makingAmount",
1039
+ type: "uint256",
1040
+ },
1041
+ ],
1042
+ internalType: "struct FillOrderParams[]",
1043
+ name: "flashFills",
1044
+ type: "tuple[]",
1045
+ },
1046
+ {
1047
+ internalType: "bytes",
1048
+ name: "optData",
1049
+ type: "bytes",
1050
+ },
1051
+ ],
1052
+ internalType: "struct LimitOrderData",
1053
+ name: "limit",
1054
+ type: "tuple",
1055
+ },
1056
+ ],
1057
+ name: "exitPreExpToSy",
1058
+ outputs: [
1059
+ {
1060
+ components: [
1061
+ {
1062
+ internalType: "uint256",
1063
+ name: "netPtFromRemove",
1064
+ type: "uint256",
1065
+ },
1066
+ {
1067
+ internalType: "uint256",
1068
+ name: "netSyFromRemove",
1069
+ type: "uint256",
1070
+ },
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "netPyRedeem",
1074
+ type: "uint256",
1075
+ },
1076
+ {
1077
+ internalType: "uint256",
1078
+ name: "netSyFromRedeem",
1079
+ type: "uint256",
1080
+ },
1081
+ {
1082
+ internalType: "uint256",
1083
+ name: "netPtSwap",
1084
+ type: "uint256",
1085
+ },
1086
+ {
1087
+ internalType: "uint256",
1088
+ name: "netYtSwap",
1089
+ type: "uint256",
1090
+ },
1091
+ {
1092
+ internalType: "uint256",
1093
+ name: "netSyFromSwap",
1094
+ type: "uint256",
1095
+ },
1096
+ {
1097
+ internalType: "uint256",
1098
+ name: "netSyFee",
1099
+ type: "uint256",
1100
+ },
1101
+ {
1102
+ internalType: "uint256",
1103
+ name: "totalSyOut",
1104
+ type: "uint256",
1105
+ },
1106
+ ],
1107
+ internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
1108
+ name: "params",
1109
+ type: "tuple",
1110
+ },
1111
+ ],
1112
+ stateMutability: "nonpayable",
1113
+ type: "function",
1114
+ },
1115
+ {
1116
+ inputs: [
1117
+ {
1118
+ internalType: "address",
1119
+ name: "receiver",
1120
+ type: "address",
1121
+ },
1122
+ {
1123
+ internalType: "address",
1124
+ name: "market",
1125
+ type: "address",
1126
+ },
1127
+ {
1128
+ internalType: "uint256",
1129
+ name: "netPtIn",
1130
+ type: "uint256",
1131
+ },
1132
+ {
1133
+ internalType: "uint256",
1134
+ name: "netYtIn",
1135
+ type: "uint256",
1136
+ },
1137
+ {
1138
+ internalType: "uint256",
1139
+ name: "netLpIn",
1140
+ type: "uint256",
1141
+ },
1142
+ {
1143
+ components: [
1144
+ {
1145
+ internalType: "address",
1146
+ name: "tokenOut",
1147
+ type: "address",
1148
+ },
1149
+ {
1150
+ internalType: "uint256",
1151
+ name: "minTokenOut",
1152
+ type: "uint256",
1153
+ },
1154
+ {
1155
+ internalType: "address",
1156
+ name: "tokenRedeemSy",
1157
+ type: "address",
1158
+ },
1159
+ {
1160
+ internalType: "address",
1161
+ name: "pendleSwap",
1162
+ type: "address",
1163
+ },
1164
+ {
1165
+ components: [
1166
+ {
1167
+ internalType: "enum SwapType",
1168
+ name: "swapType",
1169
+ type: "uint8",
1170
+ },
1171
+ {
1172
+ internalType: "address",
1173
+ name: "extRouter",
1174
+ type: "address",
1175
+ },
1176
+ {
1177
+ internalType: "bytes",
1178
+ name: "extCalldata",
1179
+ type: "bytes",
1180
+ },
1181
+ {
1182
+ internalType: "bool",
1183
+ name: "needScale",
1184
+ type: "bool",
1185
+ },
1186
+ ],
1187
+ internalType: "struct SwapData",
1188
+ name: "swapData",
1189
+ type: "tuple",
1190
+ },
1191
+ ],
1192
+ internalType: "struct TokenOutput",
1193
+ name: "output",
1194
+ type: "tuple",
1195
+ },
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: "address",
1200
+ name: "limitRouter",
1201
+ type: "address",
1202
+ },
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "epsSkipMarket",
1206
+ type: "uint256",
1207
+ },
1208
+ {
1209
+ components: [
1210
+ {
1211
+ components: [
1212
+ {
1213
+ internalType: "uint256",
1214
+ name: "salt",
1215
+ type: "uint256",
1216
+ },
1217
+ {
1218
+ internalType: "uint256",
1219
+ name: "expiry",
1220
+ type: "uint256",
1221
+ },
1222
+ {
1223
+ internalType: "uint256",
1224
+ name: "nonce",
1225
+ type: "uint256",
1226
+ },
1227
+ {
1228
+ internalType: "enum IPLimitOrderType.OrderType",
1229
+ name: "orderType",
1230
+ type: "uint8",
1231
+ },
1232
+ {
1233
+ internalType: "address",
1234
+ name: "token",
1235
+ type: "address",
1236
+ },
1237
+ {
1238
+ internalType: "address",
1239
+ name: "YT",
1240
+ type: "address",
1241
+ },
1242
+ {
1243
+ internalType: "address",
1244
+ name: "maker",
1245
+ type: "address",
1246
+ },
1247
+ {
1248
+ internalType: "address",
1249
+ name: "receiver",
1250
+ type: "address",
1251
+ },
1252
+ {
1253
+ internalType: "uint256",
1254
+ name: "makingAmount",
1255
+ type: "uint256",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "lnImpliedRate",
1260
+ type: "uint256",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "failSafeRate",
1265
+ type: "uint256",
1266
+ },
1267
+ {
1268
+ internalType: "bytes",
1269
+ name: "permit",
1270
+ type: "bytes",
1271
+ },
1272
+ ],
1273
+ internalType: "struct Order",
1274
+ name: "order",
1275
+ type: "tuple",
1276
+ },
1277
+ {
1278
+ internalType: "bytes",
1279
+ name: "signature",
1280
+ type: "bytes",
1281
+ },
1282
+ {
1283
+ internalType: "uint256",
1284
+ name: "makingAmount",
1285
+ type: "uint256",
1286
+ },
1287
+ ],
1288
+ internalType: "struct FillOrderParams[]",
1289
+ name: "normalFills",
1290
+ type: "tuple[]",
1291
+ },
1292
+ {
1293
+ components: [
1294
+ {
1295
+ components: [
1296
+ {
1297
+ internalType: "uint256",
1298
+ name: "salt",
1299
+ type: "uint256",
1300
+ },
1301
+ {
1302
+ internalType: "uint256",
1303
+ name: "expiry",
1304
+ type: "uint256",
1305
+ },
1306
+ {
1307
+ internalType: "uint256",
1308
+ name: "nonce",
1309
+ type: "uint256",
1310
+ },
1311
+ {
1312
+ internalType: "enum IPLimitOrderType.OrderType",
1313
+ name: "orderType",
1314
+ type: "uint8",
1315
+ },
1316
+ {
1317
+ internalType: "address",
1318
+ name: "token",
1319
+ type: "address",
1320
+ },
1321
+ {
1322
+ internalType: "address",
1323
+ name: "YT",
1324
+ type: "address",
1325
+ },
1326
+ {
1327
+ internalType: "address",
1328
+ name: "maker",
1329
+ type: "address",
1330
+ },
1331
+ {
1332
+ internalType: "address",
1333
+ name: "receiver",
1334
+ type: "address",
1335
+ },
1336
+ {
1337
+ internalType: "uint256",
1338
+ name: "makingAmount",
1339
+ type: "uint256",
1340
+ },
1341
+ {
1342
+ internalType: "uint256",
1343
+ name: "lnImpliedRate",
1344
+ type: "uint256",
1345
+ },
1346
+ {
1347
+ internalType: "uint256",
1348
+ name: "failSafeRate",
1349
+ type: "uint256",
1350
+ },
1351
+ {
1352
+ internalType: "bytes",
1353
+ name: "permit",
1354
+ type: "bytes",
1355
+ },
1356
+ ],
1357
+ internalType: "struct Order",
1358
+ name: "order",
1359
+ type: "tuple",
1360
+ },
1361
+ {
1362
+ internalType: "bytes",
1363
+ name: "signature",
1364
+ type: "bytes",
1365
+ },
1366
+ {
1367
+ internalType: "uint256",
1368
+ name: "makingAmount",
1369
+ type: "uint256",
1370
+ },
1371
+ ],
1372
+ internalType: "struct FillOrderParams[]",
1373
+ name: "flashFills",
1374
+ type: "tuple[]",
1375
+ },
1376
+ {
1377
+ internalType: "bytes",
1378
+ name: "optData",
1379
+ type: "bytes",
1380
+ },
1381
+ ],
1382
+ internalType: "struct LimitOrderData",
1383
+ name: "limit",
1384
+ type: "tuple",
1385
+ },
1386
+ ],
1387
+ name: "exitPreExpToToken",
1388
+ outputs: [
1389
+ {
1390
+ internalType: "uint256",
1391
+ name: "netTokenOut",
1392
+ type: "uint256",
1393
+ },
1394
+ {
1395
+ components: [
1396
+ {
1397
+ internalType: "uint256",
1398
+ name: "netPtFromRemove",
1399
+ type: "uint256",
1400
+ },
1401
+ {
1402
+ internalType: "uint256",
1403
+ name: "netSyFromRemove",
1404
+ type: "uint256",
1405
+ },
1406
+ {
1407
+ internalType: "uint256",
1408
+ name: "netPyRedeem",
1409
+ type: "uint256",
1410
+ },
1411
+ {
1412
+ internalType: "uint256",
1413
+ name: "netSyFromRedeem",
1414
+ type: "uint256",
1415
+ },
1416
+ {
1417
+ internalType: "uint256",
1418
+ name: "netPtSwap",
1419
+ type: "uint256",
1420
+ },
1421
+ {
1422
+ internalType: "uint256",
1423
+ name: "netYtSwap",
1424
+ type: "uint256",
1425
+ },
1426
+ {
1427
+ internalType: "uint256",
1428
+ name: "netSyFromSwap",
1429
+ type: "uint256",
1430
+ },
1431
+ {
1432
+ internalType: "uint256",
1433
+ name: "netSyFee",
1434
+ type: "uint256",
1435
+ },
1436
+ {
1437
+ internalType: "uint256",
1438
+ name: "totalSyOut",
1439
+ type: "uint256",
1440
+ },
1441
+ ],
1442
+ internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
1443
+ name: "params",
1444
+ type: "tuple",
277
1445
  },
278
1446
  ],
279
- name: "boostMarkets",
280
- outputs: [],
281
1447
  stateMutability: "nonpayable",
282
1448
  type: "function",
283
1449
  },