@pendle/core-v2 1.3.0-testnet → 1.4.0-testnet

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