@pendle/core-v2 5.5.0 → 5.7.0-sonic

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 (330) hide show
  1. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  4. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  8. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  22. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  24. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +2 -2
  27. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  29. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
  31. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
  33. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  37. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  40. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  42. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  44. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +4 -0
  45. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.json +34 -0
  46. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  49. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +4 -0
  64. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +40 -0
  65. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +77 -0
  67. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +32 -0
  70. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +23 -0
  74. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
  77. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
  81. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
  82. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  83. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  84. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  85. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +32 -0
  86. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  87. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +34 -2
  88. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  89. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  90. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  91. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  92. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  93. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  94. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  95. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +98 -3
  96. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
  97. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
  98. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
  99. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
  100. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
  101. package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
  102. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
  103. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
  104. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
  105. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
  106. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  121. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  122. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  124. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  125. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  126. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  127. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  128. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  129. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  130. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  131. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  132. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  133. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  134. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  135. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  136. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  137. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  138. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  139. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  140. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  141. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  142. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  143. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  144. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  145. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  146. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  147. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  148. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  149. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  151. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  153. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  155. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  157. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  159. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  161. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  163. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  165. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  166. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  167. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  168. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  170. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  172. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  174. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  176. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  177. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  178. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  179. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  180. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  182. package/contracts/core/libraries/math/PMath.sol +5 -0
  183. package/contracts/interfaces/IOwnable.sol +6 -0
  184. package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
  185. package/contracts/interfaces/IPGovernanceProxy.sol +10 -0
  186. package/contracts/interfaces/IPLimitRouter.sol +5 -0
  187. package/contracts/interfaces/IPMarketFactoryV3.sol +2 -0
  188. package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
  189. package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
  190. package/contracts/limit/LimitRouterBase.sol +6 -10
  191. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +41 -10
  192. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
  193. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
  194. package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
  195. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
  196. package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
  197. package/deployments/1-core.json +2 -1
  198. package/deployments/10-core.json +2 -1
  199. package/deployments/146-core.json +47 -0
  200. package/deployments/146-offchain-helper.json +6 -0
  201. package/deployments/42161-core.json +2 -1
  202. package/deployments/5000-core.json +2 -1
  203. package/deployments/56-core.json +2 -1
  204. package/deployments/8453-core.json +2 -1
  205. package/deployments/merkle-distribution/2024-12-31-snapshot.json +65767 -0
  206. package/deployments/merkle-distribution/2025-01-30.json +28060 -0
  207. package/package.json +1 -1
  208. package/typechain-types/ActionCallbackV3.ts +164 -0
  209. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  210. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  211. package/typechain-types/Broadcaster.ts +454 -0
  212. package/typechain-types/IOwnable.ts +114 -0
  213. package/typechain-types/IPActionCallbackV3.ts +164 -0
  214. package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
  215. package/typechain-types/IPCommonSYFactory.ts +111 -0
  216. package/typechain-types/IPGovernanceProxy.ts +236 -0
  217. package/typechain-types/IPLimitRouter.ts +633 -0
  218. package/typechain-types/IPLimitRouterCallback.ts +120 -0
  219. package/typechain-types/IPMarket.ts +1045 -0
  220. package/typechain-types/IPMarketFactoryV3.ts +321 -0
  221. package/typechain-types/IPMarketV3.ts +1068 -0
  222. package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
  223. package/typechain-types/IPVotingController.ts +510 -0
  224. package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
  225. package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
  226. package/typechain-types/InterestManagerYT.ts +120 -0
  227. package/typechain-types/LimitBackendHelper.ts +287 -0
  228. package/typechain-types/LimitRouterBase.ts +1138 -0
  229. package/typechain-types/PendleBoringOneracle.ts +87 -0
  230. package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
  231. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  232. package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
  233. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  234. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
  235. package/typechain-types/PendleCommonSYFactory.ts +420 -0
  236. package/typechain-types/PendleExchangeRateOracle.ts +393 -0
  237. package/typechain-types/PendleFeeDistributor.ts +745 -0
  238. package/typechain-types/PendleGauge.ts +225 -0
  239. package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
  240. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
  241. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
  242. package/typechain-types/PendleGovernanceProxy.ts +128 -0
  243. package/typechain-types/PendleLimitRouter.ts +1138 -0
  244. package/typechain-types/PendleMarket.ts +1207 -0
  245. package/typechain-types/PendleMarketFactory.ts +906 -0
  246. package/typechain-types/PendleMarketFactoryV3.ts +719 -0
  247. package/typechain-types/PendleMarketV3.ts +1195 -0
  248. package/typechain-types/PendlePYLpOracle.ts +619 -0
  249. package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
  250. package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
  251. package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
  252. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  253. package/typechain-types/PendleYieldToken.ts +1107 -0
  254. package/typechain-types/RewardManager.ts +161 -0
  255. package/typechain-types/RewardManagerAbstract.ts +108 -0
  256. package/typechain-types/VotingControllerStorageUpg.ts +915 -0
  257. package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
  258. package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
  259. package/typechain-types/VotingEscrowTokenBase.ts +252 -0
  260. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  261. package/typechain-types/factories/ActionCallbackV3__factory.ts +121 -0
  262. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  263. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  264. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  265. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  266. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  267. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  268. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  269. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  270. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  271. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  272. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  273. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  274. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  275. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  276. package/typechain-types/factories/IOwnable__factory.ts +46 -0
  277. package/typechain-types/factories/IPActionCallbackV3__factory.ts +83 -0
  278. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
  279. package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
  280. package/typechain-types/factories/IPGovernanceProxy__factory.ts +152 -0
  281. package/typechain-types/factories/IPLimitRouterCallback__factory.ts +64 -0
  282. package/typechain-types/factories/IPLimitRouter__factory.ts +748 -0
  283. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
  284. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  285. package/typechain-types/factories/IPMarket__factory.ts +832 -0
  286. package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
  287. package/typechain-types/factories/IPVotingController__factory.ts +363 -0
  288. package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
  289. package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
  290. package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
  291. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  292. package/typechain-types/factories/LimitRouterBase__factory.ts +1069 -0
  293. package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
  294. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
  295. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
  296. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
  297. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
  298. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
  299. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
  300. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
  301. package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
  302. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
  303. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
  304. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
  305. package/typechain-types/factories/PendleGauge__factory.ts +140 -0
  306. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +97 -2
  307. package/typechain-types/factories/PendleLimitRouter__factory.ts +1139 -0
  308. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
  309. package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
  310. package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
  311. package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
  312. package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
  313. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
  314. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  315. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
  316. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  317. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  318. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
  319. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  320. package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
  321. package/typechain-types/factories/Reflector__factory.ts +1 -1
  322. package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
  323. package/typechain-types/factories/RewardManager__factory.ts +89 -0
  324. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
  325. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
  326. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
  327. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
  328. package/typechain-types/hardhat.d.ts +72 -0
  329. package/typechain-types/index.ts +16 -2
  330. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
