@pendle/core-v2 1.3.0-mainnet → 1.3.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 (792) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +3 -3
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -0
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -3
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  49. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +1 -41
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +1192 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -41
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +4 -0
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.json +50 -0
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +1163 -0
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +4 -0
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +974 -0
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  101. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  104. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  106. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  108. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +4 -0
  109. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.json +66 -0
  110. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +4 -0
  111. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +476 -0
  112. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +4 -0
  113. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +590 -0
  114. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +4 -0
  115. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +1017 -0
  116. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  118. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  120. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  122. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  124. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  126. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  128. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  129. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  130. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +50 -2
  131. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  132. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  134. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  135. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  136. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  137. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  138. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  139. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  140. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +4 -0
  157. package/build/artifacts/contracts/interfaces/{IAToken.sol/IAToken.json → GMX/IGMXVault.sol/IGMXVault.json} +130 -74
  158. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +4 -0
  159. package/build/artifacts/contracts/interfaces/{IREDACTEDStaking.sol/IREDACTEDStaking.json → GMX/IGlpManager.sol/IGlpManager.json} +24 -47
  160. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +4 -0
  161. package/build/artifacts/contracts/interfaces/{IWAvax.sol/IWAvax.json → GMX/IRewardRouterV2.sol/IRewardRouterV2.json} +86 -137
  162. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +4 -0
  163. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.json +45 -0
  164. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +4 -0
  165. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.json +48 -0
  166. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +4 -0
  170. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +93 -0
  171. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +4 -0
  172. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +87 -0
  173. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
  175. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +338 -16
  181. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +4 -0
  182. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
  183. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
  184. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
  185. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
  186. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1260 -0
  187. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  188. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
  189. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
  190. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +273 -0
  191. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +56 -12
  193. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
  194. package/build/artifacts/contracts/interfaces/{IPActionSwapPTYT.sol/IPActionSwapPTYT.json → IPActionStorageStatic.sol/IPActionStorageStatic.json} +70 -76
  195. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +52 -8
  197. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +231 -8
  199. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +4 -0
  200. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
  201. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  202. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +675 -241
  203. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  206. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  207. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  208. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  209. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  210. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  211. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +4 -0
  212. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.json +40 -0
  213. package/build/artifacts/contracts/interfaces/IPLiquidityMigrator.sol/IPLiquidityMigrator.dbg.json +4 -0
  214. package/build/artifacts/contracts/interfaces/IPLiquidityMigrator.sol/IPLiquidityMigrator.json +655 -0
  215. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  216. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  218. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +4 -0
  219. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
  220. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  221. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +1 -1
  222. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  223. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  224. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
  225. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2322 -0
  226. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  227. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  228. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +39 -0
  229. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  230. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  231. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  232. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +4 -0
  233. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
  234. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  235. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  236. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  237. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  238. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  245. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +4 -0
  246. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +143 -0
  247. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  248. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  249. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +4 -0
  250. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +256 -0
  251. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  252. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  253. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  254. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
  255. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
  256. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
  257. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
  258. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
  259. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
  260. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
  261. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
  262. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
  263. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
  264. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1397 -0
  265. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
  266. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
  267. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
  268. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
  269. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
  270. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
  271. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
  272. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
  273. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +345 -62
  275. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +107 -260
  277. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  278. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +57 -18
  279. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  280. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +54 -65
  281. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  282. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +342 -44
  283. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +76 -67
  285. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +4 -0
  286. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +773 -0
  287. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +4 -0
  288. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +141 -0
  289. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -15
  291. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  292. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  294. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  296. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
  297. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
  298. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
  299. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
  300. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +4 -0
  301. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +56 -0
  302. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +4 -0
  303. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +76 -0
  304. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +4 -0
  305. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +76 -0
  306. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
  307. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
  308. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +4 -0
  309. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.json +388 -0
  310. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +4 -0
  311. package/build/artifacts/contracts/router/{kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json → swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.json} +13 -8
  312. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +4 -0
  313. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.json +101 -0
  314. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
  315. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
  316. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +4 -0
  317. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.json +10 -0
  318. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +4 -0
  319. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.json +10 -0
  320. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
  321. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
  322. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
  323. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
  324. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +4 -0
  325. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.json +101 -0
  326. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
  327. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
  328. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +4 -0
  329. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.json +10 -0
  330. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +4 -0
  331. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.json +10 -0
  332. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +4 -5
  333. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +3 -6
  334. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +7 -10
  335. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +8 -10
  336. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +10 -2
  337. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +3 -5
  338. package/contracts/LiquidityMining/README.md +49 -46
  339. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +9 -14
  340. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +4 -10
  341. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +23 -36
  342. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +18 -24
  343. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +3 -4
  344. package/contracts/LiquidityMining/libraries/VeBalanceLib.sol +20 -26
  345. package/contracts/core/BulkSeller/BulkSeller.sol +1 -5
  346. package/contracts/core/BulkSeller/BulkSellerFactory.sol +4 -5
  347. package/contracts/core/BulkSeller/BulkSellerMathCore.sol +20 -25
  348. package/contracts/core/Market/MarketMathCore.sol +23 -69
  349. package/contracts/core/Market/OracleLib.sol +4 -4
  350. package/contracts/core/Market/PendleGauge.sol +7 -20
  351. package/contracts/core/Market/PendleMarket.sol +5 -15
  352. package/contracts/core/Market/PendleMarketFactory.sol +3 -9
  353. package/contracts/core/RewardManager/RewardManager.sol +5 -7
  354. package/contracts/core/RewardManager/RewardManagerAbstract.sol +4 -4
  355. package/contracts/core/StandardizedYield/PYIndex.sol +7 -36
  356. package/contracts/core/StandardizedYield/SYBase.sol +20 -26
  357. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +7 -19
  358. package/contracts/core/StandardizedYield/SYUtils.sol +4 -5
  359. package/contracts/core/StandardizedYield/StEthHelper.sol +16 -20
  360. package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +14 -24
  361. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +127 -0
  362. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +12 -20
  363. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +12 -20
  364. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +1 -5
  365. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +28 -44
  366. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +28 -47
  367. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +6 -10
  368. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +6 -10
  369. package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol +13 -22
  370. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +20 -27
  371. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +20 -27
  372. package/contracts/core/StandardizedYield/implementations/Convex/README.md +4 -4
  373. package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +32 -40
  374. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +10 -12
  375. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +14 -18
  376. package/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol +32 -48
  377. package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +141 -0
  378. package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +214 -0
  379. package/contracts/core/StandardizedYield/implementations/GLP/README.md +63 -0
  380. package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +112 -0
  381. package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +13 -23
  382. package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +13 -23
  383. package/contracts/core/YieldContracts/PendleYieldToken.sol +28 -44
  384. package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +114 -0
  385. package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +63 -0
  386. package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +200 -0
  387. package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +471 -0
  388. package/contracts/core/erc20/PendleERC20.sol +14 -44
  389. package/contracts/core/libraries/ArrayLib.sol +20 -9
  390. package/contracts/core/libraries/BaseSplitCodeFactory.sol +5 -7
  391. package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -5
  392. package/contracts/core/libraries/Errors.sol +5 -2
  393. package/contracts/core/libraries/StringLib.sol +14 -20
  394. package/contracts/core/libraries/TokenHelper.sol +11 -26
  395. package/contracts/core/libraries/math/LogExpMath.sol +2 -2
  396. package/contracts/core/libraries/math/Math.sol +3 -15
  397. package/contracts/interfaces/Balancer/IComposableStable.sol +4 -14
  398. package/contracts/interfaces/Balancer/IMetaStablePool.sol +4 -13
  399. package/contracts/interfaces/Balancer/IVault.sol +4 -6
  400. package/contracts/interfaces/ConvexCurve/IBooster.sol +4 -16
  401. package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +1 -5
  402. package/contracts/interfaces/ConvexCurve/IRewards.sol +1 -4
  403. package/contracts/interfaces/Curve/ICrvPool.sol +12 -11
  404. package/contracts/interfaces/Curve/ITriCrvPool.sol +4 -4
  405. package/contracts/interfaces/GMX/IGMXVault.sol +47 -0
  406. package/contracts/interfaces/GMX/IGlpManager.sol +12 -0
  407. package/contracts/interfaces/GMX/IRewardRouterV2.sol +43 -0
  408. package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
  409. package/contracts/interfaces/IAddressProvider.sol +7 -0
  410. package/contracts/interfaces/IApeStaking.sol +3 -4
  411. package/contracts/interfaces/IDiamondCut.sol +36 -0
  412. package/contracts/interfaces/IDiamondLoupe.sol +40 -0
  413. package/contracts/interfaces/IERC4626.sol +3 -5
  414. package/contracts/interfaces/IPActionAddRemoveLiq.sol +38 -16
  415. package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
  416. package/contracts/interfaces/IPActionMarketAuxStatic.sol +34 -0
  417. package/contracts/interfaces/IPActionMarketCoreStatic.sol +335 -0
  418. package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
  419. package/contracts/interfaces/IPActionMintRedeemStatic.sol +55 -0
  420. package/contracts/interfaces/IPActionMisc.sol +18 -4
  421. package/contracts/interfaces/IPActionStorageStatic.sol +24 -0
  422. package/contracts/interfaces/IPActionSwapPT.sol +1 -1
  423. package/contracts/interfaces/IPActionSwapYT.sol +28 -4
  424. package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
  425. package/contracts/interfaces/IPAllAction.sol +5 -3
  426. package/contracts/interfaces/IPBulkSellerSYCallback.sol +1 -5
  427. package/contracts/interfaces/IPFeeDistributor.sol +4 -3
  428. package/contracts/interfaces/IPGaugeController.sol +3 -9
  429. package/contracts/interfaces/IPInterestManagerYT.sol +3 -4
  430. package/contracts/interfaces/IPInterestManagerYTV2.sol +11 -0
  431. package/contracts/interfaces/IPLiquidityMigrator.sol +130 -0
  432. package/contracts/interfaces/IPMarket.sol +5 -16
  433. package/contracts/interfaces/IPMarketFactory.sol +3 -8
  434. package/contracts/interfaces/IPMarketSwapCallback.sol +1 -5
  435. package/contracts/interfaces/IPMiniDiamond.sol +12 -0
  436. package/contracts/interfaces/IPMsgReceiverApp.sol +1 -1
  437. package/contracts/interfaces/IPRouterStatic.sol +19 -0
  438. package/contracts/interfaces/IPVotingController.sol +11 -6
  439. package/contracts/interfaces/IPVotingEscrowMainchain.sol +8 -7
  440. package/contracts/interfaces/IPYieldToken.sol +4 -3
  441. package/contracts/interfaces/IPYieldTokenV2.sol +67 -0
  442. package/contracts/interfaces/IRewardManager.sol +4 -4
  443. package/contracts/interfaces/IStETH.sol +4 -3
  444. package/contracts/interfaces/IStandardizedYield.sol +10 -14
  445. package/contracts/interfaces/IStargateRouter.sol +1 -5
  446. package/contracts/offchain-helpers/AddressProvider.sol +16 -0
  447. package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -1
  448. package/contracts/offchain-helpers/Broadcaster.sol +48 -0
  449. package/contracts/offchain-helpers/BulkSellerOffchain.sol +7 -11
  450. package/contracts/offchain-helpers/Multicall2.sol +14 -24
  451. package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
  452. package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
  453. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +122 -0
  454. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +165 -0
  455. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +780 -0
  456. package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +158 -0
  457. package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +76 -0
  458. package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
  459. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +21 -0
  460. package/contracts/router/ActionAddRemoveLiq.sol +118 -24
  461. package/contracts/router/ActionMintRedeem.sol +12 -202
  462. package/contracts/router/ActionMisc.sol +45 -19
  463. package/contracts/router/ActionSwapPT.sol +0 -5
  464. package/contracts/router/ActionSwapYT.sol +109 -13
  465. package/contracts/router/PendleRouter.sol +211 -72
  466. package/contracts/router/PendleRouterHelper.sol +315 -0
  467. package/contracts/router/{ActionCallback.sol → base/ActionBaseCallback.sol} +49 -49
  468. package/contracts/router/base/ActionBaseMintRedeem.sol +108 -64
  469. package/contracts/router/base/CallbackHelper.sol +136 -54
  470. package/contracts/router/base/MarketApproxLib.sol +243 -430
  471. package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +39 -0
  472. package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +68 -0
  473. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +21 -0
  474. package/contracts/router/swap-aggregator/PendleSwapArbitrum.sol +45 -0
  475. package/contracts/router/swap-aggregator/PendleSwapEthereum.sol +44 -0
  476. package/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol +17 -0
  477. package/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol +195 -0
  478. package/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol +10 -0
  479. package/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol +30 -0
  480. package/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol +41 -0
  481. package/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol +200 -0
  482. package/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol +135 -0
  483. package/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol +17 -0
  484. package/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol +191 -0
  485. package/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol +30 -0
  486. package/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol +41 -0
  487. package/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol +201 -0
  488. package/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol +147 -0
  489. package/deployments/43113-core.json +31 -0
  490. package/deployments/43113-markets/APE-30-MARCH.json +10 -0
  491. package/deployments/43113-markets/USDC-FEB-2ND-2024.json +10 -0
  492. package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
  493. package/deployments/43113-markets/USDC-FEB-4TH.json +10 -0
  494. package/deployments/43113-markets/WETH-FEB-2ND.json +11 -0
  495. package/deployments/43113-markets/WETH-FEB-4TH.json +11 -0
  496. package/deployments/43113-offchain-helper.json +4 -0
  497. package/deployments/43113-testenv.json +22 -0
  498. package/deployments/80001-core.json +30 -0
  499. package/deployments/80001-markets/GLP-DEC-8TH.json +10 -0
  500. package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
  501. package/deployments/80001-markets/USDC-FEB-4TH.json +10 -0
  502. package/deployments/80001-markets/WETH-FEB-4TH.json +11 -0
  503. package/deployments/80001-offchain-helper.json +4 -0
  504. package/deployments/80001-testenv.json +22 -0
  505. package/package.json +10 -10
  506. package/typechain-types/ActionAddRemoveLiq.ts +203 -23
  507. package/typechain-types/ActionBaseCallback.ts +115 -0
  508. package/typechain-types/ActionInfoStatic.ts +310 -0
  509. package/typechain-types/ActionMarketAuxStatic.ts +350 -0
  510. package/typechain-types/ActionMarketCoreStatic.ts +1485 -0
  511. package/typechain-types/ActionMintRedeem.ts +29 -230
  512. package/typechain-types/ActionMintRedeemStatic.ts +461 -0
  513. package/typechain-types/ActionMisc.ts +77 -27
  514. package/typechain-types/ActionStorageStatic.ts +405 -0
  515. package/typechain-types/ActionSwapPT.ts +26 -31
  516. package/typechain-types/ActionSwapYT.ts +202 -21
  517. package/typechain-types/ActionVePendleStatic.ts +113 -0
  518. package/typechain-types/AddressProvider.ts +280 -0
  519. package/typechain-types/Broadcaster.ts +454 -0
  520. package/typechain-types/GLPPreviewHelper.ts +121 -0
  521. package/typechain-types/GMXPreviewHelper.ts +121 -0
  522. package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
  523. package/typechain-types/IAddressProvider.ts +123 -0
  524. package/typechain-types/IAggregationExecutor.ts +182 -0
  525. package/typechain-types/IChainlinkAggregator.ts +246 -0
  526. package/typechain-types/IDiamondCut.ts +152 -0
  527. package/typechain-types/IDiamondLoupe.ts +190 -0
  528. package/typechain-types/IERC4626.ts +34 -0
  529. package/typechain-types/IExecutorHelper1.ts +643 -0
  530. package/typechain-types/IExecutorHelper2.ts +115 -0
  531. package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
  532. package/typechain-types/IGMXVault.ts +494 -0
  533. package/typechain-types/IGlpManager.ts +165 -0
  534. package/typechain-types/IHashflow.ts +159 -0
  535. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
  536. package/typechain-types/IMetaAggregationRouter.ts +213 -0
  537. package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
  538. package/typechain-types/IPActionAddRemoveLiq.ts +213 -14
  539. package/typechain-types/IPActionInfoStatic.ts +310 -0
  540. package/typechain-types/IPActionMarketAuxStatic.ts +350 -0
  541. package/typechain-types/IPActionMarketCoreStatic.ts +1485 -0
  542. package/typechain-types/IPActionMintRedeem.ts +29 -211
  543. package/typechain-types/IPActionMintRedeemStatic.ts +461 -0
  544. package/typechain-types/IPActionMisc.ts +77 -27
  545. package/typechain-types/IPActionStorageStatic.ts +328 -0
  546. package/typechain-types/IPActionSwapPT.ts +26 -12
  547. package/typechain-types/IPActionSwapYT.ts +168 -12
  548. package/typechain-types/IPActionVePendleStatic.ts +113 -0
  549. package/typechain-types/IPAllAction.ts +445 -227
  550. package/typechain-types/IPInterestManagerYTV2.ts +117 -0
  551. package/typechain-types/IPLiquidityMigrator.ts +565 -0
  552. package/typechain-types/IPMiniDiamond.ts +147 -0
  553. package/typechain-types/IPMsgReceiverApp.ts +5 -5
  554. package/typechain-types/IPRouterStatic.ts +2392 -509
  555. package/typechain-types/IPSwapAggregator.ts +126 -0
  556. package/typechain-types/IPVotingController.ts +96 -0
  557. package/typechain-types/IPYieldTokenV2.ts +901 -0
  558. package/typechain-types/IRewardRouterV2.ts +346 -0
  559. package/typechain-types/IStargateLP.ts +306 -0
  560. package/typechain-types/IStargateStaking.ts +232 -0
  561. package/typechain-types/ISwapAggregator.ts +124 -0
  562. package/typechain-types/IVaultPriceFeed.ts +114 -0
  563. package/typechain-types/InputScalingHelper.ts +108 -0
  564. package/typechain-types/InterestManagerYTV2.ts +157 -0
  565. package/typechain-types/PendleAura3EthSY.ts +0 -39
  566. package/typechain-types/PendleAuraCbethWstethSY.ts +0 -39
  567. package/typechain-types/PendleAuraWethAnkrethSY.ts +1523 -0
  568. package/typechain-types/PendleAuraWethWstethSY.ts +0 -39
  569. package/typechain-types/PendleGDaiSY.ts +1229 -0
  570. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +4 -4
  571. package/typechain-types/PendleGlpSY.ts +1463 -0
  572. package/typechain-types/PendleMsgReceiverAppUpg.ts +5 -5
  573. package/typechain-types/PendleMulticall.ts +110 -0
  574. package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
  575. package/typechain-types/PendlePtOracleBase.ts +139 -0
  576. package/typechain-types/PendleRouter.ts +109 -131
  577. package/typechain-types/PendleRouterHelper.ts +647 -0
  578. package/typechain-types/PendleRouterStatic.ts +57 -0
  579. package/typechain-types/PendleStargateLP.ts +1442 -0
  580. package/typechain-types/PendleSwapAggregator.ts +126 -0
  581. package/typechain-types/PendleSwapArbitrum.ts +126 -0
  582. package/typechain-types/PendleSwapEthereum.ts +126 -0
  583. package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
  584. package/typechain-types/PendleYieldTokenV2.ts +1298 -0
  585. package/typechain-types/PtFraxUsdcOracle.ts +176 -0
  586. package/typechain-types/PtStETHOracle.ts +163 -0
  587. package/typechain-types/RouterStatic.ts +92 -0
  588. package/typechain-types/SwapAggregator.ts +406 -0
  589. package/typechain-types/VotingControllerStorageUpg.ts +96 -0
  590. package/typechain-types/VotingEscrowPendleSidechain.ts +4 -5
  591. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +346 -68
  592. package/typechain-types/factories/ActionBaseCallback__factory.ts +156 -0
  593. package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
  594. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +390 -0
  595. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1454 -0
  596. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +367 -0
  597. package/typechain-types/factories/ActionMintRedeem__factory.ts +108 -266
  598. package/typechain-types/factories/ActionMisc__factory.ts +56 -17
  599. package/typechain-types/factories/ActionStorageStatic__factory.ts +281 -0
  600. package/typechain-types/factories/ActionSwapPT__factory.ts +55 -71
  601. package/typechain-types/factories/ActionSwapYT__factory.ts +356 -48
  602. package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
  603. package/typechain-types/factories/AddressProvider__factory.ts +196 -0
  604. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  605. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  606. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  607. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  608. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  609. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  610. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  611. package/typechain-types/factories/Errors__factory.ts +49 -1
  612. package/typechain-types/factories/GLPPreviewHelper__factory.ts +65 -0
  613. package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
  614. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
  615. package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
  616. package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
  617. package/typechain-types/factories/IChainlinkAggregator__factory.ts +170 -0
  618. package/typechain-types/factories/IDiamondCut__factory.ts +105 -0
  619. package/typechain-types/factories/IDiamondLoupe__factory.ts +99 -0
  620. package/typechain-types/factories/IERC4626__factory.ts +19 -0
  621. package/typechain-types/factories/IExecutorHelper1__factory.ts +403 -0
  622. package/typechain-types/factories/IExecutorHelper2__factory.ts +55 -0
  623. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
  624. package/typechain-types/factories/IGMXVault__factory.ts +320 -0
  625. package/typechain-types/factories/IGlpManager__factory.ts +81 -0
  626. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  627. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
  628. package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
  629. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
  630. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +338 -16
  631. package/typechain-types/factories/IPActionInfoStatic__factory.ts +322 -0
  632. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +288 -0
  633. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1279 -0
  634. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +292 -0
  635. package/typechain-types/factories/IPActionMintRedeem__factory.ts +105 -224
  636. package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
  637. package/typechain-types/factories/IPActionStorageStatic__factory.ts +203 -0
  638. package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
  639. package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
  640. package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
  641. package/typechain-types/factories/IPAllAction__factory.ts +675 -241
  642. package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
  643. package/typechain-types/factories/IPLiquidityMigrator__factory.ts +677 -0
  644. package/typechain-types/factories/IPMiniDiamond__factory.ts +67 -0
  645. package/typechain-types/factories/IPMsgReceiverApp__factory.ts +1 -1
  646. package/typechain-types/factories/IPRouterStatic__factory.ts +1942 -494
  647. package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -0
  648. package/typechain-types/factories/IPVotingController__factory.ts +39 -0
  649. package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
  650. package/typechain-types/factories/IRewardRouterV2__factory.ts +216 -0
  651. package/typechain-types/factories/IStargateLP__factory.ts +212 -0
  652. package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
  653. package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
  654. package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
  655. package/typechain-types/factories/InputScalingHelper__factory.ts +88 -0
  656. package/typechain-types/factories/InterestManagerYTV2__factory.ts +81 -0
  657. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -27
  658. package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
  659. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  660. package/typechain-types/factories/Multicall2__factory.ts +1 -1
  661. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  662. package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -40
  663. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -40
  664. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1265 -0
  665. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  666. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -40
  667. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  668. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  669. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  670. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  671. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  672. package/typechain-types/factories/PendleGDaiSY__factory.ts +1035 -0
  673. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  674. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +2 -2
  675. package/typechain-types/factories/PendleGlpSY__factory.ts +1249 -0
  676. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  677. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  678. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  679. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  680. package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +1 -1
  681. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  682. package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
  683. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
  684. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  685. package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
  686. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  687. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  688. package/typechain-types/factories/PendleRouterHelper__factory.ts +841 -0
  689. package/typechain-types/factories/PendleRouterStatic__factory.ts +88 -0
  690. package/typechain-types/factories/PendleRouter__factory.ts +75 -74
  691. package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
  692. package/typechain-types/factories/PendleSwapAggregator__factory.ts +129 -0
  693. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +129 -0
  694. package/typechain-types/factories/PendleSwapEthereum__factory.ts +129 -0
  695. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  696. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  697. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
  698. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  699. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1109 -0
  700. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  701. package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +226 -0
  702. package/typechain-types/factories/PtStETHOracle__factory.ts +201 -0
  703. package/typechain-types/factories/RouterStatic__factory.ts +69 -1
  704. package/typechain-types/factories/SAPE__factory.ts +1 -1
  705. package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
  706. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -0
  707. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  708. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -2
  709. package/typechain-types/hardhat.d.ts +481 -193
  710. package/typechain-types/index.ts +106 -56
  711. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +0 -4
  712. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +0 -1296
  713. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +0 -4
  714. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +0 -1283
  715. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +0 -4
  716. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +0 -10
  717. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +0 -4
  718. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +0 -133
  719. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
  720. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
  721. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
  722. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
  723. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
  724. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
  725. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
  726. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
  727. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
  728. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
  729. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
  730. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
  731. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
  732. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
  733. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
  734. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
  735. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
  736. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
  737. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
  738. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
  739. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
  740. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
  741. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
  742. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
  743. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
  744. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
  745. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
  746. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -285
  747. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
  748. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2741
  749. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +0 -4
  750. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +0 -165
  751. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
  752. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -343
  753. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
  754. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
  755. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
  756. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
  757. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
  758. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
  759. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +0 -24
  760. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +0 -170
  761. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +0 -162
  762. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +0 -289
  763. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +0 -618
  764. package/contracts/interfaces/IAToken.sol +0 -44
  765. package/contracts/interfaces/IAavePool.sol +0 -41
  766. package/contracts/interfaces/IAaveRewardsController.sol +0 -32
  767. package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
  768. package/contracts/interfaces/IEulerEToken.sol +0 -60
  769. package/contracts/interfaces/IEulerMarkets.sol +0 -46
  770. package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
  771. package/contracts/interfaces/IPGovernanceManager.sol +0 -28
  772. package/contracts/interfaces/IPPermissionsV2Upg.sol +0 -28
  773. package/contracts/interfaces/IREDACTEDStaking.sol +0 -35
  774. package/contracts/interfaces/ISAvax.sol +0 -61
  775. package/contracts/interfaces/ISJoe.sol +0 -57
  776. package/contracts/interfaces/IWAvax.sol +0 -34
  777. package/contracts/interfaces/IWXBTRFLY.sol +0 -39
  778. package/contracts/interfaces/IYearnVault.sol +0 -46
  779. package/contracts/offchain-helpers/MarketMathStatic.sol +0 -557
  780. package/contracts/offchain-helpers/RouterStatic.sol +0 -903
  781. package/contracts/router/ActionSwapPTYT.sol +0 -108
  782. package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -341
  783. package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
  784. package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
  785. package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
  786. package/deployments/1-core.json +0 -30
  787. package/deployments/1-markets/APE-JUNE-29.json +0 -8
  788. package/deployments/1-markets/BALANCER-LP-AURA-RETH-WETH-28DEC.json +0 -11
  789. package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +0 -11
  790. package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +0 -10
  791. package/deployments/1-markets/STETH-JUNE29.json +0 -10
  792. package/deployments/1-markets/STETH-MARCH30.json +0 -10
