@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,1289 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPActionMarketCoreStatic,
9
+ IPActionMarketCoreStaticInterface,
10
+ } from "../IPActionMarketCoreStatic";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "market",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "netSyDesired",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "netPtDesired",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "addLiquidityDualSyAndPtStatic",
32
+ outputs: [
33
+ {
34
+ internalType: "uint256",
35
+ name: "netLpOut",
36
+ type: "uint256",
37
+ },
38
+ {
39
+ internalType: "uint256",
40
+ name: "netSyUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ internalType: "uint256",
45
+ name: "netPtUsed",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "market",
57
+ type: "address",
58
+ },
59
+ {
60
+ internalType: "address",
61
+ name: "tokenIn",
62
+ type: "address",
63
+ },
64
+ {
65
+ internalType: "uint256",
66
+ name: "netTokenDesired",
67
+ type: "uint256",
68
+ },
69
+ {
70
+ internalType: "address",
71
+ name: "bulk",
72
+ type: "address",
73
+ },
74
+ {
75
+ internalType: "uint256",
76
+ name: "netPtDesired",
77
+ type: "uint256",
78
+ },
79
+ ],
80
+ name: "addLiquidityDualTokenAndPtStatic",
81
+ outputs: [
82
+ {
83
+ internalType: "uint256",
84
+ name: "netLpOut",
85
+ type: "uint256",
86
+ },
87
+ {
88
+ internalType: "uint256",
89
+ name: "netTokenUsed",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ internalType: "uint256",
94
+ name: "netPtUsed",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ internalType: "uint256",
99
+ name: "netSyUsed",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ internalType: "uint256",
104
+ name: "netSyDesired",
105
+ type: "uint256",
106
+ },
107
+ ],
108
+ stateMutability: "view",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "market",
116
+ type: "address",
117
+ },
118
+ {
119
+ internalType: "uint256",
120
+ name: "netPtIn",
121
+ type: "uint256",
122
+ },
123
+ ],
124
+ name: "addLiquiditySinglePtStatic",
125
+ outputs: [
126
+ {
127
+ internalType: "uint256",
128
+ name: "netLpOut",
129
+ type: "uint256",
130
+ },
131
+ {
132
+ internalType: "uint256",
133
+ name: "netPtToSwap",
134
+ type: "uint256",
135
+ },
136
+ {
137
+ internalType: "uint256",
138
+ name: "netSyFee",
139
+ type: "uint256",
140
+ },
141
+ {
142
+ internalType: "uint256",
143
+ name: "priceImpact",
144
+ type: "uint256",
145
+ },
146
+ {
147
+ internalType: "uint256",
148
+ name: "exchangeRateAfter",
149
+ type: "uint256",
150
+ },
151
+ {
152
+ internalType: "uint256",
153
+ name: "netSyFromSwap",
154
+ type: "uint256",
155
+ },
156
+ ],
157
+ stateMutability: "nonpayable",
158
+ type: "function",
159
+ },
160
+ {
161
+ inputs: [
162
+ {
163
+ internalType: "address",
164
+ name: "market",
165
+ type: "address",
166
+ },
167
+ {
168
+ internalType: "uint256",
169
+ name: "netSyIn",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ name: "addLiquiditySingleSyKeepYtStatic",
174
+ outputs: [
175
+ {
176
+ internalType: "uint256",
177
+ name: "netLpOut",
178
+ type: "uint256",
179
+ },
180
+ {
181
+ internalType: "uint256",
182
+ name: "netYtOut",
183
+ type: "uint256",
184
+ },
185
+ {
186
+ internalType: "uint256",
187
+ name: "netSyToPY",
188
+ type: "uint256",
189
+ },
190
+ ],
191
+ stateMutability: "nonpayable",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [
196
+ {
197
+ internalType: "address",
198
+ name: "market",
199
+ type: "address",
200
+ },
201
+ {
202
+ internalType: "uint256",
203
+ name: "netSyIn",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ name: "addLiquiditySingleSyStatic",
208
+ outputs: [
209
+ {
210
+ internalType: "uint256",
211
+ name: "netLpOut",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "netPtFromSwap",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "netSyFee",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ internalType: "uint256",
226
+ name: "priceImpact",
227
+ type: "uint256",
228
+ },
229
+ {
230
+ internalType: "uint256",
231
+ name: "exchangeRateAfter",
232
+ type: "uint256",
233
+ },
234
+ {
235
+ internalType: "uint256",
236
+ name: "netSyToSwap",
237
+ type: "uint256",
238
+ },
239
+ ],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "address",
247
+ name: "market",
248
+ type: "address",
249
+ },
250
+ {
251
+ internalType: "address",
252
+ name: "tokenIn",
253
+ type: "address",
254
+ },
255
+ {
256
+ internalType: "uint256",
257
+ name: "netTokenIn",
258
+ type: "uint256",
259
+ },
260
+ {
261
+ internalType: "address",
262
+ name: "bulk",
263
+ type: "address",
264
+ },
265
+ ],
266
+ name: "addLiquiditySingleTokenKeepYtStatic",
267
+ outputs: [
268
+ {
269
+ internalType: "uint256",
270
+ name: "netLpOut",
271
+ type: "uint256",
272
+ },
273
+ {
274
+ internalType: "uint256",
275
+ name: "netYtOut",
276
+ type: "uint256",
277
+ },
278
+ {
279
+ internalType: "uint256",
280
+ name: "netSyMinted",
281
+ type: "uint256",
282
+ },
283
+ {
284
+ internalType: "uint256",
285
+ name: "netSyToPY",
286
+ type: "uint256",
287
+ },
288
+ ],
289
+ stateMutability: "nonpayable",
290
+ type: "function",
291
+ },
292
+ {
293
+ inputs: [
294
+ {
295
+ internalType: "address",
296
+ name: "market",
297
+ type: "address",
298
+ },
299
+ {
300
+ internalType: "address",
301
+ name: "tokenIn",
302
+ type: "address",
303
+ },
304
+ {
305
+ internalType: "uint256",
306
+ name: "netTokenIn",
307
+ type: "uint256",
308
+ },
309
+ {
310
+ internalType: "address",
311
+ name: "bulk",
312
+ type: "address",
313
+ },
314
+ ],
315
+ name: "addLiquiditySingleTokenStatic",
316
+ outputs: [
317
+ {
318
+ internalType: "uint256",
319
+ name: "netLpOut",
320
+ type: "uint256",
321
+ },
322
+ {
323
+ internalType: "uint256",
324
+ name: "netPtFromSwap",
325
+ type: "uint256",
326
+ },
327
+ {
328
+ internalType: "uint256",
329
+ name: "netSyFee",
330
+ type: "uint256",
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "priceImpact",
335
+ type: "uint256",
336
+ },
337
+ {
338
+ internalType: "uint256",
339
+ name: "exchangeRateAfter",
340
+ type: "uint256",
341
+ },
342
+ {
343
+ internalType: "uint256",
344
+ name: "netSyMinted",
345
+ type: "uint256",
346
+ },
347
+ {
348
+ internalType: "uint256",
349
+ name: "netSyToSwap",
350
+ type: "uint256",
351
+ },
352
+ ],
353
+ stateMutability: "nonpayable",
354
+ type: "function",
355
+ },
356
+ {
357
+ inputs: [
358
+ {
359
+ internalType: "address",
360
+ name: "market",
361
+ type: "address",
362
+ },
363
+ {
364
+ internalType: "uint256",
365
+ name: "netLpToRemove",
366
+ type: "uint256",
367
+ },
368
+ ],
369
+ name: "removeLiquidityDualSyAndPtStatic",
370
+ outputs: [
371
+ {
372
+ internalType: "uint256",
373
+ name: "netSyOut",
374
+ type: "uint256",
375
+ },
376
+ {
377
+ internalType: "uint256",
378
+ name: "netPtOut",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ stateMutability: "view",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [
387
+ {
388
+ internalType: "address",
389
+ name: "market",
390
+ type: "address",
391
+ },
392
+ {
393
+ internalType: "uint256",
394
+ name: "netLpToRemove",
395
+ type: "uint256",
396
+ },
397
+ {
398
+ internalType: "address",
399
+ name: "tokenOut",
400
+ type: "address",
401
+ },
402
+ {
403
+ internalType: "address",
404
+ name: "bulk",
405
+ type: "address",
406
+ },
407
+ ],
408
+ name: "removeLiquidityDualTokenAndPtStatic",
409
+ outputs: [
410
+ {
411
+ internalType: "uint256",
412
+ name: "netTokenOut",
413
+ type: "uint256",
414
+ },
415
+ {
416
+ internalType: "uint256",
417
+ name: "netPtOut",
418
+ type: "uint256",
419
+ },
420
+ {
421
+ internalType: "uint256",
422
+ name: "netSyToRedeem",
423
+ type: "uint256",
424
+ },
425
+ ],
426
+ stateMutability: "view",
427
+ type: "function",
428
+ },
429
+ {
430
+ inputs: [
431
+ {
432
+ internalType: "address",
433
+ name: "market",
434
+ type: "address",
435
+ },
436
+ {
437
+ internalType: "uint256",
438
+ name: "netLpToRemove",
439
+ type: "uint256",
440
+ },
441
+ ],
442
+ name: "removeLiquiditySinglePtStatic",
443
+ outputs: [
444
+ {
445
+ internalType: "uint256",
446
+ name: "netPtOut",
447
+ type: "uint256",
448
+ },
449
+ {
450
+ internalType: "uint256",
451
+ name: "netPtFromSwap",
452
+ type: "uint256",
453
+ },
454
+ {
455
+ internalType: "uint256",
456
+ name: "netSyFee",
457
+ type: "uint256",
458
+ },
459
+ {
460
+ internalType: "uint256",
461
+ name: "priceImpact",
462
+ type: "uint256",
463
+ },
464
+ {
465
+ internalType: "uint256",
466
+ name: "exchangeRateAfter",
467
+ type: "uint256",
468
+ },
469
+ {
470
+ internalType: "uint256",
471
+ name: "netSyFromBurn",
472
+ type: "uint256",
473
+ },
474
+ {
475
+ internalType: "uint256",
476
+ name: "netPtFromBurn",
477
+ type: "uint256",
478
+ },
479
+ ],
480
+ stateMutability: "nonpayable",
481
+ type: "function",
482
+ },
483
+ {
484
+ inputs: [
485
+ {
486
+ internalType: "address",
487
+ name: "market",
488
+ type: "address",
489
+ },
490
+ {
491
+ internalType: "uint256",
492
+ name: "netLpToRemove",
493
+ type: "uint256",
494
+ },
495
+ ],
496
+ name: "removeLiquiditySingleSyStatic",
497
+ outputs: [
498
+ {
499
+ internalType: "uint256",
500
+ name: "netSyOut",
501
+ type: "uint256",
502
+ },
503
+ {
504
+ internalType: "uint256",
505
+ name: "netSyFee",
506
+ type: "uint256",
507
+ },
508
+ {
509
+ internalType: "uint256",
510
+ name: "priceImpact",
511
+ type: "uint256",
512
+ },
513
+ {
514
+ internalType: "uint256",
515
+ name: "exchangeRateAfter",
516
+ type: "uint256",
517
+ },
518
+ {
519
+ internalType: "uint256",
520
+ name: "netSyFromBurn",
521
+ type: "uint256",
522
+ },
523
+ {
524
+ internalType: "uint256",
525
+ name: "netPtFromBurn",
526
+ type: "uint256",
527
+ },
528
+ {
529
+ internalType: "uint256",
530
+ name: "netSyFromSwap",
531
+ type: "uint256",
532
+ },
533
+ ],
534
+ stateMutability: "nonpayable",
535
+ type: "function",
536
+ },
537
+ {
538
+ inputs: [
539
+ {
540
+ internalType: "address",
541
+ name: "market",
542
+ type: "address",
543
+ },
544
+ {
545
+ internalType: "uint256",
546
+ name: "netLpToRemove",
547
+ type: "uint256",
548
+ },
549
+ {
550
+ internalType: "address",
551
+ name: "tokenOut",
552
+ type: "address",
553
+ },
554
+ {
555
+ internalType: "address",
556
+ name: "bulk",
557
+ type: "address",
558
+ },
559
+ ],
560
+ name: "removeLiquiditySingleTokenStatic",
561
+ outputs: [
562
+ {
563
+ internalType: "uint256",
564
+ name: "netTokenOut",
565
+ type: "uint256",
566
+ },
567
+ {
568
+ internalType: "uint256",
569
+ name: "netSyToRedeem",
570
+ type: "uint256",
571
+ },
572
+ {
573
+ internalType: "uint256",
574
+ name: "netSyFee",
575
+ type: "uint256",
576
+ },
577
+ {
578
+ internalType: "uint256",
579
+ name: "priceImpact",
580
+ type: "uint256",
581
+ },
582
+ {
583
+ internalType: "uint256",
584
+ name: "exchangeRateAfter",
585
+ type: "uint256",
586
+ },
587
+ {
588
+ internalType: "uint256",
589
+ name: "netSyOut",
590
+ type: "uint256",
591
+ },
592
+ {
593
+ internalType: "uint256",
594
+ name: "netSyFromBurn",
595
+ type: "uint256",
596
+ },
597
+ {
598
+ internalType: "uint256",
599
+ name: "netPtFromBurn",
600
+ type: "uint256",
601
+ },
602
+ {
603
+ internalType: "uint256",
604
+ name: "netSyFromSwap",
605
+ type: "uint256",
606
+ },
607
+ ],
608
+ stateMutability: "nonpayable",
609
+ type: "function",
610
+ },
611
+ {
612
+ inputs: [
613
+ {
614
+ internalType: "address",
615
+ name: "market",
616
+ type: "address",
617
+ },
618
+ {
619
+ internalType: "uint256",
620
+ name: "exactPtIn",
621
+ type: "uint256",
622
+ },
623
+ ],
624
+ name: "swapExactPtForSyStatic",
625
+ outputs: [
626
+ {
627
+ internalType: "uint256",
628
+ name: "netSyOut",
629
+ type: "uint256",
630
+ },
631
+ {
632
+ internalType: "uint256",
633
+ name: "netSyFee",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ internalType: "uint256",
638
+ name: "priceImpact",
639
+ type: "uint256",
640
+ },
641
+ {
642
+ internalType: "uint256",
643
+ name: "exchangeRateAfter",
644
+ type: "uint256",
645
+ },
646
+ ],
647
+ stateMutability: "nonpayable",
648
+ type: "function",
649
+ },
650
+ {
651
+ inputs: [
652
+ {
653
+ internalType: "address",
654
+ name: "market",
655
+ type: "address",
656
+ },
657
+ {
658
+ internalType: "uint256",
659
+ name: "exactPtIn",
660
+ type: "uint256",
661
+ },
662
+ {
663
+ internalType: "address",
664
+ name: "tokenOut",
665
+ type: "address",
666
+ },
667
+ {
668
+ internalType: "address",
669
+ name: "bulk",
670
+ type: "address",
671
+ },
672
+ ],
673
+ name: "swapExactPtForTokenStatic",
674
+ outputs: [
675
+ {
676
+ internalType: "uint256",
677
+ name: "netTokenOut",
678
+ type: "uint256",
679
+ },
680
+ {
681
+ internalType: "uint256",
682
+ name: "netSyToRedeem",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "uint256",
687
+ name: "netSyFee",
688
+ type: "uint256",
689
+ },
690
+ {
691
+ internalType: "uint256",
692
+ name: "priceImpact",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "exchangeRateAfter",
698
+ type: "uint256",
699
+ },
700
+ ],
701
+ stateMutability: "nonpayable",
702
+ type: "function",
703
+ },
704
+ {
705
+ inputs: [
706
+ {
707
+ internalType: "address",
708
+ name: "market",
709
+ type: "address",
710
+ },
711
+ {
712
+ internalType: "uint256",
713
+ name: "exactPtIn",
714
+ type: "uint256",
715
+ },
716
+ ],
717
+ name: "swapExactPtForYtStatic",
718
+ outputs: [
719
+ {
720
+ internalType: "uint256",
721
+ name: "netYtOut",
722
+ type: "uint256",
723
+ },
724
+ {
725
+ internalType: "uint256",
726
+ name: "totalPtToSwap",
727
+ type: "uint256",
728
+ },
729
+ {
730
+ internalType: "uint256",
731
+ name: "netSyFee",
732
+ type: "uint256",
733
+ },
734
+ {
735
+ internalType: "uint256",
736
+ name: "priceImpact",
737
+ type: "uint256",
738
+ },
739
+ {
740
+ internalType: "uint256",
741
+ name: "exchangeRateAfter",
742
+ type: "uint256",
743
+ },
744
+ ],
745
+ stateMutability: "nonpayable",
746
+ type: "function",
747
+ },
748
+ {
749
+ inputs: [
750
+ {
751
+ internalType: "address",
752
+ name: "market",
753
+ type: "address",
754
+ },
755
+ {
756
+ internalType: "uint256",
757
+ name: "exactSyIn",
758
+ type: "uint256",
759
+ },
760
+ ],
761
+ name: "swapExactSyForPtStatic",
762
+ outputs: [
763
+ {
764
+ internalType: "uint256",
765
+ name: "netPtOut",
766
+ type: "uint256",
767
+ },
768
+ {
769
+ internalType: "uint256",
770
+ name: "netSyFee",
771
+ type: "uint256",
772
+ },
773
+ {
774
+ internalType: "uint256",
775
+ name: "priceImpact",
776
+ type: "uint256",
777
+ },
778
+ {
779
+ internalType: "uint256",
780
+ name: "exchangeRateAfter",
781
+ type: "uint256",
782
+ },
783
+ ],
784
+ stateMutability: "nonpayable",
785
+ type: "function",
786
+ },
787
+ {
788
+ inputs: [
789
+ {
790
+ internalType: "address",
791
+ name: "market",
792
+ type: "address",
793
+ },
794
+ {
795
+ internalType: "uint256",
796
+ name: "exactSyIn",
797
+ type: "uint256",
798
+ },
799
+ ],
800
+ name: "swapExactSyForYtStatic",
801
+ outputs: [
802
+ {
803
+ internalType: "uint256",
804
+ name: "netYtOut",
805
+ type: "uint256",
806
+ },
807
+ {
808
+ internalType: "uint256",
809
+ name: "netSyFee",
810
+ type: "uint256",
811
+ },
812
+ {
813
+ internalType: "uint256",
814
+ name: "priceImpact",
815
+ type: "uint256",
816
+ },
817
+ {
818
+ internalType: "uint256",
819
+ name: "exchangeRateAfter",
820
+ type: "uint256",
821
+ },
822
+ ],
823
+ stateMutability: "nonpayable",
824
+ type: "function",
825
+ },
826
+ {
827
+ inputs: [
828
+ {
829
+ internalType: "address",
830
+ name: "market",
831
+ type: "address",
832
+ },
833
+ {
834
+ internalType: "address",
835
+ name: "tokenIn",
836
+ type: "address",
837
+ },
838
+ {
839
+ internalType: "uint256",
840
+ name: "amountTokenIn",
841
+ type: "uint256",
842
+ },
843
+ {
844
+ internalType: "address",
845
+ name: "bulk",
846
+ type: "address",
847
+ },
848
+ ],
849
+ name: "swapExactTokenForPtStatic",
850
+ outputs: [
851
+ {
852
+ internalType: "uint256",
853
+ name: "netPtOut",
854
+ type: "uint256",
855
+ },
856
+ {
857
+ internalType: "uint256",
858
+ name: "netSyMinted",
859
+ type: "uint256",
860
+ },
861
+ {
862
+ internalType: "uint256",
863
+ name: "netSyFee",
864
+ type: "uint256",
865
+ },
866
+ {
867
+ internalType: "uint256",
868
+ name: "priceImpact",
869
+ type: "uint256",
870
+ },
871
+ {
872
+ internalType: "uint256",
873
+ name: "exchangeRateAfter",
874
+ type: "uint256",
875
+ },
876
+ ],
877
+ stateMutability: "nonpayable",
878
+ type: "function",
879
+ },
880
+ {
881
+ inputs: [
882
+ {
883
+ internalType: "address",
884
+ name: "market",
885
+ type: "address",
886
+ },
887
+ {
888
+ internalType: "address",
889
+ name: "tokenIn",
890
+ type: "address",
891
+ },
892
+ {
893
+ internalType: "uint256",
894
+ name: "amountTokenIn",
895
+ type: "uint256",
896
+ },
897
+ {
898
+ internalType: "address",
899
+ name: "bulk",
900
+ type: "address",
901
+ },
902
+ ],
903
+ name: "swapExactTokenForYtStatic",
904
+ outputs: [
905
+ {
906
+ internalType: "uint256",
907
+ name: "netYtOut",
908
+ type: "uint256",
909
+ },
910
+ {
911
+ internalType: "uint256",
912
+ name: "netSyMinted",
913
+ type: "uint256",
914
+ },
915
+ {
916
+ internalType: "uint256",
917
+ name: "netSyFee",
918
+ type: "uint256",
919
+ },
920
+ {
921
+ internalType: "uint256",
922
+ name: "priceImpact",
923
+ type: "uint256",
924
+ },
925
+ {
926
+ internalType: "uint256",
927
+ name: "exchangeRateAfter",
928
+ type: "uint256",
929
+ },
930
+ ],
931
+ stateMutability: "nonpayable",
932
+ type: "function",
933
+ },
934
+ {
935
+ inputs: [
936
+ {
937
+ internalType: "address",
938
+ name: "market",
939
+ type: "address",
940
+ },
941
+ {
942
+ internalType: "uint256",
943
+ name: "exactYtIn",
944
+ type: "uint256",
945
+ },
946
+ ],
947
+ name: "swapExactYtForPtStatic",
948
+ outputs: [
949
+ {
950
+ internalType: "uint256",
951
+ name: "netPtOut",
952
+ type: "uint256",
953
+ },
954
+ {
955
+ internalType: "uint256",
956
+ name: "totalPtSwapped",
957
+ type: "uint256",
958
+ },
959
+ {
960
+ internalType: "uint256",
961
+ name: "netSyFee",
962
+ type: "uint256",
963
+ },
964
+ {
965
+ internalType: "uint256",
966
+ name: "priceImpact",
967
+ type: "uint256",
968
+ },
969
+ {
970
+ internalType: "uint256",
971
+ name: "exchangeRateAfter",
972
+ type: "uint256",
973
+ },
974
+ ],
975
+ stateMutability: "nonpayable",
976
+ type: "function",
977
+ },
978
+ {
979
+ inputs: [
980
+ {
981
+ internalType: "address",
982
+ name: "market",
983
+ type: "address",
984
+ },
985
+ {
986
+ internalType: "uint256",
987
+ name: "exactYtIn",
988
+ type: "uint256",
989
+ },
990
+ ],
991
+ name: "swapExactYtForSyStatic",
992
+ outputs: [
993
+ {
994
+ internalType: "uint256",
995
+ name: "netSyOut",
996
+ type: "uint256",
997
+ },
998
+ {
999
+ internalType: "uint256",
1000
+ name: "netSyFee",
1001
+ type: "uint256",
1002
+ },
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "priceImpact",
1006
+ type: "uint256",
1007
+ },
1008
+ {
1009
+ internalType: "uint256",
1010
+ name: "exchangeRateAfter",
1011
+ type: "uint256",
1012
+ },
1013
+ {
1014
+ internalType: "uint256",
1015
+ name: "netSyOwedInt",
1016
+ type: "uint256",
1017
+ },
1018
+ {
1019
+ internalType: "uint256",
1020
+ name: "netPYToRepaySyOwedInt",
1021
+ type: "uint256",
1022
+ },
1023
+ {
1024
+ internalType: "uint256",
1025
+ name: "netPYToRedeemSyOutInt",
1026
+ type: "uint256",
1027
+ },
1028
+ ],
1029
+ stateMutability: "nonpayable",
1030
+ type: "function",
1031
+ },
1032
+ {
1033
+ inputs: [
1034
+ {
1035
+ internalType: "address",
1036
+ name: "market",
1037
+ type: "address",
1038
+ },
1039
+ {
1040
+ internalType: "uint256",
1041
+ name: "exactYtIn",
1042
+ type: "uint256",
1043
+ },
1044
+ {
1045
+ internalType: "address",
1046
+ name: "tokenOut",
1047
+ type: "address",
1048
+ },
1049
+ {
1050
+ internalType: "address",
1051
+ name: "bulk",
1052
+ type: "address",
1053
+ },
1054
+ ],
1055
+ name: "swapExactYtForTokenStatic",
1056
+ outputs: [
1057
+ {
1058
+ internalType: "uint256",
1059
+ name: "netTokenOut",
1060
+ type: "uint256",
1061
+ },
1062
+ {
1063
+ internalType: "uint256",
1064
+ name: "netSyToRedeem",
1065
+ type: "uint256",
1066
+ },
1067
+ {
1068
+ internalType: "uint256",
1069
+ name: "netSyFee",
1070
+ type: "uint256",
1071
+ },
1072
+ {
1073
+ internalType: "uint256",
1074
+ name: "priceImpact",
1075
+ type: "uint256",
1076
+ },
1077
+ {
1078
+ internalType: "uint256",
1079
+ name: "exchangeRateAfter",
1080
+ type: "uint256",
1081
+ },
1082
+ {
1083
+ internalType: "uint256",
1084
+ name: "netSyOut",
1085
+ type: "uint256",
1086
+ },
1087
+ {
1088
+ internalType: "uint256",
1089
+ name: "netSyOwedInt",
1090
+ type: "uint256",
1091
+ },
1092
+ {
1093
+ internalType: "uint256",
1094
+ name: "netPYToRepaySyOwedInt",
1095
+ type: "uint256",
1096
+ },
1097
+ {
1098
+ internalType: "uint256",
1099
+ name: "netPYToRedeemSyOutInt",
1100
+ type: "uint256",
1101
+ },
1102
+ ],
1103
+ stateMutability: "nonpayable",
1104
+ type: "function",
1105
+ },
1106
+ {
1107
+ inputs: [
1108
+ {
1109
+ internalType: "address",
1110
+ name: "market",
1111
+ type: "address",
1112
+ },
1113
+ {
1114
+ internalType: "uint256",
1115
+ name: "exactSyOut",
1116
+ type: "uint256",
1117
+ },
1118
+ ],
1119
+ name: "swapPtForExactSyStatic",
1120
+ outputs: [
1121
+ {
1122
+ internalType: "uint256",
1123
+ name: "netPtIn",
1124
+ type: "uint256",
1125
+ },
1126
+ {
1127
+ internalType: "uint256",
1128
+ name: "netSyFee",
1129
+ type: "uint256",
1130
+ },
1131
+ {
1132
+ internalType: "uint256",
1133
+ name: "priceImpact",
1134
+ type: "uint256",
1135
+ },
1136
+ {
1137
+ internalType: "uint256",
1138
+ name: "exchangeRateAfter",
1139
+ type: "uint256",
1140
+ },
1141
+ ],
1142
+ stateMutability: "nonpayable",
1143
+ type: "function",
1144
+ },
1145
+ {
1146
+ inputs: [
1147
+ {
1148
+ internalType: "address",
1149
+ name: "market",
1150
+ type: "address",
1151
+ },
1152
+ {
1153
+ internalType: "uint256",
1154
+ name: "exactPtOut",
1155
+ type: "uint256",
1156
+ },
1157
+ ],
1158
+ name: "swapSyForExactPtStatic",
1159
+ outputs: [
1160
+ {
1161
+ internalType: "uint256",
1162
+ name: "netSyIn",
1163
+ type: "uint256",
1164
+ },
1165
+ {
1166
+ internalType: "uint256",
1167
+ name: "netSyFee",
1168
+ type: "uint256",
1169
+ },
1170
+ {
1171
+ internalType: "uint256",
1172
+ name: "priceImpact",
1173
+ type: "uint256",
1174
+ },
1175
+ {
1176
+ internalType: "uint256",
1177
+ name: "exchangeRateAfter",
1178
+ type: "uint256",
1179
+ },
1180
+ ],
1181
+ stateMutability: "nonpayable",
1182
+ type: "function",
1183
+ },
1184
+ {
1185
+ inputs: [
1186
+ {
1187
+ internalType: "address",
1188
+ name: "market",
1189
+ type: "address",
1190
+ },
1191
+ {
1192
+ internalType: "uint256",
1193
+ name: "exactYtOut",
1194
+ type: "uint256",
1195
+ },
1196
+ ],
1197
+ name: "swapSyForExactYtStatic",
1198
+ outputs: [
1199
+ {
1200
+ internalType: "uint256",
1201
+ name: "netSyIn",
1202
+ type: "uint256",
1203
+ },
1204
+ {
1205
+ internalType: "uint256",
1206
+ name: "netSyFee",
1207
+ type: "uint256",
1208
+ },
1209
+ {
1210
+ internalType: "uint256",
1211
+ name: "priceImpact",
1212
+ type: "uint256",
1213
+ },
1214
+ {
1215
+ internalType: "uint256",
1216
+ name: "exchangeRateAfter",
1217
+ type: "uint256",
1218
+ },
1219
+ {
1220
+ internalType: "uint256",
1221
+ name: "netSyReceivedInt",
1222
+ type: "uint256",
1223
+ },
1224
+ {
1225
+ internalType: "uint256",
1226
+ name: "totalSyNeedInt",
1227
+ type: "uint256",
1228
+ },
1229
+ ],
1230
+ stateMutability: "nonpayable",
1231
+ type: "function",
1232
+ },
1233
+ {
1234
+ inputs: [
1235
+ {
1236
+ internalType: "address",
1237
+ name: "market",
1238
+ type: "address",
1239
+ },
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "exactSyOut",
1243
+ type: "uint256",
1244
+ },
1245
+ ],
1246
+ name: "swapYtForExactSyStatic",
1247
+ outputs: [
1248
+ {
1249
+ internalType: "uint256",
1250
+ name: "netYtIn",
1251
+ type: "uint256",
1252
+ },
1253
+ {
1254
+ internalType: "uint256",
1255
+ name: "netSyFee",
1256
+ type: "uint256",
1257
+ },
1258
+ {
1259
+ internalType: "uint256",
1260
+ name: "priceImpact",
1261
+ type: "uint256",
1262
+ },
1263
+ {
1264
+ internalType: "uint256",
1265
+ name: "exchangeRateAfter",
1266
+ type: "uint256",
1267
+ },
1268
+ ],
1269
+ stateMutability: "nonpayable",
1270
+ type: "function",
1271
+ },
1272
+ ];
1273
+
1274
+ export class IPActionMarketCoreStatic__factory {
1275
+ static readonly abi = _abi;
1276
+ static createInterface(): IPActionMarketCoreStaticInterface {
1277
+ return new utils.Interface(_abi) as IPActionMarketCoreStaticInterface;
1278
+ }
1279
+ static connect(
1280
+ address: string,
1281
+ signerOrProvider: Signer | Provider
1282
+ ): IPActionMarketCoreStatic {
1283
+ return new Contract(
1284
+ address,
1285
+ _abi,
1286
+ signerOrProvider
1287
+ ) as IPActionMarketCoreStatic;
1288
+ }
1289
+ }