@@ -0,0 +1,181 @@
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
+ IPPoolDeployHelperV2,
9
+ IPPoolDeployHelperV2Interface,
10
+ } from "../IPPoolDeployHelperV2";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ components: [
18
+ {
19
+ internalType: "address",
20
+ name: "SY",
21
+ type: "address",
22
+ },
23
+ {
24
+ internalType: "address",
25
+ name: "PT",
26
+ type: "address",
27
+ },
28
+ {
29
+ internalType: "address",
30
+ name: "YT",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "market",
36
+ type: "address",
37
+ },
38
+ ],
39
+ indexed: false,
40
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
41
+ name: "addrs",
42
+ type: "tuple",
43
+ },
44
+ {
45
+ components: [
46
+ {
47
+ internalType: "uint32",
48
+ name: "expiry",
49
+ type: "uint32",
50
+ },
51
+ {
52
+ internalType: "uint80",
53
+ name: "lnFeeRateRoot",
54
+ type: "uint80",
55
+ },
56
+ {
57
+ internalType: "int256",
58
+ name: "scalarRoot",
59
+ type: "int256",
60
+ },
61
+ {
62
+ internalType: "int256",
63
+ name: "initialRateAnchor",
64
+ type: "int256",
65
+ },
66
+ {
67
+ internalType: "bool",
68
+ name: "doCacheIndexSameBlock",
69
+ type: "bool",
70
+ },
71
+ ],
72
+ indexed: false,
73
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentParams",
74
+ name: "params",
75
+ type: "tuple",
76
+ },
77
+ ],
78
+ name: "MarketDeployment",
79
+ type: "event",
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: "address",
85
+ name: "SY",
86
+ type: "address",
87
+ },
88
+ {
89
+ components: [
90
+ {
91
+ internalType: "uint32",
92
+ name: "expiry",
93
+ type: "uint32",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "rateMin",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ internalType: "uint256",
102
+ name: "rateMax",
103
+ type: "uint256",
104
+ },
105
+ {
106
+ internalType: "uint256",
107
+ name: "desiredImpliedRate",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "fee",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ internalType: "struct IPPoolDeployHelperV2.PoolConfig",
117
+ name: "config",
118
+ type: "tuple",
119
+ },
120
+ {
121
+ internalType: "address",
122
+ name: "tokenToSeedLiqudity",
123
+ type: "address",
124
+ },
125
+ {
126
+ internalType: "uint256",
127
+ name: "amountToSeed",
128
+ type: "uint256",
129
+ },
130
+ ],
131
+ name: "deploy5115MarketAndSeedLiquidity",
132
+ outputs: [
133
+ {
134
+ components: [
135
+ {
136
+ internalType: "address",
137
+ name: "SY",
138
+ type: "address",
139
+ },
140
+ {
141
+ internalType: "address",
142
+ name: "PT",
143
+ type: "address",
144
+ },
145
+ {
146
+ internalType: "address",
147
+ name: "YT",
148
+ type: "address",
149
+ },
150
+ {
151
+ internalType: "address",
152
+ name: "market",
153
+ type: "address",
154
+ },
155
+ ],
156
+ internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
157
+ name: "",
158
+ type: "tuple",
159
+ },
160
+ ],
161
+ stateMutability: "payable",
162
+ type: "function",
163
+ },
164
+ ];
165
+
166
+ export class IPPoolDeployHelperV2__factory {
167
+ static readonly abi = _abi;
168
+ static createInterface(): IPPoolDeployHelperV2Interface {
169
+ return new utils.Interface(_abi) as IPPoolDeployHelperV2Interface;
170
+ }
171
+ static connect(
172
+ address: string,
173
+ signerOrProvider: Signer | Provider
174
+ ): IPPoolDeployHelperV2 {
175
+ return new Contract(
176
+ address,
177
+ _abi,
178
+ signerOrProvider
179
+ ) as IPPoolDeployHelperV2;
180
+ }
181
+ }
@@ -0,0 +1,363 @@
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
+ IPVotingController,
9
+ IPVotingControllerInterface,
10
+ } from "../IPVotingController";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "uint64",
19
+ name: "chainId",
20
+ type: "uint64",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "pool",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "AddPool",
30
+ type: "event",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: true,
37
+ internalType: "uint64",
38
+ name: "chainId",
39
+ type: "uint64",
40
+ },
41
+ {
42
+ indexed: true,
43
+ internalType: "uint128",
44
+ name: "wTime",
45
+ type: "uint128",
46
+ },
47
+ {
48
+ indexed: false,
49
+ internalType: "uint128",
50
+ name: "totalPendlePerSec",
51
+ type: "uint128",
52
+ },
53
+ ],
54
+ name: "BroadcastResults",
55
+ type: "event",
56
+ },
57
+ {
58
+ anonymous: false,
59
+ inputs: [
60
+ {
61
+ indexed: true,
62
+ internalType: "address",
63
+ name: "pool",
64
+ type: "address",
65
+ },
66
+ {
67
+ components: [
68
+ {
69
+ internalType: "uint128",
70
+ name: "bias",
71
+ type: "uint128",
72
+ },
73
+ {
74
+ internalType: "uint128",
75
+ name: "slope",
76
+ type: "uint128",
77
+ },
78
+ ],
79
+ indexed: false,
80
+ internalType: "struct VeBalance",
81
+ name: "vote",
82
+ type: "tuple",
83
+ },
84
+ ],
85
+ name: "PoolVoteChange",
86
+ type: "event",
87
+ },
88
+ {
89
+ anonymous: false,
90
+ inputs: [
91
+ {
92
+ indexed: true,
93
+ internalType: "uint64",
94
+ name: "chainId",
95
+ type: "uint64",
96
+ },
97
+ {
98
+ indexed: true,
99
+ internalType: "address",
100
+ name: "pool",
101
+ type: "address",
102
+ },
103
+ ],
104
+ name: "RemovePool",
105
+ type: "event",
106
+ },
107
+ {
108
+ anonymous: false,
109
+ inputs: [
110
+ {
111
+ indexed: false,
112
+ internalType: "uint256",
113
+ name: "newPendlePerSec",
114
+ type: "uint256",
115
+ },
116
+ ],
117
+ name: "SetPendlePerSec",
118
+ type: "event",
119
+ },
120
+ {
121
+ anonymous: false,
122
+ inputs: [
123
+ {
124
+ indexed: true,
125
+ internalType: "address",
126
+ name: "user",
127
+ type: "address",
128
+ },
129
+ {
130
+ indexed: true,
131
+ internalType: "address",
132
+ name: "pool",
133
+ type: "address",
134
+ },
135
+ {
136
+ indexed: false,
137
+ internalType: "uint64",
138
+ name: "weight",
139
+ type: "uint64",
140
+ },
141
+ {
142
+ components: [
143
+ {
144
+ internalType: "uint128",
145
+ name: "bias",
146
+ type: "uint128",
147
+ },
148
+ {
149
+ internalType: "uint128",
150
+ name: "slope",
151
+ type: "uint128",
152
+ },
153
+ ],
154
+ indexed: false,
155
+ internalType: "struct VeBalance",
156
+ name: "vote",
157
+ type: "tuple",
158
+ },
159
+ ],
160
+ name: "Vote",
161
+ type: "event",
162
+ },
163
+ {
164
+ inputs: [
165
+ {
166
+ internalType: "address",
167
+ name: "pool",
168
+ type: "address",
169
+ },
170
+ ],
171
+ name: "applyPoolSlopeChanges",
172
+ outputs: [],
173
+ stateMutability: "nonpayable",
174
+ type: "function",
175
+ },
176
+ {
177
+ inputs: [
178
+ {
179
+ internalType: "uint64",
180
+ name: "chainId",
181
+ type: "uint64",
182
+ },
183
+ ],
184
+ name: "broadcastResults",
185
+ outputs: [],
186
+ stateMutability: "payable",
187
+ type: "function",
188
+ },
189
+ {
190
+ inputs: [],
191
+ name: "finalizeEpoch",
192
+ outputs: [],
193
+ stateMutability: "nonpayable",
194
+ type: "function",
195
+ },
196
+ {
197
+ inputs: [
198
+ {
199
+ internalType: "uint64",
200
+ name: "chainId",
201
+ type: "uint64",
202
+ },
203
+ ],
204
+ name: "getBroadcastResultFee",
205
+ outputs: [
206
+ {
207
+ internalType: "uint256",
208
+ name: "",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ stateMutability: "view",
213
+ type: "function",
214
+ },
215
+ {
216
+ inputs: [
217
+ {
218
+ internalType: "address",
219
+ name: "pool",
220
+ type: "address",
221
+ },
222
+ {
223
+ internalType: "uint128",
224
+ name: "wTime",
225
+ type: "uint128",
226
+ },
227
+ ],
228
+ name: "getPoolTotalVoteAt",
229
+ outputs: [
230
+ {
231
+ internalType: "uint128",
232
+ name: "",
233
+ type: "uint128",
234
+ },
235
+ ],
236
+ stateMutability: "view",
237
+ type: "function",
238
+ },
239
+ {
240
+ inputs: [
241
+ {
242
+ internalType: "address",
243
+ name: "user",
244
+ type: "address",
245
+ },
246
+ {
247
+ internalType: "address",
248
+ name: "pool",
249
+ type: "address",
250
+ },
251
+ {
252
+ internalType: "uint256",
253
+ name: "index",
254
+ type: "uint256",
255
+ },
256
+ ],
257
+ name: "getUserPoolHistoryAt",
258
+ outputs: [
259
+ {
260
+ components: [
261
+ {
262
+ internalType: "uint128",
263
+ name: "timestamp",
264
+ type: "uint128",
265
+ },
266
+ {
267
+ components: [
268
+ {
269
+ internalType: "uint128",
270
+ name: "bias",
271
+ type: "uint128",
272
+ },
273
+ {
274
+ internalType: "uint128",
275
+ name: "slope",
276
+ type: "uint128",
277
+ },
278
+ ],
279
+ internalType: "struct VeBalance",
280
+ name: "value",
281
+ type: "tuple",
282
+ },
283
+ ],
284
+ internalType: "struct Checkpoint",
285
+ name: "",
286
+ type: "tuple",
287
+ },
288
+ ],
289
+ stateMutability: "view",
290
+ type: "function",
291
+ },
292
+ {
293
+ inputs: [
294
+ {
295
+ internalType: "address",
296
+ name: "user",
297
+ type: "address",
298
+ },
299
+ {
300
+ internalType: "address",
301
+ name: "pool",
302
+ type: "address",
303
+ },
304
+ ],
305
+ name: "getUserPoolHistoryLength",
306
+ outputs: [
307
+ {
308
+ internalType: "uint256",
309
+ name: "",
310
+ type: "uint256",
311
+ },
312
+ ],
313
+ stateMutability: "view",
314
+ type: "function",
315
+ },
316
+ {
317
+ inputs: [
318
+ {
319
+ internalType: "uint128",
320
+ name: "wTime",
321
+ type: "uint128",
322
+ },
323
+ {
324
+ internalType: "address[]",
325
+ name: "pools",
326
+ type: "address[]",
327
+ },
328
+ ],
329
+ name: "getWeekData",
330
+ outputs: [
331
+ {
332
+ internalType: "bool",
333
+ name: "isEpochFinalized",
334
+ type: "bool",
335
+ },
336
+ {
337
+ internalType: "uint128",
338
+ name: "totalVotes",
339
+ type: "uint128",
340
+ },
341
+ {
342
+ internalType: "uint128[]",
343
+ name: "poolVotes",
344
+ type: "uint128[]",
345
+ },
346
+ ],
347
+ stateMutability: "view",
348
+ type: "function",
349
+ },
350
+ ];
351
+
352
+ export class IPVotingController__factory {
353
+ static readonly abi = _abi;
354
+ static createInterface(): IPVotingControllerInterface {
355
+ return new utils.Interface(_abi) as IPVotingControllerInterface;
356
+ }
357
+ static connect(
358
+ address: string,
359
+ signerOrProvider: Signer | Provider
360
+ ): IPVotingController {
361
+ return new Contract(address, _abi, signerOrProvider) as IPVotingController;
362
+ }
363
+ }