@@ -0,0 +1,2322 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPRouterStatic",
4
+ "sourceName": "contracts/interfaces/IPRouterStatic.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "previousOwner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "newOwner",
19
+ "type": "address"
20
+ }
21
+ ],
22
+ "name": "OwnershipTransferred",
23
+ "type": "event"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "address",
29
+ "name": "market",
30
+ "type": "address"
31
+ },
32
+ {
33
+ "internalType": "uint256",
34
+ "name": "netSyDesired",
35
+ "type": "uint256"
36
+ },
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "netPtDesired",
40
+ "type": "uint256"
41
+ }
42
+ ],
43
+ "name": "addLiquidityDualSyAndPtStatic",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "netLpOut",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "netSyUsed",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "netPtUsed",
58
+ "type": "uint256"
59
+ }
60
+ ],
61
+ "stateMutability": "view",
62
+ "type": "function"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "market",
69
+ "type": "address"
70
+ },
71
+ {
72
+ "internalType": "address",
73
+ "name": "tokenIn",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "netTokenDesired",
79
+ "type": "uint256"
80
+ },
81
+ {
82
+ "internalType": "address",
83
+ "name": "bulk",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "internalType": "uint256",
88
+ "name": "netPtDesired",
89
+ "type": "uint256"
90
+ }
91
+ ],
92
+ "name": "addLiquidityDualTokenAndPtStatic",
93
+ "outputs": [
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "netLpOut",
97
+ "type": "uint256"
98
+ },
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "netTokenUsed",
102
+ "type": "uint256"
103
+ },
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "netPtUsed",
107
+ "type": "uint256"
108
+ },
109
+ {
110
+ "internalType": "uint256",
111
+ "name": "netSyUsed",
112
+ "type": "uint256"
113
+ },
114
+ {
115
+ "internalType": "uint256",
116
+ "name": "netSyDesired",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "market",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "netPtIn",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "addLiquiditySinglePtStatic",
137
+ "outputs": [
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "netLpOut",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "netPtToSwap",
146
+ "type": "uint256"
147
+ },
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "netSyFee",
151
+ "type": "uint256"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "priceImpact",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "exchangeRateAfter",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "netSyFromSwap",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "stateMutability": "nonpayable",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "market",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "netSyIn",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "addLiquiditySingleSyKeepYtStatic",
186
+ "outputs": [
187
+ {
188
+ "internalType": "uint256",
189
+ "name": "netLpOut",
190
+ "type": "uint256"
191
+ },
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "netYtOut",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "internalType": "uint256",
199
+ "name": "netSyToPY",
200
+ "type": "uint256"
201
+ }
202
+ ],
203
+ "stateMutability": "nonpayable",
204
+ "type": "function"
205
+ },
206
+ {
207
+ "inputs": [
208
+ {
209
+ "internalType": "address",
210
+ "name": "market",
211
+ "type": "address"
212
+ },
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "netSyIn",
216
+ "type": "uint256"
217
+ }
218
+ ],
219
+ "name": "addLiquiditySingleSyStatic",
220
+ "outputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "netLpOut",
224
+ "type": "uint256"
225
+ },
226
+ {
227
+ "internalType": "uint256",
228
+ "name": "netPtFromSwap",
229
+ "type": "uint256"
230
+ },
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "netSyFee",
234
+ "type": "uint256"
235
+ },
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "priceImpact",
239
+ "type": "uint256"
240
+ },
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "exchangeRateAfter",
244
+ "type": "uint256"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "netSyToSwap",
249
+ "type": "uint256"
250
+ }
251
+ ],
252
+ "stateMutability": "nonpayable",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "market",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "address",
264
+ "name": "tokenIn",
265
+ "type": "address"
266
+ },
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "netTokenIn",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "internalType": "address",
274
+ "name": "bulk",
275
+ "type": "address"
276
+ }
277
+ ],
278
+ "name": "addLiquiditySingleTokenKeepYtStatic",
279
+ "outputs": [
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "netLpOut",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "netYtOut",
288
+ "type": "uint256"
289
+ },
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "netSyMinted",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "netSyToPY",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "address",
308
+ "name": "market",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "internalType": "address",
313
+ "name": "tokenIn",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "internalType": "uint256",
318
+ "name": "netTokenIn",
319
+ "type": "uint256"
320
+ },
321
+ {
322
+ "internalType": "address",
323
+ "name": "bulk",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "name": "addLiquiditySingleTokenStatic",
328
+ "outputs": [
329
+ {
330
+ "internalType": "uint256",
331
+ "name": "netLpOut",
332
+ "type": "uint256"
333
+ },
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "netPtFromSwap",
337
+ "type": "uint256"
338
+ },
339
+ {
340
+ "internalType": "uint256",
341
+ "name": "netSyFee",
342
+ "type": "uint256"
343
+ },
344
+ {
345
+ "internalType": "uint256",
346
+ "name": "priceImpact",
347
+ "type": "uint256"
348
+ },
349
+ {
350
+ "internalType": "uint256",
351
+ "name": "exchangeRateAfter",
352
+ "type": "uint256"
353
+ },
354
+ {
355
+ "internalType": "uint256",
356
+ "name": "netSyMinted",
357
+ "type": "uint256"
358
+ },
359
+ {
360
+ "internalType": "uint256",
361
+ "name": "netSyToSwap",
362
+ "type": "uint256"
363
+ }
364
+ ],
365
+ "stateMutability": "nonpayable",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [
370
+ {
371
+ "internalType": "address",
372
+ "name": "market",
373
+ "type": "address"
374
+ },
375
+ {
376
+ "internalType": "int256",
377
+ "name": "netPtOut",
378
+ "type": "int256"
379
+ }
380
+ ],
381
+ "name": "calcPriceImpactPY",
382
+ "outputs": [
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "stateMutability": "nonpayable",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "address",
396
+ "name": "market",
397
+ "type": "address"
398
+ },
399
+ {
400
+ "internalType": "int256",
401
+ "name": "netPtOut",
402
+ "type": "int256"
403
+ }
404
+ ],
405
+ "name": "calcPriceImpactPt",
406
+ "outputs": [
407
+ {
408
+ "internalType": "uint256",
409
+ "name": "",
410
+ "type": "uint256"
411
+ }
412
+ ],
413
+ "stateMutability": "nonpayable",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "address",
420
+ "name": "market",
421
+ "type": "address"
422
+ },
423
+ {
424
+ "internalType": "int256",
425
+ "name": "netPtOut",
426
+ "type": "int256"
427
+ }
428
+ ],
429
+ "name": "calcPriceImpactYt",
430
+ "outputs": [
431
+ {
432
+ "internalType": "uint256",
433
+ "name": "",
434
+ "type": "uint256"
435
+ }
436
+ ],
437
+ "stateMutability": "nonpayable",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "claimOwnership",
443
+ "outputs": [],
444
+ "stateMutability": "nonpayable",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [
449
+ {
450
+ "internalType": "bytes4",
451
+ "name": "selector",
452
+ "type": "bytes4"
453
+ }
454
+ ],
455
+ "name": "facetAddress",
456
+ "outputs": [
457
+ {
458
+ "internalType": "address",
459
+ "name": "",
460
+ "type": "address"
461
+ }
462
+ ],
463
+ "stateMutability": "view",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "SY",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "address",
475
+ "name": "tokenIn",
476
+ "type": "address"
477
+ },
478
+ {
479
+ "internalType": "address",
480
+ "name": "bulk",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "internalType": "uint256",
485
+ "name": "netSyOut",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "name": "getAmountTokenToMintSy",
490
+ "outputs": [
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "netTokenIn",
494
+ "type": "uint256"
495
+ }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [],
502
+ "name": "getBulkSellerFactory",
503
+ "outputs": [
504
+ {
505
+ "internalType": "address",
506
+ "name": "",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "stateMutability": "view",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "address",
517
+ "name": "token",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "address",
522
+ "name": "SY",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "internalType": "uint256",
527
+ "name": "netTokenIn",
528
+ "type": "uint256"
529
+ },
530
+ {
531
+ "internalType": "uint256",
532
+ "name": "netSyIn",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "name": "getBulkSellerInfo",
537
+ "outputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "bulk",
541
+ "type": "address"
542
+ },
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "totalToken",
546
+ "type": "uint256"
547
+ },
548
+ {
549
+ "internalType": "uint256",
550
+ "name": "totalSy",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "getDefaultApproxParams",
560
+ "outputs": [
561
+ {
562
+ "components": [
563
+ {
564
+ "internalType": "uint256",
565
+ "name": "guessMin",
566
+ "type": "uint256"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "guessMax",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "guessOffchain",
576
+ "type": "uint256"
577
+ },
578
+ {
579
+ "internalType": "uint256",
580
+ "name": "maxIteration",
581
+ "type": "uint256"
582
+ },
583
+ {
584
+ "internalType": "uint256",
585
+ "name": "eps",
586
+ "type": "uint256"
587
+ }
588
+ ],
589
+ "internalType": "struct ApproxParams",
590
+ "name": "",
591
+ "type": "tuple"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "market",
602
+ "type": "address"
603
+ }
604
+ ],
605
+ "name": "getMarketState",
606
+ "outputs": [
607
+ {
608
+ "internalType": "address",
609
+ "name": "pt",
610
+ "type": "address"
611
+ },
612
+ {
613
+ "internalType": "address",
614
+ "name": "yt",
615
+ "type": "address"
616
+ },
617
+ {
618
+ "internalType": "address",
619
+ "name": "sy",
620
+ "type": "address"
621
+ },
622
+ {
623
+ "internalType": "int256",
624
+ "name": "impliedYield",
625
+ "type": "int256"
626
+ },
627
+ {
628
+ "internalType": "uint256",
629
+ "name": "marketExchangeRateExcludeFee",
630
+ "type": "uint256"
631
+ },
632
+ {
633
+ "components": [
634
+ {
635
+ "internalType": "int256",
636
+ "name": "totalPt",
637
+ "type": "int256"
638
+ },
639
+ {
640
+ "internalType": "int256",
641
+ "name": "totalSy",
642
+ "type": "int256"
643
+ },
644
+ {
645
+ "internalType": "int256",
646
+ "name": "totalLp",
647
+ "type": "int256"
648
+ },
649
+ {
650
+ "internalType": "address",
651
+ "name": "treasury",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "internalType": "int256",
656
+ "name": "scalarRoot",
657
+ "type": "int256"
658
+ },
659
+ {
660
+ "internalType": "uint256",
661
+ "name": "expiry",
662
+ "type": "uint256"
663
+ },
664
+ {
665
+ "internalType": "uint256",
666
+ "name": "lnFeeRateRoot",
667
+ "type": "uint256"
668
+ },
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "reserveFeePercent",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "lastLnImpliedRate",
677
+ "type": "uint256"
678
+ }
679
+ ],
680
+ "internalType": "struct MarketState",
681
+ "name": "state",
682
+ "type": "tuple"
683
+ }
684
+ ],
685
+ "stateMutability": "nonpayable",
686
+ "type": "function"
687
+ },
688
+ {
689
+ "inputs": [],
690
+ "name": "getOwnerAndPendingOwner",
691
+ "outputs": [
692
+ {
693
+ "internalType": "address",
694
+ "name": "_owner",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "_pendingOwner",
700
+ "type": "address"
701
+ }
702
+ ],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "py",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "name": "getPY",
715
+ "outputs": [
716
+ {
717
+ "internalType": "address",
718
+ "name": "pt",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "address",
723
+ "name": "yt",
724
+ "type": "address"
725
+ }
726
+ ],
727
+ "stateMutability": "view",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "token",
735
+ "type": "address"
736
+ }
737
+ ],
738
+ "name": "getTokensInOut",
739
+ "outputs": [
740
+ {
741
+ "internalType": "address[]",
742
+ "name": "tokensIn",
743
+ "type": "address[]"
744
+ },
745
+ {
746
+ "internalType": "address[]",
747
+ "name": "tokensOut",
748
+ "type": "address[]"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "address",
758
+ "name": "market",
759
+ "type": "address"
760
+ },
761
+ {
762
+ "components": [
763
+ {
764
+ "internalType": "int256",
765
+ "name": "totalPt",
766
+ "type": "int256"
767
+ },
768
+ {
769
+ "internalType": "int256",
770
+ "name": "totalSy",
771
+ "type": "int256"
772
+ },
773
+ {
774
+ "internalType": "int256",
775
+ "name": "totalLp",
776
+ "type": "int256"
777
+ },
778
+ {
779
+ "internalType": "address",
780
+ "name": "treasury",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "int256",
785
+ "name": "scalarRoot",
786
+ "type": "int256"
787
+ },
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "expiry",
791
+ "type": "uint256"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "lnFeeRateRoot",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "uint256",
800
+ "name": "reserveFeePercent",
801
+ "type": "uint256"
802
+ },
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "lastLnImpliedRate",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "internalType": "struct MarketState",
810
+ "name": "state",
811
+ "type": "tuple"
812
+ }
813
+ ],
814
+ "name": "getTradeExchangeRateExcludeFee",
815
+ "outputs": [
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "",
819
+ "type": "uint256"
820
+ }
821
+ ],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "address",
829
+ "name": "market",
830
+ "type": "address"
831
+ },
832
+ {
833
+ "internalType": "int256",
834
+ "name": "netPtOut",
835
+ "type": "int256"
836
+ }
837
+ ],
838
+ "name": "getTradeExchangeRateIncludeFee",
839
+ "outputs": [
840
+ {
841
+ "internalType": "uint256",
842
+ "name": "",
843
+ "type": "uint256"
844
+ }
845
+ ],
846
+ "stateMutability": "nonpayable",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "internalType": "address",
853
+ "name": "market",
854
+ "type": "address"
855
+ },
856
+ {
857
+ "internalType": "address",
858
+ "name": "user",
859
+ "type": "address"
860
+ }
861
+ ],
862
+ "name": "getUserMarketInfo",
863
+ "outputs": [
864
+ {
865
+ "components": [
866
+ {
867
+ "components": [
868
+ {
869
+ "internalType": "address",
870
+ "name": "token",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "uint256",
875
+ "name": "amount",
876
+ "type": "uint256"
877
+ }
878
+ ],
879
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
880
+ "name": "lpBalance",
881
+ "type": "tuple"
882
+ },
883
+ {
884
+ "components": [
885
+ {
886
+ "internalType": "address",
887
+ "name": "token",
888
+ "type": "address"
889
+ },
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "amount",
893
+ "type": "uint256"
894
+ }
895
+ ],
896
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
897
+ "name": "ptBalance",
898
+ "type": "tuple"
899
+ },
900
+ {
901
+ "components": [
902
+ {
903
+ "internalType": "address",
904
+ "name": "token",
905
+ "type": "address"
906
+ },
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "amount",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
914
+ "name": "syBalance",
915
+ "type": "tuple"
916
+ },
917
+ {
918
+ "components": [
919
+ {
920
+ "internalType": "address",
921
+ "name": "token",
922
+ "type": "address"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "amount",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "internalType": "struct IPActionInfoStatic.TokenAmount[]",
931
+ "name": "unclaimedRewards",
932
+ "type": "tuple[]"
933
+ }
934
+ ],
935
+ "internalType": "struct IPActionInfoStatic.UserMarketInfo",
936
+ "name": "res",
937
+ "type": "tuple"
938
+ }
939
+ ],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "address",
947
+ "name": "py",
948
+ "type": "address"
949
+ },
950
+ {
951
+ "internalType": "address",
952
+ "name": "user",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "name": "getUserPYInfo",
957
+ "outputs": [
958
+ {
959
+ "components": [
960
+ {
961
+ "components": [
962
+ {
963
+ "internalType": "address",
964
+ "name": "token",
965
+ "type": "address"
966
+ },
967
+ {
968
+ "internalType": "uint256",
969
+ "name": "amount",
970
+ "type": "uint256"
971
+ }
972
+ ],
973
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
974
+ "name": "ptBalance",
975
+ "type": "tuple"
976
+ },
977
+ {
978
+ "components": [
979
+ {
980
+ "internalType": "address",
981
+ "name": "token",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "amount",
987
+ "type": "uint256"
988
+ }
989
+ ],
990
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
991
+ "name": "ytBalance",
992
+ "type": "tuple"
993
+ },
994
+ {
995
+ "components": [
996
+ {
997
+ "internalType": "address",
998
+ "name": "token",
999
+ "type": "address"
1000
+ },
1001
+ {
1002
+ "internalType": "uint256",
1003
+ "name": "amount",
1004
+ "type": "uint256"
1005
+ }
1006
+ ],
1007
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
1008
+ "name": "unclaimedInterest",
1009
+ "type": "tuple"
1010
+ },
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "token",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "uint256",
1020
+ "name": "amount",
1021
+ "type": "uint256"
1022
+ }
1023
+ ],
1024
+ "internalType": "struct IPActionInfoStatic.TokenAmount[]",
1025
+ "name": "unclaimedRewards",
1026
+ "type": "tuple[]"
1027
+ }
1028
+ ],
1029
+ "internalType": "struct IPActionInfoStatic.UserPYInfo",
1030
+ "name": "res",
1031
+ "type": "tuple"
1032
+ }
1033
+ ],
1034
+ "stateMutability": "nonpayable",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "address",
1041
+ "name": "sy",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "user",
1047
+ "type": "address"
1048
+ }
1049
+ ],
1050
+ "name": "getUserSYInfo",
1051
+ "outputs": [
1052
+ {
1053
+ "components": [
1054
+ {
1055
+ "components": [
1056
+ {
1057
+ "internalType": "address",
1058
+ "name": "token",
1059
+ "type": "address"
1060
+ },
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "amount",
1064
+ "type": "uint256"
1065
+ }
1066
+ ],
1067
+ "internalType": "struct IPActionInfoStatic.TokenAmount",
1068
+ "name": "syBalance",
1069
+ "type": "tuple"
1070
+ },
1071
+ {
1072
+ "components": [
1073
+ {
1074
+ "internalType": "address",
1075
+ "name": "token",
1076
+ "type": "address"
1077
+ },
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "amount",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "internalType": "struct IPActionInfoStatic.TokenAmount[]",
1085
+ "name": "unclaimedRewards",
1086
+ "type": "tuple[]"
1087
+ }
1088
+ ],
1089
+ "internalType": "struct IPActionInfoStatic.UserSYInfo",
1090
+ "name": "res",
1091
+ "type": "tuple"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "nonpayable",
1095
+ "type": "function"
1096
+ },
1097
+ {
1098
+ "inputs": [
1099
+ {
1100
+ "internalType": "address",
1101
+ "name": "user",
1102
+ "type": "address"
1103
+ },
1104
+ {
1105
+ "internalType": "uint128",
1106
+ "name": "additionalAmountToLock",
1107
+ "type": "uint128"
1108
+ },
1109
+ {
1110
+ "internalType": "uint128",
1111
+ "name": "newExpiry",
1112
+ "type": "uint128"
1113
+ }
1114
+ ],
1115
+ "name": "increaseLockPositionStatic",
1116
+ "outputs": [
1117
+ {
1118
+ "internalType": "uint128",
1119
+ "name": "newVeBalance",
1120
+ "type": "uint128"
1121
+ }
1122
+ ],
1123
+ "stateMutability": "view",
1124
+ "type": "function"
1125
+ },
1126
+ {
1127
+ "inputs": [
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "YT",
1131
+ "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "netSyToMint",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "name": "mintPyFromSyStatic",
1140
+ "outputs": [
1141
+ {
1142
+ "internalType": "uint256",
1143
+ "name": "netPYOut",
1144
+ "type": "uint256"
1145
+ }
1146
+ ],
1147
+ "stateMutability": "nonpayable",
1148
+ "type": "function"
1149
+ },
1150
+ {
1151
+ "inputs": [
1152
+ {
1153
+ "internalType": "address",
1154
+ "name": "YT",
1155
+ "type": "address"
1156
+ },
1157
+ {
1158
+ "internalType": "address",
1159
+ "name": "tokenIn",
1160
+ "type": "address"
1161
+ },
1162
+ {
1163
+ "internalType": "uint256",
1164
+ "name": "netTokenIn",
1165
+ "type": "uint256"
1166
+ },
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "bulk",
1170
+ "type": "address"
1171
+ }
1172
+ ],
1173
+ "name": "mintPyFromTokenStatic",
1174
+ "outputs": [
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "netPyOut",
1178
+ "type": "uint256"
1179
+ }
1180
+ ],
1181
+ "stateMutability": "nonpayable",
1182
+ "type": "function"
1183
+ },
1184
+ {
1185
+ "inputs": [
1186
+ {
1187
+ "internalType": "address",
1188
+ "name": "SY",
1189
+ "type": "address"
1190
+ },
1191
+ {
1192
+ "internalType": "address",
1193
+ "name": "tokenIn",
1194
+ "type": "address"
1195
+ },
1196
+ {
1197
+ "internalType": "uint256",
1198
+ "name": "netTokenIn",
1199
+ "type": "uint256"
1200
+ },
1201
+ {
1202
+ "internalType": "address",
1203
+ "name": "bulk",
1204
+ "type": "address"
1205
+ }
1206
+ ],
1207
+ "name": "mintSyFromTokenStatic",
1208
+ "outputs": [
1209
+ {
1210
+ "internalType": "uint256",
1211
+ "name": "netSyOut",
1212
+ "type": "uint256"
1213
+ }
1214
+ ],
1215
+ "stateMutability": "view",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [
1220
+ {
1221
+ "internalType": "address",
1222
+ "name": "YT",
1223
+ "type": "address"
1224
+ },
1225
+ {
1226
+ "internalType": "uint256",
1227
+ "name": "netPYToRedeem",
1228
+ "type": "uint256"
1229
+ }
1230
+ ],
1231
+ "name": "redeemPyToSyStatic",
1232
+ "outputs": [
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "netSyOut",
1236
+ "type": "uint256"
1237
+ }
1238
+ ],
1239
+ "stateMutability": "nonpayable",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "address",
1246
+ "name": "YT",
1247
+ "type": "address"
1248
+ },
1249
+ {
1250
+ "internalType": "uint256",
1251
+ "name": "netPYToRedeem",
1252
+ "type": "uint256"
1253
+ },
1254
+ {
1255
+ "internalType": "address",
1256
+ "name": "tokenOut",
1257
+ "type": "address"
1258
+ },
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "bulk",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "name": "redeemPyToTokenStatic",
1266
+ "outputs": [
1267
+ {
1268
+ "internalType": "uint256",
1269
+ "name": "netTokenOut",
1270
+ "type": "uint256"
1271
+ }
1272
+ ],
1273
+ "stateMutability": "nonpayable",
1274
+ "type": "function"
1275
+ },
1276
+ {
1277
+ "inputs": [
1278
+ {
1279
+ "internalType": "address",
1280
+ "name": "SY",
1281
+ "type": "address"
1282
+ },
1283
+ {
1284
+ "internalType": "address",
1285
+ "name": "tokenOut",
1286
+ "type": "address"
1287
+ },
1288
+ {
1289
+ "internalType": "uint256",
1290
+ "name": "netSyIn",
1291
+ "type": "uint256"
1292
+ },
1293
+ {
1294
+ "internalType": "address",
1295
+ "name": "bulk",
1296
+ "type": "address"
1297
+ }
1298
+ ],
1299
+ "name": "redeemSyToTokenStatic",
1300
+ "outputs": [
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "netTokenOut",
1304
+ "type": "uint256"
1305
+ }
1306
+ ],
1307
+ "stateMutability": "view",
1308
+ "type": "function"
1309
+ },
1310
+ {
1311
+ "inputs": [
1312
+ {
1313
+ "internalType": "address",
1314
+ "name": "market",
1315
+ "type": "address"
1316
+ },
1317
+ {
1318
+ "internalType": "uint256",
1319
+ "name": "netLpToRemove",
1320
+ "type": "uint256"
1321
+ }
1322
+ ],
1323
+ "name": "removeLiquidityDualSyAndPtStatic",
1324
+ "outputs": [
1325
+ {
1326
+ "internalType": "uint256",
1327
+ "name": "netSyOut",
1328
+ "type": "uint256"
1329
+ },
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "netPtOut",
1333
+ "type": "uint256"
1334
+ }
1335
+ ],
1336
+ "stateMutability": "view",
1337
+ "type": "function"
1338
+ },
1339
+ {
1340
+ "inputs": [
1341
+ {
1342
+ "internalType": "address",
1343
+ "name": "market",
1344
+ "type": "address"
1345
+ },
1346
+ {
1347
+ "internalType": "uint256",
1348
+ "name": "netLpToRemove",
1349
+ "type": "uint256"
1350
+ },
1351
+ {
1352
+ "internalType": "address",
1353
+ "name": "tokenOut",
1354
+ "type": "address"
1355
+ },
1356
+ {
1357
+ "internalType": "address",
1358
+ "name": "bulk",
1359
+ "type": "address"
1360
+ }
1361
+ ],
1362
+ "name": "removeLiquidityDualTokenAndPtStatic",
1363
+ "outputs": [
1364
+ {
1365
+ "internalType": "uint256",
1366
+ "name": "netTokenOut",
1367
+ "type": "uint256"
1368
+ },
1369
+ {
1370
+ "internalType": "uint256",
1371
+ "name": "netPtOut",
1372
+ "type": "uint256"
1373
+ },
1374
+ {
1375
+ "internalType": "uint256",
1376
+ "name": "netSyToRedeem",
1377
+ "type": "uint256"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "view",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "address",
1387
+ "name": "market",
1388
+ "type": "address"
1389
+ },
1390
+ {
1391
+ "internalType": "uint256",
1392
+ "name": "netLpToRemove",
1393
+ "type": "uint256"
1394
+ }
1395
+ ],
1396
+ "name": "removeLiquiditySinglePtStatic",
1397
+ "outputs": [
1398
+ {
1399
+ "internalType": "uint256",
1400
+ "name": "netPtOut",
1401
+ "type": "uint256"
1402
+ },
1403
+ {
1404
+ "internalType": "uint256",
1405
+ "name": "netPtFromSwap",
1406
+ "type": "uint256"
1407
+ },
1408
+ {
1409
+ "internalType": "uint256",
1410
+ "name": "netSyFee",
1411
+ "type": "uint256"
1412
+ },
1413
+ {
1414
+ "internalType": "uint256",
1415
+ "name": "priceImpact",
1416
+ "type": "uint256"
1417
+ },
1418
+ {
1419
+ "internalType": "uint256",
1420
+ "name": "exchangeRateAfter",
1421
+ "type": "uint256"
1422
+ },
1423
+ {
1424
+ "internalType": "uint256",
1425
+ "name": "netSyFromBurn",
1426
+ "type": "uint256"
1427
+ },
1428
+ {
1429
+ "internalType": "uint256",
1430
+ "name": "netPtFromBurn",
1431
+ "type": "uint256"
1432
+ }
1433
+ ],
1434
+ "stateMutability": "nonpayable",
1435
+ "type": "function"
1436
+ },
1437
+ {
1438
+ "inputs": [
1439
+ {
1440
+ "internalType": "address",
1441
+ "name": "market",
1442
+ "type": "address"
1443
+ },
1444
+ {
1445
+ "internalType": "uint256",
1446
+ "name": "netLpToRemove",
1447
+ "type": "uint256"
1448
+ }
1449
+ ],
1450
+ "name": "removeLiquiditySingleSyStatic",
1451
+ "outputs": [
1452
+ {
1453
+ "internalType": "uint256",
1454
+ "name": "netSyOut",
1455
+ "type": "uint256"
1456
+ },
1457
+ {
1458
+ "internalType": "uint256",
1459
+ "name": "netSyFee",
1460
+ "type": "uint256"
1461
+ },
1462
+ {
1463
+ "internalType": "uint256",
1464
+ "name": "priceImpact",
1465
+ "type": "uint256"
1466
+ },
1467
+ {
1468
+ "internalType": "uint256",
1469
+ "name": "exchangeRateAfter",
1470
+ "type": "uint256"
1471
+ },
1472
+ {
1473
+ "internalType": "uint256",
1474
+ "name": "netSyFromBurn",
1475
+ "type": "uint256"
1476
+ },
1477
+ {
1478
+ "internalType": "uint256",
1479
+ "name": "netPtFromBurn",
1480
+ "type": "uint256"
1481
+ },
1482
+ {
1483
+ "internalType": "uint256",
1484
+ "name": "netSyFromSwap",
1485
+ "type": "uint256"
1486
+ }
1487
+ ],
1488
+ "stateMutability": "nonpayable",
1489
+ "type": "function"
1490
+ },
1491
+ {
1492
+ "inputs": [
1493
+ {
1494
+ "internalType": "address",
1495
+ "name": "market",
1496
+ "type": "address"
1497
+ },
1498
+ {
1499
+ "internalType": "uint256",
1500
+ "name": "netLpToRemove",
1501
+ "type": "uint256"
1502
+ },
1503
+ {
1504
+ "internalType": "address",
1505
+ "name": "tokenOut",
1506
+ "type": "address"
1507
+ },
1508
+ {
1509
+ "internalType": "address",
1510
+ "name": "bulk",
1511
+ "type": "address"
1512
+ }
1513
+ ],
1514
+ "name": "removeLiquiditySingleTokenStatic",
1515
+ "outputs": [
1516
+ {
1517
+ "internalType": "uint256",
1518
+ "name": "netTokenOut",
1519
+ "type": "uint256"
1520
+ },
1521
+ {
1522
+ "internalType": "uint256",
1523
+ "name": "netSyFee",
1524
+ "type": "uint256"
1525
+ },
1526
+ {
1527
+ "internalType": "uint256",
1528
+ "name": "priceImpact",
1529
+ "type": "uint256"
1530
+ },
1531
+ {
1532
+ "internalType": "uint256",
1533
+ "name": "exchangeRateAfter",
1534
+ "type": "uint256"
1535
+ },
1536
+ {
1537
+ "internalType": "uint256",
1538
+ "name": "netSyOut",
1539
+ "type": "uint256"
1540
+ },
1541
+ {
1542
+ "internalType": "uint256",
1543
+ "name": "netSyFromBurn",
1544
+ "type": "uint256"
1545
+ },
1546
+ {
1547
+ "internalType": "uint256",
1548
+ "name": "netPtFromBurn",
1549
+ "type": "uint256"
1550
+ },
1551
+ {
1552
+ "internalType": "uint256",
1553
+ "name": "netSyFromSwap",
1554
+ "type": "uint256"
1555
+ }
1556
+ ],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1562
+ {
1563
+ "internalType": "address",
1564
+ "name": "_bulkSellerFactory",
1565
+ "type": "address"
1566
+ }
1567
+ ],
1568
+ "name": "setBulkSellerFactory",
1569
+ "outputs": [],
1570
+ "stateMutability": "nonpayable",
1571
+ "type": "function"
1572
+ },
1573
+ {
1574
+ "inputs": [
1575
+ {
1576
+ "components": [
1577
+ {
1578
+ "internalType": "uint256",
1579
+ "name": "guessMin",
1580
+ "type": "uint256"
1581
+ },
1582
+ {
1583
+ "internalType": "uint256",
1584
+ "name": "guessMax",
1585
+ "type": "uint256"
1586
+ },
1587
+ {
1588
+ "internalType": "uint256",
1589
+ "name": "guessOffchain",
1590
+ "type": "uint256"
1591
+ },
1592
+ {
1593
+ "internalType": "uint256",
1594
+ "name": "maxIteration",
1595
+ "type": "uint256"
1596
+ },
1597
+ {
1598
+ "internalType": "uint256",
1599
+ "name": "eps",
1600
+ "type": "uint256"
1601
+ }
1602
+ ],
1603
+ "internalType": "struct ApproxParams",
1604
+ "name": "params",
1605
+ "type": "tuple"
1606
+ }
1607
+ ],
1608
+ "name": "setDefaultApproxParams",
1609
+ "outputs": [],
1610
+ "stateMutability": "nonpayable",
1611
+ "type": "function"
1612
+ },
1613
+ {
1614
+ "inputs": [
1615
+ {
1616
+ "components": [
1617
+ {
1618
+ "internalType": "address",
1619
+ "name": "facet",
1620
+ "type": "address"
1621
+ },
1622
+ {
1623
+ "internalType": "bytes4[]",
1624
+ "name": "selectors",
1625
+ "type": "bytes4[]"
1626
+ }
1627
+ ],
1628
+ "internalType": "struct IPMiniDiamond.SelectorsToFacet[]",
1629
+ "name": "arr",
1630
+ "type": "tuple[]"
1631
+ }
1632
+ ],
1633
+ "name": "setFacetForSelectors",
1634
+ "outputs": [],
1635
+ "stateMutability": "nonpayable",
1636
+ "type": "function"
1637
+ },
1638
+ {
1639
+ "inputs": [
1640
+ {
1641
+ "internalType": "address",
1642
+ "name": "market",
1643
+ "type": "address"
1644
+ },
1645
+ {
1646
+ "internalType": "uint256",
1647
+ "name": "exactPtIn",
1648
+ "type": "uint256"
1649
+ }
1650
+ ],
1651
+ "name": "swapExactPtForSyStatic",
1652
+ "outputs": [
1653
+ {
1654
+ "internalType": "uint256",
1655
+ "name": "netSyOut",
1656
+ "type": "uint256"
1657
+ },
1658
+ {
1659
+ "internalType": "uint256",
1660
+ "name": "netSyFee",
1661
+ "type": "uint256"
1662
+ },
1663
+ {
1664
+ "internalType": "uint256",
1665
+ "name": "priceImpact",
1666
+ "type": "uint256"
1667
+ },
1668
+ {
1669
+ "internalType": "uint256",
1670
+ "name": "exchangeRateAfter",
1671
+ "type": "uint256"
1672
+ }
1673
+ ],
1674
+ "stateMutability": "nonpayable",
1675
+ "type": "function"
1676
+ },
1677
+ {
1678
+ "inputs": [
1679
+ {
1680
+ "internalType": "address",
1681
+ "name": "market",
1682
+ "type": "address"
1683
+ },
1684
+ {
1685
+ "internalType": "uint256",
1686
+ "name": "exactPtIn",
1687
+ "type": "uint256"
1688
+ },
1689
+ {
1690
+ "internalType": "address",
1691
+ "name": "tokenOut",
1692
+ "type": "address"
1693
+ },
1694
+ {
1695
+ "internalType": "address",
1696
+ "name": "bulk",
1697
+ "type": "address"
1698
+ }
1699
+ ],
1700
+ "name": "swapExactPtForTokenStatic",
1701
+ "outputs": [
1702
+ {
1703
+ "internalType": "uint256",
1704
+ "name": "netTokenOut",
1705
+ "type": "uint256"
1706
+ },
1707
+ {
1708
+ "internalType": "uint256",
1709
+ "name": "netSyToRedeem",
1710
+ "type": "uint256"
1711
+ },
1712
+ {
1713
+ "internalType": "uint256",
1714
+ "name": "netSyFee",
1715
+ "type": "uint256"
1716
+ },
1717
+ {
1718
+ "internalType": "uint256",
1719
+ "name": "priceImpact",
1720
+ "type": "uint256"
1721
+ },
1722
+ {
1723
+ "internalType": "uint256",
1724
+ "name": "exchangeRateAfter",
1725
+ "type": "uint256"
1726
+ }
1727
+ ],
1728
+ "stateMutability": "nonpayable",
1729
+ "type": "function"
1730
+ },
1731
+ {
1732
+ "inputs": [
1733
+ {
1734
+ "internalType": "address",
1735
+ "name": "market",
1736
+ "type": "address"
1737
+ },
1738
+ {
1739
+ "internalType": "uint256",
1740
+ "name": "exactPtIn",
1741
+ "type": "uint256"
1742
+ }
1743
+ ],
1744
+ "name": "swapExactPtForYtStatic",
1745
+ "outputs": [
1746
+ {
1747
+ "internalType": "uint256",
1748
+ "name": "netYtOut",
1749
+ "type": "uint256"
1750
+ },
1751
+ {
1752
+ "internalType": "uint256",
1753
+ "name": "totalPtToSwap",
1754
+ "type": "uint256"
1755
+ },
1756
+ {
1757
+ "internalType": "uint256",
1758
+ "name": "netSyFee",
1759
+ "type": "uint256"
1760
+ },
1761
+ {
1762
+ "internalType": "uint256",
1763
+ "name": "priceImpact",
1764
+ "type": "uint256"
1765
+ },
1766
+ {
1767
+ "internalType": "uint256",
1768
+ "name": "exchangeRateAfter",
1769
+ "type": "uint256"
1770
+ }
1771
+ ],
1772
+ "stateMutability": "nonpayable",
1773
+ "type": "function"
1774
+ },
1775
+ {
1776
+ "inputs": [
1777
+ {
1778
+ "internalType": "address",
1779
+ "name": "market",
1780
+ "type": "address"
1781
+ },
1782
+ {
1783
+ "internalType": "uint256",
1784
+ "name": "exactSyIn",
1785
+ "type": "uint256"
1786
+ }
1787
+ ],
1788
+ "name": "swapExactSyForPtStatic",
1789
+ "outputs": [
1790
+ {
1791
+ "internalType": "uint256",
1792
+ "name": "netPtOut",
1793
+ "type": "uint256"
1794
+ },
1795
+ {
1796
+ "internalType": "uint256",
1797
+ "name": "netSyFee",
1798
+ "type": "uint256"
1799
+ },
1800
+ {
1801
+ "internalType": "uint256",
1802
+ "name": "priceImpact",
1803
+ "type": "uint256"
1804
+ },
1805
+ {
1806
+ "internalType": "uint256",
1807
+ "name": "exchangeRateAfter",
1808
+ "type": "uint256"
1809
+ }
1810
+ ],
1811
+ "stateMutability": "nonpayable",
1812
+ "type": "function"
1813
+ },
1814
+ {
1815
+ "inputs": [
1816
+ {
1817
+ "internalType": "address",
1818
+ "name": "market",
1819
+ "type": "address"
1820
+ },
1821
+ {
1822
+ "internalType": "uint256",
1823
+ "name": "exactSyIn",
1824
+ "type": "uint256"
1825
+ }
1826
+ ],
1827
+ "name": "swapExactSyForYtStatic",
1828
+ "outputs": [
1829
+ {
1830
+ "internalType": "uint256",
1831
+ "name": "netYtOut",
1832
+ "type": "uint256"
1833
+ },
1834
+ {
1835
+ "internalType": "uint256",
1836
+ "name": "netSyFee",
1837
+ "type": "uint256"
1838
+ },
1839
+ {
1840
+ "internalType": "uint256",
1841
+ "name": "priceImpact",
1842
+ "type": "uint256"
1843
+ },
1844
+ {
1845
+ "internalType": "uint256",
1846
+ "name": "exchangeRateAfter",
1847
+ "type": "uint256"
1848
+ }
1849
+ ],
1850
+ "stateMutability": "nonpayable",
1851
+ "type": "function"
1852
+ },
1853
+ {
1854
+ "inputs": [
1855
+ {
1856
+ "internalType": "address",
1857
+ "name": "market",
1858
+ "type": "address"
1859
+ },
1860
+ {
1861
+ "internalType": "address",
1862
+ "name": "tokenIn",
1863
+ "type": "address"
1864
+ },
1865
+ {
1866
+ "internalType": "uint256",
1867
+ "name": "amountTokenIn",
1868
+ "type": "uint256"
1869
+ },
1870
+ {
1871
+ "internalType": "address",
1872
+ "name": "bulk",
1873
+ "type": "address"
1874
+ }
1875
+ ],
1876
+ "name": "swapExactTokenForPtStatic",
1877
+ "outputs": [
1878
+ {
1879
+ "internalType": "uint256",
1880
+ "name": "netPtOut",
1881
+ "type": "uint256"
1882
+ },
1883
+ {
1884
+ "internalType": "uint256",
1885
+ "name": "netSyMinted",
1886
+ "type": "uint256"
1887
+ },
1888
+ {
1889
+ "internalType": "uint256",
1890
+ "name": "netSyFee",
1891
+ "type": "uint256"
1892
+ },
1893
+ {
1894
+ "internalType": "uint256",
1895
+ "name": "priceImpact",
1896
+ "type": "uint256"
1897
+ },
1898
+ {
1899
+ "internalType": "uint256",
1900
+ "name": "exchangeRateAfter",
1901
+ "type": "uint256"
1902
+ }
1903
+ ],
1904
+ "stateMutability": "nonpayable",
1905
+ "type": "function"
1906
+ },
1907
+ {
1908
+ "inputs": [
1909
+ {
1910
+ "internalType": "address",
1911
+ "name": "market",
1912
+ "type": "address"
1913
+ },
1914
+ {
1915
+ "internalType": "address",
1916
+ "name": "tokenIn",
1917
+ "type": "address"
1918
+ },
1919
+ {
1920
+ "internalType": "uint256",
1921
+ "name": "amountTokenIn",
1922
+ "type": "uint256"
1923
+ },
1924
+ {
1925
+ "internalType": "address",
1926
+ "name": "bulk",
1927
+ "type": "address"
1928
+ }
1929
+ ],
1930
+ "name": "swapExactTokenForYtStatic",
1931
+ "outputs": [
1932
+ {
1933
+ "internalType": "uint256",
1934
+ "name": "netYtOut",
1935
+ "type": "uint256"
1936
+ },
1937
+ {
1938
+ "internalType": "uint256",
1939
+ "name": "netSyMinted",
1940
+ "type": "uint256"
1941
+ },
1942
+ {
1943
+ "internalType": "uint256",
1944
+ "name": "netSyFee",
1945
+ "type": "uint256"
1946
+ },
1947
+ {
1948
+ "internalType": "uint256",
1949
+ "name": "priceImpact",
1950
+ "type": "uint256"
1951
+ },
1952
+ {
1953
+ "internalType": "uint256",
1954
+ "name": "exchangeRateAfter",
1955
+ "type": "uint256"
1956
+ }
1957
+ ],
1958
+ "stateMutability": "nonpayable",
1959
+ "type": "function"
1960
+ },
1961
+ {
1962
+ "inputs": [
1963
+ {
1964
+ "internalType": "address",
1965
+ "name": "market",
1966
+ "type": "address"
1967
+ },
1968
+ {
1969
+ "internalType": "uint256",
1970
+ "name": "exactYtIn",
1971
+ "type": "uint256"
1972
+ }
1973
+ ],
1974
+ "name": "swapExactYtForPtStatic",
1975
+ "outputs": [
1976
+ {
1977
+ "internalType": "uint256",
1978
+ "name": "netPtOut",
1979
+ "type": "uint256"
1980
+ },
1981
+ {
1982
+ "internalType": "uint256",
1983
+ "name": "totalPtSwapped",
1984
+ "type": "uint256"
1985
+ },
1986
+ {
1987
+ "internalType": "uint256",
1988
+ "name": "netSyFee",
1989
+ "type": "uint256"
1990
+ },
1991
+ {
1992
+ "internalType": "uint256",
1993
+ "name": "priceImpact",
1994
+ "type": "uint256"
1995
+ },
1996
+ {
1997
+ "internalType": "uint256",
1998
+ "name": "exchangeRateAfter",
1999
+ "type": "uint256"
2000
+ }
2001
+ ],
2002
+ "stateMutability": "nonpayable",
2003
+ "type": "function"
2004
+ },
2005
+ {
2006
+ "inputs": [
2007
+ {
2008
+ "internalType": "address",
2009
+ "name": "market",
2010
+ "type": "address"
2011
+ },
2012
+ {
2013
+ "internalType": "uint256",
2014
+ "name": "exactYtIn",
2015
+ "type": "uint256"
2016
+ }
2017
+ ],
2018
+ "name": "swapExactYtForSyStatic",
2019
+ "outputs": [
2020
+ {
2021
+ "internalType": "uint256",
2022
+ "name": "netSyOut",
2023
+ "type": "uint256"
2024
+ },
2025
+ {
2026
+ "internalType": "uint256",
2027
+ "name": "netSyFee",
2028
+ "type": "uint256"
2029
+ },
2030
+ {
2031
+ "internalType": "uint256",
2032
+ "name": "priceImpact",
2033
+ "type": "uint256"
2034
+ },
2035
+ {
2036
+ "internalType": "uint256",
2037
+ "name": "exchangeRateAfter",
2038
+ "type": "uint256"
2039
+ },
2040
+ {
2041
+ "internalType": "uint256",
2042
+ "name": "netSyOwedInt",
2043
+ "type": "uint256"
2044
+ },
2045
+ {
2046
+ "internalType": "uint256",
2047
+ "name": "netPYToRepaySyOwedInt",
2048
+ "type": "uint256"
2049
+ },
2050
+ {
2051
+ "internalType": "uint256",
2052
+ "name": "netPYToRedeemSyOutInt",
2053
+ "type": "uint256"
2054
+ }
2055
+ ],
2056
+ "stateMutability": "nonpayable",
2057
+ "type": "function"
2058
+ },
2059
+ {
2060
+ "inputs": [
2061
+ {
2062
+ "internalType": "address",
2063
+ "name": "market",
2064
+ "type": "address"
2065
+ },
2066
+ {
2067
+ "internalType": "uint256",
2068
+ "name": "exactYtIn",
2069
+ "type": "uint256"
2070
+ },
2071
+ {
2072
+ "internalType": "address",
2073
+ "name": "tokenOut",
2074
+ "type": "address"
2075
+ },
2076
+ {
2077
+ "internalType": "address",
2078
+ "name": "bulk",
2079
+ "type": "address"
2080
+ }
2081
+ ],
2082
+ "name": "swapExactYtForTokenStatic",
2083
+ "outputs": [
2084
+ {
2085
+ "internalType": "uint256",
2086
+ "name": "netTokenOut",
2087
+ "type": "uint256"
2088
+ },
2089
+ {
2090
+ "internalType": "uint256",
2091
+ "name": "netSyFee",
2092
+ "type": "uint256"
2093
+ },
2094
+ {
2095
+ "internalType": "uint256",
2096
+ "name": "priceImpact",
2097
+ "type": "uint256"
2098
+ },
2099
+ {
2100
+ "internalType": "uint256",
2101
+ "name": "exchangeRateAfter",
2102
+ "type": "uint256"
2103
+ },
2104
+ {
2105
+ "internalType": "uint256",
2106
+ "name": "netSyOut",
2107
+ "type": "uint256"
2108
+ },
2109
+ {
2110
+ "internalType": "uint256",
2111
+ "name": "netSyOwedInt",
2112
+ "type": "uint256"
2113
+ },
2114
+ {
2115
+ "internalType": "uint256",
2116
+ "name": "netPYToRepaySyOwedInt",
2117
+ "type": "uint256"
2118
+ },
2119
+ {
2120
+ "internalType": "uint256",
2121
+ "name": "netPYToRedeemSyOutInt",
2122
+ "type": "uint256"
2123
+ }
2124
+ ],
2125
+ "stateMutability": "nonpayable",
2126
+ "type": "function"
2127
+ },
2128
+ {
2129
+ "inputs": [
2130
+ {
2131
+ "internalType": "address",
2132
+ "name": "market",
2133
+ "type": "address"
2134
+ },
2135
+ {
2136
+ "internalType": "uint256",
2137
+ "name": "exactSyOut",
2138
+ "type": "uint256"
2139
+ }
2140
+ ],
2141
+ "name": "swapPtForExactSyStatic",
2142
+ "outputs": [
2143
+ {
2144
+ "internalType": "uint256",
2145
+ "name": "netPtIn",
2146
+ "type": "uint256"
2147
+ },
2148
+ {
2149
+ "internalType": "uint256",
2150
+ "name": "netSyFee",
2151
+ "type": "uint256"
2152
+ },
2153
+ {
2154
+ "internalType": "uint256",
2155
+ "name": "priceImpact",
2156
+ "type": "uint256"
2157
+ },
2158
+ {
2159
+ "internalType": "uint256",
2160
+ "name": "exchangeRateAfter",
2161
+ "type": "uint256"
2162
+ }
2163
+ ],
2164
+ "stateMutability": "nonpayable",
2165
+ "type": "function"
2166
+ },
2167
+ {
2168
+ "inputs": [
2169
+ {
2170
+ "internalType": "address",
2171
+ "name": "market",
2172
+ "type": "address"
2173
+ },
2174
+ {
2175
+ "internalType": "uint256",
2176
+ "name": "exactPtOut",
2177
+ "type": "uint256"
2178
+ }
2179
+ ],
2180
+ "name": "swapSyForExactPtStatic",
2181
+ "outputs": [
2182
+ {
2183
+ "internalType": "uint256",
2184
+ "name": "netSyIn",
2185
+ "type": "uint256"
2186
+ },
2187
+ {
2188
+ "internalType": "uint256",
2189
+ "name": "netSyFee",
2190
+ "type": "uint256"
2191
+ },
2192
+ {
2193
+ "internalType": "uint256",
2194
+ "name": "priceImpact",
2195
+ "type": "uint256"
2196
+ },
2197
+ {
2198
+ "internalType": "uint256",
2199
+ "name": "exchangeRateAfter",
2200
+ "type": "uint256"
2201
+ }
2202
+ ],
2203
+ "stateMutability": "nonpayable",
2204
+ "type": "function"
2205
+ },
2206
+ {
2207
+ "inputs": [
2208
+ {
2209
+ "internalType": "address",
2210
+ "name": "market",
2211
+ "type": "address"
2212
+ },
2213
+ {
2214
+ "internalType": "uint256",
2215
+ "name": "exactYtOut",
2216
+ "type": "uint256"
2217
+ }
2218
+ ],
2219
+ "name": "swapSyForExactYtStatic",
2220
+ "outputs": [
2221
+ {
2222
+ "internalType": "uint256",
2223
+ "name": "netSyIn",
2224
+ "type": "uint256"
2225
+ },
2226
+ {
2227
+ "internalType": "uint256",
2228
+ "name": "netSyFee",
2229
+ "type": "uint256"
2230
+ },
2231
+ {
2232
+ "internalType": "uint256",
2233
+ "name": "priceImpact",
2234
+ "type": "uint256"
2235
+ },
2236
+ {
2237
+ "internalType": "uint256",
2238
+ "name": "exchangeRateAfter",
2239
+ "type": "uint256"
2240
+ },
2241
+ {
2242
+ "internalType": "uint256",
2243
+ "name": "netSyReceivedInt",
2244
+ "type": "uint256"
2245
+ },
2246
+ {
2247
+ "internalType": "uint256",
2248
+ "name": "totalSyNeedInt",
2249
+ "type": "uint256"
2250
+ }
2251
+ ],
2252
+ "stateMutability": "nonpayable",
2253
+ "type": "function"
2254
+ },
2255
+ {
2256
+ "inputs": [
2257
+ {
2258
+ "internalType": "address",
2259
+ "name": "market",
2260
+ "type": "address"
2261
+ },
2262
+ {
2263
+ "internalType": "uint256",
2264
+ "name": "exactSyOut",
2265
+ "type": "uint256"
2266
+ }
2267
+ ],
2268
+ "name": "swapYtForExactSyStatic",
2269
+ "outputs": [
2270
+ {
2271
+ "internalType": "uint256",
2272
+ "name": "netYtIn",
2273
+ "type": "uint256"
2274
+ },
2275
+ {
2276
+ "internalType": "uint256",
2277
+ "name": "netSyFee",
2278
+ "type": "uint256"
2279
+ },
2280
+ {
2281
+ "internalType": "uint256",
2282
+ "name": "priceImpact",
2283
+ "type": "uint256"
2284
+ },
2285
+ {
2286
+ "internalType": "uint256",
2287
+ "name": "exchangeRateAfter",
2288
+ "type": "uint256"
2289
+ }
2290
+ ],
2291
+ "stateMutability": "nonpayable",
2292
+ "type": "function"
2293
+ },
2294
+ {
2295
+ "inputs": [
2296
+ {
2297
+ "internalType": "address",
2298
+ "name": "newOwner",
2299
+ "type": "address"
2300
+ },
2301
+ {
2302
+ "internalType": "bool",
2303
+ "name": "direct",
2304
+ "type": "bool"
2305
+ },
2306
+ {
2307
+ "internalType": "bool",
2308
+ "name": "renounce",
2309
+ "type": "bool"
2310
+ }
2311
+ ],
2312
+ "name": "transferOwnership",
2313
+ "outputs": [],
2314
+ "stateMutability": "nonpayable",
2315
+ "type": "function"
2316
+ }
2317
+ ],
2318
+ "bytecode": "0x",
2319
+ "deployedBytecode": "0x",
2320
+ "linkReferences": {},
2321
+ "deployedLinkReferences": {}
2322
+ }