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

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