@pendle/core-v2 6.1.2 → 6.1.3-sweed

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 (118) hide show
  1. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +4 -0
  16. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +141 -0
  17. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  19. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.json +93 -0
  36. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  37. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  41. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  42. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  43. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  44. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  45. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  49. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  51. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  52. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
  54. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +338 -0
  55. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  56. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  58. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +108 -2
  59. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  61. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  63. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  69. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  70. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  71. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  72. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  73. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  74. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  75. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  76. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  77. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  78. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  79. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  80. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  81. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  86. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  88. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  94. package/contracts/interfaces/IMarketSweed.sol +23 -0
  95. package/contracts/interfaces/IPCommonPoolDeployHelperV2.sol +9 -0
  96. package/contracts/offchain-helpers/MarketSweed.sol +239 -0
  97. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +21 -7
  98. package/package.json +1 -1
  99. package/typechain-types/IPCommonPoolDeployHelperV2.ts +66 -0
  100. package/typechain-types/IPReentrancyGuardUpg.ts +89 -0
  101. package/typechain-types/MarketSweed.ts +39 -0
  102. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +87 -0
  103. package/typechain-types/PendleERC20Upg.ts +21 -0
  104. package/typechain-types/PendleMarket.ts +82 -32
  105. package/typechain-types/PendleMarketFactoryUpg.ts +773 -0
  106. package/typechain-types/PendleMarketFactoryV3Upg.ts +760 -0
  107. package/typechain-types/PendleReentrancyGuardUpg.ts +100 -0
  108. package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
  109. package/typechain-types/factories/IPCommonPoolDeployHelperV2__factory.ts +93 -0
  110. package/typechain-types/factories/IPReentrancyGuardUpg__factory.ts +43 -0
  111. package/typechain-types/factories/MarketSweed__factory.ts +74 -1
  112. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +107 -1
  113. package/typechain-types/factories/PendleERC20Upg__factory.ts +13 -0
  114. package/typechain-types/factories/PendleMarketFactoryUpg__factory.ts +732 -0
  115. package/typechain-types/factories/PendleMarketFactoryV3Upg__factory.ts +719 -0
  116. package/typechain-types/factories/PendleMarket__factory.ts +81 -27
  117. package/typechain-types/factories/PendleReentrancyGuardUpg__factory.ts +56 -0
  118. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
