@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,292 @@
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
+ IPActionMintRedeemStatic,
9
+ IPActionMintRedeemStaticInterface,
10
+ } from "../IPActionMintRedeemStatic";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "SY",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "address",
22
+ name: "tokenIn",
23
+ type: "address",
24
+ },
25
+ {
26
+ internalType: "address",
27
+ name: "bulk",
28
+ type: "address",
29
+ },
30
+ {
31
+ internalType: "uint256",
32
+ name: "netSyOut",
33
+ type: "uint256",
34
+ },
35
+ ],
36
+ name: "getAmountTokenToMintSy",
37
+ outputs: [
38
+ {
39
+ internalType: "uint256",
40
+ name: "netTokenIn",
41
+ type: "uint256",
42
+ },
43
+ ],
44
+ stateMutability: "view",
45
+ type: "function",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "address",
51
+ name: "token",
52
+ type: "address",
53
+ },
54
+ {
55
+ internalType: "address",
56
+ name: "SY",
57
+ type: "address",
58
+ },
59
+ {
60
+ internalType: "uint256",
61
+ name: "netTokenIn",
62
+ type: "uint256",
63
+ },
64
+ {
65
+ internalType: "uint256",
66
+ name: "netSyIn",
67
+ type: "uint256",
68
+ },
69
+ ],
70
+ name: "getBulkSellerInfo",
71
+ outputs: [
72
+ {
73
+ internalType: "address",
74
+ name: "bulk",
75
+ type: "address",
76
+ },
77
+ {
78
+ internalType: "uint256",
79
+ name: "totalToken",
80
+ type: "uint256",
81
+ },
82
+ {
83
+ internalType: "uint256",
84
+ name: "totalSy",
85
+ type: "uint256",
86
+ },
87
+ ],
88
+ stateMutability: "view",
89
+ type: "function",
90
+ },
91
+ {
92
+ inputs: [
93
+ {
94
+ internalType: "address",
95
+ name: "YT",
96
+ type: "address",
97
+ },
98
+ {
99
+ internalType: "uint256",
100
+ name: "netSyToMint",
101
+ type: "uint256",
102
+ },
103
+ ],
104
+ name: "mintPyFromSyStatic",
105
+ outputs: [
106
+ {
107
+ internalType: "uint256",
108
+ name: "netPYOut",
109
+ type: "uint256",
110
+ },
111
+ ],
112
+ stateMutability: "nonpayable",
113
+ type: "function",
114
+ },
115
+ {
116
+ inputs: [
117
+ {
118
+ internalType: "address",
119
+ name: "YT",
120
+ type: "address",
121
+ },
122
+ {
123
+ internalType: "address",
124
+ name: "tokenIn",
125
+ type: "address",
126
+ },
127
+ {
128
+ internalType: "uint256",
129
+ name: "netTokenIn",
130
+ type: "uint256",
131
+ },
132
+ {
133
+ internalType: "address",
134
+ name: "bulk",
135
+ type: "address",
136
+ },
137
+ ],
138
+ name: "mintPyFromTokenStatic",
139
+ outputs: [
140
+ {
141
+ internalType: "uint256",
142
+ name: "netPyOut",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ stateMutability: "nonpayable",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "SY",
154
+ type: "address",
155
+ },
156
+ {
157
+ internalType: "address",
158
+ name: "tokenIn",
159
+ type: "address",
160
+ },
161
+ {
162
+ internalType: "uint256",
163
+ name: "netTokenIn",
164
+ type: "uint256",
165
+ },
166
+ {
167
+ internalType: "address",
168
+ name: "bulk",
169
+ type: "address",
170
+ },
171
+ ],
172
+ name: "mintSyFromTokenStatic",
173
+ outputs: [
174
+ {
175
+ internalType: "uint256",
176
+ name: "netSyOut",
177
+ type: "uint256",
178
+ },
179
+ ],
180
+ stateMutability: "view",
181
+ type: "function",
182
+ },
183
+ {
184
+ inputs: [
185
+ {
186
+ internalType: "address",
187
+ name: "YT",
188
+ type: "address",
189
+ },
190
+ {
191
+ internalType: "uint256",
192
+ name: "netPYToRedeem",
193
+ type: "uint256",
194
+ },
195
+ ],
196
+ name: "redeemPyToSyStatic",
197
+ outputs: [
198
+ {
199
+ internalType: "uint256",
200
+ name: "netSyOut",
201
+ type: "uint256",
202
+ },
203
+ ],
204
+ stateMutability: "nonpayable",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [
209
+ {
210
+ internalType: "address",
211
+ name: "YT",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "netPYToRedeem",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "address",
221
+ name: "tokenOut",
222
+ type: "address",
223
+ },
224
+ {
225
+ internalType: "address",
226
+ name: "bulk",
227
+ type: "address",
228
+ },
229
+ ],
230
+ name: "redeemPyToTokenStatic",
231
+ outputs: [
232
+ {
233
+ internalType: "uint256",
234
+ name: "netTokenOut",
235
+ type: "uint256",
236
+ },
237
+ ],
238
+ stateMutability: "nonpayable",
239
+ type: "function",
240
+ },
241
+ {
242
+ inputs: [
243
+ {
244
+ internalType: "address",
245
+ name: "SY",
246
+ type: "address",
247
+ },
248
+ {
249
+ internalType: "address",
250
+ name: "tokenOut",
251
+ type: "address",
252
+ },
253
+ {
254
+ internalType: "uint256",
255
+ name: "netSyIn",
256
+ type: "uint256",
257
+ },
258
+ {
259
+ internalType: "address",
260
+ name: "bulk",
261
+ type: "address",
262
+ },
263
+ ],
264
+ name: "redeemSyToTokenStatic",
265
+ outputs: [
266
+ {
267
+ internalType: "uint256",
268
+ name: "netTokenOut",
269
+ type: "uint256",
270
+ },
271
+ ],
272
+ stateMutability: "view",
273
+ type: "function",
274
+ },
275
+ ];
276
+
277
+ export class IPActionMintRedeemStatic__factory {
278
+ static readonly abi = _abi;
279
+ static createInterface(): IPActionMintRedeemStaticInterface {
280
+ return new utils.Interface(_abi) as IPActionMintRedeemStaticInterface;
281
+ }
282
+ static connect(
283
+ address: string,
284
+ signerOrProvider: Signer | Provider
285
+ ): IPActionMintRedeemStatic {
286
+ return new Contract(
287
+ address,
288
+ _abi,
289
+ signerOrProvider
290
+ ) as IPActionMintRedeemStatic;
291
+ }
292
+ }
@@ -0,0 +1,203 @@
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
+ IPActionStorageStatic,
9
+ IPActionStorageStaticInterface,
10
+ } from "../IPActionStorageStatic";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "previousOwner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "newOwner",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "OwnershipTransferred",
30
+ type: "event",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "claimOwnership",
35
+ outputs: [],
36
+ stateMutability: "nonpayable",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "getBulkSellerFactory",
42
+ outputs: [
43
+ {
44
+ internalType: "address",
45
+ name: "",
46
+ type: "address",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "getDefaultApproxParams",
55
+ outputs: [
56
+ {
57
+ components: [
58
+ {
59
+ internalType: "uint256",
60
+ name: "guessMin",
61
+ type: "uint256",
62
+ },
63
+ {
64
+ internalType: "uint256",
65
+ name: "guessMax",
66
+ type: "uint256",
67
+ },
68
+ {
69
+ internalType: "uint256",
70
+ name: "guessOffchain",
71
+ type: "uint256",
72
+ },
73
+ {
74
+ internalType: "uint256",
75
+ name: "maxIteration",
76
+ type: "uint256",
77
+ },
78
+ {
79
+ internalType: "uint256",
80
+ name: "eps",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ internalType: "struct ApproxParams",
85
+ name: "",
86
+ type: "tuple",
87
+ },
88
+ ],
89
+ stateMutability: "view",
90
+ type: "function",
91
+ },
92
+ {
93
+ inputs: [],
94
+ name: "getOwnerAndPendingOwner",
95
+ outputs: [
96
+ {
97
+ internalType: "address",
98
+ name: "",
99
+ type: "address",
100
+ },
101
+ {
102
+ internalType: "address",
103
+ name: "",
104
+ type: "address",
105
+ },
106
+ ],
107
+ stateMutability: "view",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [
112
+ {
113
+ internalType: "address",
114
+ name: "_bulkSellerFactory",
115
+ type: "address",
116
+ },
117
+ ],
118
+ name: "setBulkSellerFactory",
119
+ outputs: [],
120
+ stateMutability: "nonpayable",
121
+ type: "function",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ components: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "guessMin",
130
+ type: "uint256",
131
+ },
132
+ {
133
+ internalType: "uint256",
134
+ name: "guessMax",
135
+ type: "uint256",
136
+ },
137
+ {
138
+ internalType: "uint256",
139
+ name: "guessOffchain",
140
+ type: "uint256",
141
+ },
142
+ {
143
+ internalType: "uint256",
144
+ name: "maxIteration",
145
+ type: "uint256",
146
+ },
147
+ {
148
+ internalType: "uint256",
149
+ name: "eps",
150
+ type: "uint256",
151
+ },
152
+ ],
153
+ internalType: "struct ApproxParams",
154
+ name: "params",
155
+ type: "tuple",
156
+ },
157
+ ],
158
+ name: "setDefaultApproxParams",
159
+ outputs: [],
160
+ stateMutability: "nonpayable",
161
+ type: "function",
162
+ },
163
+ {
164
+ inputs: [
165
+ {
166
+ internalType: "address",
167
+ name: "newOwner",
168
+ type: "address",
169
+ },
170
+ {
171
+ internalType: "bool",
172
+ name: "direct",
173
+ type: "bool",
174
+ },
175
+ {
176
+ internalType: "bool",
177
+ name: "renounce",
178
+ type: "bool",
179
+ },
180
+ ],
181
+ name: "transferOwnership",
182
+ outputs: [],
183
+ stateMutability: "nonpayable",
184
+ type: "function",
185
+ },
186
+ ];
187
+
188
+ export class IPActionStorageStatic__factory {
189
+ static readonly abi = _abi;
190
+ static createInterface(): IPActionStorageStaticInterface {
191
+ return new utils.Interface(_abi) as IPActionStorageStaticInterface;
192
+ }
193
+ static connect(
194
+ address: string,
195
+ signerOrProvider: Signer | Provider
196
+ ): IPActionStorageStatic {
197
+ return new Contract(
198
+ address,
199
+ _abi,
200
+ signerOrProvider
201
+ ) as IPActionStorageStatic;
202
+ }
203
+ }
@@ -0,0 +1,59 @@
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
+ IPActionVePendleStatic,
9
+ IPActionVePendleStaticInterface,
10
+ } from "../IPActionVePendleStatic";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "user",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "uint128",
22
+ name: "additionalAmountToLock",
23
+ type: "uint128",
24
+ },
25
+ {
26
+ internalType: "uint128",
27
+ name: "newExpiry",
28
+ type: "uint128",
29
+ },
30
+ ],
31
+ name: "increaseLockPositionStatic",
32
+ outputs: [
33
+ {
34
+ internalType: "uint128",
35
+ name: "newVeBalance",
36
+ type: "uint128",
37
+ },
38
+ ],
39
+ stateMutability: "view",
40
+ type: "function",
41
+ },
42
+ ];
43
+
44
+ export class IPActionVePendleStatic__factory {
45
+ static readonly abi = _abi;
46
+ static createInterface(): IPActionVePendleStaticInterface {
47
+ return new utils.Interface(_abi) as IPActionVePendleStaticInterface;
48
+ }
49
+ static connect(
50
+ address: string,
51
+ signerOrProvider: Signer | Provider
52
+ ): IPActionVePendleStatic {
53
+ return new Contract(
54
+ address,
55
+ _abi,
56
+ signerOrProvider
57
+ ) as IPActionVePendleStatic;
58
+ }
59
+ }
@@ -0,0 +1,67 @@
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 { IPMiniDiamond, IPMiniDiamondInterface } from "../IPMiniDiamond";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes4",
14
+ name: "selector",
15
+ type: "bytes4",
16
+ },
17
+ ],
18
+ name: "facetAddress",
19
+ outputs: [
20
+ {
21
+ internalType: "address",
22
+ name: "",
23
+ type: "address",
24
+ },
25
+ ],
26
+ stateMutability: "view",
27
+ type: "function",
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ components: [
33
+ {
34
+ internalType: "address",
35
+ name: "facet",
36
+ type: "address",
37
+ },
38
+ {
39
+ internalType: "bytes4[]",
40
+ name: "selectors",
41
+ type: "bytes4[]",
42
+ },
43
+ ],
44
+ internalType: "struct IPMiniDiamond.SelectorsToFacet[]",
45
+ name: "arr",
46
+ type: "tuple[]",
47
+ },
48
+ ],
49
+ name: "setFacetForSelectors",
50
+ outputs: [],
51
+ stateMutability: "nonpayable",
52
+ type: "function",
53
+ },
54
+ ];
55
+
56
+ export class IPMiniDiamond__factory {
57
+ static readonly abi = _abi;
58
+ static createInterface(): IPMiniDiamondInterface {
59
+ return new utils.Interface(_abi) as IPMiniDiamondInterface;
60
+ }
61
+ static connect(
62
+ address: string,
63
+ signerOrProvider: Signer | Provider
64
+ ): IPMiniDiamond {
65
+ return new Contract(address, _abi, signerOrProvider) as IPMiniDiamond;
66
+ }
67
+ }