@pendle/core-v2 0.8.0-beta-10 → 0.8.0-beta-12

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 (139) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  9. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  33. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  35. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +486 -2
  37. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +2 -2
  39. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  44. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  45. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  49. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  51. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +484 -0
  56. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +484 -0
  59. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +5 -0
  70. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  83. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  84. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  85. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  86. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  87. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  88. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  89. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  90. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  91. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  92. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  93. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  94. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  95. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  96. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  97. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  98. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  100. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  101. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  102. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +161 -2
  104. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  105. package/contracts/core/PendleRouter.sol +8 -0
  106. package/contracts/core/YieldContracts/PendleYieldToken.sol +13 -5
  107. package/contracts/core/actions/ActionCore.sol +80 -0
  108. package/contracts/core/actions/base/ActionSCYAndPYBase.sol +36 -0
  109. package/contracts/interfaces/IPActionCore.sol +78 -0
  110. package/contracts/interfaces/IPRouterStatic.sol +2 -1
  111. package/contracts/offchain-helpers/RouterStatic.sol +47 -1
  112. package/deployments/43113-core.json +1 -1
  113. package/deployments/80001-core.json +1 -1
  114. package/package.json +1 -1
  115. package/typechain-types/ActionCore.ts +489 -0
  116. package/typechain-types/IPActionCore.ts +489 -0
  117. package/typechain-types/IPAllAction.ts +489 -0
  118. package/typechain-types/IPRouterStatic.ts +6 -3
  119. package/typechain-types/IStargateLPStaking.ts +143 -0
  120. package/typechain-types/IStargatePool.ts +129 -0
  121. package/typechain-types/IStargateRouter.ts +159 -0
  122. package/typechain-types/PendleStargatePool.ts +1089 -0
  123. package/typechain-types/RouterStatic.ts +250 -3
  124. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  125. package/typechain-types/factories/ActionCore__factory.ts +485 -1
  126. package/typechain-types/factories/ActionYT__factory.ts +1 -1
  127. package/typechain-types/factories/IPActionCore__factory.ts +484 -0
  128. package/typechain-types/factories/IPAllAction__factory.ts +484 -0
  129. package/typechain-types/factories/IPRouterStatic__factory.ts +5 -0
  130. package/typechain-types/factories/IStargateLPStaking__factory.ts +62 -0
  131. package/typechain-types/factories/IStargatePool__factory.ts +68 -0
  132. package/typechain-types/factories/IStargateRouter__factory.ts +78 -0
  133. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  134. package/typechain-types/factories/PendleStargatePool__factory.ts +929 -0
  135. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  136. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  137. package/typechain-types/factories/RouterStatic__factory.ts +160 -1
  138. package/typechain-types/hardhat.d.ts +36 -0
  139. package/typechain-types/index.ts +8 -0
@@ -89,6 +89,43 @@
89
89
  "name": "MintPyFromRawToken",
90
90
  "type": "event"
91
91
  },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "caller",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "receiver",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "YT",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "uint256",