@@ -0,0 +1,719 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ Signer,
6
+ utils,
7
+ Contract,
8
+ ContractFactory,
9
+ Overrides,
10
+ BigNumberish,
11
+ } from "ethers";
12
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
13
+ import type {
14
+ PendleMarketFactoryV3Upg,
15
+ PendleMarketFactoryV3UpgInterface,
16
+ } from "../PendleMarketFactoryV3Upg";
17
+
18
+ const _abi = [
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "_yieldContractFactory",
24
+ type: "address",
25
+ },
26
+ {
27
+ internalType: "address",
28
+ name: "_marketCreationCodeContractA",
29
+ type: "address",
30
+ },
31
+ {
32
+ internalType: "uint256",
33
+ name: "_marketCreationCodeSizeA",
34
+ type: "uint256",
35
+ },
36
+ {
37
+ internalType: "address",
38
+ name: "_marketCreationCodeContractB",
39
+ type: "address",
40
+ },
41
+ {
42
+ internalType: "uint256",
43
+ name: "_marketCreationCodeSizeB",
44
+ type: "uint256",
45
+ },
46
+ {
47
+ internalType: "address",
48
+ name: "_vePendle",
49
+ type: "address",
50
+ },
51
+ {
52
+ internalType: "address",
53
+ name: "_gaugeController",
54
+ type: "address",
55
+ },
56
+ ],
57
+ stateMutability: "nonpayable",
58
+ type: "constructor",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "addr",
65
+ type: "address",
66
+ },
67
+ ],
68
+ name: "MFNotPendleMarket",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "MarketFactoryExpiredPt",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "int256",
80
+ name: "initialAnchor",
81
+ type: "int256",
82
+ },
83
+ {
84
+ internalType: "int256",
85
+ name: "minInitialAnchor",
86
+ type: "int256",
87
+ },
88
+ ],
89
+ name: "MarketFactoryInitialAnchorTooLow",
90
+ type: "error",
91
+ },
92
+ {
93
+ inputs: [],
94
+ name: "MarketFactoryInvalidPt",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "uint80",
101
+ name: "lnFeeRateRoot",
102
+ type: "uint80",
103
+ },
104
+ {
105
+ internalType: "uint256",
106
+ name: "maxLnFeeRateRoot",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ name: "MarketFactoryLnFeeRateRootTooHigh",
111
+ type: "error",
112
+ },
113
+ {
114
+ inputs: [],
115
+ name: "MarketFactoryMarketExists",
116
+ type: "error",
117
+ },
118
+ {
119
+ inputs: [
120
+ {
121
+ internalType: "uint80",
122
+ name: "overriddenFee",
123
+ type: "uint80",
124
+ },
125
+ {
126
+ internalType: "uint256",
127
+ name: "marketLnFeeRateRoot",
128
+ type: "uint256",
129
+ },
130
+ ],
131
+ name: "MarketFactoryOverriddenFeeTooHigh",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [
136
+ {
137
+ internalType: "uint8",
138
+ name: "reserveFeePercent",
139
+ type: "uint8",
140
+ },
141
+ {
142
+ internalType: "uint8",
143
+ name: "maxReserveFeePercent",
144
+ type: "uint8",
145
+ },
146
+ ],
147
+ name: "MarketFactoryReserveFeePercentTooHigh",
148
+ type: "error",
149
+ },
150
+ {
151
+ inputs: [],
152
+ name: "MarketFactoryZeroTreasury",
153
+ type: "error",
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ {
159
+ indexed: true,
160
+ internalType: "address",
161
+ name: "market",
162
+ type: "address",
163
+ },
164
+ {
165
+ indexed: true,
166
+ internalType: "address",
167
+ name: "PT",
168
+ type: "address",
169
+ },
170
+ {
171
+ indexed: false,
172
+ internalType: "int256",
173
+ name: "scalarRoot",
174
+ type: "int256",
175
+ },
176
+ {
177
+ indexed: false,
178
+ internalType: "int256",
179
+ name: "initialAnchor",
180
+ type: "int256",
181
+ },
182
+ {
183
+ indexed: false,
184
+ internalType: "uint256",
185
+ name: "lnFeeRateRoot",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ name: "CreateNewMarket",
190
+ type: "event",
191
+ },
192
+ {
193
+ anonymous: false,
194
+ inputs: [
195
+ {
196
+ indexed: false,
197
+ internalType: "uint8",
198
+ name: "version",
199
+ type: "uint8",
200
+ },
201
+ ],
202
+ name: "Initialized",
203
+ type: "event",
204
+ },
205
+ {
206
+ anonymous: false,
207
+ inputs: [
208
+ {
209
+ indexed: true,
210
+ internalType: "address",
211
+ name: "treasury",
212
+ type: "address",
213
+ },
214
+ {
215
+ indexed: false,
216
+ internalType: "uint8",
217
+ name: "reserveFeePercent",
218
+ type: "uint8",
219
+ },
220
+ ],
221
+ name: "NewTreasuryAndFeeReserve",
222
+ type: "event",
223
+ },
224
+ {
225
+ anonymous: false,
226
+ inputs: [
227
+ {
228
+ indexed: true,
229
+ internalType: "address",
230
+ name: "previousOwner",
231
+ type: "address",
232
+ },
233
+ {
234
+ indexed: true,
235
+ internalType: "address",
236
+ name: "newOwner",
237
+ type: "address",
238
+ },
239
+ ],
240
+ name: "OwnershipTransferred",
241
+ type: "event",
242
+ },
243
+ {
244
+ anonymous: false,
245
+ inputs: [
246
+ {
247
+ indexed: true,
248
+ internalType: "address",
249
+ name: "router",
250
+ type: "address",
251
+ },
252
+ {
253
+ indexed: true,
254
+ internalType: "address",
255
+ name: "market",
256
+ type: "address",
257
+ },
258
+ {
259
+ indexed: false,
260
+ internalType: "uint80",
261
+ name: "lnFeeRateRoot",
262
+ type: "uint80",
263
+ },
264
+ ],
265
+ name: "SetOverriddenFee",
266
+ type: "event",
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: "claimOwnership",
271
+ outputs: [],
272
+ stateMutability: "nonpayable",
273
+ type: "function",
274
+ },
275
+ {
276
+ inputs: [
277
+ {
278
+ internalType: "address",
279
+ name: "PT",
280
+ type: "address",
281
+ },
282
+ {
283
+ internalType: "int256",
284
+ name: "scalarRoot",
285
+ type: "int256",
286
+ },
287
+ {
288
+ internalType: "int256",
289
+ name: "initialAnchor",
290
+ type: "int256",
291
+ },
292
+ {
293
+ internalType: "uint80",
294
+ name: "lnFeeRateRoot",
295
+ type: "uint80",
296
+ },
297
+ ],
298
+ name: "createNewMarket",
299
+ outputs: [
300
+ {
301
+ internalType: "address",
302
+ name: "market",
303
+ type: "address",
304
+ },
305
+ ],
306
+ stateMutability: "nonpayable",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [],
311
+ name: "gaugeController",
312
+ outputs: [
313
+ {
314
+ internalType: "address",
315
+ name: "",
316
+ type: "address",
317
+ },
318
+ ],
319
+ stateMutability: "view",
320
+ type: "function",
321
+ },
322
+ {
323
+ inputs: [
324
+ {
325
+ internalType: "address",
326
+ name: "market",
327
+ type: "address",
328
+ },
329
+ {
330
+ internalType: "address",
331
+ name: "router",
332
+ type: "address",
333
+ },
334
+ ],
335
+ name: "getMarketConfig",
336
+ outputs: [
337
+ {
338
+ internalType: "address",
339
+ name: "_treasury",
340
+ type: "address",
341
+ },
342
+ {
343
+ internalType: "uint80",
344
+ name: "_overriddenFee",
345
+ type: "uint80",
346
+ },
347
+ {
348
+ internalType: "uint8",
349
+ name: "_reserveFeePercent",
350
+ type: "uint8",
351
+ },
352
+ ],
353
+ stateMutability: "view",
354
+ type: "function",
355
+ },
356
+ {
357
+ inputs: [
358
+ {
359
+ internalType: "address",
360
+ name: "_owner",
361
+ type: "address",
362
+ },
363
+ {
364
+ internalType: "address",
365
+ name: "_treasury",
366
+ type: "address",
367
+ },
368
+ {
369
+ internalType: "uint8",
370
+ name: "_reserveFeePercent",
371
+ type: "uint8",
372
+ },
373
+ ],
374
+ name: "initialize",
375
+ outputs: [],
376
+ stateMutability: "nonpayable",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "address",
383
+ name: "market",
384
+ type: "address",
385
+ },
386
+ ],
387
+ name: "isValidMarket",
388
+ outputs: [
389
+ {
390
+ internalType: "bool",
391
+ name: "",
392
+ type: "bool",
393
+ },
394
+ ],
395
+ stateMutability: "view",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [],
400
+ name: "marketCreationCodeContractA",
401
+ outputs: [
402
+ {
403
+ internalType: "address",
404
+ name: "",
405
+ type: "address",
406
+ },
407
+ ],
408
+ stateMutability: "view",
409
+ type: "function",
410
+ },
411
+ {
412
+ inputs: [],
413
+ name: "marketCreationCodeContractB",
414
+ outputs: [
415
+ {
416
+ internalType: "address",
417
+ name: "",
418
+ type: "address",
419
+ },
420
+ ],
421
+ stateMutability: "view",
422
+ type: "function",
423
+ },
424
+ {
425
+ inputs: [],
426
+ name: "marketCreationCodeSizeA",
427
+ outputs: [
428
+ {
429
+ internalType: "uint256",
430
+ name: "",
431
+ type: "uint256",
432
+ },
433
+ ],
434
+ stateMutability: "view",
435
+ type: "function",
436
+ },
437
+ {
438
+ inputs: [],
439
+ name: "marketCreationCodeSizeB",
440
+ outputs: [
441
+ {
442
+ internalType: "uint256",
443
+ name: "",
444
+ type: "uint256",
445
+ },
446
+ ],
447
+ stateMutability: "view",
448
+ type: "function",
449
+ },
450
+ {
451
+ inputs: [],
452
+ name: "maxLnFeeRateRoot",
453
+ outputs: [
454
+ {
455
+ internalType: "uint256",
456
+ name: "",
457
+ type: "uint256",
458
+ },
459
+ ],
460
+ stateMutability: "view",
461
+ type: "function",
462
+ },
463
+ {
464
+ inputs: [],
465
+ name: "maxReserveFeePercent",
466
+ outputs: [
467
+ {
468
+ internalType: "uint8",
469
+ name: "",
470
+ type: "uint8",
471
+ },
472
+ ],
473
+ stateMutability: "view",
474
+ type: "function",
475
+ },
476
+ {
477
+ inputs: [],
478
+ name: "minInitialAnchor",
479
+ outputs: [
480
+ {
481
+ internalType: "int256",
482
+ name: "",
483
+ type: "int256",
484
+ },
485
+ ],
486
+ stateMutability: "view",
487
+ type: "function",
488
+ },
489
+ {
490
+ inputs: [],
491
+ name: "owner",
492
+ outputs: [
493
+ {
494
+ internalType: "address",
495
+ name: "",
496
+ type: "address",
497
+ },
498
+ ],
499
+ stateMutability: "view",
500
+ type: "function",
501
+ },
502
+ {
503
+ inputs: [],
504
+ name: "pendingOwner",
505
+ outputs: [
506
+ {
507
+ internalType: "address",
508
+ name: "",
509
+ type: "address",
510
+ },
511
+ ],
512
+ stateMutability: "view",
513
+ type: "function",
514
+ },
515
+ {
516
+ inputs: [],
517
+ name: "reserveFeePercent",
518
+ outputs: [
519
+ {
520
+ internalType: "uint8",
521
+ name: "",
522
+ type: "uint8",
523
+ },
524
+ ],
525
+ stateMutability: "view",
526
+ type: "function",
527
+ },
528
+ {
529
+ inputs: [
530
+ {
531
+ internalType: "address",
532
+ name: "router",
533
+ type: "address",
534
+ },
535
+ {
536
+ internalType: "address",
537
+ name: "market",
538
+ type: "address",
539
+ },
540
+ {
541
+ internalType: "uint80",
542
+ name: "newFee",
543
+ type: "uint80",
544
+ },
545
+ ],
546
+ name: "setOverriddenFee",
547
+ outputs: [],
548
+ stateMutability: "nonpayable",
549
+ type: "function",
550
+ },
551
+ {
552
+ inputs: [
553
+ {
554
+ internalType: "address",
555
+ name: "newTreasury",
556
+ type: "address",
557
+ },
558
+ {
559
+ internalType: "uint8",
560
+ name: "newReserveFeePercent",
561
+ type: "uint8",
562
+ },
563
+ ],
564
+ name: "setTreasuryAndFeeReserve",
565
+ outputs: [],
566
+ stateMutability: "nonpayable",
567
+ type: "function",
568
+ },
569
+ {
570
+ inputs: [
571
+ {
572
+ internalType: "address",
573
+ name: "newOwner",
574
+ type: "address",
575
+ },
576
+ {
577
+ internalType: "bool",
578
+ name: "direct",
579
+ type: "bool",
580
+ },
581
+ {
582
+ internalType: "bool",
583
+ name: "renounce",
584
+ type: "bool",
585
+ },
586
+ ],
587
+ name: "transferOwnership",
588
+ outputs: [],
589
+ stateMutability: "nonpayable",
590
+ type: "function",
591
+ },
592
+ {
593
+ inputs: [],
594
+ name: "treasury",
595
+ outputs: [
596
+ {
597
+ internalType: "address",
598
+ name: "",
599
+ type: "address",
600
+ },
601
+ ],
602
+ stateMutability: "view",
603
+ type: "function",
604
+ },
605
+ {
606
+ inputs: [],
607
+ name: "vePendle",
608
+ outputs: [
609
+ {
610
+ internalType: "address",
611
+ name: "",
612
+ type: "address",
613
+ },
614
+ ],
615
+ stateMutability: "view",
616
+ type: "function",
617
+ },
618
+ {
619
+ inputs: [],
620
+ name: "yieldContractFactory",
621
+ outputs: [
622
+ {
623
+ internalType: "address",
624
+ name: "",
625
+ type: "address",
626
+ },
627
+ ],
628
+ stateMutability: "view",
629
+ type: "function",
630
+ },
631
+ ];
632
+
633
+ const _bytecode =
634
+ "0x610180604052348015610010575f5ffd5b50604051611b88380380611b8883398101604081905261002f916106f3565b6001600160a01b038716610100526100646064610055670de0b6b3a7640000606961077c565b61005f91906107bf565b6100a7565b610160526001600160a01b0380871660805260a086905284811660c05260e08490528281166101205281166101405261009b610149565b505050505050506107f7565b5f5f82136100ec5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064015b60405180910390fd5b670c7d713b49da00008213801561010a5750670f43fc2c04ee000082125b1561013557670de0b6b3a764000061012183610211565b8161012e5761012e6107ab565b0592915050565b61013e82610337565b92915050565b919050565b600154600160a81b900460ff16156101b35760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b60648201526084016100e3565b600154600160a01b900460ff9081161461020f576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b670de0b6b3a7640000025f806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff1985010281610252576102526107ab565b0590505f6ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b5f670de0b6b3a76400008212156103775761036f826ec097ce7bc90715b34b9f100000000081610369576103696107ab565b05610337565b5f0392915050565b5f7e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126103c757770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e00000083126103ff576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312610447576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312610482576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126104b957693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126104f057690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126105255768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261055057680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312610585576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126105ba576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126105ee576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312610622576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d63100000808603028161064a5761064a6107ab565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b0381168114610144575f5ffd5b5f5f5f5f5f5f5f60e0888a031215610709575f5ffd5b610712886106dd565b9650610720602089016106dd565b60408901519096509450610736606089016106dd565b6080890151909450925061074c60a089016106dd565b915061075a60c089016106dd565b905092959891949750929550565b634e487b7160e01b5f52601160045260245ffd5b8082025f8212600160ff1b8414161561079757610797610768565b818105831482151761013e5761013e610768565b634e487b7160e01b5f52601260045260245ffd5b5f826107d957634e487b7160e01b5f52601260045260245ffd5b600160ff1b82145f19841416156107f2576107f2610768565b500590565b60805160a05160c05160e051610100516101205161014051610160516112f76108915f395f81816101a901528181610a6c0152610ab901525f81816103330152610bd501525f81816102c00152610bad01525f81816102e7015261095b01525f818161037c0152610c7b01525f81816103be0152610c5a01525f81816101590152610c3901525f81816101d00152610c1801526112f75ff3fe608060405234801561000f575f5ffd5b5060043610610110575f3560e01c8063078dfbe7146101145780631feec24414610129578063349097aa1461015457806345fccd4f146101895780634e71e0c81461019c5780634facfd7a146101a457806350832797146101cb57806358e6309f146101ff5780635c098c111461022257806361d027b3146102a857806382dabb21146102bb57806387a409a2146102e257806389232a00146103095780638da5cb5b1461031c57806399eecb3b1461032e578063a3a4d69a14610355578063c821db0d14610364578063cb7111d814610377578063e30c39781461039e578063e50bf2dc146103b1578063ec8a68f2146103b9578063f661cf6b146103e0575b5f5ffd5b610127610122366004611074565b6103f3565b005b60325461013d90600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b61017b7f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161014b565b6101276101973660046110ca565b6104f5565b6101276105dd565b61017b7f000000000000000000000000000000000000000000000000000000000000000081565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b60405161014b91906110fb565b61021261020d36600461110f565b610685565b604051901515815260200161014b565b610278610230366004611128565b6032546001600160a01b039182165f90815260336020908152604080832095851683529490529290922054908216926001600160501b0390911691600160a01b900460ff1690565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff169082015260600161014b565b6032546101f2906001600160a01b031681565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b610127610317366004611150565b610697565b5f546101f2906001600160a01b031681565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b61017b670de0b6b3a764000081565b6101276103723660046111a4565b6107cd565b61017b7f000000000000000000000000000000000000000000000000000000000000000081565b6001546101f2906001600160a01b031681565b61013d606481565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b6101f26103ee3660046111dd565b610942565b5f546001600160a01b031633146104255760405162461bcd60e51b815260040161041c90611222565b60405180910390fd5b81156104d3576001600160a01b03831615158061043f5750805b6104835760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161041c565b5f80546040516001600160a01b03808716939216915f5160206112a25f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f546001600160a01b0316331461051e5760405162461bcd60e51b815260040161041c90611222565b6001600160a01b03821661054557604051630af2e4bb60e21b815260040160405180910390fd5b606460ff8216111561057657604051635b668c6b60e11b815260ff821660048201526064602482015260440161041c565b6032805460ff8316600160a01b81026001600160a81b03199092166001600160a01b03861690811792909217909255604051918252907fc612910a1561af820dd8961721344b949df6bfcb3cd8dda1f87a5f25e80852cb9060200160405180910390a25050565b6001546001600160a01b03163381146106385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161041c565b5f80546040516001600160a01b03808516939216915f5160206112a25f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f610691603583610d7a565b92915050565b600154600160a81b900460ff16158080156106bd575060018054600160a01b900460ff16105b806106dd5750303b1580156106dd575060018054600160a01b900460ff16145b6107405760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161041c565b6001805460ff60a01b1916600160a01b179055801561076d576001805460ff60a81b1916600160a81b1790555b61077684610d95565b61078083836104f5565b80156107c7576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b5f546001600160a01b031633146107f65760405162461bcd60e51b815260040161041c90611222565b610801603583610d7a565b6108205781604051635e904c9b60e01b815260040161041c91906110fb565b5f826001600160a01b031663e4f8b2e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108819190611257565b9050806001600160501b0316826001600160501b0316106108c85760405163024a6ed760e61b81526001600160501b0380841660048301528216602482015260440161041c565b6001600160a01b038481165f8181526033602090815260408083209488168084529482529182902080546001600160501b0319166001600160501b03881690811790915591519182527fea7fdf3abb8ced24e7f9c441f3e98071fb5ea1f9278e2b9202c4a6d306cce59f910160405180910390a350505050565b6040516318b7373d60e01b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d906109909088906004016110fb565b602060405180830381865afa1580156109ab573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109cf9190611272565b6109ec5760405163781eae2d60e01b815260040160405180910390fd5b846001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a28573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4c9190611272565b15610a6a5760405163e29ecf1560e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b03161115610ae557604051630b1e651560e11b81526001600160501b03831660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161041c565b6001600160a01b038581165f908152603460209081526040808320888452825280832087845282528083206001600160501b03871684529091529020541615610b415760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000831215610b7b576040516307b48ef760e41b815260048101849052670de0b6b3a7640000602482015260440161041c565b604080516001600160a01b038781166020830152918101869052606081018590526001600160501b03841660808201527f0000000000000000000000000000000000000000000000000000000000000000821660a08201527f000000000000000000000000000000000000000000000000000000000000000090911660c0820152610c9f905f90469060e0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610e23565b6001600160a01b038681165f908152603460209081526040808320898452825280832088845282528083206001600160501b0388168452909152902080546001600160a01b0319169183169190911790559050610cfd603582610e4c565b610d0957610d0961128d565b846001600160a01b0316816001600160a01b03167fae811fae25e2770b6bd1dcb1475657e8c3a976f91d1ebf081271db08eef920af868686604051610d6a9392919092835260208301919091526001600160501b0316604082015260600190565b60405180910390a3949350505050565b5f610d8e836001600160a01b038416610e60565b9392505050565b600154600160a81b900460ff16610e025760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161041c565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f5f610e328787878787610e77565b9050610e3f898983610ec7565b9998505050505050505050565b5f610d8e836001600160a01b038416610fc5565b5f9081526001919091016020526040902054151590565b8451604080516020848701808501808401830190945283835291939192908401875f828b3c855f898301893c5060208981019085850101610eb981838661100c565b505050505095945050505050565b5f83471015610f185760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015260640161041c565b81515f03610f685760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015260640161041c565b8282516020840186f590506001600160a01b038116610d8e5760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b604482015260640161041c565b5f610fd08383610e60565b61100557508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610691565b505f610691565b5b6020811061102c578151835260209283019290910190601f190161100d565b905182516020929092036101000a5f190180199091169116179052565b80356001600160a01b038116811461105f575f5ffd5b919050565b8015158114611071575f5ffd5b50565b5f5f5f60608486031215611086575f5ffd5b61108f84611049565b9250602084013561109f81611064565b915060408401356110af81611064565b809150509250925092565b803560ff8116811461105f575f5ffd5b5f5f604083850312156110db575f5ffd5b6110e483611049565b91506110f2602084016110ba565b90509250929050565b6001600160a01b0391909116815260200190565b5f6020828403121561111f575f5ffd5b610d8e82611049565b5f5f60408385031215611139575f5ffd5b61114283611049565b91506110f260208401611049565b5f5f5f60608486031215611162575f5ffd5b61116b84611049565b925061117960208501611049565b9150611187604085016110ba565b90509250925092565b6001600160501b0381168114611071575f5ffd5b5f5f5f606084860312156111b6575f5ffd5b6111bf84611049565b92506111cd60208501611049565b915060408401356110af81611190565b5f5f5f5f608085870312156111f0575f5ffd5b6111f985611049565b93506020850135925060408501359150606085013561121781611190565b939692955090935050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611267575f5ffd5b8151610d8e81611190565b5f60208284031215611282575f5ffd5b8151610d8e81611064565b634e487b7160e01b5f52600160045260245ffdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212209c22dba72c9ce58056b6ac710352fdfcf18505f3503f77cc461503c03e523da264736f6c634300081e0033";
635
+
636
+ type PendleMarketFactoryV3UpgConstructorParams =
637
+ | [signer?: Signer]
638
+ | ConstructorParameters<typeof ContractFactory>;
639
+
640
+ const isSuperArgs = (
641
+ xs: PendleMarketFactoryV3UpgConstructorParams
642
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
643
+
644
+ export class PendleMarketFactoryV3Upg__factory extends ContractFactory {
645
+ constructor(...args: PendleMarketFactoryV3UpgConstructorParams) {
646
+ if (isSuperArgs(args)) {
647
+ super(...args);
648
+ } else {
649
+ super(_abi, _bytecode, args[0]);
650
+ }
651
+ this.contractName = "PendleMarketFactoryV3Upg";
652
+ }
653
+
654
+ deploy(
655
+ _yieldContractFactory: string,
656
+ _marketCreationCodeContractA: string,
657
+ _marketCreationCodeSizeA: BigNumberish,
658
+ _marketCreationCodeContractB: string,
659
+ _marketCreationCodeSizeB: BigNumberish,
660
+ _vePendle: string,
661
+ _gaugeController: string,
662
+ overrides?: Overrides & { from?: string | Promise<string> }
663
+ ): Promise<PendleMarketFactoryV3Upg> {
664
+ return super.deploy(
665
+ _yieldContractFactory,
666
+ _marketCreationCodeContractA,
667
+ _marketCreationCodeSizeA,
668
+ _marketCreationCodeContractB,
669
+ _marketCreationCodeSizeB,
670
+ _vePendle,
671
+ _gaugeController,
672
+ overrides || {}
673
+ ) as Promise<PendleMarketFactoryV3Upg>;
674
+ }
675
+ getDeployTransaction(
676
+ _yieldContractFactory: string,
677
+ _marketCreationCodeContractA: string,
678
+ _marketCreationCodeSizeA: BigNumberish,
679
+ _marketCreationCodeContractB: string,
680
+ _marketCreationCodeSizeB: BigNumberish,
681
+ _vePendle: string,
682
+ _gaugeController: string,
683
+ overrides?: Overrides & { from?: string | Promise<string> }
684
+ ): TransactionRequest {
685
+ return super.getDeployTransaction(
686
+ _yieldContractFactory,
687
+ _marketCreationCodeContractA,
688
+ _marketCreationCodeSizeA,
689
+ _marketCreationCodeContractB,
690
+ _marketCreationCodeSizeB,
691
+ _vePendle,
692
+ _gaugeController,
693
+ overrides || {}
694
+ );
695
+ }
696
+ attach(address: string): PendleMarketFactoryV3Upg {
697
+ return super.attach(address) as PendleMarketFactoryV3Upg;
698
+ }
699
+ connect(signer: Signer): PendleMarketFactoryV3Upg__factory {
700
+ return super.connect(signer) as PendleMarketFactoryV3Upg__factory;
701
+ }
702
+ static readonly contractName: "PendleMarketFactoryV3Upg";
703
+ public readonly contractName: "PendleMarketFactoryV3Upg";
704
+ static readonly bytecode = _bytecode;
705
+ static readonly abi = _abi;
706
+ static createInterface(): PendleMarketFactoryV3UpgInterface {
707
+ return new utils.Interface(_abi) as PendleMarketFactoryV3UpgInterface;
708
+ }
709
+ static connect(
710
+ address: string,
711
+ signerOrProvider: Signer | Provider
712
+ ): PendleMarketFactoryV3Upg {
713
+ return new Contract(
714
+ address,
715
+ _abi,
716
+ signerOrProvider
717
+ ) as PendleMarketFactoryV3Upg;
718
+ }
719
+ }