@pendle/core-v2 6.5.0-swaphubtest → 6.6.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 (350) hide show
  1. package/LICENSE +12 -82
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  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/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
  53. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +231 -0
  107. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  140. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  141. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +226 -21
  142. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  143. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +228 -23
  144. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  157. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  161. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  168. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  187. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  197. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  235. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  237. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  239. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  241. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  243. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  245. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  247. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  249. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  251. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  253. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  257. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  259. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  260. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  262. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  263. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  265. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  266. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  267. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  268. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  269. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  270. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  272. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  277. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +3 -3
  278. package/contracts/interfaces/IPLimitRouter.sol +7 -0
  279. package/contracts/limit/LimitRouterBase.sol +2 -11
  280. package/contracts/limit/PendleLimitRouter.sol +23 -1
  281. package/deployments/1-core.json +10 -6
  282. package/deployments/10-core.json +8 -4
  283. package/deployments/130-core.json +8 -2
  284. package/deployments/143-core.json +18 -0
  285. package/deployments/146-core.json +8 -4
  286. package/deployments/42161-core.json +8 -4
  287. package/deployments/43114-core.json +5 -2
  288. package/deployments/43114-offchain-helper.json +3 -0
  289. package/deployments/5000-core.json +8 -4
  290. package/deployments/56-core.json +8 -4
  291. package/deployments/57073-core.json +18 -0
  292. package/deployments/747474-core.json +18 -0
  293. package/deployments/80094-core.json +8 -4
  294. package/deployments/8453-core.json +8 -4
  295. package/deployments/9745-core.json +7 -3
  296. package/deployments/999-core.json +7 -3
  297. package/package.json +1 -1
  298. package/typechain-types/IPLimitRouter.ts +83 -0
  299. package/typechain-types/LimitRouterBase.ts +79 -46
  300. package/typechain-types/PendleLimitRouter.ts +79 -46
  301. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  302. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  303. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  304. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  305. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  306. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  307. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  308. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  309. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  310. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  311. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  312. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  313. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  314. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  315. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  316. package/typechain-types/factories/IPLimitRouter__factory.ts +231 -0
  317. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  318. package/typechain-types/factories/LimitRouterBase__factory.ts +226 -21
  319. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  320. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  321. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
  322. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  323. package/typechain-types/factories/PendleLimitRouter__factory.ts +227 -22
  324. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  325. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  326. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  327. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  328. package/typechain-types/factories/Reflector__factory.ts +1 -1
  329. package/typechain-types/Broadcaster.ts +0 -455
  330. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  331. package/typechain-types/IPVotingController.ts +0 -534
  332. package/typechain-types/PendleFeeDistributor.ts +0 -746
  333. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -689
  334. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  335. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  336. package/typechain-types/PendleMarketFactoryV6Upg.ts +0 -773
  337. package/typechain-types/PendleMarketV6.ts +0 -1248
  338. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  339. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  340. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  341. package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
  342. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  343. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  344. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  345. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  346. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  347. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  348. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  349. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  350. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,783 +0,0 @@
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: "cap",
130
- type: "uint256",
131
- },
132
- ],
133
- name: "SetGlobalCap",
134
- type: "event",
135
- },
136
- {
137
- anonymous: false,
138
- inputs: [
139
- {
140
- indexed: false,
141
- internalType: "uint256",
142
- name: "newPendlePerSec",
143
- type: "uint256",
144
- },
145
- ],
146
- name: "SetPendlePerSec",
147
- type: "event",
148
- },
149
- {
150
- anonymous: false,
151
- inputs: [
152
- {
153
- indexed: false,
154
- internalType: "address[]",
155
- name: "pools",
156
- type: "address[]",
157
- },
158
- {
159
- indexed: false,
160
- internalType: "uint256[]",
161
- name: "caps",
162
- type: "uint256[]",
163
- },
164
- ],
165
- name: "SetPoolCaps",
166
- type: "event",
167
- },
168
- {
169
- anonymous: false,
170
- inputs: [
171
- {
172
- indexed: true,
173
- internalType: "address",
174
- name: "user",
175
- type: "address",
176
- },
177
- {
178
- indexed: true,
179
- internalType: "address",
180
- name: "pool",
181
- type: "address",
182
- },
183
- {
184
- indexed: false,
185
- internalType: "uint64",
186
- name: "weight",
187
- type: "uint64",
188
- },
189
- {
190
- components: [
191
- {
192
- internalType: "uint128",
193
- name: "bias",
194
- type: "uint128",
195
- },
196
- {
197
- internalType: "uint128",
198
- name: "slope",
199
- type: "uint128",
200
- },
201
- ],
202
- indexed: false,
203
- internalType: "struct VeBalance",
204
- name: "vote",
205
- type: "tuple",
206
- },
207
- ],
208
- name: "Vote",
209
- type: "event",
210
- },
211
- {
212
- inputs: [],
213
- name: "GOVERNANCE_PENDLE_VOTE",
214
- outputs: [
215
- {
216
- internalType: "uint128",
217
- name: "",
218
- type: "uint128",
219
- },
220
- ],
221
- stateMutability: "view",
222
- type: "function",
223
- },
224
- {
225
- inputs: [],
226
- name: "MAX_LOCK_TIME",
227
- outputs: [
228
- {
229
- internalType: "uint128",
230
- name: "",
231
- type: "uint128",
232
- },
233
- ],
234
- stateMutability: "view",
235
- type: "function",
236
- },
237
- {
238
- inputs: [],
239
- name: "WEEK",
240
- outputs: [
241
- {
242
- internalType: "uint128",
243
- name: "",
244
- type: "uint128",
245
- },
246
- ],
247
- stateMutability: "view",
248
- type: "function",
249
- },
250
- {
251
- inputs: [],
252
- name: "addPoolHelper",
253
- outputs: [
254
- {
255
- internalType: "address",
256
- name: "",
257
- type: "address",
258
- },
259
- ],
260
- stateMutability: "view",
261
- type: "function",
262
- },
263
- {
264
- inputs: [
265
- {
266
- internalType: "address",
267
- name: "pool",
268
- type: "address",
269
- },
270
- ],
271
- name: "applyPoolSlopeChanges",
272
- outputs: [],
273
- stateMutability: "nonpayable",
274
- type: "function",
275
- },
276
- {
277
- inputs: [
278
- {
279
- internalType: "uint64",
280
- name: "chainId",
281
- type: "uint64",
282
- },
283
- ],
284
- name: "broadcastResults",
285
- outputs: [],
286
- stateMutability: "payable",
287
- type: "function",
288
- },
289
- {
290
- inputs: [],
291
- name: "deployedWTime",
292
- outputs: [
293
- {
294
- internalType: "uint128",
295
- name: "",
296
- type: "uint128",
297
- },
298
- ],
299
- stateMutability: "view",
300
- type: "function",
301
- },
302
- {
303
- inputs: [],
304
- name: "finalizeEpoch",
305
- outputs: [],
306
- stateMutability: "nonpayable",
307
- type: "function",
308
- },
309
- {
310
- inputs: [
311
- {
312
- internalType: "uint64",
313
- name: "chainId",
314
- type: "uint64",
315
- },
316
- ],
317
- name: "getActiveChainPools",
318
- outputs: [
319
- {
320
- internalType: "address[]",
321
- name: "",
322
- type: "address[]",
323
- },
324
- ],
325
- stateMutability: "view",
326
- type: "function",
327
- },
328
- {
329
- inputs: [],
330
- name: "getAllActivePools",
331
- outputs: [
332
- {
333
- internalType: "address[]",
334
- name: "",
335
- type: "address[]",
336
- },
337
- ],
338
- stateMutability: "view",
339
- type: "function",
340
- },
341
- {
342
- inputs: [
343
- {
344
- internalType: "uint256",
345
- name: "start",
346
- type: "uint256",
347
- },
348
- {
349
- internalType: "uint256",
350
- name: "end",
351
- type: "uint256",
352
- },
353
- ],
354
- name: "getAllRemovedPools",
355
- outputs: [
356
- {
357
- internalType: "uint256",
358
- name: "lengthOfRemovedPools",
359
- type: "uint256",
360
- },
361
- {
362
- internalType: "address[]",
363
- name: "arr",
364
- type: "address[]",
365
- },
366
- ],
367
- stateMutability: "view",
368
- type: "function",
369
- },
370
- {
371
- inputs: [
372
- {
373
- internalType: "uint64",
374
- name: "chainId",
375
- type: "uint64",
376
- },
377
- ],
378
- name: "getBroadcastResultFee",
379
- outputs: [
380
- {
381
- internalType: "uint256",
382
- name: "",
383
- type: "uint256",
384
- },
385
- ],
386
- stateMutability: "view",
387
- type: "function",
388
- },
389
- {
390
- inputs: [
391
- {
392
- internalType: "address",
393
- name: "pool",
394
- type: "address",
395
- },
396
- ],
397
- name: "getPoolCap",
398
- outputs: [
399
- {
400
- internalType: "uint256",
401
- name: "",
402
- type: "uint256",
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: "wTimes",
418
- type: "uint128[]",
419
- },
420
- ],
421
- name: "getPoolData",
422
- outputs: [
423
- {
424
- internalType: "uint64",
425
- name: "chainId",
426
- type: "uint64",
427
- },
428
- {
429
- internalType: "uint128",
430
- name: "lastSlopeChangeAppliedAt",
431
- type: "uint128",
432
- },
433
- {
434
- components: [
435
- {
436
- internalType: "uint128",
437
- name: "bias",
438
- type: "uint128",
439
- },
440
- {
441
- internalType: "uint128",
442
- name: "slope",
443
- type: "uint128",
444
- },
445
- ],
446
- internalType: "struct VeBalance",
447
- name: "totalVote",
448
- type: "tuple",
449
- },
450
- {
451
- internalType: "uint128[]",
452
- name: "slopeChanges",
453
- type: "uint128[]",
454
- },
455
- ],
456
- stateMutability: "view",
457
- type: "function",
458
- },
459
- {
460
- inputs: [
461
- {
462
- internalType: "address",
463
- name: "pool",
464
- type: "address",
465
- },
466
- {
467
- internalType: "uint128",
468
- name: "wTime",
469
- type: "uint128",
470
- },
471
- ],
472
- name: "getPoolTotalVoteAt",
473
- outputs: [
474
- {
475
- internalType: "uint128",
476
- name: "",
477
- type: "uint128",
478
- },
479
- ],
480
- stateMutability: "view",
481
- type: "function",
482
- },
483
- {
484
- inputs: [
485
- {
486
- internalType: "address",
487
- name: "user",
488
- type: "address",
489
- },
490
- {
491
- internalType: "address[]",
492
- name: "pools",
493
- type: "address[]",
494
- },
495
- ],
496
- name: "getUserData",
497
- outputs: [
498
- {
499
- internalType: "uint64",
500
- name: "totalVotedWeight",
501
- type: "uint64",
502
- },
503
- {
504
- components: [
505
- {
506
- internalType: "uint64",
507
- name: "weight",
508
- type: "uint64",
509
- },
510
- {
511
- components: [
512
- {
513
- internalType: "uint128",
514
- name: "bias",
515
- type: "uint128",
516
- },
517
- {
518
- internalType: "uint128",
519
- name: "slope",
520
- type: "uint128",
521
- },
522
- ],
523
- internalType: "struct VeBalance",
524
- name: "vote",
525
- type: "tuple",
526
- },
527
- ],
528
- internalType: "struct VotingControllerStorageUpg.UserPoolData[]",
529
- name: "voteForPools",
530
- type: "tuple[]",
531
- },
532
- ],
533
- stateMutability: "view",
534
- type: "function",
535
- },
536
- {
537
- inputs: [
538
- {
539
- internalType: "address",
540
- name: "user",
541
- type: "address",
542
- },
543
- {
544
- internalType: "address",
545
- name: "pool",
546
- type: "address",
547
- },
548
- {
549
- internalType: "uint256",
550
- name: "index",
551
- type: "uint256",
552
- },
553
- ],
554
- name: "getUserPoolHistoryAt",
555
- outputs: [
556
- {
557
- components: [
558
- {
559
- internalType: "uint128",
560
- name: "timestamp",
561
- type: "uint128",
562
- },
563
- {
564
- components: [
565
- {
566
- internalType: "uint128",
567
- name: "bias",
568
- type: "uint128",
569
- },
570
- {
571
- internalType: "uint128",
572
- name: "slope",
573
- type: "uint128",
574
- },
575
- ],
576
- internalType: "struct VeBalance",
577
- name: "value",
578
- type: "tuple",
579
- },
580
- ],
581
- internalType: "struct Checkpoint",
582
- name: "",
583
- type: "tuple",
584
- },
585
- ],
586
- stateMutability: "view",
587
- type: "function",
588
- },
589
- {
590
- inputs: [
591
- {
592
- internalType: "address",
593
- name: "user",
594
- type: "address",
595
- },
596
- {
597
- internalType: "address",
598
- name: "pool",
599
- type: "address",
600
- },
601
- ],
602
- name: "getUserPoolHistoryLength",
603
- outputs: [
604
- {
605
- internalType: "uint256",
606
- name: "",
607
- type: "uint256",
608
- },
609
- ],
610
- stateMutability: "view",
611
- type: "function",
612
- },
613
- {
614
- inputs: [
615
- {
616
- internalType: "address",
617
- name: "user",
618
- type: "address",
619
- },
620
- {
621
- internalType: "address",
622
- name: "pool",
623
- type: "address",
624
- },
625
- ],
626
- name: "getUserPoolVote",
627
- outputs: [
628
- {
629
- components: [
630
- {
631
- internalType: "uint64",
632
- name: "weight",
633
- type: "uint64",
634
- },
635
- {
636
- components: [
637
- {
638
- internalType: "uint128",
639
- name: "bias",
640
- type: "uint128",
641
- },
642
- {
643
- internalType: "uint128",
644
- name: "slope",
645
- type: "uint128",
646
- },
647
- ],
648
- internalType: "struct VeBalance",
649
- name: "vote",
650
- type: "tuple",
651
- },
652
- ],
653
- internalType: "struct VotingControllerStorageUpg.UserPoolData",
654
- name: "",
655
- type: "tuple",
656
- },
657
- ],
658
- stateMutability: "view",
659
- type: "function",
660
- },
661
- {
662
- inputs: [
663
- {
664
- internalType: "uint128",
665
- name: "wTime",
666
- type: "uint128",
667
- },
668
- {
669
- internalType: "address[]",
670
- name: "pools",
671
- type: "address[]",
672
- },
673
- ],
674
- name: "getWeekData",
675
- outputs: [
676
- {
677
- internalType: "bool",
678
- name: "isEpochFinalized",
679
- type: "bool",
680
- },
681
- {
682
- internalType: "uint128",
683
- name: "totalVotes",
684
- type: "uint128",
685
- },
686
- {
687
- internalType: "uint128[]",
688
- name: "poolVotes",
689
- type: "uint128[]",
690
- },
691
- ],
692
- stateMutability: "view",
693
- type: "function",
694
- },
695
- {
696
- inputs: [],
697
- name: "globalCap",
698
- outputs: [
699
- {
700
- internalType: "uint256",
701
- name: "",
702
- type: "uint256",
703
- },
704
- ],
705
- stateMutability: "view",
706
- type: "function",
707
- },
708
- {
709
- inputs: [],
710
- name: "pendlePerSec",
711
- outputs: [
712
- {
713
- internalType: "uint128",
714
- name: "",
715
- type: "uint128",
716
- },
717
- ],
718
- stateMutability: "view",
719
- type: "function",
720
- },
721
- {
722
- inputs: [
723
- {
724
- internalType: "address",
725
- name: "",
726
- type: "address",
727
- },
728
- ],
729
- name: "poolCaps",
730
- outputs: [
731
- {
732
- internalType: "uint256",
733
- name: "",
734
- type: "uint256",
735
- },
736
- ],
737
- stateMutability: "view",
738
- type: "function",
739
- },
740
- {
741
- inputs: [],
742
- name: "removePoolHelper",
743
- outputs: [
744
- {
745
- internalType: "address",
746
- name: "",
747
- type: "address",
748
- },
749
- ],
750
- stateMutability: "view",
751
- type: "function",
752
- },
753
- {
754
- inputs: [],
755
- name: "vePendle",
756
- outputs: [
757
- {
758
- internalType: "contract IPVeToken",
759
- name: "",
760
- type: "address",
761
- },
762
- ],
763
- stateMutability: "view",
764
- type: "function",
765
- },
766
- ];
767
-
768
- export class VotingControllerStorageUpg__factory {
769
- static readonly abi = _abi;
770
- static createInterface(): VotingControllerStorageUpgInterface {
771
- return new utils.Interface(_abi) as VotingControllerStorageUpgInterface;
772
- }
773
- static connect(
774
- address: string,
775
- signerOrProvider: Signer | Provider
776
- ): VotingControllerStorageUpg {
777
- return new Contract(
778
- address,
779
- _abi,
780
- signerOrProvider
781
- ) as VotingControllerStorageUpg;
782
- }
783
- }