@pendle/core-v2 5.7.0 → 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.
Files changed (23) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  7. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/{IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json → IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.json} +2 -2
  9. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +8 -0
  10. package/contracts/interfaces/{IPendleCommonPoolDeployHelperV2.sol → IPCommonPoolDeployHelperV2.sol} +1 -1
  11. package/deployments/1-core.json +11 -7
  12. package/deployments/146-core.json +1 -1
  13. package/deployments/56-core.json +8 -5
  14. package/package.json +1 -1
  15. package/typechain-types/IPCommonPoolDeployHelperV2.ts +390 -0
  16. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +558 -0
  17. package/typechain-types/PendleMsgSendEndpointUpg.ts +650 -0
  18. package/typechain-types/factories/IPCommonPoolDeployHelperV2__factory.ts +445 -0
  19. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +452 -0
  20. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +459 -0
  21. package/typechain-types/hardhat.d.ts +9 -0
  22. package/typechain-types/index.ts +2 -0
  23. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +0 -4
@@ -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
+ }