@pendle/core-v2 4.5.1-beta-2 → 4.5.1-oracle-beta

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 (116) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
  7. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +32 -1154
  9. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +60 -1182
  11. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
  12. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
  13. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +4 -0
  14. package/build/artifacts/contracts/interfaces/{IPPtLpOracle.sol/IPPtLpOracle.json → IPPYLpOracle.sol/IPPYLpOracle.json} +50 -2
  15. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
  16. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
  17. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
  18. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
  19. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
  20. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
  21. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  23. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  25. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  27. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
  28. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.json +422 -0
  29. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
  30. package/build/artifacts/contracts/oracles/{PendlePtOracleLib.sol/PendlePtOracleLib.json → PendlePYOracleLib.sol/PendlePYOracleLib.json} +4 -4
  31. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  32. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
  33. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
  34. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +183 -0
  35. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
  36. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +183 -0
  37. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  38. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  39. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +34 -1156
  41. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  42. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  43. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  44. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  45. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  46. package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
  47. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +56 -0
  48. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
  49. package/contracts/interfaces/IPActionMiscV3.sol +0 -92
  50. package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
  51. package/contracts/interfaces/{IPPtLpOracle.sol → IPPYLpOracle.sol} +5 -1
  52. package/contracts/interfaces/IPPausingInterface.sol +8 -0
  53. package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
  54. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
  55. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
  56. package/contracts/oracles/PendleLpOracleLib.sol +4 -4
  57. package/contracts/oracles/{PendlePtLpOracle.sol → PendlePYLpOracle.sol} +44 -16
  58. package/contracts/oracles/{PendlePtOracleLib.sol → PendlePYOracleLib.sol} +31 -1
  59. package/contracts/oracles/samples/BoringLpGlpOracle.sol +2 -2
  60. package/contracts/oracles/samples/{BoringPtUsdChainlinkOracle.sol → BoringPYUsdChainlinkAssetOracle.sol} +36 -12
  61. package/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol +102 -0
  62. package/contracts/router/ActionMiscV3.sol +36 -150
  63. package/contracts/router/ActionSwapYTV3.sol +85 -0
  64. package/contracts/router/base/ActionBase.sol +1 -106
  65. package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
  66. package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
  67. package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
  68. package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
  69. package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
  70. package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
  71. package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
  72. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
  73. package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
  74. package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
  75. package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
  76. package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
  77. package/package.json +1 -1
  78. package/typechain-types/ActionMiscV3.ts +16 -573
  79. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  80. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  81. package/typechain-types/IPActionMiscV3.ts +16 -573
  82. package/typechain-types/IPAllActionV3.ts +0 -480
  83. package/typechain-types/IPGovernanceProxy.ts +142 -0
  84. package/typechain-types/IPPYLpOracle.ts +379 -0
  85. package/typechain-types/IPPausingInterface.ts +112 -0
  86. package/typechain-types/PendleGovernanceProxy.ts +603 -0
  87. package/typechain-types/PendlePYLpOracle.ts +612 -0
  88. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  89. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  90. package/typechain-types/factories/ActionMiscV3__factory.ts +33 -1155
  91. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  92. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  93. package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
  94. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  95. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  96. package/typechain-types/factories/IPActionMiscV3__factory.ts +32 -1154
  97. package/typechain-types/factories/IPAllActionV3__factory.ts +60 -1182
  98. package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
  99. package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
  100. package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
  101. package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
  102. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
  103. package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
  104. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  105. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
  106. package/typechain-types/hardhat.d.ts +90 -0
  107. package/typechain-types/index.ts +20 -0
  108. package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +0 -4
  109. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +0 -4
  110. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +0 -367
  111. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +0 -4
  112. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +0 -4
  113. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +0 -157
  114. /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
  115. /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
  116. /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
@@ -346,56 +346,29 @@
346
346
  {
347
347
  "indexed": true,
348
348
  "internalType": "address",
349
- "name": "market",
349
+ "name": "receiver",
350
350
  "type": "address"
351
351
  },
352
352
  {
353
353
  "indexed": true,
354
354
  "internalType": "address",
355
- "name": "receiver",
355
+ "name": "YT",
356
356
  "type": "address"
357
357
  },
358
358
  {
359
359
  "indexed": false,
360
360
  "internalType": "uint256",
361
- "name": "netLpIn",
361
+ "name": "netSyIn",
362
362
  "type": "uint256"
363
363
  },
364
364
  {
365
- "components": [
366
- {
367
- "internalType": "uint256",
368
- "name": "netPtFromRemove",
369
- "type": "uint256"
370
- },
371
- {
372
- "internalType": "uint256",
373
- "name": "netSyFromRemove",
374
- "type": "uint256"
375
- },
376
- {
377
- "internalType": "uint256",
378
- "name": "netPtRedeem",
379
- "type": "uint256"
380
- },
381
- {
382
- "internalType": "uint256",
383
- "name": "netSyFromRedeem",
384
- "type": "uint256"
385
- },
386
- {
387
- "internalType": "uint256",
388
- "name": "totalSyOut",
389
- "type": "uint256"
390
- }
391
- ],
392
365
  "indexed": false,
393
- "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
394
- "name": "params",
395
- "type": "tuple"
366
+ "internalType": "uint256",
367
+ "name": "netPyOut",
368
+ "type": "uint256"
396
369
  }
397
370
  ],
398
- "name": "ExitPostExpToSy",
371
+ "name": "MintPyFromSy",
399
372
  "type": "event"
400
373
  },
401
374
  {
@@ -410,13 +383,13 @@
410
383
  {
411
384
  "indexed": true,
412
385
  "internalType": "address",
413
- "name": "market",
386
+ "name": "tokenIn",
414
387
  "type": "address"
415
388
  },
416
389
  {
417
390
  "indexed": true,
418
391
  "internalType": "address",
419
- "name": "token",
392
+ "name": "YT",
420
393
  "type": "address"
421
394
  },
422
395
  {
@@ -428,50 +401,23 @@
428
401
  {
429
402
  "indexed": false,
430
403
  "internalType": "uint256",
431
- "name": "netLpIn",
404
+ "name": "netTokenIn",
432
405
  "type": "uint256"
433
406
  },
434
407
  {
435
408
  "indexed": false,
436
409
  "internalType": "uint256",
437
- "name": "totalTokenOut",
410
+ "name": "netPyOut",
438
411
  "type": "uint256"
439
412
  },
440
413
  {
441
- "components": [
442
- {
443
- "internalType": "uint256",
444
- "name": "netPtFromRemove",
445
- "type": "uint256"
446
- },
447
- {
448
- "internalType": "uint256",
449
- "name": "netSyFromRemove",
450
- "type": "uint256"
451
- },
452
- {
453
- "internalType": "uint256",
454
- "name": "netPtRedeem",
455
- "type": "uint256"
456
- },
457
- {
458
- "internalType": "uint256",
459
- "name": "netSyFromRedeem",
460
- "type": "uint256"
461
- },
462
- {
463
- "internalType": "uint256",
464
- "name": "totalSyOut",
465
- "type": "uint256"
466
- }
467
- ],
468
414
  "indexed": false,
469
- "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
470
- "name": "params",
471
- "type": "tuple"
415
+ "internalType": "uint256",
416
+ "name": "netSyInterm",
417
+ "type": "uint256"
472
418
  }
473
419
  ],
474
- "name": "ExitPostExpToToken",
420
+ "name": "MintPyFromToken",
475
421
  "type": "event"
476
422
  },
477
423
  {
@@ -486,76 +432,35 @@
486
432
  {
487
433
  "indexed": true,
488
434
  "internalType": "address",
489
- "name": "market",
435
+ "name": "tokenIn",
490
436
  "type": "address"
491
437
  },
492
438
  {
493
439
  "indexed": true,
494
440
  "internalType": "address",
441
+ "name": "SY",
442
+ "type": "address"
443
+ },
444
+ {
445
+ "indexed": false,
446
+ "internalType": "address",
495
447
  "name": "receiver",
496
448
  "type": "address"
497
449
  },
498
450
  {
499
451
  "indexed": false,
500
452
  "internalType": "uint256",
501
- "name": "netLpToRemove",
453
+ "name": "netTokenIn",
502
454
  "type": "uint256"
503
455
  },
504
456
  {
505
- "components": [
506
- {
507
- "internalType": "uint256",
508
- "name": "netPtFromRemove",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "netSyFromRemove",
514
- "type": "uint256"
515
- },
516
- {
517
- "internalType": "uint256",
518
- "name": "netPyRedeem",
519
- "type": "uint256"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "netSyFromRedeem",
524
- "type": "uint256"
525
- },
526
- {
527
- "internalType": "uint256",
528
- "name": "netPtSwap",
529
- "type": "uint256"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "netYtSwap",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "netSyFromSwap",
539
- "type": "uint256"
540
- },
541
- {
542
- "internalType": "uint256",
543
- "name": "netSyFee",
544
- "type": "uint256"
545
- },
546
- {
547
- "internalType": "uint256",
548
- "name": "totalSyOut",
549
- "type": "uint256"
550
- }
551
- ],
552
457
  "indexed": false,
553
- "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
554
- "name": "params",
555
- "type": "tuple"
458
+ "internalType": "uint256",
459
+ "name": "netSyOut",
460
+ "type": "uint256"
556
461
  }
557
462
  ],
558
- "name": "ExitPreExpToSy",
463
+ "name": "MintSyFromToken",
559
464
  "type": "event"
560
465
  },
