@pendle/core-v2 5.6.0 → 5.7.0

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 (295) 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/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
  71. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
  72. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
  77. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  78. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  79. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  80. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  81. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  82. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  83. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  84. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  85. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  86. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  87. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  88. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
  89. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
  90. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
  91. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
  92. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
  93. package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
  94. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
  95. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
  96. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
  97. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
  98. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  99. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  100. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  101. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  102. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  104. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  117. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  118. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  119. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  120. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  121. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  123. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  124. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  125. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  126. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  127. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  128. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  129. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  130. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  131. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  132. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  133. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  134. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  135. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  136. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  137. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  138. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  139. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  140. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  141. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  142. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +29 -5
  143. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  145. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  147. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  149. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  151. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  153. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  155. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  157. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  159. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  161. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  163. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  164. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  165. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  166. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  167. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  168. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  170. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  172. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  174. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  176. package/contracts/core/libraries/math/PMath.sol +5 -0
  177. package/contracts/interfaces/IOwnable.sol +6 -0
  178. package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
  179. package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
  180. package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
  181. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
  182. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
  183. package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
  184. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
  185. package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
  186. package/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +9 -2
  187. package/deployments/146-core.json +47 -0
  188. package/deployments/146-offchain-helper.json +6 -0
  189. package/package.json +1 -1
  190. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  191. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  192. package/typechain-types/Broadcaster.ts +454 -0
  193. package/typechain-types/IOwnable.ts +114 -0
  194. package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
  195. package/typechain-types/IPCommonSYFactory.ts +111 -0
  196. package/typechain-types/IPMarket.ts +1045 -0
  197. package/typechain-types/IPMarketV3.ts +1068 -0
  198. package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
  199. package/typechain-types/IPVotingController.ts +510 -0
  200. package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
  201. package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
  202. package/typechain-types/InterestManagerYT.ts +120 -0
  203. package/typechain-types/PendleBoringOneracle.ts +87 -0
  204. package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
  205. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  206. package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
  207. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  208. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
  209. package/typechain-types/PendleCommonSYFactory.ts +420 -0
  210. package/typechain-types/PendleExchangeRateOracle.ts +393 -0
  211. package/typechain-types/PendleFeeDistributor.ts +745 -0
  212. package/typechain-types/PendleGauge.ts +225 -0
  213. package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
  214. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
  215. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
  216. package/typechain-types/PendleMarket.ts +1207 -0
  217. package/typechain-types/PendleMarketFactory.ts +906 -0
  218. package/typechain-types/PendlePYLpOracle.ts +619 -0
  219. package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
  220. package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
  221. package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +60 -18
  222. package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
  223. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  224. package/typechain-types/PendleYieldToken.ts +1107 -0
  225. package/typechain-types/RewardManager.ts +161 -0
  226. package/typechain-types/RewardManagerAbstract.ts +108 -0
  227. package/typechain-types/VotingControllerStorageUpg.ts +915 -0
  228. package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
  229. package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
  230. package/typechain-types/VotingEscrowTokenBase.ts +252 -0
  231. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  232. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  233. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  234. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  235. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  236. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  237. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  238. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  239. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  240. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  241. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  242. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  243. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  244. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  245. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  246. package/typechain-types/factories/Broadcaster__factory.ts +311 -0
  247. package/typechain-types/factories/IOwnable__factory.ts +46 -0
  248. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
  249. package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
  250. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  251. package/typechain-types/factories/IPMarket__factory.ts +832 -0
  252. package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
  253. package/typechain-types/factories/IPVotingController__factory.ts +363 -0
  254. package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
  255. package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
  256. package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
  257. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  258. package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
  259. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
  260. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
  261. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
  262. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
  263. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
  264. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
  265. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
  266. package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
  267. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
  268. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
  269. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
  270. package/typechain-types/factories/PendleGauge__factory.ts +140 -0
  271. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  272. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
  273. package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
  274. package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
  275. package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
  276. package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
  277. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
  278. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  279. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
  280. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  281. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  282. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +28 -4
  283. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
  284. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  285. package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
  286. package/typechain-types/factories/Reflector__factory.ts +1 -1
  287. package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
  288. package/typechain-types/factories/RewardManager__factory.ts +89 -0
  289. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
  290. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
  291. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
  292. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
  293. package/typechain-types/hardhat.d.ts +72 -9
  294. package/typechain-types/index.ts +16 -2
  295. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
@@ -0,0 +1,700 @@
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
+ VotingControllerStorageUpg,
9
+ VotingControllerStorageUpgInterface,
10
+ } from "../VotingControllerStorageUpg";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "ArrayOutOfBounds",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [
20
+ {
21
+ internalType: "uint256",
22
+ name: "wTime",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "InvalidWTime",
27
+ type: "error",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: true,
34
+ internalType: "uint64",
35
+ name: "chainId",
36
+ type: "uint64",
37
+ },
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "pool",
42
+ type: "address",
43
+ },
44
+ ],
45
+ name: "AddPool",
46
+ type: "event",
47
+ },
48
+ {
49
+ anonymous: false,
50
+ inputs: [
51
+ {
52
+ indexed: true,
53
+ internalType: "uint64",
54
+ name: "chainId",
55
+ type: "uint64",
56
+ },
57
+ {
58
+ indexed: true,
59
+ internalType: "uint128",
60
+ name: "wTime",
61
+ type: "uint128",
62
+ },
63
+ {
64
+ indexed: false,
65
+ internalType: "uint128",
66
+ name: "totalPendlePerSec",
67
+ type: "uint128",
68
+ },
69
+ ],
70
+ name: "BroadcastResults",
71
+ type: "event",
72
+ },
73
+ {
74
+ anonymous: false,
75
+ inputs: [
76
+ {
77
+ indexed: true,
78
+ internalType: "address",
79
+ name: "pool",
80
+ type: "address",
81
+ },
82
+ {
83
+ components: [
84
+ {
85
+ internalType: "uint128",
86
+ name: "bias",
87
+ type: "uint128",
88
+ },
89
+ {
90
+ internalType: "uint128",
91
+ name: "slope",
92
+ type: "uint128",
93
+ },
94
+ ],
95
+ indexed: false,
96
+ internalType: "struct VeBalance",
97
+ name: "vote",
98
+ type: "tuple",
99
+ },
100
+ ],
101
+ name: "PoolVoteChange",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "uint64",
110
+ name: "chainId",
111
+ type: "uint64",
112
+ },
113
+ {
114
+ indexed: true,
115
+ internalType: "address",
116
+ name: "pool",
117
+ type: "address",
118
+ },
119
+ ],
120
+ name: "RemovePool",
121
+ type: "event",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "newPendlePerSec",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "SetPendlePerSec",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "user",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: "address",
148
+ name: "pool",
149
+ type: "address",
150
+ },
151
+ {
152
+ indexed: false,
153
+ internalType: "uint64",
154
+ name: "weight",
155
+ type: "uint64",
156
+ },
157
+ {
158
+ components: [
159
+ {
160
+ internalType: "uint128",
161
+ name: "bias",
162
+ type: "uint128",
163
+ },
164
+ {
165
+ internalType: "uint128",
166
+ name: "slope",
167
+ type: "uint128",
168
+ },
169
+ ],
170
+ indexed: false,
171
+ internalType: "struct VeBalance",
172
+ name: "vote",
173
+ type: "tuple",
174
+ },
175
+ ],
176
+ name: "Vote",
177
+ type: "event",
178
+ },
179
+ {
180
+ inputs: [],
181
+ name: "GOVERNANCE_PENDLE_VOTE",
182
+ outputs: [
183
+ {
184
+ internalType: "uint128",
185
+ name: "",
186
+ type: "uint128",
187
+ },
188
+ ],
189
+ stateMutability: "view",
190
+ type: "function",
191
+ },
192
+ {
193
+ inputs: [],
194
+ name: "MAX_LOCK_TIME",
195
+ outputs: [
196
+ {
197
+ internalType: "uint128",
198
+ name: "",
199
+ type: "uint128",
200
+ },
201
+ ],
202
+ stateMutability: "view",
203
+ type: "function",
204
+ },
205
+ {
206
+ inputs: [],
207
+ name: "WEEK",
208
+ outputs: [
209
+ {
210
+ internalType: "uint128",
211
+ name: "",
212
+ type: "uint128",
213
+ },
214
+ ],
215
+ stateMutability: "view",
216
+ type: "function",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "addPoolHelper",
221
+ outputs: [
222
+ {
223
+ internalType: "address",
224
+ name: "",
225
+ type: "address",
226
+ },
227
+ ],
228
+ stateMutability: "view",
229
+ type: "function",
230
+ },
231
+ {
232
+ inputs: [
233
+ {
234
+ internalType: "address",
235
+ name: "pool",
236
+ type: "address",
237
+ },
238
+ ],
239
+ name: "applyPoolSlopeChanges",
240
+ outputs: [],
241
+ stateMutability: "nonpayable",
242
+ type: "function",
243
+ },
244
+ {
245
+ inputs: [
246
+ {
247
+ internalType: "uint64",
248
+ name: "chainId",
249
+ type: "uint64",
250
+ },
251
+ ],
252
+ name: "broadcastResults",
253
+ outputs: [],
254
+ stateMutability: "payable",
255
+ type: "function",
256
+ },
257
+ {
258
+ inputs: [],
259
+ name: "deployedWTime",
260
+ outputs: [
261
+ {
262
+ internalType: "uint128",
263
+ name: "",
264
+ type: "uint128",
265
+ },
266
+ ],
267
+ stateMutability: "view",
268
+ type: "function",
269
+ },
270
+ {
271
+ inputs: [],
272
+ name: "finalizeEpoch",
273
+ outputs: [],
274
+ stateMutability: "nonpayable",
275
+ type: "function",
276
+ },
277
+ {
278
+ inputs: [
279
+ {
280
+ internalType: "uint64",
281
+ name: "chainId",
282
+ type: "uint64",
283
+ },
284
+ ],
285
+ name: "getActiveChainPools",
286
+ outputs: [
287
+ {
288
+ internalType: "address[]",
289
+ name: "",
290
+ type: "address[]",
291
+ },
292
+ ],
293
+ stateMutability: "view",
294
+ type: "function",
295
+ },
296
+ {
297
+ inputs: [],
298
+ name: "getAllActivePools",
299
+ outputs: [
300
+ {
301
+ internalType: "address[]",
302
+ name: "",
303
+ type: "address[]",
304
+ },
305
+ ],
306
+ stateMutability: "view",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [
311
+ {
312
+ internalType: "uint256",
313
+ name: "start",
314
+ type: "uint256",
315
+ },
316
+ {
317
+ internalType: "uint256",
318
+ name: "end",
319
+ type: "uint256",
320
+ },
321
+ ],
322
+ name: "getAllRemovedPools",
323
+ outputs: [
324
+ {
325
+ internalType: "uint256",
326
+ name: "lengthOfRemovedPools",
327
+ type: "uint256",
328
+ },
329
+ {
330
+ internalType: "address[]",
331
+ name: "arr",
332
+ type: "address[]",
333
+ },
334
+ ],
335
+ stateMutability: "view",
336
+ type: "function",
337
+ },
338
+ {
339
+ inputs: [
340
+ {
341
+ internalType: "uint64",
342
+ name: "chainId",
343
+ type: "uint64",
344
+ },
345
+ ],
346
+ name: "getBroadcastResultFee",
347
+ outputs: [
348
+ {
349
+ internalType: "uint256",
350
+ name: "",
351
+ type: "uint256",
352
+ },
353
+ ],
354
+ stateMutability: "view",
355
+ type: "function",
356
+ },
357
+ {
358
+ inputs: [
359
+ {
360
+ internalType: "address",
361
+ name: "pool",
362
+ type: "address",
363
+ },
364
+ {
365
+ internalType: "uint128[]",
366
+ name: "wTimes",
367
+ type: "uint128[]",
368
+ },
369
+ ],
370
+ name: "getPoolData",
371
+ outputs: [
372
+ {
373
+ internalType: "uint64",
374
+ name: "chainId",
375
+ type: "uint64",
376
+ },
377
+ {
378
+ internalType: "uint128",
379
+ name: "lastSlopeChangeAppliedAt",
380
+ type: "uint128",
381
+ },
382
+ {
383
+ components: [
384
+ {
385
+ internalType: "uint128",
386
+ name: "bias",
387
+ type: "uint128",
388
+ },
389
+ {
390
+ internalType: "uint128",
391
+ name: "slope",
392
+ type: "uint128",
393
+ },
394
+ ],
395
+ internalType: "struct VeBalance",
396
+ name: "totalVote",
397
+ type: "tuple",
398
+ },
399
+ {
400
+ internalType: "uint128[]",
401
+ name: "slopeChanges",
402
+ type: "uint128[]",
403
+ },
404
+ ],
405
+ stateMutability: "view",
406
+ type: "function",
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "address",
412
+ name: "pool",
413
+ type: "address",
414
+ },
415
+ {
416
+ internalType: "uint128",
417
+ name: "wTime",
418
+ type: "uint128",
419
+ },
420
+ ],
421
+ name: "getPoolTotalVoteAt",
422
+ outputs: [
423
+ {
424
+ internalType: "uint128",
425
+ name: "",
426
+ type: "uint128",
427
+ },
428
+ ],
429
+ stateMutability: "view",
430
+ type: "function",
431
+ },
432
+ {
433
+ inputs: [
434
+ {
435
+ internalType: "address",
436
+ name: "user",
437
+ type: "address",
438
+ },
439
+ {
440
+ internalType: "address[]",
441
+ name: "pools",
442
+ type: "address[]",
443
+ },
444
+ ],
445
+ name: "getUserData",
446
+ outputs: [
447
+ {
448
+ internalType: "uint64",
449
+ name: "totalVotedWeight",
450
+ type: "uint64",
451
+ },
452
+ {
453
+ components: [
454
+ {
455
+ internalType: "uint64",
456
+ name: "weight",
457
+ type: "uint64",
458
+ },
459
+ {
460
+ components: [
461
+ {
462
+ internalType: "uint128",
463
+ name: "bias",
464
+ type: "uint128",
465
+ },
466
+ {
467
+ internalType: "uint128",
468
+ name: "slope",
469
+ type: "uint128",
470
+ },
471
+ ],
472
+ internalType: "struct VeBalance",
473
+ name: "vote",
474
+ type: "tuple",
475
+ },
476
+ ],
477
+ internalType: "struct VotingControllerStorageUpg.UserPoolData[]",
478
+ name: "voteForPools",
479
+ type: "tuple[]",
480
+ },
481
+ ],
482
+ stateMutability: "view",
483
+ type: "function",
484
+ },
485
+ {
486
+ inputs: [
487
+ {
488
+ internalType: "address",
489
+ name: "user",
490
+ type: "address",
491
+ },
492
+ {
493
+ internalType: "address",
494
+ name: "pool",
495
+ type: "address",
496
+ },
497
+ {
498
+ internalType: "uint256",
499
+ name: "index",
500
+ type: "uint256",
501
+ },
502
+ ],
503
+ name: "getUserPoolHistoryAt",
504
+ outputs: [
505
+ {
506
+ components: [
507
+ {
508
+ internalType: "uint128",
509
+ name: "timestamp",
510
+ type: "uint128",
511
+ },
512
+ {
513
+ components: [
514
+ {
515
+ internalType: "uint128",
516
+ name: "bias",
517
+ type: "uint128",
518
+ },
519
+ {
520
+ internalType: "uint128",
521
+ name: "slope",
522
+ type: "uint128",
523
+ },
524
+ ],
525
+ internalType: "struct VeBalance",
526
+ name: "value",
527
+ type: "tuple",
528
+ },
529
+ ],
530
+ internalType: "struct Checkpoint",
531
+ name: "",
532
+ type: "tuple",
533
+ },
534
+ ],
535
+ stateMutability: "view",
536
+ type: "function",
537
+ },
538
+ {
539
+ inputs: [
540
+ {
541
+ internalType: "address",
542
+ name: "user",
543
+ type: "address",
544
+ },
545
+ {
546
+ internalType: "address",
547
+ name: "pool",
548
+ type: "address",
549
+ },
550
+ ],
551
+ name: "getUserPoolHistoryLength",
552
+ outputs: [
553
+ {
554
+ internalType: "uint256",
555
+ name: "",
556
+ type: "uint256",
557
+ },
558
+ ],
559
+ stateMutability: "view",
560
+ type: "function",
561
+ },
562
+ {
563
+ inputs: [
564
+ {
565
+ internalType: "address",
566
+ name: "user",
567
+ type: "address",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "pool",
572
+ type: "address",
573
+ },
574
+ ],
575
+ name: "getUserPoolVote",
576
+ outputs: [
577
+ {
578
+ components: [
579
+ {
580
+ internalType: "uint64",
581
+ name: "weight",
582
+ type: "uint64",
583
+ },
584
+ {
585
+ components: [
586
+ {
587
+ internalType: "uint128",
588
+ name: "bias",
589
+ type: "uint128",
590
+ },
591
+ {
592
+ internalType: "uint128",
593
+ name: "slope",
594
+ type: "uint128",
595
+ },
596
+ ],
597
+ internalType: "struct VeBalance",
598
+ name: "vote",
599
+ type: "tuple",
600
+ },
601
+ ],
602
+ internalType: "struct VotingControllerStorageUpg.UserPoolData",
603
+ name: "",
604
+ type: "tuple",
605
+ },
606
+ ],
607
+ stateMutability: "view",
608
+ type: "function",
609
+ },
610
+ {
611
+ inputs: [
612
+ {
613
+ internalType: "uint128",
614
+ name: "wTime",
615
+ type: "uint128",
616
+ },
617
+ {
618
+ internalType: "address[]",
619
+ name: "pools",
620
+ type: "address[]",
621
+ },
622
+ ],
623
+ name: "getWeekData",
624
+ outputs: [
625
+ {
626
+ internalType: "bool",
627
+ name: "isEpochFinalized",
628
+ type: "bool",
629
+ },
630
+ {
631
+ internalType: "uint128",
632
+ name: "totalVotes",
633
+ type: "uint128",
634
+ },
635
+ {
636
+ internalType: "uint128[]",
637
+ name: "poolVotes",
638
+ type: "uint128[]",
639
+ },
640
+ ],
641
+ stateMutability: "view",
642
+ type: "function",
643
+ },
644
+ {
645
+ inputs: [],
646
+ name: "pendlePerSec",
647
+ outputs: [
648
+ {
649
+ internalType: "uint128",
650
+ name: "",
651
+ type: "uint128",
652
+ },
653
+ ],
654
+ stateMutability: "view",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [],
659
+ name: "removePoolHelper",
660
+ outputs: [
661
+ {
662
+ internalType: "address",
663
+ name: "",
664
+ type: "address",
665
+ },
666
+ ],
667
+ stateMutability: "view",
668
+ type: "function",
669
+ },
670
+ {
671
+ inputs: [],
672
+ name: "vePendle",
673
+ outputs: [
674
+ {
675
+ internalType: "contract IPVeToken",
676
+ name: "",
677
+ type: "address",
678
+ },
679
+ ],
680
+ stateMutability: "view",
681
+ type: "function",
682
+ },
683
+ ];
684
+
685
+ export class VotingControllerStorageUpg__factory {
686
+ static readonly abi = _abi;
687
+ static createInterface(): VotingControllerStorageUpgInterface {
688
+ return new utils.Interface(_abi) as VotingControllerStorageUpgInterface;
689
+ }
690
+ static connect(
691
+ address: string,
692
+ signerOrProvider: Signer | Provider
693
+ ): VotingControllerStorageUpg {
694
+ return new Contract(
695
+ address,
696
+ _abi,
697
+ signerOrProvider
698
+ ) as VotingControllerStorageUpg;
699
+ }
700
+ }