116
+ "name": "netScyIn",
117
+ "type": "uint256"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "netPyOut",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "MintPyFromScy",
127
+ "type": "event"
128
+ },
92
129
  {
93
130
  "anonymous": false,
94
131
  "inputs": [
@@ -175,6 +212,43 @@
175
212
  "name": "RedeemPyToRawToken",
176
213
  "type": "event"
177
214
  },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": true,
220
+ "internalType": "address",
221
+ "name": "caller",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "indexed": true,
226
+ "internalType": "address",
227
+ "name": "receiver",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": true,
232
+ "internalType": "address",
233
+ "name": "YT",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "uint256",
239
+ "name": "netPyIn",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "netScyOut",
246
+ "type": "uint256"
247
+ }
248
+ ],
249
+ "name": "RedeemPyToScy",
250
+ "type": "event"
251
+ },
178
252
  {
179
253
  "anonymous": false,
180
254
  "inputs": [
@@ -390,6 +464,209 @@
390
464
  "stateMutability": "nonpayable",
391
465
  "type": "function"
392
466
  },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "address",
471
+ "name": "receiver",
472
+ "type": "address"
473
+ },
474
+ {
475
+ "internalType": "address",
476
+ "name": "market",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "internalType": "uint256",
481
+ "name": "netPtIn",
482
+ "type": "uint256"
483
+ },
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "minLpOut",
487
+ "type": "uint256"
488
+ },
489
+ {
490
+ "components": [
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "guessMin",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "guessMax",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "guessOffchain",
504
+ "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "maxIteration",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "eps",
514
+ "type": "uint256"
515
+ }
516
+ ],
517
+ "internalType": "struct ApproxParams",
518
+ "name": "guessPtSwapToScy",
519
+ "type": "tuple"
520
+ }
521
+ ],
522
+ "name": "addLiquiditySinglePt",
523
+ "outputs": [
524
+ {
525
+ "internalType": "uint256",
526
+ "name": "netLpOut",
527
+ "type": "uint256"
528
+ }
529
+ ],
530
+ "stateMutability": "nonpayable",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "address",
537
+ "name": "receiver",
538
+ "type": "address"
539
+ },
540
+ {
541
+ "internalType": "address",
542
+ "name": "market",
543
+ "type": "address"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "netRawTokenIn",
548
+ "type": "uint256"
549
+ },
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "minLpOut",
553
+ "type": "uint256"
554
+ },
555
+ {
556
+ "internalType": "address[]",
557
+ "name": "path",
558
+ "type": "address[]"
559
+ },
560
+ {
561
+ "components": [
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "guessMin",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "guessMax",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "internalType": "uint256",
574
+ "name": "guessOffchain",
575
+ "type": "uint256"
576
+ },
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "maxIteration",
580
+ "type": "uint256"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "eps",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "internalType": "struct ApproxParams",
589
+ "name": "guessPtReceivedFromScy",
590
+ "type": "tuple"
591
+ }
592
+ ],
593
+ "name": "addLiquiditySingleRawToken",
594
+ "outputs": [
595
+ {
596
+ "internalType": "uint256",
597
+ "name": "netLpOut",
598
+ "type": "uint256"
599
+ }
600
+ ],
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "receiver",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "address",
613
+ "name": "market",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "netScyIn",
619
+ "type": "uint256"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "minLpOut",
624
+ "type": "uint256"
625
+ },
626
+ {
627
+ "components": [
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "guessMin",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "guessMax",
636
+ "type": "uint256"
637
+ },
638
+ {
639
+ "internalType": "uint256",
640
+ "name": "guessOffchain",
641
+ "type": "uint256"
642
+ },
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "maxIteration",
646
+ "type": "uint256"
647
+ },
648
+ {
649
+ "internalType": "uint256",
650
+ "name": "eps",
651
+ "type": "uint256"
652
+ }
653
+ ],
654
+ "internalType": "struct ApproxParams",
655
+ "name": "guessPtReceivedFromScy",
656
+ "type": "tuple"
657
+ }
658
+ ],
659
+ "name": "addLiquiditySingleScy",
660
+ "outputs": [
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "netLpOut",
664
+ "type": "uint256"
665
+ }
666
+ ],
667
+ "stateMutability": "nonpayable",
668
+ "type": "function"
669
+ },
393
670
  {
394
671
  "inputs": [
395
672
  {
@@ -429,6 +706,40 @@
429
706
  "stateMutability": "nonpayable",
430
707
  "type": "function"
431
708
  },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "address",
713
+ "name": "receiver",
714
+ "type": "address"
715
+ },
716
+ {
717
+ "internalType": "address",
718
+ "name": "YT",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "netScyIn",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "internalType": "uint256",
728
+ "name": "minPyOut",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "name": "mintPyFromScy",
733
+ "outputs": [
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "netPyOut",
737
+ "type": "uint256"
738
+ }
739
+ ],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
432
743
  {
433
744
  "inputs": [
434
745
  {
@@ -556,6 +867,40 @@
556
867
  "stateMutability": "nonpayable",
557
868
  "type": "function"
558
869
  },
870
+ {
871
+ "inputs": [
872
+ {
873
+ "internalType": "address",
874
+ "name": "receiver",
875
+ "type": "address"
876
+ },
877
+ {
878
+ "internalType": "address",
879
+ "name": "YT",
880
+ "type": "address"
881
+ },
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "netPyIn",
885
+ "type": "uint256"
886
+ },
887
+ {
888
+ "internalType": "uint256",
889
+ "name": "minScyOut",
890
+ "type": "uint256"
891
+ }
892
+ ],
893
+ "name": "redeemPyToScy",
894
+ "outputs": [
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "netScyOut",
898
+ "type": "uint256"
899
+ }
900
+ ],
901
+ "stateMutability": "nonpayable",
902
+ "type": "function"
903
+ },
559
904
  {
560
905
  "inputs": [
561
906
  {
@@ -639,6 +984,145 @@
639
984
  "stateMutability": "nonpayable",
640
985
  "type": "function"
641
986
  },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "address",
991
+ "name": "receiver",
992
+ "type": "address"
993
+ },
994
+ {
995
+ "internalType": "address",
996
+ "name": "market",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "lpToRemove",
1002
+ "type": "uint256"
1003
+ },
1004
+ {
1005
+ "internalType": "uint256",
1006
+ "name": "minPtOut",
1007
+ "type": "uint256"
1008
+ },
1009
+ {
1010
+ "components": [
1011
+ {
1012
+ "internalType": "uint256",
1013
+ "name": "guessMin",
1014
+ "type": "uint256"
1015
+ },
1016
+ {
1017
+ "internalType": "uint256",
1018
+ "name": "guessMax",
1019
+ "type": "uint256"
1020
+ },
1021
+ {
1022
+ "internalType": "uint256",
1023
+ "name": "guessOffchain",
1024
+ "type": "uint256"
1025
+ },
1026
+ {
1027
+ "internalType": "uint256",
1028
+ "name": "maxIteration",
1029
+ "type": "uint256"
1030
+ },
1031
+ {
1032
+ "internalType": "uint256",
1033
+ "name": "eps",
1034
+ "type": "uint256"
1035
+ }
1036
+ ],
1037
+ "internalType": "struct ApproxParams",
1038
+ "name": "guessPtOut",
1039
+ "type": "tuple"
1040
+ }
1041
+ ],
1042
+ "name": "removeLiquiditySinglePt",
1043
+ "outputs": [
1044
+ {
1045
+ "internalType": "uint256",
1046
+ "name": "netPtOut",
1047
+ "type": "uint256"
1048
+ }
1049
+ ],
1050
+ "stateMutability": "nonpayable",
1051
+ "type": "function"
1052
+ },
1053
+ {
1054
+ "inputs": [
1055
+ {
1056
+ "internalType": "address",
1057
+ "name": "receiver",
1058
+ "type": "address"
1059
+ },
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "market",
1063
+ "type": "address"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "lpToRemove",
1068
+ "type": "uint256"
1069
+ },
1070
+ {
1071
+ "internalType": "uint256",
1072
+ "name": "minRawTokenOut",
1073
+ "type": "uint256"
1074
+ },
1075
+ {
1076
+ "internalType": "address[]",
1077
+ "name": "path",
1078
+ "type": "address[]"
1079
+ }
1080
+ ],
1081
+ "name": "removeLiquiditySingleRawToken",
1082
+ "outputs": [
1083
+ {
1084
+ "internalType": "uint256",
1085
+ "name": "netRawTokenOut",
1086
+ "type": "uint256"
1087
+ }
1088
+ ],
1089
+ "stateMutability": "nonpayable",
1090
+ "type": "function"
1091
+ },
1092
+ {
1093
+ "inputs": [
1094
+ {
1095
+ "internalType": "address",
1096
+ "name": "receiver",
1097
+ "type": "address"
1098
+ },
1099
+ {
1100
+ "internalType": "address",
1101
+ "name": "market",
1102
+ "type": "address"
1103
+ },
1104
+ {
1105
+ "internalType": "uint256",
1106
+ "name": "lpToRemove",
1107
+ "type": "uint256"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "minScyOut",
1112
+ "type": "uint256"
1113
+ }
1114
+ ],
1115
+ "name": "removeLiquiditySingleScy",
1116
+ "outputs": [
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "netScyOut",
1120
+ "type": "uint256"
1121
+ }
1122
+ ],
1123
+ "stateMutability": "nonpayable",
1124
+ "type": "function"
1125
+ },
642
1126
  {
643
1127
  "inputs": [
644
1128
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }