@pendle/core-v2 5.7.1 → 5.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/53d0e5fad8715eb2a55b10164d0ead78.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "IPendleCommonPoolDeployHelperV2",
4
- "sourceName": "contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol",
3
+ "contractName": "IPCommonPoolDeployHelperV2",
4
+ "sourceName": "contracts/interfaces/IPCommonPoolDeployHelperV2.sol",
5
5
  "abi": [
6
6
  {
7
7
  "anonymous": false,
@@ -3,7 +3,7 @@ pragma solidity ^0.8.0;
3
3
 
4
4
  import "./IPPoolDeployHelperV2.sol";
5
5
 
6
- interface IPendleCommonPoolDeployHelperV2 is IPPoolDeployHelperV2 {
6
+ interface IPCommonPoolDeployHelperV2 is IPPoolDeployHelperV2 {
7
7
  function deployERC4626Market(
8
8
  bytes memory constructorParams,
9
9
  PoolConfig memory config,
@@ -13,7 +13,8 @@
13
13
  "initialReserveFeePercent": "80",
14
14
  "initialPendlePerSec": "826719576719576719",
15
15
  "safeWaitTime": 15000,
16
- "sySwapper": "0x248087C69e72E211b7264720Bf6cC5A954F98CDE"
16
+ "sySwapper": "0x248087C69e72E211b7264720Bf6cC5A954F98CDE",
17
+ "hardwareDeployer": "0xeea6F790F18563E91b18DF00B89d9f79b2E6761F"
17
18
  },
18
19
  "baseCodeSplitter": "0x35878C2Cff38cC4032E85283183428170BA618A2",
19
20
  "PENDLE": "0x808507121b80c02388fad14726482e061b8da827",
@@ -40,19 +41,22 @@
40
41
  "yieldContractFactoryV5": "0x35A338522a435D46f77Be32C70E215B813D0e3aC",
41
42
  "marketFactoryV5": "0x6fcf753f2C67b83f7B09746Bbc4FA0047b35D050",
42
43
  "poolDeployHelper": "0x4Df98410c95737FD646D2413AC6CAFc1c04834b9",
44
+ "poolDeployHelperV2": "0xF642d8Daa026B8aEd6dFE82FACbA2E077AF199E2",
43
45
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
44
46
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
45
47
  "reflector": "0x5039Da22E5126e7c4e9284376116716A91782faF",
48
+ "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
49
+ "syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
50
+ "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
51
+ "beta": {
52
+ "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
53
+ },
46
54
  "vePendle": "0x4f30A9D41B80ecC5B94306AB4364951AE3170210",
47
55
  "senderEndpoint": "0x07b1014c88f14C9E910092526db57A20052E989F",
48
56
  "votingController": "0x44087E105137a5095c008AaB6a6530182821F2F0",
49
57
  "gaugeController": "0x47D74516B33eD5D70ddE7119A40839f6Fcc24e57",
50
- "feeDistributor": "0xd7b34a6fDCb2A7ceD2115FF7f5fdD72aa6aA4dE2",
51
- "feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9",
52
58
  "vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
53
59
  "externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
54
- "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
55
- "beta": {
56
- "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
57
- }
60
+ "feeDistributor": "0xd7b34a6fDCb2A7ceD2115FF7f5fdD72aa6aA4dE2",
61
+ "feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9"
58
62
  }
@@ -12,7 +12,8 @@
12
12
  "initialInterestFee": "30000000000000000",
13
13
  "initialReserveFeePercent": "80",
14
14
  "safeWaitTime": 15000,
15
- "sySwapper": "0xdf7083f2A0F8a191ab5eEAFebE92ED21cD3Dd915"
15
+ "sySwapper": "0xdf7083f2A0F8a191ab5eEAFebE92ED21cD3Dd915",
16
+ "hardwareDeployer": "0xeea6F790F18563E91b18DF00B89d9f79b2E6761F"
16
17
  },
17
18
  "baseCodeSplitter": "0x0E669e08bd717d7F9c9DE158636BD8561295fbB5",
18
19
  "PENDLE": "0xb3Ed0A426155B79B898849803E3B36552f7ED507",
@@ -42,13 +43,15 @@
42
43
  "limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
43
44
  "proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
44
45
  "reflector": "0x5039Da22E5126e7c4e9284376116716A91782faF",
45
- "receiverEndpoint": "0x998CF52b2585e05494BF9F2bF502351a9C7FdA8f",
46
- "vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
47
- "gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
46
+ "commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
47
+ "syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
48
48
  "sparkLinearDiscountOracleFactory": "0xA9A924A4BB95509F77868E086154C25e934F6171",
49
49
  "vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
50
50
  "externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
51
51
  "beta": {
52
52
  "PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
53
- }
53
+ },
54
+ "receiverEndpoint": "0x998CF52b2585e05494BF9F2bF502351a9C7FdA8f",
55
+ "vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
56
+ "gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0"
54
57
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "5.7.1",
5
+ "version": "5.7.2",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -0,0 +1,390 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PayableOverrides,
13
+ PopulatedTransaction,
14
+ Signer,
15
+ utils,
16
+ } from "ethers";
17
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
18
+ import { Listener, Provider } from "@ethersproject/providers";
19
+ import type {
20
+ TypedEventFilter,
21
+ TypedEvent,
22
+ TypedListener,
23
+ OnEvent,
24
+ } from "./common";
25
+
26
+ export declare namespace IPPoolDeployHelperV2 {
27
+ export type PoolDeploymentAddrsStruct = {
28
+ SY: string;
29
+ PT: string;
30
+ YT: string;
31
+ market: string;
32
+ };
33
+
34
+ export type PoolDeploymentAddrsStructOutput = [
35
+ string,
36
+ string,
37
+ string,
38
+ string
39
+ ] & { SY: string; PT: string; YT: string; market: string };
40
+
41
+ export type PoolDeploymentParamsStruct = {
42
+ expiry: BigNumberish;
43
+ lnFeeRateRoot: BigNumberish;
44
+ scalarRoot: BigNumberish;
45
+ initialRateAnchor: BigNumberish;
46
+ doCacheIndexSameBlock: boolean;
47
+ };
48
+
49
+ export type PoolDeploymentParamsStructOutput = [
50
+ number,
51
+ BigNumber,
52
+ BigNumber,
53
+ BigNumber,
54
+ boolean
55
+ ] & {
56
+ expiry: number;
57
+ lnFeeRateRoot: BigNumber;
58
+ scalarRoot: BigNumber;
59
+ initialRateAnchor: BigNumber;
60
+ doCacheIndexSameBlock: boolean;
61
+ };
62
+
63
+ export type PoolConfigStruct = {
64
+ expiry: BigNumberish;
65
+ rateMin: BigNumberish;
66
+ rateMax: BigNumberish;
67
+ desiredImpliedRate: BigNumberish;
68
+ fee: BigNumberish;
69
+ };
70
+
71
+ export type PoolConfigStructOutput = [
72
+ number,
73
+ BigNumber,
74
+ BigNumber,
75
+ BigNumber,
76
+ BigNumber
77
+ ] & {
78
+ expiry: number;
79
+ rateMin: BigNumber;
80
+ rateMax: BigNumber;
81
+ desiredImpliedRate: BigNumber;
82
+ fee: BigNumber;
83
+ };
84
+ }
85
+
86
+ export interface IPCommonPoolDeployHelperV2Interface extends utils.Interface {
87
+ contractName: "IPCommonPoolDeployHelperV2";
88
+ functions: {
89
+ "deploy5115MarketAndSeedLiquidity(address,(uint32,uint256,uint256,uint256,uint256),address,uint256)": FunctionFragment;
90
+ "deployERC20Market(bytes,(uint32,uint256,uint256,uint256,uint256),address,uint256,address)": FunctionFragment;
91
+ "deployERC4626Market(bytes,(uint32,uint256,uint256,uint256,uint256),address,uint256,address)": FunctionFragment;
92
+ "deployERC4626NotRedeemableMarket(bytes,(uint32,uint256,uint256,uint256,uint256),address,uint256,address)": FunctionFragment;
93
+ };
94
+
95
+ encodeFunctionData(
96
+ functionFragment: "deploy5115MarketAndSeedLiquidity",
97
+ values: [
98
+ string,
99
+ IPPoolDeployHelperV2.PoolConfigStruct,
100
+ string,
101
+ BigNumberish
102
+ ]
103
+ ): string;
104
+ encodeFunctionData(
105
+ functionFragment: "deployERC20Market",
106
+ values: [
107
+ BytesLike,
108
+ IPPoolDeployHelperV2.PoolConfigStruct,
109
+ string,
110
+ BigNumberish,
111
+ string
112
+ ]
113
+ ): string;
114
+ encodeFunctionData(
115
+ functionFragment: "deployERC4626Market",
116
+ values: [
117
+ BytesLike,
118
+ IPPoolDeployHelperV2.PoolConfigStruct,
119
+ string,
120
+ BigNumberish,
121
+ string
122
+ ]
123
+ ): string;
124
+ encodeFunctionData(
125
+ functionFragment: "deployERC4626NotRedeemableMarket",
126
+ values: [
127
+ BytesLike,
128
+ IPPoolDeployHelperV2.PoolConfigStruct,
129
+ string,
130
+ BigNumberish,
131
+ string
132
+ ]
133
+ ): string;
134
+
135
+ decodeFunctionResult(
136
+ functionFragment: "deploy5115MarketAndSeedLiquidity",
137
+ data: BytesLike
138
+ ): Result;
139
+ decodeFunctionResult(
140
+ functionFragment: "deployERC20Market",
141
+ data: BytesLike
142
+ ): Result;
143
+ decodeFunctionResult(
144
+ functionFragment: "deployERC4626Market",
145
+ data: BytesLike
146
+ ): Result;
147
+ decodeFunctionResult(
148
+ functionFragment: "deployERC4626NotRedeemableMarket",
149
+ data: BytesLike
150
+ ): Result;
151
+
152
+ events: {
153
+ "MarketDeployment(tuple,tuple)": EventFragment;
154
+ };
155
+
156
+ getEvent(nameOrSignatureOrTopic: "MarketDeployment"): EventFragment;
157
+ }
158
+
159
+ export type MarketDeploymentEvent = TypedEvent<
160
+ [
161
+ IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput,
162
+ IPPoolDeployHelperV2.PoolDeploymentParamsStructOutput
163
+ ],
164
+ {
165
+ addrs: IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput;
166
+ params: IPPoolDeployHelperV2.PoolDeploymentParamsStructOutput;
167
+ }
168
+ >;
169
+
170
+ export type MarketDeploymentEventFilter =
171
+ TypedEventFilter<MarketDeploymentEvent>;
172
+
173
+ export interface IPCommonPoolDeployHelperV2 extends BaseContract {
174
+ contractName: "IPCommonPoolDeployHelperV2";
175
+ connect(signerOrProvider: Signer | Provider | string): this;
176
+ attach(addressOrName: string): this;
177
+ deployed(): Promise<this>;
178
+
179
+ interface: IPCommonPoolDeployHelperV2Interface;
180
+
181
+ queryFilter<TEvent extends TypedEvent>(
182
+ event: TypedEventFilter<TEvent>,
183
+ fromBlockOrBlockhash?: string | number | undefined,
184
+ toBlock?: string | number | undefined
185
+ ): Promise<Array<TEvent>>;
186
+
187
+ listeners<TEvent extends TypedEvent>(
188
+ eventFilter?: TypedEventFilter<TEvent>
189
+ ): Array<TypedListener<TEvent>>;
190
+ listeners(eventName?: string): Array<Listener>;
191
+ removeAllListeners<TEvent extends TypedEvent>(
192
+ eventFilter: TypedEventFilter<TEvent>
193
+ ): this;
194
+ removeAllListeners(eventName?: string): this;
195
+ off: OnEvent<this>;
196
+ on: OnEvent<this>;
197
+ once: OnEvent<this>;
198
+ removeListener: OnEvent<this>;
199
+
200
+ functions: {
201
+ deploy5115MarketAndSeedLiquidity(
202
+ SY: string,
203
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
204
+ tokenToSeedLiqudity: string,
205
+ amountToSeed: BigNumberish,
206
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
207
+ ): Promise<ContractTransaction>;
208
+
209
+ deployERC20Market(
210
+ constructorParams: BytesLike,
211
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
212
+ tokenToSeedLiqudity: string,
213
+ amountToSeed: BigNumberish,
214
+ syOwner: string,
215
+ overrides?: Overrides & { from?: string | Promise<string> }
216
+ ): Promise<ContractTransaction>;
217
+
218
+ deployERC4626Market(
219
+ constructorParams: BytesLike,
220
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
221
+ tokenToSeedLiqudity: string,
222
+ amountToSeed: BigNumberish,
223
+ syOwner: string,
224
+ overrides?: Overrides & { from?: string | Promise<string> }
225
+ ): Promise<ContractTransaction>;
226
+
227
+ deployERC4626NotRedeemableMarket(
228
+ constructorParams: BytesLike,
229
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
230
+ tokenToSeedLiqudity: string,
231
+ amountToSeed: BigNumberish,
232
+ syOwner: string,
233
+ overrides?: Overrides & { from?: string | Promise<string> }
234
+ ): Promise<ContractTransaction>;
235
+ };
236
+
237
+ deploy5115MarketAndSeedLiquidity(
238
+ SY: string,
239
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
240
+ tokenToSeedLiqudity: string,
241
+ amountToSeed: BigNumberish,
242
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
243
+ ): Promise<ContractTransaction>;
244
+
245
+ deployERC20Market(
246
+ constructorParams: BytesLike,
247
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
248
+ tokenToSeedLiqudity: string,
249
+ amountToSeed: BigNumberish,
250
+ syOwner: string,
251
+ overrides?: Overrides & { from?: string | Promise<string> }
252
+ ): Promise<ContractTransaction>;
253
+
254
+ deployERC4626Market(
255
+ constructorParams: BytesLike,
256
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
257
+ tokenToSeedLiqudity: string,
258
+ amountToSeed: BigNumberish,
259
+ syOwner: string,
260
+ overrides?: Overrides & { from?: string | Promise<string> }
261
+ ): Promise<ContractTransaction>;
262
+
263
+ deployERC4626NotRedeemableMarket(
264
+ constructorParams: BytesLike,
265
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
266
+ tokenToSeedLiqudity: string,
267
+ amountToSeed: BigNumberish,
268
+ syOwner: string,
269
+ overrides?: Overrides & { from?: string | Promise<string> }
270
+ ): Promise<ContractTransaction>;
271
+
272
+ callStatic: {
273
+ deploy5115MarketAndSeedLiquidity(
274
+ SY: string,
275
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
276
+ tokenToSeedLiqudity: string,
277
+ amountToSeed: BigNumberish,
278
+ overrides?: CallOverrides
279
+ ): Promise<IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput>;
280
+
281
+ deployERC20Market(
282
+ constructorParams: BytesLike,
283
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
284
+ tokenToSeedLiqudity: string,
285
+ amountToSeed: BigNumberish,
286
+ syOwner: string,
287
+ overrides?: CallOverrides
288
+ ): Promise<IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput>;
289
+
290
+ deployERC4626Market(
291
+ constructorParams: BytesLike,
292
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
293
+ tokenToSeedLiqudity: string,
294
+ amountToSeed: BigNumberish,
295
+ syOwner: string,
296
+ overrides?: CallOverrides
297
+ ): Promise<IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput>;
298
+
299
+ deployERC4626NotRedeemableMarket(
300
+ constructorParams: BytesLike,
301
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
302
+ tokenToSeedLiqudity: string,
303
+ amountToSeed: BigNumberish,
304
+ syOwner: string,
305
+ overrides?: CallOverrides
306
+ ): Promise<IPPoolDeployHelperV2.PoolDeploymentAddrsStructOutput>;
307
+ };
308
+
309
+ filters: {
310
+ "MarketDeployment(tuple,tuple)"(
311
+ addrs?: null,
312
+ params?: null
313
+ ): MarketDeploymentEventFilter;
314
+ MarketDeployment(addrs?: null, params?: null): MarketDeploymentEventFilter;
315
+ };
316
+
317
+ estimateGas: {
318
+ deploy5115MarketAndSeedLiquidity(
319
+ SY: string,
320
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
321
+ tokenToSeedLiqudity: string,
322
+ amountToSeed: BigNumberish,
323
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
324
+ ): Promise<BigNumber>;
325
+
326
+ deployERC20Market(
327
+ constructorParams: BytesLike,
328
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
329
+ tokenToSeedLiqudity: string,
330
+ amountToSeed: BigNumberish,
331
+ syOwner: string,
332
+ overrides?: Overrides & { from?: string | Promise<string> }
333
+ ): Promise<BigNumber>;
334
+
335
+ deployERC4626Market(
336
+ constructorParams: BytesLike,
337
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
338
+ tokenToSeedLiqudity: string,
339
+ amountToSeed: BigNumberish,
340
+ syOwner: string,
341
+ overrides?: Overrides & { from?: string | Promise<string> }
342
+ ): Promise<BigNumber>;
343
+
344
+ deployERC4626NotRedeemableMarket(
345
+ constructorParams: BytesLike,
346
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
347
+ tokenToSeedLiqudity: string,
348
+ amountToSeed: BigNumberish,
349
+ syOwner: string,
350
+ overrides?: Overrides & { from?: string | Promise<string> }
351
+ ): Promise<BigNumber>;
352
+ };
353
+
354
+ populateTransaction: {
355
+ deploy5115MarketAndSeedLiquidity(
356
+ SY: string,
357
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
358
+ tokenToSeedLiqudity: string,
359
+ amountToSeed: BigNumberish,
360
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
361
+ ): Promise<PopulatedTransaction>;
362
+
363
+ deployERC20Market(
364
+ constructorParams: BytesLike,
365
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
366
+ tokenToSeedLiqudity: string,
367
+ amountToSeed: BigNumberish,
368
+ syOwner: string,
369
+ overrides?: Overrides & { from?: string | Promise<string> }
370
+ ): Promise<PopulatedTransaction>;
371
+
372
+ deployERC4626Market(
373
+ constructorParams: BytesLike,
374
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
375
+ tokenToSeedLiqudity: string,
376
+ amountToSeed: BigNumberish,
377
+ syOwner: string,
378
+ overrides?: Overrides & { from?: string | Promise<string> }
379
+ ): Promise<PopulatedTransaction>;
380
+
381
+ deployERC4626NotRedeemableMarket(
382
+ constructorParams: BytesLike,
383
+ config: IPPoolDeployHelperV2.PoolConfigStruct,
384
+ tokenToSeedLiqudity: string,
385
+ amountToSeed: BigNumberish,
386
+ syOwner: string,
387
+ overrides?: Overrides & { from?: string | Promise<string> }
388
+ ): Promise<PopulatedTransaction>;
389
+ };
390
+ }
@@ -0,0 +1,445 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPCommonPoolDeployHelperV2,
9
+ IPCommonPoolDeployHelperV2Interface,
10
+ } from "../IPCommonPoolDeployHelperV2";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ components: [
18
+ {
19
+ internalType: "address",
20
+ name: "SY",
21
+ type: "address",
22
+ },
23
+ {
24
+ internalType: "address",
25
+ name: "PT",
26
+ type: "address",
27
+ },
28
+ {
29
+ internalType: "address",
30
+ name: "YT",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "market",
36
+ type: "address",
37
+ },
38
+ ],
39
+ indexed: false,
40
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
41
+ name: "addrs",
42
+ type: "tuple",
43
+ },
44
+ {
45
+ components: [
46
+ {
47
+ internalType: "uint32",
48
+ name: "expiry",
49
+ type: "uint32",
50
+ },
51
+ {
52
+ internalType: "uint80",
53
+ name: "lnFeeRateRoot",
54
+ type: "uint80",
55
+ },
56
+ {
57
+ internalType: "int256",
58
+ name: "scalarRoot",
59
+ type: "int256",
60
+ },
61
+ {
62
+ internalType: "int256",
63
+ name: "initialRateAnchor",
64
+ type: "int256",
65
+ },
66
+ {
67
+ internalType: "bool",
68
+ name: "doCacheIndexSameBlock",
69
+ type: "bool",
70
+ },
71
+ ],
72
+ indexed: false,
73
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentParams",
74
+ name: "params",
75
+ type: "tuple",
76
+ },
77
+ ],
78
+ name: "MarketDeployment",
79
+ type: "event",
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: "address",
85
+ name: "SY",
86
+ type: "address",
87
+ },
88
+ {
89
+ components: [
90
+ {
91
+ internalType: "uint32",
92
+ name: "expiry",
93
+ type: "uint32",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "rateMin",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ internalType: "uint256",
102
+ name: "rateMax",
103
+ type: "uint256",
104
+ },
105
+ {
106
+ internalType: "uint256",
107
+ name: "desiredImpliedRate",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "fee",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ internalType: "struct IPPoolDeployHelperV2.PoolConfig",
117
+ name: "config",
118
+ type: "tuple",
119
+ },
120
+ {
121
+ internalType: "address",
122
+ name: "tokenToSeedLiqudity",
123
+ type: "address",
124
+ },
125
+ {
126
+ internalType: "uint256",
127
+ name: "amountToSeed",
128
+ type: "uint256",
129
+ },
130
+ ],
131
+ name: "deploy5115MarketAndSeedLiquidity",
132
+ outputs: [
133
+ {
134
+ components: [
135
+ {
136
+ internalType: "address",
137
+ name: "SY",
138
+ type: "address",
139
+ },
140
+ {
141
+ internalType: "address",
142
+ name: "PT",
143
+ type: "address",
144
+ },
145
+ {
146
+ internalType: "address",
147
+ name: "YT",
148
+ type: "address",
149
+ },
150
+ {
151
+ internalType: "address",
152
+ name: "market",
153
+ type: "address",
154
+ },
155
+ ],
156
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
157
+ name: "",
158
+ type: "tuple",
159
+ },
160
+ ],
161
+ stateMutability: "payable",
162
+ type: "function",
163
+ },
164
+ {
165
+ inputs: [
166
+ {
167
+ internalType: "bytes",
168
+ name: "constructorParams",
169
+ type: "bytes",
170
+ },
171
+ {
172
+ components: [
173
+ {
174
+ internalType: "uint32",
175
+ name: "expiry",
176
+ type: "uint32",
177
+ },
178
+ {
179
+ internalType: "uint256",
180
+ name: "rateMin",
181
+ type: "uint256",
182
+ },
183
+ {
184
+ internalType: "uint256",
185
+ name: "rateMax",
186
+ type: "uint256",
187
+ },
188
+ {
189
+ internalType: "uint256",
190
+ name: "desiredImpliedRate",
191
+ type: "uint256",
192
+ },
193
+ {
194
+ internalType: "uint256",
195
+ name: "fee",
196
+ type: "uint256",
197
+ },
198
+ ],
199
+ internalType: "struct IPPoolDeployHelperV2.PoolConfig",
200
+ name: "config",
201
+ type: "tuple",
202
+ },
203
+ {
204
+ internalType: "address",
205
+ name: "tokenToSeedLiqudity",
206
+ type: "address",
207
+ },
208
+ {
209
+ internalType: "uint256",
210
+ name: "amountToSeed",
211
+ type: "uint256",
212
+ },
213
+ {
214
+ internalType: "address",
215
+ name: "syOwner",
216
+ type: "address",
217
+ },
218
+ ],
219
+ name: "deployERC20Market",
220
+ outputs: [
221
+ {
222
+ components: [
223
+ {
224
+ internalType: "address",
225
+ name: "SY",
226
+ type: "address",
227
+ },
228
+ {
229
+ internalType: "address",
230
+ name: "PT",
231
+ type: "address",
232
+ },
233
+ {
234
+ internalType: "address",
235
+ name: "YT",
236
+ type: "address",
237
+ },
238
+ {
239
+ internalType: "address",
240
+ name: "market",
241
+ type: "address",
242
+ },
243
+ ],
244
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
245
+ name: "",
246
+ type: "tuple",
247
+ },
248
+ ],
249
+ stateMutability: "nonpayable",
250
+ type: "function",
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: "bytes",
256
+ name: "constructorParams",
257
+ type: "bytes",
258
+ },
259
+ {
260
+ components: [
261
+ {
262
+ internalType: "uint32",
263
+ name: "expiry",
264
+ type: "uint32",
265
+ },
266
+ {
267
+ internalType: "uint256",
268
+ name: "rateMin",
269
+ type: "uint256",
270
+ },
271
+ {
272
+ internalType: "uint256",
273
+ name: "rateMax",
274
+ type: "uint256",
275
+ },
276
+ {
277
+ internalType: "uint256",
278
+ name: "desiredImpliedRate",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ internalType: "uint256",
283
+ name: "fee",
284
+ type: "uint256",
285
+ },
286
+ ],
287
+ internalType: "struct IPPoolDeployHelperV2.PoolConfig",
288
+ name: "config",
289
+ type: "tuple",
290
+ },
291
+ {
292
+ internalType: "address",
293
+ name: "tokenToSeedLiqudity",
294
+ type: "address",
295
+ },
296
+ {
297
+ internalType: "uint256",
298
+ name: "amountToSeed",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ internalType: "address",
303
+ name: "syOwner",
304
+ type: "address",
305
+ },
306
+ ],
307
+ name: "deployERC4626Market",
308
+ outputs: [
309
+ {
310
+ components: [
311
+ {
312
+ internalType: "address",
313
+ name: "SY",
314
+ type: "address",
315
+ },
316
+ {
317
+ internalType: "address",
318
+ name: "PT",
319
+ type: "address",
320
+ },
321
+ {
322
+ internalType: "address",
323
+ name: "YT",
324
+ type: "address",
325
+ },
326
+ {
327
+ internalType: "address",
328
+ name: "market",
329
+ type: "address",
330
+ },
331
+ ],
332
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
333
+ name: "",
334
+ type: "tuple",
335
+ },
336
+ ],
337
+ stateMutability: "nonpayable",
338
+ type: "function",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "bytes",
344
+ name: "constructorParams",
345
+ type: "bytes",
346
+ },
347
+ {
348
+ components: [
349
+ {
350
+ internalType: "uint32",
351
+ name: "expiry",
352
+ type: "uint32",
353
+ },
354
+ {
355
+ internalType: "uint256",
356
+ name: "rateMin",
357
+ type: "uint256",
358
+ },
359
+ {
360
+ internalType: "uint256",
361
+ name: "rateMax",
362
+ type: "uint256",
363
+ },
364
+ {
365
+ internalType: "uint256",
366
+ name: "desiredImpliedRate",
367
+ type: "uint256",
368
+ },
369
+ {
370
+ internalType: "uint256",
371
+ name: "fee",
372
+ type: "uint256",
373
+ },
374
+ ],
375
+ internalType: "struct IPPoolDeployHelperV2.PoolConfig",
376
+ name: "config",
377
+ type: "tuple",
378
+ },
379
+ {
380
+ internalType: "address",
381
+ name: "tokenToSeedLiqudity",
382
+ type: "address",
383
+ },
384
+ {
385
+ internalType: "uint256",
386
+ name: "amountToSeed",
387
+ type: "uint256",
388
+ },
389
+ {
390
+ internalType: "address",
391
+ name: "syOwner",
392
+ type: "address",
393
+ },
394
+ ],
395
+ name: "deployERC4626NotRedeemableMarket",
396
+ outputs: [
397
+ {
398
+ components: [
399
+ {
400
+ internalType: "address",
401
+ name: "SY",
402
+ type: "address",
403
+ },
404
+ {
405
+ internalType: "address",
406
+ name: "PT",
407
+ type: "address",
408
+ },
409
+ {
410
+ internalType: "address",
411
+ name: "YT",
412
+ type: "address",
413
+ },
414
+ {
415
+ internalType: "address",
416
+ name: "market",
417
+ type: "address",
418
+ },
419
+ ],
420
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
421
+ name: "",
422
+ type: "tuple",
423
+ },
424
+ ],
425
+ stateMutability: "nonpayable",
426
+ type: "function",
427
+ },
428
+ ];
429
+
430
+ export class IPCommonPoolDeployHelperV2__factory {
431
+ static readonly abi = _abi;
432
+ static createInterface(): IPCommonPoolDeployHelperV2Interface {
433
+ return new utils.Interface(_abi) as IPCommonPoolDeployHelperV2Interface;
434
+ }
435
+ static connect(
436
+ address: string,
437
+ signerOrProvider: Signer | Provider
438
+ ): IPCommonPoolDeployHelperV2 {
439
+ return new Contract(
440
+ address,
441
+ _abi,
442
+ signerOrProvider
443
+ ) as IPCommonPoolDeployHelperV2;
444
+ }
445
+ }
@@ -300,6 +300,10 @@ declare module "hardhat/types/runtime" {
300
300
  name: "IPChainlinkOracleWithQuote",
301
301
  signerOrOptions?: ethers.Signer | FactoryOptions
302
302
  ): Promise<Contracts.IPChainlinkOracleWithQuote__factory>;
