@pendle/core-v2 1.2.0-testnet → 1.2.1-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 (253) 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -0
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  39. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  42. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  44. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +4 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +974 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  72. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  74. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  76. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  80. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  82. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  84. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  86. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -2
  88. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.json +26 -0
  90. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
  92. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
  95. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
  97. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1270 -0
  99. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +273 -0
  102. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +184 -0
  104. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
  108. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
  113. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
  114. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2332 -0
  115. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +39 -0
  117. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +4 -0
  120. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +256 -0
  121. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  122. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  123. package/build/artifacts/contracts/offchain-helpers/legacy/MarketMathStatic.sol/MarketMathStatic.dbg.json +4 -0
  124. package/build/artifacts/contracts/offchain-helpers/legacy/MarketMathStatic.sol/MarketMathStatic.json +259 -0
  125. package/build/artifacts/contracts/offchain-helpers/legacy/RouterStatic.sol/RouterStatic.dbg.json +4 -0
  126. package/build/artifacts/contracts/offchain-helpers/legacy/RouterStatic.sol/RouterStatic.json +2741 -0
  127. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
  128. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
  129. package/build/artifacts/contracts/offchain-helpers/router-static/StorageLayout.sol/StorageLayout.dbg.json +4 -0
  130. package/build/artifacts/contracts/offchain-helpers/router-static/StorageLayout.sol/StorageLayout.json +10 -0
  131. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
  132. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
  133. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
  134. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
  135. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
  136. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1407 -0
  137. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
  138. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
  139. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
  140. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
  141. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
  142. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
  143. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  145. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  147. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  149. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  151. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  153. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  155. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  158. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  160. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  161. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +2 -2
  163. package/package.json +1 -1
  164. package/typechain-types/ActionInfoStatic.ts +310 -0
  165. package/typechain-types/ActionMarketAuxStatic.ts +350 -0
  166. package/typechain-types/ActionMarketCoreStatic.ts +1489 -0
  167. package/typechain-types/ActionMintRedeemStatic.ts +461 -0
  168. package/typechain-types/ActionStorageStatic.ts +403 -0
  169. package/typechain-types/ActionVePendleStatic.ts +113 -0
  170. package/typechain-types/Broadcaster.ts +454 -0
  171. package/typechain-types/IERC4626.ts +34 -0
  172. package/typechain-types/IGlpManager.ts +50 -0
  173. package/typechain-types/IPActionInfoStatic.ts +310 -0
  174. package/typechain-types/IPActionMarketAuxStatic.ts +350 -0
  175. package/typechain-types/IPActionMarketCoreStatic.ts +1489 -0
  176. package/typechain-types/IPActionMintRedeemStatic.ts +461 -0
  177. package/typechain-types/IPActionStorageStatic.ts +326 -0
  178. package/typechain-types/IPActionVePendleStatic.ts +113 -0
  179. package/typechain-types/IPMiniDiamond.ts +147 -0
  180. package/typechain-types/IPRouterStatic.ts +2394 -509
  181. package/typechain-types/IPVotingController.ts +96 -0
  182. package/typechain-types/PendleGDaiSY.ts +1229 -0
  183. package/typechain-types/PendleRouterStatic.ts +57 -0
  184. package/typechain-types/RouterStatic.ts +0 -92
  185. package/typechain-types/VotingControllerStorageUpg.ts +96 -0
  186. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  187. package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
  188. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +390 -0
  189. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1464 -0
  190. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +367 -0
  191. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  192. package/typechain-types/factories/ActionStorageStatic__factory.ts +281 -0
  193. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  194. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  195. package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
  196. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  197. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  198. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  199. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  200. package/typechain-types/factories/Errors__factory.ts +1 -1
  201. package/typechain-types/factories/IERC4626__factory.ts +19 -0
  202. package/typechain-types/factories/IGlpManager__factory.ts +26 -0
  203. package/typechain-types/factories/IPActionInfoStatic__factory.ts +322 -0
  204. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +288 -0
  205. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1289 -0
  206. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +292 -0
  207. package/typechain-types/factories/IPActionStorageStatic__factory.ts +203 -0
  208. package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
  209. package/typechain-types/factories/IPMiniDiamond__factory.ts +67 -0
  210. package/typechain-types/factories/IPRouterStatic__factory.ts +1952 -494
  211. package/typechain-types/factories/IPVotingController__factory.ts +39 -0
  212. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  213. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  214. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  215. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  216. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  217. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  218. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  219. package/typechain-types/factories/PendleGDaiSY__factory.ts +1035 -0
  220. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  221. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  222. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  223. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  224. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  225. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  226. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  227. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  228. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  229. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  230. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  231. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  232. package/typechain-types/factories/PendleRouterStatic__factory.ts +88 -0
  233. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  234. package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
  235. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  236. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  237. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  238. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  239. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  240. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  241. package/typechain-types/factories/RouterStatic__factory.ts +4 -72
  242. package/typechain-types/factories/SAPE__factory.ts +1 -1
  243. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -0
  244. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  245. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  246. package/typechain-types/hardhat.d.ts +171 -27
  247. package/typechain-types/index.ts +36 -8
  248. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
  249. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
  250. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
  251. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -259
  252. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
  253. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2825
