@pendle/core-v2 2.3.2-mainnet → 2.4.0-mainnet

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 (56) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  3. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  9. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  10. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  11. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  12. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  13. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  14. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  15. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  16. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  17. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  18. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  19. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  20. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  21. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  22. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  23. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  24. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  25. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  26. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +1 -1
  27. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +1 -1
  28. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +1 -1
  29. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  30. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +1 -1
  31. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +1 -1
  32. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  33. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
  34. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +1 -1
  35. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  36. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +1 -1
  37. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +1 -1
  38. package/deployments/1-core.json +1 -1
  39. package/deployments/1-markets/STARGATE-USDT-27JUNE2024-ETHEREUM.json +10 -0
  40. package/deployments/1-markets/STETH-26DEC2024.json +10 -0
  41. package/deployments/42161-core.json +1 -1
  42. package/deployments/42161-markets/STARGATE-USDT-27JUNE2024-ARBITRUM.json +10 -0
  43. package/package.json +1 -1
  44. package/typechain-types/IChainlinkAggregator.ts +246 -0
  45. package/typechain-types/IPLiquidityMigrator.ts +565 -0
  46. package/typechain-types/PendleRouterHelper.ts +647 -0
  47. package/typechain-types/PtFraxUsdcOracle.ts +176 -0
  48. package/typechain-types/PtStETHOracle.ts +163 -0
  49. package/typechain-types/factories/IChainlinkAggregator__factory.ts +170 -0
  50. package/typechain-types/factories/IPLiquidityMigrator__factory.ts +677 -0
  51. package/typechain-types/factories/PendleRouterHelper__factory.ts +841 -0
  52. package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
  53. package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +226 -0
  54. package/typechain-types/factories/PtStETHOracle__factory.ts +201 -0
  55. package/typechain-types/hardhat.d.ts +18 -0
  56. package/typechain-types/index.ts +4 -0