561
466
  {
@@ -564,94 +469,17 @@
564
469
  {
565
470
  "indexed": true,
566
471
  "internalType": "address",
567
- "name": "caller",
568
- "type": "address"
569
- },
570
- {
571
- "indexed": true,
572
- "internalType": "address",
573
- "name": "market",
472
+ "name": "previousOwner",
574
473
  "type": "address"
575
474
  },
576
475
  {
577
476
  "indexed": true,
578
477
  "internalType": "address",
579
- "name": "token",
580
- "type": "address"
581
- },
582
- {
583
- "indexed": false,
584
- "internalType": "address",
585
- "name": "receiver",
478
+ "name": "newOwner",
586
479
  "type": "address"
587
- },
588
- {
589
- "indexed": false,
590
- "internalType": "uint256",
591
- "name": "netLpToRemove",
592
- "type": "uint256"
593
- },
594
- {
595
- "indexed": false,
596
- "internalType": "uint256",
597
- "name": "totalTokenOut",
598
- "type": "uint256"
599
- },
600
- {
601
- "components": [
602
- {
603
- "internalType": "uint256",
604
- "name": "netPtFromRemove",
605
- "type": "uint256"
606
- },
607
- {
608
- "internalType": "uint256",
609
- "name": "netSyFromRemove",
610
- "type": "uint256"
611
- },
612
- {
613
- "internalType": "uint256",
614
- "name": "netPyRedeem",
615
- "type": "uint256"
616
- },
617
- {
618
- "internalType": "uint256",
619
- "name": "netSyFromRedeem",
620
- "type": "uint256"
621
- },
622
- {
623
- "internalType": "uint256",
624
- "name": "netPtSwap",
625
- "type": "uint256"
626
- },
627
- {
628
- "internalType": "uint256",
629
- "name": "netYtSwap",
630
- "type": "uint256"
631
- },
632
- {
633
- "internalType": "uint256",
634
- "name": "netSyFromSwap",
635
- "type": "uint256"
636
- },
637
- {
638
- "internalType": "uint256",
639
- "name": "netSyFee",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "totalSyOut",
645
- "type": "uint256"
646
- }
647
- ],
648
- "indexed": false,
649
- "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
650
- "name": "params",
651
- "type": "tuple"
652
480
  }
653
481
  ],
654
- "name": "ExitPreExpToToken",
482
+ "name": "OwnershipTransferred",
655
483
  "type": "event"
656
484
  },
657
485
  {
@@ -678,17 +506,17 @@
678
506
  {
679
507
  "indexed": false,
680
508
  "internalType": "uint256",
681
- "name": "netSyIn",
509
+ "name": "netPyIn",
682
510
  "type": "uint256"
683
511
  },
684
512
  {
685
513
  "indexed": false,
686
514
  "internalType": "uint256",
687
- "name": "netPyOut",
515
+ "name": "netSyOut",
688
516
  "type": "uint256"
689
517
  }
690
518
  ],
691
- "name": "MintPyFromSy",
519
+ "name": "RedeemPyToSy",
692
520
  "type": "event"
693
521
  },
694
522
  {
@@ -703,7 +531,7 @@
703
531
  {
704
532
  "indexed": true,
705
533
  "internalType": "address",
706
- "name": "tokenIn",
534
+ "name": "tokenOut",
707
535
  "type": "address"
708
536
  },
709
537
  {
@@ -721,13 +549,13 @@
721
549
  {
722
550
  "indexed": false,
723
551
  "internalType": "uint256",
724
- "name": "netTokenIn",
552
+ "name": "netPyIn",
725
553
  "type": "uint256"
726
554
  },
727
555
  {
728
556
  "indexed": false,
729
557
  "internalType": "uint256",
730
- "name": "netPyOut",
558
+ "name": "netTokenOut",
731
559
  "type": "uint256"
732
560
  },
733
561
  {
@@ -737,7 +565,7 @@
737
565
  "type": "uint256"
738
566
  }
739
567
  ],
740
- "name": "MintPyFromToken",
568
+ "name": "RedeemPyToToken",
741
569
  "type": "event"
742
570
  },
743
571
  {
@@ -752,7 +580,7 @@
752
580
  {
753
581
  "indexed": true,
754
582
  "internalType": "address",
755
- "name": "tokenIn",
583
+ "name": "tokenOut",
756
584
  "type": "address"
757
585
  },
758
586
  {
@@ -770,17 +598,17 @@
770
598
  {
771
599
  "indexed": false,
772
600
  "internalType": "uint256",
773
- "name": "netTokenIn",
601
+ "name": "netSyIn",
774
602
  "type": "uint256"
775
603
  },
776
604
  {
777
605
  "indexed": false,
778
606
  "internalType": "uint256",
779
- "name": "netSyOut",
607
+ "name": "netTokenOut",
780
608
  "type": "uint256"
781
609
  }
782
610
  ],
783
- "name": "MintSyFromToken",
611
+ "name": "RedeemSyToToken",
784
612
  "type": "event"
785
613
  },
786
614
  {
@@ -789,26 +617,13 @@
789
617
  {
790
618
  "indexed": true,
791
619
  "internalType": "address",
792
- "name": "previousOwner",
620
+ "name": "caller",
793
621
  "type": "address"
794
622
  },
795
623
  {
796
624
  "indexed": true,
797
625
  "internalType": "address",
798
- "name": "newOwner",
799
- "type": "address"
800
- }
801
- ],
802
- "name": "OwnershipTransferred",
803
- "type": "event"
804
- },
805
- {
806
- "anonymous": false,
807
- "inputs": [
808
- {
809
- "indexed": true,
810
- "internalType": "address",
811
- "name": "caller",
626
+ "name": "market",
812
627
  "type": "address"
813
628
  },
814
629
  {
@@ -818,15 +633,15 @@
818
633
  "type": "address"
819
634
  },
820
635
  {
821
- "indexed": true,
822
- "internalType": "address",
823
- "name": "YT",
824
- "type": "address"
636
+ "indexed": false,
637
+ "internalType": "uint256",
638
+ "name": "netLpToRemove",
639
+ "type": "uint256"
825
640
  },
826
641
  {
827
642
  "indexed": false,
828
643
  "internalType": "uint256",
829
- "name": "netPyIn",
644
+ "name": "netPtOut",
830
645
  "type": "uint256"
831
646
  },
832
647
  {
@@ -836,7 +651,7 @@
836
651
  "type": "uint256"
837
652
  }
838
653
  ],
839
- "name": "RedeemPyToSy",
654
+ "name": "RemoveLiquidityDualSyAndPt",
840
655
  "type": "event"
841
656
  },