303
+ getContractFactory(
304
+ name: "IPCommonPoolDeployHelperV2",
305
+ signerOrOptions?: ethers.Signer | FactoryOptions
306
+ ): Promise<Contracts.IPCommonPoolDeployHelperV2__factory>;
303
307
  getContractFactory(
304
308
  name: "IPCommonSYFactory",
305
309
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -1153,6 +1157,11 @@ declare module "hardhat/types/runtime" {
1153
1157
  address: string,
1154
1158
  signer?: ethers.Signer
1155
1159
  ): Promise<Contracts.IPChainlinkOracleWithQuote>;
1160
+ getContractAt(
1161
+ name: "IPCommonPoolDeployHelperV2",
1162
+ address: string,
1163
+ signer?: ethers.Signer
1164
+ ): Promise<Contracts.IPCommonPoolDeployHelperV2>;
1156
1165
  getContractAt(
1157
1166
  name: "IPCommonSYFactory",
1158
1167
  address: string,
@@ -73,6 +73,7 @@ export type { IPAllEventsV3 } from "./IPAllEventsV3";
73
73
  export type { IPChainlinkOracle } from "./IPChainlinkOracle";
74
74
  export type { IPChainlinkOracleFactory } from "./IPChainlinkOracleFactory";
75
75
  export type { IPChainlinkOracleWithQuote } from "./IPChainlinkOracleWithQuote";
76
+ export type { IPCommonPoolDeployHelperV2 } from "./IPCommonPoolDeployHelperV2";
76
77
  export type { IPCommonSYFactory } from "./IPCommonSYFactory";
77
78
  export type { IPendleCommonPoolDeployHelperV2 } from "./IPendleCommonPoolDeployHelperV2";
78
79
  export type { IPExchangeRateOracle } from "./IPExchangeRateOracle";
@@ -269,6 +270,7 @@ export { IPAllEventsV3__factory } from "./factories/IPAllEventsV3__factory";
269
270
  export { IPChainlinkOracle__factory } from "./factories/IPChainlinkOracle__factory";
270
271
  export { IPChainlinkOracleFactory__factory } from "./factories/IPChainlinkOracleFactory__factory";
271
272
  export { IPChainlinkOracleWithQuote__factory } from "./factories/IPChainlinkOracleWithQuote__factory";
273
+ export { IPCommonPoolDeployHelperV2__factory } from "./factories/IPCommonPoolDeployHelperV2__factory";
272
274
  export { IPCommonSYFactory__factory } from "./factories/IPCommonSYFactory__factory";
273
275
  export { IPendleCommonPoolDeployHelperV2__factory } from "./factories/IPendleCommonPoolDeployHelperV2__factory";
274
276
  export { IPExchangeRateOracle__factory } from "./factories/IPExchangeRateOracle__factory";
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6617d382e5ae37096b284b86207f33fd.json"
4
- }