@@ -0,0 +1,2332 @@
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": "",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "",
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": "netSyToRedeem",
1524
+ "type": "uint256"
1525
+ },
1526
+ {
1527
+ "internalType": "uint256",
1528
+ "name": "netSyFee",
1529
+ "type": "uint256"
1530
+ },
1531
+ {
1532
+ "internalType": "uint256",
1533
+ "name": "priceImpact",
1534
+ "type": "uint256"
1535
+ },
1536
+ {
1537
+ "internalType": "uint256",
1538
+ "name": "exchangeRateAfter",
1539
+ "type": "uint256"
1540
+ },
1541
+ {
1542
+ "internalType": "uint256",
1543
+ "name": "netSyOut",
1544
+ "type": "uint256"
1545
+ },
1546
+ {
1547
+ "internalType": "uint256",
1548
+ "name": "netSyFromBurn",
1549
+ "type": "uint256"
1550
+ },
1551
+ {
1552
+ "internalType": "uint256",
1553
+ "name": "netPtFromBurn",
1554
+ "type": "uint256"
1555
+ },
1556
+ {
1557
+ "internalType": "uint256",
1558
+ "name": "netSyFromSwap",
1559
+ "type": "uint256"
1560
+ }
1561
+ ],
1562
+ "stateMutability": "nonpayable",
1563
+ "type": "function"
1564
+ },
1565
+ {
1566
+ "inputs": [
1567
+ {
1568
+ "internalType": "address",
1569
+ "name": "_bulkSellerFactory",
1570
+ "type": "address"
1571
+ }
1572
+ ],
1573
+ "name": "setBulkSellerFactory",
1574
+ "outputs": [],
1575
+ "stateMutability": "nonpayable",
1576
+ "type": "function"
1577
+ },
1578
+ {
1579
+ "inputs": [
1580
+ {
1581
+ "components": [
1582
+ {
1583
+ "internalType": "uint256",
1584
+ "name": "guessMin",
1585
+ "type": "uint256"
1586
+ },
1587
+ {
1588
+ "internalType": "uint256",
1589
+ "name": "guessMax",
1590
+ "type": "uint256"
1591
+ },
1592
+ {
1593
+ "internalType": "uint256",
1594
+ "name": "guessOffchain",
1595
+ "type": "uint256"
1596
+ },
1597
+ {
1598
+ "internalType": "uint256",
1599
+ "name": "maxIteration",
1600
+ "type": "uint256"
1601
+ },
1602
+ {
1603
+ "internalType": "uint256",
1604
+ "name": "eps",
1605
+ "type": "uint256"
1606
+ }
1607
+ ],
1608
+ "internalType": "struct ApproxParams",
1609
+ "name": "params",
1610
+ "type": "tuple"
1611
+ }
1612
+ ],
1613
+ "name": "setDefaultApproxParams",
1614
+ "outputs": [],
1615
+ "stateMutability": "nonpayable",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "components": [
1622
+ {
1623
+ "internalType": "address",
1624
+ "name": "facet",
1625
+ "type": "address"
1626
+ },
1627
+ {
1628
+ "internalType": "bytes4[]",
1629
+ "name": "selectors",
1630
+ "type": "bytes4[]"
1631
+ }
1632
+ ],
1633
+ "internalType": "struct IPMiniDiamond.SelectorsToFacet[]",
1634
+ "name": "arr",
1635
+ "type": "tuple[]"
1636
+ }
1637
+ ],
1638
+ "name": "setFacetForSelectors",
1639
+ "outputs": [],
1640
+ "stateMutability": "nonpayable",
1641
+ "type": "function"
1642
+ },
1643
+ {
1644
+ "inputs": [
1645
+ {
1646
+ "internalType": "address",
1647
+ "name": "market",
1648
+ "type": "address"
1649
+ },
1650
+ {
1651
+ "internalType": "uint256",
1652
+ "name": "exactPtIn",
1653
+ "type": "uint256"
1654
+ }
1655
+ ],
1656
+ "name": "swapExactPtForSyStatic",
1657
+ "outputs": [
1658
+ {
1659
+ "internalType": "uint256",
1660
+ "name": "netSyOut",
1661
+ "type": "uint256"
1662
+ },
1663
+ {
1664
+ "internalType": "uint256",
1665
+ "name": "netSyFee",
1666
+ "type": "uint256"
1667
+ },
1668
+ {
1669
+ "internalType": "uint256",
1670
+ "name": "priceImpact",
1671
+ "type": "uint256"
1672
+ },
1673
+ {
1674
+ "internalType": "uint256",
1675
+ "name": "exchangeRateAfter",
1676
+ "type": "uint256"
1677
+ }
1678
+ ],
1679
+ "stateMutability": "nonpayable",
1680
+ "type": "function"
1681
+ },
1682
+ {
1683
+ "inputs": [
1684
+ {
1685
+ "internalType": "address",
1686
+ "name": "market",
1687
+ "type": "address"
1688
+ },
1689
+ {
1690
+ "internalType": "uint256",
1691
+ "name": "exactPtIn",
1692
+ "type": "uint256"
1693
+ },
1694
+ {
1695
+ "internalType": "address",
1696
+ "name": "tokenOut",
1697
+ "type": "address"
1698
+ },
1699
+ {
1700
+ "internalType": "address",
1701
+ "name": "bulk",
1702
+ "type": "address"
1703
+ }
1704
+ ],
1705
+ "name": "swapExactPtForTokenStatic",
1706
+ "outputs": [
1707
+ {
1708
+ "internalType": "uint256",
1709
+ "name": "netTokenOut",
1710
+ "type": "uint256"
1711
+ },
1712
+ {
1713
+ "internalType": "uint256",
1714
+ "name": "netSyToRedeem",
1715
+ "type": "uint256"
1716
+ },
1717
+ {
1718
+ "internalType": "uint256",
1719
+ "name": "netSyFee",
1720
+ "type": "uint256"
1721
+ },
1722
+ {
1723
+ "internalType": "uint256",
1724
+ "name": "priceImpact",
1725
+ "type": "uint256"
1726
+ },
1727
+ {
1728
+ "internalType": "uint256",
1729
+ "name": "exchangeRateAfter",
1730
+ "type": "uint256"
1731
+ }
1732
+ ],
1733
+ "stateMutability": "nonpayable",
1734
+ "type": "function"
1735
+ },
1736
+ {
1737
+ "inputs": [
1738
+ {
1739
+ "internalType": "address",
1740
+ "name": "market",
1741
+ "type": "address"
1742
+ },
1743
+ {
1744
+ "internalType": "uint256",
1745
+ "name": "exactPtIn",
1746
+ "type": "uint256"
1747
+ }
1748
+ ],
1749
+ "name": "swapExactPtForYtStatic",
1750
+ "outputs": [
1751
+ {
1752
+ "internalType": "uint256",
1753
+ "name": "netYtOut",
1754
+ "type": "uint256"
1755
+ },
1756
+ {
1757
+ "internalType": "uint256",
1758
+ "name": "totalPtToSwap",
1759
+ "type": "uint256"
1760
+ },
1761
+ {
1762
+ "internalType": "uint256",
1763
+ "name": "netSyFee",
1764
+ "type": "uint256"
1765
+ },
1766
+ {
1767
+ "internalType": "uint256",
1768
+ "name": "priceImpact",
1769
+ "type": "uint256"
1770
+ },
1771
+ {
1772
+ "internalType": "uint256",
1773
+ "name": "exchangeRateAfter",
1774
+ "type": "uint256"
1775
+ }
1776
+ ],
1777
+ "stateMutability": "nonpayable",
1778
+ "type": "function"
1779
+ },
1780
+ {
1781
+ "inputs": [
1782
+ {
1783
+ "internalType": "address",
1784
+ "name": "market",
1785
+ "type": "address"
1786
+ },
1787
+ {
1788
+ "internalType": "uint256",
1789
+ "name": "exactSyIn",
1790
+ "type": "uint256"
1791
+ }
1792
+ ],
1793
+ "name": "swapExactSyForPtStatic",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "uint256",
1797
+ "name": "netPtOut",
1798
+ "type": "uint256"
1799
+ },
1800
+ {
1801
+ "internalType": "uint256",
1802
+ "name": "netSyFee",
1803
+ "type": "uint256"
1804
+ },
1805
+ {
1806
+ "internalType": "uint256",
1807
+ "name": "priceImpact",
1808
+ "type": "uint256"
1809
+ },
1810
+ {
1811
+ "internalType": "uint256",
1812
+ "name": "exchangeRateAfter",
1813
+ "type": "uint256"
1814
+ }
1815
+ ],
1816
+ "stateMutability": "nonpayable",
1817
+ "type": "function"
1818
+ },
1819
+ {
1820
+ "inputs": [
1821
+ {
1822
+ "internalType": "address",
1823
+ "name": "market",
1824
+ "type": "address"
1825
+ },
1826
+ {
1827
+ "internalType": "uint256",
1828
+ "name": "exactSyIn",
1829
+ "type": "uint256"
1830
+ }
1831
+ ],
1832
+ "name": "swapExactSyForYtStatic",
1833
+ "outputs": [
1834
+ {
1835
+ "internalType": "uint256",
1836
+ "name": "netYtOut",
1837
+ "type": "uint256"
1838
+ },
1839
+ {
1840
+ "internalType": "uint256",
1841
+ "name": "netSyFee",
1842
+ "type": "uint256"
1843
+ },
1844
+ {
1845
+ "internalType": "uint256",
1846
+ "name": "priceImpact",
1847
+ "type": "uint256"
1848
+ },
1849
+ {
1850
+ "internalType": "uint256",
1851
+ "name": "exchangeRateAfter",
1852
+ "type": "uint256"
1853
+ }
1854
+ ],
1855
+ "stateMutability": "nonpayable",
1856
+ "type": "function"
1857
+ },
1858
+ {
1859
+ "inputs": [
1860
+ {
1861
+ "internalType": "address",
1862
+ "name": "market",
1863
+ "type": "address"
1864
+ },
1865
+ {
1866
+ "internalType": "address",
1867
+ "name": "tokenIn",
1868
+ "type": "address"
1869
+ },
1870
+ {
1871
+ "internalType": "uint256",
1872
+ "name": "amountTokenIn",
1873
+ "type": "uint256"
1874
+ },
1875
+ {
1876
+ "internalType": "address",
1877
+ "name": "bulk",
1878
+ "type": "address"
1879
+ }
1880
+ ],
1881
+ "name": "swapExactTokenForPtStatic",
1882
+ "outputs": [
1883
+ {
1884
+ "internalType": "uint256",
1885
+ "name": "netPtOut",
1886
+ "type": "uint256"
1887
+ },
1888
+ {
1889
+ "internalType": "uint256",
1890
+ "name": "netSyMinted",
1891
+ "type": "uint256"
1892
+ },
1893
+ {
1894
+ "internalType": "uint256",
1895
+ "name": "netSyFee",
1896
+ "type": "uint256"
1897
+ },
1898
+ {
1899
+ "internalType": "uint256",
1900
+ "name": "priceImpact",
1901
+ "type": "uint256"
1902
+ },
1903
+ {
1904
+ "internalType": "uint256",
1905
+ "name": "exchangeRateAfter",
1906
+ "type": "uint256"
1907
+ }
1908
+ ],
1909
+ "stateMutability": "nonpayable",
1910
+ "type": "function"
1911
+ },
1912
+ {
1913
+ "inputs": [
1914
+ {
1915
+ "internalType": "address",
1916
+ "name": "market",
1917
+ "type": "address"
1918
+ },
1919
+ {
1920
+ "internalType": "address",
1921
+ "name": "tokenIn",
1922
+ "type": "address"
1923
+ },
1924
+ {
1925
+ "internalType": "uint256",
1926
+ "name": "amountTokenIn",
1927
+ "type": "uint256"
1928
+ },
1929
+ {
1930
+ "internalType": "address",
1931
+ "name": "bulk",
1932
+ "type": "address"
1933
+ }
1934
+ ],
1935
+ "name": "swapExactTokenForYtStatic",
1936
+ "outputs": [
1937
+ {
1938
+ "internalType": "uint256",
1939
+ "name": "netYtOut",
1940
+ "type": "uint256"
1941
+ },
1942
+ {
1943
+ "internalType": "uint256",
1944
+ "name": "netSyMinted",
1945
+ "type": "uint256"
1946
+ },
1947
+ {
1948
+ "internalType": "uint256",
1949
+ "name": "netSyFee",
1950
+ "type": "uint256"
1951
+ },
1952
+ {
1953
+ "internalType": "uint256",
1954
+ "name": "priceImpact",
1955
+ "type": "uint256"
1956
+ },
1957
+ {
1958
+ "internalType": "uint256",
1959
+ "name": "exchangeRateAfter",
1960
+ "type": "uint256"
1961
+ }
1962
+ ],
1963
+ "stateMutability": "nonpayable",
1964
+ "type": "function"
1965
+ },
1966
+ {
1967
+ "inputs": [
1968
+ {
1969
+ "internalType": "address",
1970
+ "name": "market",
1971
+ "type": "address"
1972
+ },
1973
+ {
1974
+ "internalType": "uint256",
1975
+ "name": "exactYtIn",
1976
+ "type": "uint256"
1977
+ }
1978
+ ],
1979
+ "name": "swapExactYtForPtStatic",
1980
+ "outputs": [
1981
+ {
1982
+ "internalType": "uint256",
1983
+ "name": "netPtOut",
1984
+ "type": "uint256"
1985
+ },
1986
+ {
1987
+ "internalType": "uint256",
1988
+ "name": "totalPtSwapped",
1989
+ "type": "uint256"
1990
+ },
1991
+ {
1992
+ "internalType": "uint256",
1993
+ "name": "netSyFee",
1994
+ "type": "uint256"
1995
+ },
1996
+ {
1997
+ "internalType": "uint256",
1998
+ "name": "priceImpact",
1999
+ "type": "uint256"
2000
+ },
2001
+ {
2002
+ "internalType": "uint256",
2003
+ "name": "exchangeRateAfter",
2004
+ "type": "uint256"
2005
+ }
2006
+ ],
2007
+ "stateMutability": "nonpayable",
2008
+ "type": "function"
2009
+ },
2010
+ {
2011
+ "inputs": [
2012
+ {
2013
+ "internalType": "address",
2014
+ "name": "market",
2015
+ "type": "address"
2016
+ },
2017
+ {
2018
+ "internalType": "uint256",
2019
+ "name": "exactYtIn",
2020
+ "type": "uint256"
2021
+ }
2022
+ ],
2023
+ "name": "swapExactYtForSyStatic",
2024
+ "outputs": [
2025
+ {
2026
+ "internalType": "uint256",
2027
+ "name": "netSyOut",
2028
+ "type": "uint256"
2029
+ },
2030
+ {
2031
+ "internalType": "uint256",
2032
+ "name": "netSyFee",
2033
+ "type": "uint256"
2034
+ },
2035
+ {
2036
+ "internalType": "uint256",
2037
+ "name": "priceImpact",
2038
+ "type": "uint256"
2039
+ },
2040
+ {
2041
+ "internalType": "uint256",
2042
+ "name": "exchangeRateAfter",
2043
+ "type": "uint256"
2044
+ },
2045
+ {
2046
+ "internalType": "uint256",
2047
+ "name": "netSyOwedInt",
2048
+ "type": "uint256"
2049
+ },
2050
+ {
2051
+ "internalType": "uint256",
2052
+ "name": "netPYToRepaySyOwedInt",
2053
+ "type": "uint256"
2054
+ },
2055
+ {
2056
+ "internalType": "uint256",
2057
+ "name": "netPYToRedeemSyOutInt",
2058
+ "type": "uint256"
2059
+ }
2060
+ ],
2061
+ "stateMutability": "nonpayable",
2062
+ "type": "function"
2063
+ },
2064
+ {
2065
+ "inputs": [
2066
+ {
2067
+ "internalType": "address",
2068
+ "name": "market",
2069
+ "type": "address"
2070
+ },
2071
+ {
2072
+ "internalType": "uint256",
2073
+ "name": "exactYtIn",
2074
+ "type": "uint256"
2075
+ },
2076
+ {
2077
+ "internalType": "address",
2078
+ "name": "tokenOut",
2079
+ "type": "address"
2080
+ },
2081
+ {
2082
+ "internalType": "address",
2083
+ "name": "bulk",
2084
+ "type": "address"
2085
+ }
2086
+ ],
2087
+ "name": "swapExactYtForTokenStatic",
2088
+ "outputs": [
2089
+ {
2090
+ "internalType": "uint256",
2091
+ "name": "netTokenOut",
2092
+ "type": "uint256"
2093
+ },
2094
+ {
2095
+ "internalType": "uint256",
2096
+ "name": "netSyToRedeem",
2097
+ "type": "uint256"
2098
+ },
2099
+ {
2100
+ "internalType": "uint256",
2101
+ "name": "netSyFee",
2102
+ "type": "uint256"
2103
+ },
2104
+ {
2105
+ "internalType": "uint256",
2106
+ "name": "priceImpact",
2107
+ "type": "uint256"
2108
+ },
2109
+ {
2110
+ "internalType": "uint256",
2111
+ "name": "exchangeRateAfter",
2112
+ "type": "uint256"
2113
+ },
2114
+ {
2115
+ "internalType": "uint256",
2116
+ "name": "netSyOut",
2117
+ "type": "uint256"
2118
+ },
2119
+ {
2120
+ "internalType": "uint256",
2121
+ "name": "netSyOwedInt",
2122
+ "type": "uint256"
2123
+ },
2124
+ {
2125
+ "internalType": "uint256",
2126
+ "name": "netPYToRepaySyOwedInt",
2127
+ "type": "uint256"
2128
+ },
2129
+ {
2130
+ "internalType": "uint256",
2131
+ "name": "netPYToRedeemSyOutInt",
2132
+ "type": "uint256"
2133
+ }
2134
+ ],
2135
+ "stateMutability": "nonpayable",
2136
+ "type": "function"
2137
+ },
2138
+ {
2139
+ "inputs": [
2140
+ {
2141
+ "internalType": "address",
2142
+ "name": "market",
2143
+ "type": "address"
2144
+ },
2145
+ {
2146
+ "internalType": "uint256",
2147
+ "name": "exactSyOut",
2148
+ "type": "uint256"
2149
+ }
2150
+ ],
2151
+ "name": "swapPtForExactSyStatic",
2152
+ "outputs": [
2153
+ {
2154
+ "internalType": "uint256",
2155
+ "name": "netPtIn",
2156
+ "type": "uint256"
2157
+ },
2158
+ {
2159
+ "internalType": "uint256",
2160
+ "name": "netSyFee",
2161
+ "type": "uint256"
2162
+ },
2163
+ {
2164
+ "internalType": "uint256",
2165
+ "name": "priceImpact",
2166
+ "type": "uint256"
2167
+ },
2168
+ {
2169
+ "internalType": "uint256",
2170
+ "name": "exchangeRateAfter",
2171
+ "type": "uint256"
2172
+ }
2173
+ ],
2174
+ "stateMutability": "nonpayable",
2175
+ "type": "function"
2176
+ },
2177
+ {
2178
+ "inputs": [
2179
+ {
2180
+ "internalType": "address",
2181
+ "name": "market",
2182
+ "type": "address"
2183
+ },
2184
+ {
2185
+ "internalType": "uint256",
2186
+ "name": "exactPtOut",
2187
+ "type": "uint256"
2188
+ }
2189
+ ],
2190
+ "name": "swapSyForExactPtStatic",
2191
+ "outputs": [
2192
+ {
2193
+ "internalType": "uint256",
2194
+ "name": "netSyIn",
2195
+ "type": "uint256"
2196
+ },
2197
+ {
2198
+ "internalType": "uint256",
2199
+ "name": "netSyFee",
2200
+ "type": "uint256"
2201
+ },
2202
+ {
2203
+ "internalType": "uint256",
2204
+ "name": "priceImpact",
2205
+ "type": "uint256"
2206
+ },
2207
+ {
2208
+ "internalType": "uint256",
2209
+ "name": "exchangeRateAfter",
2210
+ "type": "uint256"
2211
+ }
2212
+ ],
2213
+ "stateMutability": "nonpayable",
2214
+ "type": "function"
2215
+ },
2216
+ {
2217
+ "inputs": [
2218
+ {
2219
+ "internalType": "address",
2220
+ "name": "market",
2221
+ "type": "address"
2222
+ },
2223
+ {
2224
+ "internalType": "uint256",
2225
+ "name": "exactYtOut",
2226
+ "type": "uint256"
2227
+ }
2228
+ ],
2229
+ "name": "swapSyForExactYtStatic",
2230
+ "outputs": [
2231
+ {
2232
+ "internalType": "uint256",
2233
+ "name": "netSyIn",
2234
+ "type": "uint256"
2235
+ },
2236
+ {
2237
+ "internalType": "uint256",
2238
+ "name": "netSyFee",
2239
+ "type": "uint256"
2240
+ },
2241
+ {
2242
+ "internalType": "uint256",
2243
+ "name": "priceImpact",
2244
+ "type": "uint256"
2245
+ },
2246
+ {
2247
+ "internalType": "uint256",
2248
+ "name": "exchangeRateAfter",
2249
+ "type": "uint256"
2250
+ },
2251
+ {
2252
+ "internalType": "uint256",
2253
+ "name": "netSyReceivedInt",
2254
+ "type": "uint256"
2255
+ },
2256
+ {
2257
+ "internalType": "uint256",
2258
+ "name": "totalSyNeedInt",
2259
+ "type": "uint256"
2260
+ }
2261
+ ],
2262
+ "stateMutability": "nonpayable",
2263
+ "type": "function"
2264
+ },
2265
+ {
2266
+ "inputs": [
2267
+ {
2268
+ "internalType": "address",
2269
+ "name": "market",
2270
+ "type": "address"
2271
+ },
2272
+ {
2273
+ "internalType": "uint256",
2274
+ "name": "exactSyOut",
2275
+ "type": "uint256"
2276
+ }
2277
+ ],
2278
+ "name": "swapYtForExactSyStatic",
2279
+ "outputs": [
2280
+ {
2281
+ "internalType": "uint256",
2282
+ "name": "netYtIn",
2283
+ "type": "uint256"
2284
+ },
2285
+ {
2286
+ "internalType": "uint256",
2287
+ "name": "netSyFee",
2288
+ "type": "uint256"
2289
+ },
2290
+ {
2291
+ "internalType": "uint256",
2292
+ "name": "priceImpact",
2293
+ "type": "uint256"
2294
+ },
2295
+ {
2296
+ "internalType": "uint256",
2297
+ "name": "exchangeRateAfter",
2298
+ "type": "uint256"
2299
+ }
2300
+ ],
2301
+ "stateMutability": "nonpayable",
2302
+ "type": "function"
2303
+ },
2304
+ {
2305
+ "inputs": [
2306
+ {
2307
+ "internalType": "address",
2308
+ "name": "newOwner",
2309
+ "type": "address"
2310
+ },
2311
+ {
2312
+ "internalType": "bool",
2313
+ "name": "direct",
2314
+ "type": "bool"
2315
+ },
2316
+ {
2317
+ "internalType": "bool",
2318
+ "name": "renounce",
2319
+ "type": "bool"
2320
+ }
2321
+ ],
2322
+ "name": "transferOwnership",
2323
+ "outputs": [],
2324
+ "stateMutability": "nonpayable",
2325
+ "type": "function"
2326
+ }
2327
+ ],
2328
+ "bytecode": "0x",
2329
+ "deployedBytecode": "0x",
2330
+ "linkReferences": {},
2331
+ "deployedLinkReferences": {}
2332
+ }