842
657
  {
@@ -851,13 +666,13 @@
851
666
  {
852
667
  "indexed": true,
853
668
  "internalType": "address",
854
- "name": "tokenOut",
669
+ "name": "market",
855
670
  "type": "address"
856
671
  },
857
672
  {
858
673
  "indexed": true,
859
674
  "internalType": "address",
860
- "name": "YT",
675
+ "name": "tokenOut",
861
676
  "type": "address"
862
677
  },
863
678
  {
@@ -869,7 +684,13 @@
869
684
  {
870
685
  "indexed": false,
871
686
  "internalType": "uint256",
872
- "name": "netPyIn",
687
+ "name": "netLpToRemove",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "indexed": false,
692
+ "internalType": "uint256",
693
+ "name": "netPtOut",
873
694
  "type": "uint256"
874
695
  },
875
696
  {
@@ -885,7 +706,7 @@
885
706
  "type": "uint256"
886
707
  }
887
708
  ],
888
- "name": "RedeemPyToToken",
709
+ "name": "RemoveLiquidityDualTokenAndPt",
889
710
  "type": "event"
890
711
  },
891
712
  {
@@ -900,148 +721,7 @@
900
721
  {
901
722
  "indexed": true,
902
723
  "internalType": "address",
903
- "name": "tokenOut",
904
- "type": "address"
905
- },
906
- {
907
- "indexed": true,
908
- "internalType": "address",
909
- "name": "SY",
910
- "type": "address"
911
- },
912
- {
913
- "indexed": false,
914
- "internalType": "address",
915
- "name": "receiver",
916
- "type": "address"
917
- },
918
- {
919
- "indexed": false,
920
- "internalType": "uint256",
921
- "name": "netSyIn",
922
- "type": "uint256"
923
- },
924
- {
925
- "indexed": false,
926
- "internalType": "uint256",
927
- "name": "netTokenOut",
928
- "type": "uint256"
929
- }
930
- ],
931
- "name": "RedeemSyToToken",
932
- "type": "event"
933
- },
934
- {
935
- "anonymous": false,
936
- "inputs": [
937
- {
938
- "indexed": true,
939
- "internalType": "address",
940
- "name": "caller",
941
- "type": "address"
942
- },
943
- {
944
- "indexed": true,
945
- "internalType": "address",
946
- "name": "market",
947
- "type": "address"
948
- },
949
- {
950
- "indexed": true,
951
- "internalType": "address",
952
- "name": "receiver",
953
- "type": "address"
954
- },
955
- {
956
- "indexed": false,
957
- "internalType": "uint256",
958
- "name": "netLpToRemove",
959
- "type": "uint256"
960
- },
961
- {
962
- "indexed": false,
963
- "internalType": "uint256",
964
- "name": "netPtOut",
965
- "type": "uint256"
966
- },
967
- {
968
- "indexed": false,
969
- "internalType": "uint256",
970
- "name": "netSyOut",
971
- "type": "uint256"
972
- }
973
- ],
974
- "name": "RemoveLiquidityDualSyAndPt",
975
- "type": "event"
976
- },
977
- {
978
- "anonymous": false,
979
- "inputs": [
980
- {
981
- "indexed": true,
982
- "internalType": "address",
983
- "name": "caller",
984
- "type": "address"
985
- },
986
- {
987
- "indexed": true,
988
- "internalType": "address",
989
- "name": "market",
990
- "type": "address"
991
- },
992
- {
993
- "indexed": true,
994
- "internalType": "address",
995
- "name": "tokenOut",
996
- "type": "address"
997
- },
998
- {
999
- "indexed": false,
1000
- "internalType": "address",
1001
- "name": "receiver",
1002
- "type": "address"
1003
- },
1004
- {
1005
- "indexed": false,
1006
- "internalType": "uint256",
1007
- "name": "netLpToRemove",
1008
- "type": "uint256"
1009
- },
1010
- {
1011
- "indexed": false,
1012
- "internalType": "uint256",
1013
- "name": "netPtOut",
1014
- "type": "uint256"
1015
- },
1016
- {
1017
- "indexed": false,
1018
- "internalType": "uint256",
1019
- "name": "netTokenOut",
1020
- "type": "uint256"
1021
- },
1022
- {
1023
- "indexed": false,
1024
- "internalType": "uint256",
1025
- "name": "netSyInterm",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "name": "RemoveLiquidityDualTokenAndPt",
1030
- "type": "event"
1031
- },
1032
- {
1033
- "anonymous": false,
1034
- "inputs": [
1035
- {
1036
- "indexed": true,
1037
- "internalType": "address",
1038
- "name": "caller",
1039
- "type": "address"
1040
- },
1041
- {
1042
- "indexed": true,
1043
- "internalType": "address",
1044
- "name": "market",
724
+ "name": "market",
1045
725
  "type": "address"
1046
726
  },
1047
727
  {
@@ -2536,808 +2216,6 @@
2536
2216
  "stateMutability": "nonpayable",
2537
2217
  "type": "function"
2538
2218
  },
2539
- {
2540
- "inputs": [
2541
- {
2542
- "internalType": "address",
2543
- "name": "receiver",
2544
- "type": "address"
2545
- },
2546
- {
2547
- "internalType": "address",
2548
- "name": "market",
2549
- "type": "address"
2550
- },
2551
- {
2552
- "internalType": "uint256",
2553
- "name": "netPtIn",
2554
- "type": "uint256"
2555
- },
2556
- {
2557
- "internalType": "uint256",
2558
- "name": "netLpIn",
2559
- "type": "uint256"
2560
- },
2561
- {
2562
- "internalType": "uint256",
2563
- "name": "minSyOut",
2564
- "type": "uint256"
2565
- }
2566
- ],
2567
- "name": "exitPostExpToSy",
2568
- "outputs": [
2569
- {
2570
- "components": [
2571
- {
2572
- "internalType": "uint256",
2573
- "name": "netPtFromRemove",
2574
- "type": "uint256"
2575
- },
2576
- {
2577
- "internalType": "uint256",
2578
- "name": "netSyFromRemove",
2579
- "type": "uint256"
2580
- },
2581
- {
2582
- "internalType": "uint256",
2583
- "name": "netPtRedeem",
2584
- "type": "uint256"
2585
- },
2586
- {
2587
- "internalType": "uint256",
2588
- "name": "netSyFromRedeem",
2589
- "type": "uint256"
2590
- },
2591
- {
2592
- "internalType": "uint256",
2593
- "name": "totalSyOut",
2594
- "type": "uint256"
2595
- }
2596
- ],
2597
- "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
2598
- "name": "params",
2599
- "type": "tuple"
2600
- }
2601
- ],
2602
- "stateMutability": "nonpayable",
2603
- "type": "function"
2604
- },
2605
- {
2606
- "inputs": [
2607
- {
2608
- "internalType": "address",
2609
- "name": "receiver",
2610
- "type": "address"
2611
- },
2612
- {
2613
- "internalType": "address",
2614
- "name": "market",
2615
- "type": "address"
2616
- },
2617
- {
2618
- "internalType": "uint256",
2619
- "name": "netPtIn",
2620
- "type": "uint256"
2621
- },
2622
- {
2623
- "internalType": "uint256",
2624
- "name": "netLpIn",
2625
- "type": "uint256"
2626
- },
2627
- {
2628
- "components": [
2629
- {
2630
- "internalType": "address",
2631
- "name": "tokenOut",
2632
- "type": "address"
2633
- },
2634
- {
2635
- "internalType": "uint256",
2636
- "name": "minTokenOut",
2637
- "type": "uint256"
2638
- },
2639
- {
2640
- "internalType": "address",
2641
- "name": "tokenRedeemSy",
2642
- "type": "address"
2643
- },
2644
- {
2645
- "internalType": "address",
2646
- "name": "pendleSwap",
2647
- "type": "address"
2648
- },
2649
- {
2650
- "components": [
2651
- {
2652
- "internalType": "enum SwapType",
2653
- "name": "swapType",
2654
- "type": "uint8"
2655
- },
2656
- {
2657
- "internalType": "address",
2658
- "name": "extRouter",
2659
- "type": "address"
2660
- },
2661
- {
2662
- "internalType": "bytes",
2663
- "name": "extCalldata",
2664
- "type": "bytes"
2665
- },
2666
- {
2667
- "internalType": "bool",
2668
- "name": "needScale",
2669
- "type": "bool"
2670
- }
2671
- ],
2672
- "internalType": "struct SwapData",
2673
- "name": "swapData",
2674
- "type": "tuple"
2675
- }
2676
- ],
2677
- "internalType": "struct TokenOutput",
2678
- "name": "output",
2679
- "type": "tuple"
2680
- }
2681
- ],
2682
- "name": "exitPostExpToToken",
2683
- "outputs": [
2684
- {
2685
- "internalType": "uint256",
2686
- "name": "netTokenOut",
2687
- "type": "uint256"
2688
- },
2689
- {
2690
- "components": [
2691
- {
2692
- "internalType": "uint256",
2693
- "name": "netPtFromRemove",
2694
- "type": "uint256"
2695
- },
2696
- {
2697
- "internalType": "uint256",
2698
- "name": "netSyFromRemove",
2699
- "type": "uint256"
2700
- },
2701
- {
2702
- "internalType": "uint256",
2703
- "name": "netPtRedeem",
2704
- "type": "uint256"
2705
- },
2706
- {
2707
- "internalType": "uint256",
2708
- "name": "netSyFromRedeem",
2709
- "type": "uint256"
2710
- },
2711
- {
2712
- "internalType": "uint256",
2713
- "name": "totalSyOut",
2714
- "type": "uint256"
2715
- }
2716
- ],
2717
- "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
2718
- "name": "params",
2719
- "type": "tuple"
2720
- }
2721
- ],
2722
- "stateMutability": "nonpayable",
2723
- "type": "function"
2724
- },
2725
- {
2726
- "inputs": [
2727
- {
2728
- "internalType": "address",
2729
- "name": "receiver",
2730
- "type": "address"
2731
- },
2732
- {
2733
- "internalType": "address",
2734
- "name": "market",
2735
- "type": "address"
2736
- },
2737
- {
2738
- "internalType": "uint256",
2739
- "name": "netPtIn",
2740
- "type": "uint256"
2741
- },
2742
- {
2743
- "internalType": "uint256",
2744
- "name": "netYtIn",
2745
- "type": "uint256"
2746
- },
2747
- {
2748
- "internalType": "uint256",
2749
- "name": "netLpIn",
2750
- "type": "uint256"
2751
- },
2752
- {
2753
- "internalType": "uint256",
2754
- "name": "minSyOut",
2755
- "type": "uint256"
2756
- },
2757
- {
2758
- "components": [
2759
- {
2760
- "internalType": "address",
2761
- "name": "limitRouter",
2762
- "type": "address"
2763
- },
2764
- {
2765
- "internalType": "uint256",
2766
- "name": "epsSkipMarket",
2767
- "type": "uint256"
2768
- },
2769
- {
2770
- "components": [
2771
- {
2772
- "components": [
2773
- {
2774
- "internalType": "uint256",
2775
- "name": "salt",
2776
- "type": "uint256"
2777
- },
2778
- {
2779
- "internalType": "uint256",
2780
- "name": "expiry",
2781
- "type": "uint256"
2782
- },
2783
- {
2784
- "internalType": "uint256",
2785
- "name": "nonce",
2786
- "type": "uint256"
2787
- },
2788
- {
2789
- "internalType": "enum IPLimitOrderType.OrderType",
2790
- "name": "orderType",
2791
- "type": "uint8"
2792
- },
2793
- {
2794
- "internalType": "address",
2795
- "name": "token",
2796
- "type": "address"
2797
- },
2798
- {
2799
- "internalType": "address",
2800
- "name": "YT",
2801
- "type": "address"
2802
- },
2803
- {
2804
- "internalType": "address",
2805
- "name": "maker",
2806
- "type": "address"
2807
- },
2808
- {
2809
- "internalType": "address",
2810
- "name": "receiver",
2811
- "type": "address"
2812
- },
2813
- {
2814
- "internalType": "uint256",
2815
- "name": "makingAmount",
2816
- "type": "uint256"
2817
- },
2818
- {
2819
- "internalType": "uint256",
2820
- "name": "lnImpliedRate",
2821
- "type": "uint256"
2822
- },
2823
- {
2824
- "internalType": "uint256",
2825
- "name": "failSafeRate",
2826
- "type": "uint256"
2827
- },
2828
- {
2829
- "internalType": "bytes",
2830
- "name": "permit",
2831
- "type": "bytes"
2832
- }
2833
- ],
2834
- "internalType": "struct Order",
2835
- "name": "order",
2836
- "type": "tuple"
2837
- },
2838
- {
2839
- "internalType": "bytes",
2840
- "name": "signature",
2841
- "type": "bytes"
2842
- },
2843
- {
2844
- "internalType": "uint256",
2845
- "name": "makingAmount",
2846
- "type": "uint256"
2847
- }
2848
- ],
2849
- "internalType": "struct FillOrderParams[]",
2850
- "name": "normalFills",
2851
- "type": "tuple[]"
2852
- },
2853
- {
2854
- "components": [
2855
- {
2856
- "components": [
2857
- {
2858
- "internalType": "uint256",
2859
- "name": "salt",
2860
- "type": "uint256"
2861
- },
2862
- {
2863
- "internalType": "uint256",
2864
- "name": "expiry",
2865
- "type": "uint256"
2866
- },
2867
- {
2868
- "internalType": "uint256",
2869
- "name": "nonce",
2870
- "type": "uint256"
2871
- },
2872
- {
2873
- "internalType": "enum IPLimitOrderType.OrderType",
2874
- "name": "orderType",
2875
- "type": "uint8"
2876
- },
2877
- {
2878
- "internalType": "address",
2879
- "name": "token",
2880
- "type": "address"
2881
- },
2882
- {
2883
- "internalType": "address",
2884
- "name": "YT",
2885
- "type": "address"
2886
- },
2887
- {
2888
- "internalType": "address",
2889
- "name": "maker",
2890
- "type": "address"
2891
- },
2892
- {
2893
- "internalType": "address",
2894
- "name": "receiver",
2895
- "type": "address"
2896
- },
2897
- {
2898
- "internalType": "uint256",
2899
- "name": "makingAmount",
2900
- "type": "uint256"
2901
- },
2902
- {
2903
- "internalType": "uint256",
2904
- "name": "lnImpliedRate",
2905
- "type": "uint256"
2906
- },
2907
- {
2908
- "internalType": "uint256",
2909
- "name": "failSafeRate",
2910
- "type": "uint256"
2911
- },
2912
- {
2913
- "internalType": "bytes",
2914
- "name": "permit",
2915
- "type": "bytes"
2916
- }
2917
- ],
2918
- "internalType": "struct Order",
2919
- "name": "order",
2920
- "type": "tuple"
2921
- },
2922
- {
2923
- "internalType": "bytes",
2924
- "name": "signature",
2925
- "type": "bytes"
2926
- },
2927
- {
2928
- "internalType": "uint256",
2929
- "name": "makingAmount",
2930
- "type": "uint256"
2931
- }
2932
- ],
2933
- "internalType": "struct FillOrderParams[]",
2934
- "name": "flashFills",
2935
- "type": "tuple[]"
2936
- },
2937
- {
2938
- "internalType": "bytes",
2939
- "name": "optData",
2940
- "type": "bytes"
2941
- }
2942
- ],
2943
- "internalType": "struct LimitOrderData",
2944
- "name": "limit",
2945
- "type": "tuple"
2946
- }
2947
- ],
2948
- "name": "exitPreExpToSy",
2949
- "outputs": [
2950
- {
2951
- "components": [
2952
- {
2953
- "internalType": "uint256",
2954
- "name": "netPtFromRemove",
2955
- "type": "uint256"
2956
- },
2957
- {
2958
- "internalType": "uint256",
2959
- "name": "netSyFromRemove",
2960
- "type": "uint256"
2961
- },
2962
- {
2963
- "internalType": "uint256",
2964
- "name": "netPyRedeem",
2965
- "type": "uint256"
2966
- },
2967
- {
2968
- "internalType": "uint256",
2969
- "name": "netSyFromRedeem",
2970
- "type": "uint256"
2971
- },
2972
- {
2973
- "internalType": "uint256",
2974
- "name": "netPtSwap",
2975
- "type": "uint256"
2976
- },
2977
- {
2978
- "internalType": "uint256",
2979
- "name": "netYtSwap",
2980
- "type": "uint256"
2981
- },
2982
- {
2983
- "internalType": "uint256",
2984
- "name": "netSyFromSwap",
2985
- "type": "uint256"
2986
- },
2987
- {
2988
- "internalType": "uint256",
2989
- "name": "netSyFee",
2990
- "type": "uint256"
2991
- },
2992
- {
2993
- "internalType": "uint256",
2994
- "name": "totalSyOut",
2995
- "type": "uint256"
2996
- }
2997
- ],
2998
- "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
2999
- "name": "params",
3000
- "type": "tuple"
3001
- }
3002
- ],
3003
- "stateMutability": "nonpayable",
3004
- "type": "function"
3005
- },
3006
- {
3007
- "inputs": [
3008
- {
3009
- "internalType": "address",
3010
- "name": "receiver",
3011
- "type": "address"
3012
- },
3013
- {
3014
- "internalType": "address",
3015
- "name": "market",
3016
- "type": "address"
3017
- },
3018
- {
3019
- "internalType": "uint256",
3020
- "name": "netPtIn",
3021
- "type": "uint256"
3022
- },
3023
- {
3024
- "internalType": "uint256",
3025
- "name": "netYtIn",
3026
- "type": "uint256"
3027
- },
3028
- {
3029
- "internalType": "uint256",
3030
- "name": "netLpIn",
3031
- "type": "uint256"
3032
- },
3033
- {
3034
- "components": [
3035
- {
3036
- "internalType": "address",
3037
- "name": "tokenOut",
3038
- "type": "address"
3039
- },
3040
- {
3041
- "internalType": "uint256",
3042
- "name": "minTokenOut",
3043
- "type": "uint256"
3044
- },
3045
- {
3046
- "internalType": "address",
3047
- "name": "tokenRedeemSy",
3048
- "type": "address"
3049
- },
3050
- {
3051
- "internalType": "address",
3052
- "name": "pendleSwap",
3053
- "type": "address"
3054
- },
3055
- {
3056
- "components": [
3057
- {
3058
- "internalType": "enum SwapType",
3059
- "name": "swapType",
3060
- "type": "uint8"
3061
- },
3062
- {
3063
- "internalType": "address",
3064
- "name": "extRouter",
3065
- "type": "address"
3066
- },
3067
- {
3068
- "internalType": "bytes",
3069
- "name": "extCalldata",
3070
- "type": "bytes"
3071
- },
3072
- {
3073
- "internalType": "bool",
3074
- "name": "needScale",
3075
- "type": "bool"
3076
- }
3077
- ],
3078
- "internalType": "struct SwapData",
3079
- "name": "swapData",
3080
- "type": "tuple"
3081
- }
3082
- ],
3083
- "internalType": "struct TokenOutput",
3084
- "name": "output",
3085
- "type": "tuple"
3086
- },
3087
- {
3088
- "components": [
3089
- {
3090
- "internalType": "address",
3091
- "name": "limitRouter",
3092
- "type": "address"
3093
- },
3094
- {
3095
- "internalType": "uint256",
3096
- "name": "epsSkipMarket",
3097
- "type": "uint256"
3098
- },
3099
- {
3100
- "components": [
3101
- {
3102
- "components": [
3103
- {
3104
- "internalType": "uint256",
3105
- "name": "salt",
3106
- "type": "uint256"
3107
- },
3108
- {
3109
- "internalType": "uint256",
3110
- "name": "expiry",
3111
- "type": "uint256"
3112
- },
3113
- {
3114
- "internalType": "uint256",
3115
- "name": "nonce",
3116
- "type": "uint256"
3117
- },
3118
- {
3119
- "internalType": "enum IPLimitOrderType.OrderType",
3120
- "name": "orderType",
3121
- "type": "uint8"
3122
- },
3123
- {
3124
- "internalType": "address",
3125
- "name": "token",
3126
- "type": "address"
3127
- },
3128
- {
3129
- "internalType": "address",
3130
- "name": "YT",
3131
- "type": "address"
3132
- },
3133
- {
3134
- "internalType": "address",
3135
- "name": "maker",
3136
- "type": "address"
3137
- },
3138
- {
3139
- "internalType": "address",
3140
- "name": "receiver",
3141
- "type": "address"
3142
- },
3143
- {
3144
- "internalType": "uint256",
3145
- "name": "makingAmount",
3146
- "type": "uint256"
3147
- },
3148
- {
3149
- "internalType": "uint256",
3150
- "name": "lnImpliedRate",
3151
- "type": "uint256"
3152
- },
3153
- {
3154
- "internalType": "uint256",
3155
- "name": "failSafeRate",
3156
- "type": "uint256"
3157
- },
3158
- {
3159
- "internalType": "bytes",
3160
- "name": "permit",
3161
- "type": "bytes"
3162
- }
3163
- ],
3164
- "internalType": "struct Order",
3165
- "name": "order",
3166
- "type": "tuple"
3167
- },
3168
- {
3169
- "internalType": "bytes",
3170
- "name": "signature",
3171
- "type": "bytes"
3172
- },
3173
- {
3174
- "internalType": "uint256",
3175
- "name": "makingAmount",
3176
- "type": "uint256"
3177
- }
3178
- ],
3179
- "internalType": "struct FillOrderParams[]",
3180
- "name": "normalFills",
3181
- "type": "tuple[]"
3182
- },
3183
- {
3184
- "components": [
3185
- {
3186
- "components": [
3187
- {
3188
- "internalType": "uint256",
3189
- "name": "salt",
3190
- "type": "uint256"
3191
- },
3192
- {
3193
- "internalType": "uint256",
3194
- "name": "expiry",
3195
- "type": "uint256"
3196
- },
3197
- {
3198
- "internalType": "uint256",
3199
- "name": "nonce",
3200
- "type": "uint256"
3201
- },
3202
- {
3203
- "internalType": "enum IPLimitOrderType.OrderType",
3204
- "name": "orderType",
3205
- "type": "uint8"
3206
- },
3207
- {
3208
- "internalType": "address",
3209
- "name": "token",
3210
- "type": "address"
3211
- },
3212
- {
3213
- "internalType": "address",
3214
- "name": "YT",
3215
- "type": "address"
3216
- },
3217
- {
3218
- "internalType": "address",
3219
- "name": "maker",
3220
- "type": "address"
3221
- },
3222
- {
3223
- "internalType": "address",
3224
- "name": "receiver",
3225
- "type": "address"
3226
- },
3227
- {
3228
- "internalType": "uint256",
3229
- "name": "makingAmount",
3230
- "type": "uint256"
3231
- },
3232
- {
3233
- "internalType": "uint256",
3234
- "name": "lnImpliedRate",
3235
- "type": "uint256"
3236
- },
3237
- {
3238
- "internalType": "uint256",
3239
- "name": "failSafeRate",
3240
- "type": "uint256"
3241
- },
3242
- {
3243
- "internalType": "bytes",
3244
- "name": "permit",
3245
- "type": "bytes"
3246
- }
3247
- ],
3248
- "internalType": "struct Order",
3249
- "name": "order",
3250
- "type": "tuple"
3251
- },
3252
- {
3253
- "internalType": "bytes",
3254
- "name": "signature",
3255
- "type": "bytes"
3256
- },
3257
- {
3258
- "internalType": "uint256",
3259
- "name": "makingAmount",
3260
- "type": "uint256"
3261
- }
3262
- ],
3263
- "internalType": "struct FillOrderParams[]",
3264
- "name": "flashFills",
3265
- "type": "tuple[]"
3266
- },
3267
- {
3268
- "internalType": "bytes",
3269
- "name": "optData",
3270
- "type": "bytes"
3271
- }
3272
- ],
3273
- "internalType": "struct LimitOrderData",
3274
- "name": "limit",
3275
- "type": "tuple"
3276
- }
3277
- ],
3278
- "name": "exitPreExpToToken",
3279
- "outputs": [
3280
- {
3281
- "internalType": "uint256",
3282
- "name": "netTokenOut",
3283
- "type": "uint256"
3284
- },
3285
- {
3286
- "components": [
3287
- {
3288
- "internalType": "uint256",
3289
- "name": "netPtFromRemove",
3290
- "type": "uint256"
3291
- },
3292
- {
3293
- "internalType": "uint256",
3294
- "name": "netSyFromRemove",
3295
- "type": "uint256"
3296
- },
3297
- {
3298
- "internalType": "uint256",
3299
- "name": "netPyRedeem",
3300
- "type": "uint256"
3301
- },
3302
- {
3303
- "internalType": "uint256",
3304
- "name": "netSyFromRedeem",
3305
- "type": "uint256"
3306
- },
3307
- {
3308
- "internalType": "uint256",
3309
- "name": "netPtSwap",
3310
- "type": "uint256"
3311
- },
3312
- {
3313
- "internalType": "uint256",
3314
- "name": "netYtSwap",
3315
- "type": "uint256"
3316
- },
3317
- {
3318
- "internalType": "uint256",
3319
- "name": "netSyFromSwap",
3320
- "type": "uint256"
3321
- },
3322
- {
3323
- "internalType": "uint256",
3324
- "name": "netSyFee",
3325
- "type": "uint256"
3326
- },
3327
- {
3328
- "internalType": "uint256",
3329
- "name": "totalSyOut",
3330
- "type": "uint256"
3331
- }
3332
- ],
3333
- "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
3334
- "name": "params",
3335
- "type": "tuple"
3336
- }
3337
- ],
3338
- "stateMutability": "nonpayable",
3339
- "type": "function"
3340
- },
3341
2219
  {
3342
2220
  "inputs": [
3343
2221
  {