@@ -0,0 +1,677 @@
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
+ IPLiquidityMigrator,
9
+ IPLiquidityMigratorInterface,
10
+ } from "../IPLiquidityMigrator";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "fromMarket",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "toMarket",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "user",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "uint256",
37
+ name: "netLpToRemove",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "netLpOut",
44
+ type: "uint256",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "uint256",
49
+ name: "netYtOut",
50
+ type: "uint256",
51
+ },
52
+ ],
53
+ name: "MigrateDifferentSyKeepYt",
54
+ type: "event",
55
+ },
56
+ {
57
+ anonymous: false,
58
+ inputs: [
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "fromMarket",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: true,
67
+ internalType: "address",
68
+ name: "toMarket",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: true,
73
+ internalType: "address",
74
+ name: "user",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "uint256",
80
+ name: "netLpToRemove",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: "uint256",
86
+ name: "netLpOut",
87
+ type: "uint256",
88
+ },
89
+ ],
90
+ name: "MigrateDifferentSyNormal",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "fromMarket",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: true,
104
+ internalType: "address",
105
+ name: "toMarket",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: true,
110
+ internalType: "address",
111
+ name: "user",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "uint256",
117
+ name: "netLpToRemove",
118
+ type: "uint256",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint256",
123
+ name: "netLpOut",
124
+ type: "uint256",
125
+ },
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "netYtOut",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "MigrateSameSyKeepYt",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "fromMarket",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: "address",
148
+ name: "toMarket",
149
+ type: "address",
150
+ },
151
+ {
152
+ indexed: true,
153
+ internalType: "address",
154
+ name: "user",
155
+ type: "address",
156
+ },
157
+ {
158
+ indexed: false,
159
+ internalType: "uint256",
160
+ name: "netLpToRemove",
161
+ type: "uint256",
162
+ },
163
+ {
164
+ indexed: false,
165
+ internalType: "uint256",
166
+ name: "netLpOut",
167
+ type: "uint256",
168
+ },
169
+ ],
170
+ name: "MigrateSameSyNormal",
171
+ type: "event",
172
+ },
173
+ {
174
+ inputs: [
175
+ {
176
+ components: [
177
+ {
178
+ internalType: "address",
179
+ name: "market",
180
+ type: "address",
181
+ },
182
+ {
183
+ internalType: "uint256",
184
+ name: "netLpToRemove",
185
+ type: "uint256",
186
+ },
187
+ {
188
+ internalType: "bool",
189
+ name: "doRedeemRewards",
190
+ type: "bool",
191
+ },
192
+ {
193
+ components: [
194
+ {
195
+ internalType: "address",
196
+ name: "tokenOut",
197
+ type: "address",
198
+ },
199
+ {
200
+ internalType: "uint256",
201
+ name: "minTokenOut",
202
+ type: "uint256",
203
+ },
204
+ {
205
+ internalType: "address",
206
+ name: "tokenRedeemSy",
207
+ type: "address",
208
+ },
209
+ {
210
+ internalType: "address",
211
+ name: "bulk",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "address",
216
+ name: "pendleSwap",
217
+ type: "address",
218
+ },
219
+ {
220
+ components: [
221
+ {
222
+ internalType: "enum SwapType",
223
+ name: "swapType",
224
+ type: "uint8",
225
+ },
226
+ {
227
+ internalType: "address",
228
+ name: "extRouter",
229
+ type: "address",
230
+ },
231
+ {
232
+ internalType: "bytes",
233
+ name: "extCalldata",
234
+ type: "bytes",
235
+ },
236
+ {
237
+ internalType: "bool",
238
+ name: "needScale",
239
+ type: "bool",
240
+ },
241
+ ],
242
+ internalType: "struct SwapData",
243
+ name: "swapData",
244
+ type: "tuple",
245
+ },
246
+ ],
247
+ internalType: "struct TokenOutput",
248
+ name: "output",
249
+ type: "tuple",
250
+ },
251
+ ],
252
+ internalType:
253
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
254
+ name: "fromMarket",
255
+ type: "tuple",
256
+ },
257
+ {
258
+ components: [
259
+ {
260
+ internalType: "address",
261
+ name: "market",
262
+ type: "address",
263
+ },
264
+ {
265
+ internalType: "uint256",
266
+ name: "minLpOut",
267
+ type: "uint256",
268
+ },
269
+ {
270
+ internalType: "uint256",
271
+ name: "minYtOut",
272
+ type: "uint256",
273
+ },
274
+ {
275
+ internalType: "address",
276
+ name: "bulk",
277
+ type: "address",
278
+ },
279
+ ],
280
+ internalType:
281
+ "struct IPLiquidityMigrator.AddLiquiditySingleTokenKeepYtStruct",
282
+ name: "toMarket",
283
+ type: "tuple",
284
+ },
285
+ ],
286
+ name: "migrateDifferentSyKeepYt",
287
+ outputs: [
288
+ {
289
+ internalType: "uint256",
290
+ name: "netLpOut",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ internalType: "uint256",
295
+ name: "netYtOut",
296
+ type: "uint256",
297
+ },
298
+ {
299
+ internalType: "uint256",
300
+ name: "netTokenZapIn",
301
+ type: "uint256",
302
+ },
303
+ {
304
+ internalType: "uint256",
305
+ name: "netSyFeeOfRemove",
306
+ type: "uint256",
307
+ },
308
+ ],
309
+ stateMutability: "nonpayable",
310
+ type: "function",
311
+ },
312
+ {
313
+ inputs: [
314
+ {
315
+ components: [
316
+ {
317
+ internalType: "address",
318
+ name: "market",
319
+ type: "address",
320
+ },
321
+ {
322
+ internalType: "uint256",
323
+ name: "netLpToRemove",
324
+ type: "uint256",
325
+ },
326
+ {
327
+ internalType: "bool",
328
+ name: "doRedeemRewards",
329
+ type: "bool",
330
+ },
331
+ {
332
+ components: [
333
+ {
334
+ internalType: "address",
335
+ name: "tokenOut",
336
+ type: "address",
337
+ },
338
+ {
339
+ internalType: "uint256",
340
+ name: "minTokenOut",
341
+ type: "uint256",
342
+ },
343
+ {
344
+ internalType: "address",
345
+ name: "tokenRedeemSy",
346
+ type: "address",
347
+ },
348
+ {
349
+ internalType: "address",
350
+ name: "bulk",
351
+ type: "address",
352
+ },
353
+ {
354
+ internalType: "address",
355
+ name: "pendleSwap",
356
+ type: "address",
357
+ },
358
+ {
359
+ components: [
360
+ {
361
+ internalType: "enum SwapType",
362
+ name: "swapType",
363
+ type: "uint8",
364
+ },
365
+ {
366
+ internalType: "address",
367
+ name: "extRouter",
368
+ type: "address",
369
+ },
370
+ {
371
+ internalType: "bytes",
372
+ name: "extCalldata",
373
+ type: "bytes",
374
+ },
375
+ {
376
+ internalType: "bool",
377
+ name: "needScale",
378
+ type: "bool",
379
+ },
380
+ ],
381
+ internalType: "struct SwapData",
382
+ name: "swapData",
383
+ type: "tuple",
384
+ },
385
+ ],
386
+ internalType: "struct TokenOutput",
387
+ name: "output",
388
+ type: "tuple",
389
+ },
390
+ ],
391
+ internalType:
392
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
393
+ name: "fromMarket",
394
+ type: "tuple",
395
+ },
396
+ {
397
+ components: [
398
+ {
399
+ internalType: "address",
400
+ name: "market",
401
+ type: "address",
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "minLpOut",
406
+ type: "uint256",
407
+ },
408
+ {
409
+ internalType: "uint256",
410
+ name: "guessNetTokenIn",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ components: [
415
+ {
416
+ internalType: "uint256",
417
+ name: "guessMin",
418
+ type: "uint256",
419
+ },
420
+ {
421
+ internalType: "uint256",
422
+ name: "guessMax",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ internalType: "uint256",
427
+ name: "guessOffchain",
428
+ type: "uint256",
429
+ },
430
+ {
431
+ internalType: "uint256",
432
+ name: "maxIteration",
433
+ type: "uint256",
434
+ },
435
+ {
436
+ internalType: "uint256",
437
+ name: "eps",
438
+ type: "uint256",
439
+ },
440
+ ],
441
+ internalType: "struct ApproxParams",
442
+ name: "guessPtReceivedFromSy",
443
+ type: "tuple",
444
+ },
445
+ {
446
+ internalType: "address",
447
+ name: "bulk",
448
+ type: "address",
449
+ },
450
+ ],
451
+ internalType:
452
+ "struct IPLiquidityMigrator.AddLiquiditySingleTokenStruct",
453
+ name: "toMarket",
454
+ type: "tuple",
455
+ },
456
+ ],
457
+ name: "migrateDifferentSyNormal",
458
+ outputs: [
459
+ {
460
+ internalType: "uint256",
461
+ name: "netLpOut",
462
+ type: "uint256",
463
+ },
464
+ {
465
+ internalType: "uint256",
466
+ name: "netTokenZapIn",
467
+ type: "uint256",
468
+ },
469
+ {
470
+ internalType: "uint256",
471
+ name: "netSyFeeOfRemove",
472
+ type: "uint256",
473
+ },
474
+ {
475
+ internalType: "uint256",
476
+ name: "netSyFeeOfAdd",
477
+ type: "uint256",
478
+ },
479
+ ],
480
+ stateMutability: "nonpayable",
481
+ type: "function",
482
+ },
483
+ {
484
+ inputs: [
485
+ {
486
+ components: [
487
+ {
488
+ internalType: "address",
489
+ name: "market",
490
+ type: "address",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "netLpToRemove",
495
+ type: "uint256",
496
+ },
497
+ {
498
+ internalType: "bool",
499
+ name: "doRedeemRewards",
500
+ type: "bool",
501
+ },
502
+ ],
503
+ internalType:
504
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
505
+ name: "fromMarket",
506
+ type: "tuple",
507
+ },
508
+ {
509
+ components: [
510
+ {
511
+ internalType: "address",
512
+ name: "market",
513
+ type: "address",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "minLpOut",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "minYtOut",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ internalType:
527
+ "struct IPLiquidityMigrator.AddLiquiditySingleSyKeepYtStruct",
528
+ name: "toMarket",
529
+ type: "tuple",
530
+ },
531
+ ],
532
+ name: "migrateSameSyKeepYt",
533
+ outputs: [
534
+ {
535
+ internalType: "uint256",
536
+ name: "netLpOut",
537
+ type: "uint256",
538
+ },
539
+ {
540
+ internalType: "uint256",
541
+ name: "netYtOut",
542
+ type: "uint256",
543
+ },
544
+ {
545
+ internalType: "uint256",
546
+ name: "netSyMigrated",
547
+ type: "uint256",
548
+ },
549
+ {
550
+ internalType: "uint256",
551
+ name: "netSyFeeOfRemove",
552
+ type: "uint256",
553
+ },
554
+ ],
555
+ stateMutability: "nonpayable",
556
+ type: "function",
557
+ },
558
+ {
559
+ inputs: [
560
+ {
561
+ components: [
562
+ {
563
+ internalType: "address",
564
+ name: "market",
565
+ type: "address",
566
+ },
567
+ {
568
+ internalType: "uint256",
569
+ name: "netLpToRemove",
570
+ type: "uint256",
571
+ },
572
+ {
573
+ internalType: "bool",
574
+ name: "doRedeemRewards",
575
+ type: "bool",
576
+ },
577
+ ],
578
+ internalType:
579
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
580
+ name: "fromMarket",
581
+ type: "tuple",
582
+ },
583
+ {
584
+ components: [
585
+ {
586
+ internalType: "address",
587
+ name: "market",
588
+ type: "address",
589
+ },
590
+ {
591
+ internalType: "uint256",
592
+ name: "minLpOut",
593
+ type: "uint256",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "guessNetSyIn",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ components: [
602
+ {
603
+ internalType: "uint256",
604
+ name: "guessMin",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ internalType: "uint256",
609
+ name: "guessMax",
610
+ type: "uint256",
611
+ },
612
+ {
613
+ internalType: "uint256",
614
+ name: "guessOffchain",
615
+ type: "uint256",
616
+ },
617
+ {
618
+ internalType: "uint256",
619
+ name: "maxIteration",
620
+ type: "uint256",
621
+ },
622
+ {
623
+ internalType: "uint256",
624
+ name: "eps",
625
+ type: "uint256",
626
+ },
627
+ ],
628
+ internalType: "struct ApproxParams",
629
+ name: "guessPtReceivedFromSy",
630
+ type: "tuple",
631
+ },
632
+ ],
633
+ internalType: "struct IPLiquidityMigrator.AddLiquiditySingleSyStruct",
634
+ name: "toMarket",
635
+ type: "tuple",
636
+ },
637
+ ],
638
+ name: "migrateSameSyNormal",
639
+ outputs: [
640
+ {
641
+ internalType: "uint256",
642
+ name: "netLpOut",
643
+ type: "uint256",
644
+ },
645
+ {
646
+ internalType: "uint256",
647
+ name: "netSyMigrated",
648
+ type: "uint256",
649
+ },
650
+ {
651
+ internalType: "uint256",
652
+ name: "netSyFeeOfRemove",
653
+ type: "uint256",
654
+ },
655
+ {
656
+ internalType: "uint256",
657
+ name: "netSyFeeOfAdd",
658
+ type: "uint256",
659
+ },
660
+ ],
661
+ stateMutability: "nonpayable",
662
+ type: "function",
663
+ },
664
+ ];
665
+
666
+ export class IPLiquidityMigrator__factory {
667
+ static readonly abi = _abi;
668
+ static createInterface(): IPLiquidityMigratorInterface {
669
+ return new utils.Interface(_abi) as IPLiquidityMigratorInterface;
670
+ }
671
+ static connect(
672
+ address: string,
673
+ signerOrProvider: Signer | Provider
674
+ ): IPLiquidityMigrator {
675
+ return new Contract(address, _abi, signerOrProvider) as IPLiquidityMigrator;
676
+ }
677
+ }