@pendle/core-v2 6.4.4-swaphubtest → 6.5.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 (509) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +4 -0
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +401 -0
  11. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +4 -0
  27. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +733 -0
  28. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.dbg.json +4 -0
  29. package/build/artifacts/contracts/StPendle.sol/RoundDataLib.json +10 -0
  30. package/build/artifacts/contracts/StPendle.sol/StPendle.dbg.json +4 -0
  31. package/build/artifacts/contracts/StPendle.sol/StPendle.json +228 -0
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -51
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +618 -0
  40. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +4 -0
  41. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +1157 -0
  42. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +3 -3
  62. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  69. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  70. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
  71. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  73. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  74. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  75. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  76. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -51
  118. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +47 -12
  120. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -19
  129. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +4 -0
  147. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.json +351 -0
  148. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  159. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  160. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  161. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  162. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  163. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  164. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  172. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +4 -0
  173. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.json +30 -0
  174. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  183. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  189. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
  194. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  196. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
  198. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  209. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  214. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  237. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  238. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
  242. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  243. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  254. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  256. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  257. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  259. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  261. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  263. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  264. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  265. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  266. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  267. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  268. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  270. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  271. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  272. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  273. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  274. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  275. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  276. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  278. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  280. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  282. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  284. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  286. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  288. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  289. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  290. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  292. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  294. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  296. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  297. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  298. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  300. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  302. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  303. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  304. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  305. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  306. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  307. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  308. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  309. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  310. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  311. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  312. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  313. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  314. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  315. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  316. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  317. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  318. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  319. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  320. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  321. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol +112 -0
  322. package/contracts/LiquidityMining/sPendle/StakedPendle.sol +129 -0
  323. package/contracts/StPendle.sol +121 -0
  324. package/contracts/core/Market/PendleGauge.sol +1 -76
  325. package/contracts/core/Market/{PendleMarketFactoryV6Upg.sol → PendleMarketFactoryV7Upg.sol} +3 -6
  326. package/contracts/core/Market/{PendleMarketV6.sol → PendleMarketV7.sol} +16 -16
  327. package/contracts/core/libraries/Errors.sol +1 -1
  328. package/contracts/core/libraries/math/PMath.sol +5 -0
  329. package/contracts/interfaces/IPGauge.sol +0 -6
  330. package/contracts/interfaces/IPGaugeController.sol +16 -3
  331. package/contracts/interfaces/IPMarket.sol +12 -0
  332. package/contracts/interfaces/IPStakedPendle.sol +69 -0
  333. package/contracts/offchain-helpers/BalanceReader.sol +11 -1
  334. package/contracts/offchain-helpers/MarketSweed.sol +46 -54
  335. package/contracts/offchain-helpers/PendleMerkleDepositor.sol +5 -6
  336. package/contracts/router/ActionCrossChain.sol +14 -18
  337. package/contracts/router/Reflector.sol +19 -2
  338. package/deployments/1-core.json +3 -2
  339. package/deployments/10-core.json +1 -1
  340. package/deployments/130-core.json +2 -1
  341. package/deployments/146-core.json +1 -1
  342. package/deployments/42161-core.json +1 -1
  343. package/deployments/5000-core.json +1 -1
  344. package/deployments/56-core.json +1 -1
  345. package/deployments/80094-core.json +1 -1
  346. package/deployments/8453-core.json +1 -1
  347. package/deployments/9745-core.json +4 -3
  348. package/deployments/999-core.json +6 -6
  349. package/package.json +2 -2
  350. package/typechain-types/ERC20Upgradeable.ts +426 -0
  351. package/typechain-types/IERC20MetadataUpgradeable.ts +339 -0
  352. package/typechain-types/IERC20Upgradeable.ts +300 -0
  353. package/typechain-types/ILegacyMarket.ts +93 -0
  354. package/typechain-types/IPGauge.ts +7 -81
  355. package/typechain-types/IPGaugeController.ts +91 -47
  356. package/typechain-types/IPMarket.ts +0 -19
  357. package/typechain-types/IPStakedPendle.ts +558 -0
  358. package/typechain-types/PendleGauge.ts +0 -63
  359. package/typechain-types/{PendleGaugeControllerBaseUpg.ts → PendleGaugeControllerUpg.ts} +82 -171
  360. package/typechain-types/{PendleMarketFactoryV6Upg.ts → PendleMarketFactoryV7Upg.ts} +5 -18
  361. package/typechain-types/{PendleMarketV6.ts → PendleMarketV7.ts} +10 -29
  362. package/typechain-types/StPendle.ts +362 -0
  363. package/typechain-types/StakedPendle.ts +1058 -0
  364. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  365. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  366. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  367. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  368. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  369. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  370. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  371. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  372. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  373. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  374. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  375. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  376. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  377. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  378. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  379. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  380. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  381. package/typechain-types/factories/ERC20Upgradeable__factory.ts +347 -0
  382. package/typechain-types/factories/Errors__factory.ts +2 -2
  383. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
  384. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  385. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  386. package/typechain-types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
  387. package/typechain-types/factories/{IPGaugeControllerMainchain__factory.ts → IERC20Upgradeable__factory.ts} +90 -83
  388. package/typechain-types/factories/ILegacyMarket__factory.ts +42 -0
  389. package/typechain-types/factories/IPGaugeController__factory.ts +47 -12
  390. package/typechain-types/factories/IPGauge__factory.ts +0 -51
  391. package/typechain-types/factories/IPMarket__factory.ts +0 -19
  392. package/typechain-types/factories/IPStakedPendle__factory.ts +366 -0
  393. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  394. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  395. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  396. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  397. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  398. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  399. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  400. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  401. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  402. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
  403. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
  404. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  405. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  406. package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +463 -0
  407. package/typechain-types/factories/PendleGauge__factory.ts +0 -51
  408. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  409. package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
  410. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  411. package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +710 -0
  412. package/typechain-types/factories/PendleMarketV7__factory.ts +1233 -0
  413. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
  414. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  415. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  416. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  417. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  418. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  419. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  420. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  421. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  422. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  423. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  424. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  425. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  426. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
  427. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  428. package/typechain-types/factories/Reflector__factory.ts +1 -1
  429. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  430. package/typechain-types/factories/StPendle__factory.ts +260 -0
  431. package/typechain-types/factories/StakedPendle__factory.ts +785 -0
  432. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  433. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  434. package/typechain-types/hardhat.d.ts +69 -132
  435. package/typechain-types/index.ts +20 -32
  436. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
  437. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -451
  438. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
  439. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -557
  440. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
  441. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -547
  442. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
  443. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1311
  444. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
  445. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -764
  446. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +0 -4
  447. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +0 -636
  448. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +0 -4
  449. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +0 -1181
  450. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  451. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -170
  452. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  453. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1214
  454. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  455. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1176
  456. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  457. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -598
  458. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  459. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1026
  460. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  461. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -124
  462. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
  463. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -183
  464. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
  465. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -380
  466. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +0 -4
  467. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +0 -262
  468. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +0 -164
  469. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +0 -42
  470. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +0 -36
  471. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +0 -304
  472. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -301
  473. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -66
  474. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -178
  475. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -274
  476. package/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol +0 -204
  477. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -147
  478. package/contracts/interfaces/IPDepositBox.sol +0 -22
  479. package/contracts/interfaces/IPGaugeControllerMainchain.sol +0 -8
  480. package/contracts/interfaces/IPVotingController.sol +0 -43
  481. package/contracts/offchain-helpers/Broadcaster.sol +0 -48
  482. package/typechain-types/Broadcaster.ts +0 -455
  483. package/typechain-types/DepositBox.ts +0 -260
  484. package/typechain-types/IPCrossChainSwapHub.ts +0 -882
  485. package/typechain-types/IPDepositBox.ts +0 -213
  486. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  487. package/typechain-types/IPVotingController.ts +0 -534
  488. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1119
  489. package/typechain-types/PendleFeeDistributor.ts +0 -746
  490. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  491. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  492. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  493. package/typechain-types/SwapHubBase.ts +0 -1094
  494. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  495. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  496. package/typechain-types/factories/DepositBox__factory.ts +0 -222
  497. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1041
  498. package/typechain-types/factories/IPDepositBox__factory.ts +0 -136
  499. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  500. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1287
  501. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  502. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  503. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  504. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  505. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  506. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  507. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  508. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1188
  509. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,1391 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- PendleVotingControllerUpg,
15
- PendleVotingControllerUpgInterface,
16
- } from "../PendleVotingControllerUpg";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "address",
23
- name: "_vePendle",
24
- type: "address",
25
- },
26
- {
27
- internalType: "address",
28
- name: "_pendleMsgSendEndpoint",
29
- type: "address",
30
- },
31
- {
32
- internalType: "uint256",
33
- name: "initialApproxDestinationGas",
34
- type: "uint256",
35
- },
36
- ],
37
- stateMutability: "nonpayable",
38
- type: "constructor",
39
- },
40
- {
41
- inputs: [],
42
- name: "ArrayLengthMismatch",
43
- type: "error",
44
- },
45
- {
46
- inputs: [],
47
- name: "ArrayOutOfBounds",
48
- type: "error",
49
- },
50
- {
51
- inputs: [
52
- {
53
- internalType: "uint256",
54
- name: "currentFee",
55
- type: "uint256",
56
- },
57
- {
58
- internalType: "uint256",
59
- name: "requiredFee",
60
- type: "uint256",
61
- },
62
- ],
63
- name: "InsufficientFeeToSendMsg",
64
- type: "error",
65
- },
66
- {
67
- inputs: [
68
- {
69
- internalType: "uint256",
70
- name: "wTime",
71
- type: "uint256",
72
- },
73
- ],
74
- name: "InvalidWTime",
75
- type: "error",
76
- },
77
- {
78
- inputs: [
79
- {
80
- internalType: "uint256",
81
- name: "wTime",
82
- type: "uint256",
83
- },
84
- ],
85
- name: "VCEpochNotFinalized",
86
- type: "error",
87
- },
88
- {
89
- inputs: [
90
- {
91
- internalType: "uint256",
92
- name: "totalWeight",
93
- type: "uint256",
94
- },
95
- {
96
- internalType: "uint256",
97
- name: "maxWeight",
98
- type: "uint256",
99
- },
100
- ],
101
- name: "VCExceededMaxWeight",
102
- type: "error",
103
- },
104
- {
105
- inputs: [
106
- {
107
- internalType: "address",
108
- name: "pool",
109
- type: "address",
110
- },
111
- ],
112
- name: "VCInactivePool",
113
- type: "error",
114
- },
115
- {
116
- inputs: [
117
- {
118
- internalType: "uint256",
119
- name: "cap",
120
- type: "uint256",
121
- },
122
- ],
123
- name: "VCInvalidCap",
124
- type: "error",
125
- },
126
- {
127
- inputs: [
128
- {
129
- internalType: "address",
130
- name: "pool",
131
- type: "address",
132
- },
133
- ],
134
- name: "VCPoolAlreadyActive",
135
- type: "error",
136
- },
137
- {
138
- inputs: [
139
- {
140
- internalType: "address",
141
- name: "pool",
142
- type: "address",
143
- },
144
- ],
145
- name: "VCPoolAlreadyAddAndRemoved",
146
- type: "error",
147
- },
148
- {
149
- inputs: [
150
- {
151
- internalType: "address",
152
- name: "user",
153
- type: "address",
154
- },
155
- ],
156
- name: "VCZeroVePendle",
157
- type: "error",
158
- },
159
- {
160
- inputs: [
161
- {
162
- internalType: "uint128",
163
- name: "bias",
164
- type: "uint128",
165
- },
166
- {
167
- internalType: "uint128",
168
- name: "slope",
169
- type: "uint128",
170
- },
171
- ],
172
- name: "VEZeroSlope",
173
- type: "error",
174
- },
175
- {
176
- anonymous: false,
177
- inputs: [
178
- {
179
- indexed: true,
180
- internalType: "uint64",
181
- name: "chainId",
182
- type: "uint64",
183
- },
184
- {
185
- indexed: true,
186
- internalType: "address",
187
- name: "pool",
188
- type: "address",
189
- },
190
- ],
191
- name: "AddPool",
192
- type: "event",
193
- },
194
- {
195
- anonymous: false,
196
- inputs: [
197
- {
198
- indexed: false,
199
- internalType: "address",
200
- name: "previousAdmin",
201
- type: "address",
202
- },
203
- {
204
- indexed: false,
205
- internalType: "address",
206
- name: "newAdmin",
207
- type: "address",
208
- },
209
- ],
210
- name: "AdminChanged",
211
- type: "event",
212
- },
213
- {
214
- anonymous: false,
215
- inputs: [
216
- {
217
- indexed: true,
218
- internalType: "address",
219
- name: "beacon",
220
- type: "address",
221
- },
222
- ],
223
- name: "BeaconUpgraded",
224
- type: "event",
225
- },
226
- {
227
- anonymous: false,
228
- inputs: [
229
- {
230
- indexed: true,
231
- internalType: "uint64",
232
- name: "chainId",
233
- type: "uint64",
234
- },
235
- {
236
- indexed: true,
237
- internalType: "uint128",
238
- name: "wTime",
239
- type: "uint128",
240
- },
241
- {
242
- indexed: false,
243
- internalType: "uint128",
244
- name: "totalPendlePerSec",
245
- type: "uint128",
246
- },
247
- ],
248
- name: "BroadcastResults",
249
- type: "event",
250
- },
251
- {
252
- anonymous: false,
253
- inputs: [
254
- {
255
- indexed: false,
256
- internalType: "uint8",
257
- name: "version",
258
- type: "uint8",
259
- },
260
- ],
261
- name: "Initialized",
262
- type: "event",
263
- },
264
- {
265
- anonymous: false,
266
- inputs: [
267
- {
268
- indexed: true,
269
- internalType: "address",
270
- name: "previousOwner",
271
- type: "address",
272
- },
273
- {
274
- indexed: true,
275
- internalType: "address",
276
- name: "newOwner",
277
- type: "address",
278
- },
279
- ],
280
- name: "OwnershipTransferred",
281
- type: "event",
282
- },
283
- {
284
- anonymous: false,
285
- inputs: [
286
- {
287
- indexed: true,
288
- internalType: "address",
289
- name: "pool",
290
- type: "address",
291
- },
292
- {
293
- components: [
294
- {
295
- internalType: "uint128",
296
- name: "bias",
297
- type: "uint128",
298
- },
299
- {
300
- internalType: "uint128",
301
- name: "slope",
302
- type: "uint128",
303
- },
304
- ],
305
- indexed: false,
306
- internalType: "struct VeBalance",
307
- name: "vote",
308
- type: "tuple",
309
- },
310
- ],
311
- name: "PoolVoteChange",
312
- type: "event",
313
- },
314
- {
315
- anonymous: false,
316
- inputs: [
317
- {
318
- indexed: true,
319
- internalType: "uint64",
320
- name: "chainId",
321
- type: "uint64",
322
- },
323
- {
324
- indexed: true,
325
- internalType: "address",
326
- name: "pool",
327
- type: "address",
328
- },
329
- ],
330
- name: "RemovePool",
331
- type: "event",
332
- },
333
- {
334
- anonymous: false,
335
- inputs: [
336
- {
337
- indexed: false,
338
- internalType: "uint256",
339
- name: "cap",
340
- type: "uint256",
341
- },
342
- ],
343
- name: "SetGlobalCap",
344
- type: "event",
345
- },
346
- {
347
- anonymous: false,
348
- inputs: [
349
- {
350
- indexed: false,
351
- internalType: "uint256",
352
- name: "newPendlePerSec",
353
- type: "uint256",
354
- },
355
- ],
356
- name: "SetPendlePerSec",
357
- type: "event",
358
- },
359
- {
360
- anonymous: false,
361
- inputs: [
362
- {
363
- indexed: false,
364
- internalType: "address[]",
365
- name: "pools",
366
- type: "address[]",
367
- },
368
- {
369
- indexed: false,
370
- internalType: "uint256[]",
371
- name: "caps",
372
- type: "uint256[]",
373
- },
374
- ],
375
- name: "SetPoolCaps",
376
- type: "event",
377
- },
378
- {
379
- anonymous: false,
380
- inputs: [
381
- {
382
- indexed: true,
383
- internalType: "address",
384
- name: "implementation",
385
- type: "address",
386
- },
387
- ],
388
- name: "Upgraded",
389
- type: "event",
390
- },
391
- {
392
- anonymous: false,
393
- inputs: [
394
- {
395
- indexed: true,
396
- internalType: "address",
397
- name: "user",
398
- type: "address",
399
- },
400
- {
401
- indexed: true,
402
- internalType: "address",
403
- name: "pool",
404
- type: "address",
405
- },
406
- {
407
- indexed: false,
408
- internalType: "uint64",
409
- name: "weight",
410
- type: "uint64",
411
- },
412
- {
413
- components: [
414
- {
415
- internalType: "uint128",
416
- name: "bias",
417
- type: "uint128",
418
- },
419
- {
420
- internalType: "uint128",
421
- name: "slope",
422
- type: "uint128",
423
- },
424
- ],
425
- indexed: false,
426
- internalType: "struct VeBalance",
427
- name: "vote",
428
- type: "tuple",
429
- },
430
- ],
431
- name: "Vote",
432
- type: "event",
433
- },
434
- {
435
- inputs: [],
436
- name: "GOVERNANCE_PENDLE_VOTE",
437
- outputs: [
438
- {
439
- internalType: "uint128",
440
- name: "",
441
- type: "uint128",
442
- },
443
- ],
444
- stateMutability: "view",
445
- type: "function",
446
- },
447
- {
448
- inputs: [],
449
- name: "MAX_LOCK_TIME",
450
- outputs: [
451
- {
452
- internalType: "uint128",
453
- name: "",
454
- type: "uint128",
455
- },
456
- ],
457
- stateMutability: "view",
458
- type: "function",
459
- },
460
- {
461
- inputs: [],
462
- name: "WEEK",
463
- outputs: [
464
- {
465
- internalType: "uint128",
466
- name: "",
467
- type: "uint128",
468
- },
469
- ],
470
- stateMutability: "view",
471
- type: "function",
472
- },
473
- {
474
- inputs: [
475
- {
476
- internalType: "address",
477
- name: "_address",
478
- type: "address",
479
- },
480
- {
481
- internalType: "uint256",
482
- name: "_chainId",
483
- type: "uint256",
484
- },
485
- ],
486
- name: "addDestinationContract",
487
- outputs: [],
488
- stateMutability: "payable",
489
- type: "function",
490
- },
491
- {
492
- inputs: [
493
- {
494
- internalType: "uint64[]",
495
- name: "chainIds",
496
- type: "uint64[]",
497
- },
498
- {
499
- internalType: "address[]",
500
- name: "pools",
501
- type: "address[]",
502
- },
503
- ],
504
- name: "addMultiPools",
505
- outputs: [],
506
- stateMutability: "nonpayable",
507
- type: "function",
508
- },
509
- {
510
- inputs: [],
511
- name: "addPoolHelper",
512
- outputs: [
513
- {
514
- internalType: "address",
515
- name: "",
516
- type: "address",
517
- },
518
- ],
519
- stateMutability: "view",
520
- type: "function",
521
- },
522
- {
523
- inputs: [
524
- {
525
- internalType: "address",
526
- name: "pool",
527
- type: "address",
528
- },
529
- ],
530
- name: "applyPoolSlopeChanges",
531
- outputs: [],
532
- stateMutability: "nonpayable",
533
- type: "function",
534
- },
535
- {
536
- inputs: [],
537
- name: "approxDstExecutionGas",
538
- outputs: [
539
- {
540
- internalType: "uint256",
541
- name: "",
542
- type: "uint256",
543
- },
544
- ],
545
- stateMutability: "view",
546
- type: "function",
547
- },
548
- {
549
- inputs: [
550
- {
551
- internalType: "uint64",
552
- name: "chainId",
553
- type: "uint64",
554
- },
555
- ],
556
- name: "broadcastResults",
557
- outputs: [],
558
- stateMutability: "payable",
559
- type: "function",
560
- },
561
- {
562
- inputs: [],
563
- name: "claimOwnership",
564
- outputs: [],
565
- stateMutability: "nonpayable",
566
- type: "function",
567
- },
568
- {
569
- inputs: [],
570
- name: "deployedWTime",
571
- outputs: [
572
- {
573
- internalType: "uint128",
574
- name: "",
575
- type: "uint128",
576
- },
577
- ],
578
- stateMutability: "view",
579
- type: "function",
580
- },
581
- {
582
- inputs: [],
583
- name: "finalizeEpoch",
584
- outputs: [],
585
- stateMutability: "nonpayable",
586
- type: "function",
587
- },
588
- {
589
- inputs: [
590
- {
591
- internalType: "uint64",
592
- name: "chainId",
593
- type: "uint64",
594
- },
595
- {
596
- internalType: "uint128",
597
- name: "wTime",
598
- type: "uint128",
599
- },
600
- {
601
- internalType: "uint128",
602
- name: "forcedPendlePerSec",
603
- type: "uint128",
604
- },
605
- ],
606
- name: "forceBroadcastResults",
607
- outputs: [],
608
- stateMutability: "payable",
609
- type: "function",
610
- },
611
- {
612
- inputs: [
613
- {
614
- internalType: "uint64",
615
- name: "chainId",
616
- type: "uint64",
617
- },
618
- ],
619
- name: "getActiveChainPools",
620
- outputs: [
621
- {
622
- internalType: "address[]",
623
- name: "",
624
- type: "address[]",
625
- },
626
- ],
627
- stateMutability: "view",
628
- type: "function",
629
- },
630
- {
631
- inputs: [],
632
- name: "getAllActivePools",
633
- outputs: [
634
- {
635
- internalType: "address[]",
636
- name: "",
637
- type: "address[]",
638
- },
639
- ],
640
- stateMutability: "view",
641
- type: "function",
642
- },
643
- {
644
- inputs: [],
645
- name: "getAllDestinationContracts",
646
- outputs: [
647
- {
648
- internalType: "uint256[]",
649
- name: "chainIds",
650
- type: "uint256[]",
651
- },
652
- {
653
- internalType: "address[]",
654
- name: "addrs",
655
- type: "address[]",
656
- },
657
- ],
658
- stateMutability: "view",
659
- type: "function",
660
- },
661
- {
662
- inputs: [
663
- {
664
- internalType: "uint256",
665
- name: "start",
666
- type: "uint256",
667
- },
668
- {
669
- internalType: "uint256",
670
- name: "end",
671
- type: "uint256",
672
- },
673
- ],
674
- name: "getAllRemovedPools",
675
- outputs: [
676
- {
677
- internalType: "uint256",
678
- name: "lengthOfRemovedPools",
679
- type: "uint256",
680
- },
681
- {
682
- internalType: "address[]",
683
- name: "arr",
684
- type: "address[]",
685
- },
686
- ],
687
- stateMutability: "view",
688
- type: "function",
689
- },
690
- {
691
- inputs: [
692
- {
693
- internalType: "uint64",
694
- name: "chainId",
695
- type: "uint64",
696
- },
697
- ],
698
- name: "getBroadcastResultFee",
699
- outputs: [
700
- {
701
- internalType: "uint256",
702
- name: "",
703
- type: "uint256",
704
- },
705
- ],
706
- stateMutability: "view",
707
- type: "function",
708
- },
709
- {
710
- inputs: [
711
- {
712
- internalType: "address",
713
- name: "pool",
714
- type: "address",
715
- },
716
- ],
717
- name: "getPoolCap",
718
- outputs: [
719
- {
720
- internalType: "uint256",
721
- name: "",
722
- type: "uint256",
723
- },
724
- ],
725
- stateMutability: "view",
726
- type: "function",
727
- },
728
- {
729
- inputs: [
730
- {
731
- internalType: "address",
732
- name: "pool",
733
- type: "address",
734
- },
735
- {
736
- internalType: "uint128[]",
737
- name: "wTimes",
738
- type: "uint128[]",
739
- },
740
- ],
741
- name: "getPoolData",
742
- outputs: [
743
- {
744
- internalType: "uint64",
745
- name: "chainId",
746
- type: "uint64",
747
- },
748
- {
749
- internalType: "uint128",
750
- name: "lastSlopeChangeAppliedAt",
751
- type: "uint128",
752
- },
753
- {
754
- components: [
755
- {
756
- internalType: "uint128",
757
- name: "bias",
758
- type: "uint128",
759
- },
760
- {
761
- internalType: "uint128",
762
- name: "slope",
763
- type: "uint128",
764
- },
765
- ],
766
- internalType: "struct VeBalance",
767
- name: "totalVote",
768
- type: "tuple",
769
- },
770
- {
771
- internalType: "uint128[]",
772
- name: "slopeChanges",
773
- type: "uint128[]",
774
- },
775
- ],
776
- stateMutability: "view",
777
- type: "function",
778
- },
779
- {
780
- inputs: [
781
- {
782
- internalType: "address",
783
- name: "pool",
784
- type: "address",
785
- },
786
- {
787
- internalType: "uint128",
788
- name: "wTime",
789
- type: "uint128",
790
- },
791
- ],
792
- name: "getPoolTotalVoteAt",
793
- outputs: [
794
- {
795
- internalType: "uint128",
796
- name: "",
797
- type: "uint128",
798
- },
799
- ],
800
- stateMutability: "view",
801
- type: "function",
802
- },
803
- {
804
- inputs: [
805
- {
806
- internalType: "address",
807
- name: "user",
808
- type: "address",
809
- },
810
- {
811
- internalType: "address[]",
812
- name: "pools",
813
- type: "address[]",
814
- },
815
- ],
816
- name: "getUserData",
817
- outputs: [
818
- {
819
- internalType: "uint64",
820
- name: "totalVotedWeight",
821
- type: "uint64",
822
- },
823
- {
824
- components: [
825
- {
826
- internalType: "uint64",
827
- name: "weight",
828
- type: "uint64",
829
- },
830
- {
831
- components: [
832
- {
833
- internalType: "uint128",
834
- name: "bias",
835
- type: "uint128",
836
- },
837
- {
838
- internalType: "uint128",
839
- name: "slope",
840
- type: "uint128",
841
- },
842
- ],
843
- internalType: "struct VeBalance",
844
- name: "vote",
845
- type: "tuple",
846
- },
847
- ],
848
- internalType: "struct VotingControllerStorageUpg.UserPoolData[]",
849
- name: "voteForPools",
850
- type: "tuple[]",
851
- },
852
- ],
853
- stateMutability: "view",
854
- type: "function",
855
- },
856
- {
857
- inputs: [
858
- {
859
- internalType: "address",
860
- name: "user",
861
- type: "address",
862
- },
863
- {
864
- internalType: "address",
865
- name: "pool",
866
- type: "address",
867
- },
868
- {
869
- internalType: "uint256",
870
- name: "index",
871
- type: "uint256",
872
- },
873
- ],
874
- name: "getUserPoolHistoryAt",
875
- outputs: [
876
- {
877
- components: [
878
- {
879
- internalType: "uint128",
880
- name: "timestamp",
881
- type: "uint128",
882
- },
883
- {
884
- components: [
885
- {
886
- internalType: "uint128",
887
- name: "bias",
888
- type: "uint128",
889
- },
890
- {
891
- internalType: "uint128",
892
- name: "slope",
893
- type: "uint128",
894
- },
895
- ],
896
- internalType: "struct VeBalance",
897
- name: "value",
898
- type: "tuple",
899
- },
900
- ],
901
- internalType: "struct Checkpoint",
902
- name: "",
903
- type: "tuple",
904
- },
905
- ],
906
- stateMutability: "view",
907
- type: "function",
908
- },
909
- {
910
- inputs: [
911
- {
912
- internalType: "address",
913
- name: "user",
914
- type: "address",
915
- },
916
- {
917
- internalType: "address",
918
- name: "pool",
919
- type: "address",
920
- },
921
- ],
922
- name: "getUserPoolHistoryLength",
923
- outputs: [
924
- {
925
- internalType: "uint256",
926
- name: "",
927
- type: "uint256",
928
- },
929
- ],
930
- stateMutability: "view",
931
- type: "function",
932
- },
933
- {
934
- inputs: [
935
- {
936
- internalType: "address",
937
- name: "user",
938
- type: "address",
939
- },
940
- {
941
- internalType: "address",
942
- name: "pool",
943
- type: "address",
944
- },
945
- ],
946
- name: "getUserPoolVote",
947
- outputs: [
948
- {
949
- components: [
950
- {
951
- internalType: "uint64",
952
- name: "weight",
953
- type: "uint64",
954
- },
955
- {
956
- components: [
957
- {
958
- internalType: "uint128",
959
- name: "bias",
960
- type: "uint128",
961
- },
962
- {
963
- internalType: "uint128",
964
- name: "slope",
965
- type: "uint128",
966
- },
967
- ],
968
- internalType: "struct VeBalance",
969
- name: "vote",
970
- type: "tuple",
971
- },
972
- ],
973
- internalType: "struct VotingControllerStorageUpg.UserPoolData",
974
- name: "",
975
- type: "tuple",
976
- },
977
- ],
978
- stateMutability: "view",
979
- type: "function",
980
- },
981
- {
982
- inputs: [
983
- {
984
- internalType: "uint128",
985
- name: "wTime",
986
- type: "uint128",
987
- },
988
- {
989
- internalType: "address[]",
990
- name: "pools",
991
- type: "address[]",
992
- },
993
- ],
994
- name: "getWeekData",
995
- outputs: [
996
- {
997
- internalType: "bool",
998
- name: "isEpochFinalized",
999
- type: "bool",
1000
- },
1001
- {
1002
- internalType: "uint128",
1003
- name: "totalVotes",
1004
- type: "uint128",
1005
- },
1006
- {
1007
- internalType: "uint128[]",
1008
- name: "poolVotes",
1009
- type: "uint128[]",
1010
- },
1011
- ],
1012
- stateMutability: "view",
1013
- type: "function",
1014
- },
1015
- {
1016
- inputs: [],
1017
- name: "globalCap",
1018
- outputs: [
1019
- {
1020
- internalType: "uint256",
1021
- name: "",
1022
- type: "uint256",
1023
- },
1024
- ],
1025
- stateMutability: "view",
1026
- type: "function",
1027
- },
1028
- {
1029
- inputs: [
1030
- {
1031
- internalType: "address",
1032
- name: "_owner",
1033
- type: "address",
1034
- },
1035
- ],
1036
- name: "initialize",
1037
- outputs: [],
1038
- stateMutability: "nonpayable",
1039
- type: "function",
1040
- },
1041
- {
1042
- inputs: [],
1043
- name: "owner",
1044
- outputs: [
1045
- {
1046
- internalType: "address",
1047
- name: "",
1048
- type: "address",
1049
- },
1050
- ],
1051
- stateMutability: "view",
1052
- type: "function",
1053
- },
1054
- {
1055
- inputs: [],
1056
- name: "pendingOwner",
1057
- outputs: [
1058
- {
1059
- internalType: "address",
1060
- name: "",
1061
- type: "address",
1062
- },
1063
- ],
1064
- stateMutability: "view",
1065
- type: "function",
1066
- },
1067
- {
1068
- inputs: [],
1069
- name: "pendleMsgSendEndpoint",
1070
- outputs: [
1071
- {
1072
- internalType: "contract IPMsgSendEndpoint",
1073
- name: "",
1074
- type: "address",
1075
- },
1076
- ],
1077
- stateMutability: "view",
1078
- type: "function",
1079
- },
1080
- {
1081
- inputs: [],
1082
- name: "pendlePerSec",
1083
- outputs: [
1084
- {
1085
- internalType: "uint128",
1086
- name: "",
1087
- type: "uint128",
1088
- },
1089
- ],
1090
- stateMutability: "view",
1091
- type: "function",
1092
- },
1093
- {
1094
- inputs: [
1095
- {
1096
- internalType: "address",
1097
- name: "",
1098
- type: "address",
1099
- },
1100
- ],
1101
- name: "poolCaps",
1102
- outputs: [
1103
- {
1104
- internalType: "uint256",
1105
- name: "",
1106
- type: "uint256",
1107
- },
1108
- ],
1109
- stateMutability: "view",
1110
- type: "function",
1111
- },
1112
- {
1113
- inputs: [],
1114
- name: "proxiableUUID",
1115
- outputs: [
1116
- {
1117
- internalType: "bytes32",
1118
- name: "",
1119
- type: "bytes32",
1120
- },
1121
- ],
1122
- stateMutability: "view",
1123
- type: "function",
1124
- },
1125
- {
1126
- inputs: [
1127
- {
1128
- internalType: "address[]",
1129
- name: "pools",
1130
- type: "address[]",
1131
- },
1132
- ],
1133
- name: "removeMultiPools",
1134
- outputs: [],
1135
- stateMutability: "nonpayable",
1136
- type: "function",
1137
- },
1138
- {
1139
- inputs: [],
1140
- name: "removePoolHelper",
1141
- outputs: [
1142
- {
1143
- internalType: "address",
1144
- name: "",
1145
- type: "address",
1146
- },
1147
- ],
1148
- stateMutability: "view",
1149
- type: "function",
1150
- },
1151
- {
1152
- inputs: [
1153
- {
1154
- internalType: "address",
1155
- name: "_helper",
1156
- type: "address",
1157
- },
1158
- ],
1159
- name: "setAddPoolHelper",
1160
- outputs: [],
1161
- stateMutability: "nonpayable",
1162
- type: "function",
1163
- },
1164
- {
1165
- inputs: [
1166
- {
1167
- internalType: "uint256",
1168
- name: "gas",
1169
- type: "uint256",
1170
- },
1171
- ],
1172
- name: "setApproxDstExecutionGas",
1173
- outputs: [],
1174
- stateMutability: "nonpayable",
1175
- type: "function",
1176
- },
1177
- {
1178
- inputs: [
1179
- {
1180
- internalType: "uint256",
1181
- name: "cap",
1182
- type: "uint256",
1183
- },
1184
- ],
1185
- name: "setGlobalCap",
1186
- outputs: [],
1187
- stateMutability: "nonpayable",
1188
- type: "function",
1189
- },
1190
- {
1191
- inputs: [
1192
- {
1193
- internalType: "uint128",
1194
- name: "newPendlePerSec",
1195
- type: "uint128",
1196
- },
1197
- ],
1198
- name: "setPendlePerSec",
1199
- outputs: [],
1200
- stateMutability: "nonpayable",
1201
- type: "function",
1202
- },
1203
- {
1204
- inputs: [
1205
- {
1206
- internalType: "address[]",
1207
- name: "pools",
1208
- type: "address[]",
1209
- },
1210
- {
1211
- internalType: "uint256[]",
1212
- name: "caps",
1213
- type: "uint256[]",
1214
- },
1215
- ],
1216
- name: "setPoolCaps",
1217
- outputs: [],
1218
- stateMutability: "nonpayable",
1219
- type: "function",
1220
- },
1221
- {
1222
- inputs: [
1223
- {
1224
- internalType: "address",
1225
- name: "_helper",
1226
- type: "address",
1227
- },
1228
- ],
1229
- name: "setRemovePoolHelper",
1230
- outputs: [],
1231
- stateMutability: "nonpayable",
1232
- type: "function",
1233
- },
1234
- {
1235
- inputs: [
1236
- {
1237
- internalType: "address",
1238
- name: "newOwner",
1239
- type: "address",
1240
- },
1241
- {
1242
- internalType: "bool",
1243
- name: "direct",
1244
- type: "bool",
1245
- },
1246
- {
1247
- internalType: "bool",
1248
- name: "renounce",
1249
- type: "bool",
1250
- },
1251
- ],
1252
- name: "transferOwnership",
1253
- outputs: [],
1254
- stateMutability: "nonpayable",
1255
- type: "function",
1256
- },
1257
- {
1258
- inputs: [
1259
- {
1260
- internalType: "address",
1261
- name: "newImplementation",
1262
- type: "address",
1263
- },
1264
- ],
1265
- name: "upgradeTo",
1266
- outputs: [],
1267
- stateMutability: "nonpayable",
1268
- type: "function",
1269
- },
1270
- {
1271
- inputs: [
1272
- {
1273
- internalType: "address",
1274
- name: "newImplementation",
1275
- type: "address",
1276
- },
1277
- {
1278
- internalType: "bytes",
1279
- name: "data",
1280
- type: "bytes",
1281
- },
1282
- ],
1283
- name: "upgradeToAndCall",
1284
- outputs: [],
1285
- stateMutability: "payable",
1286
- type: "function",
1287
- },
1288
- {
1289
- inputs: [],
1290
- name: "vePendle",
1291
- outputs: [
1292
- {
1293
- internalType: "contract IPVeToken",
1294
- name: "",
1295
- type: "address",
1296
- },
1297
- ],
1298
- stateMutability: "view",
1299
- type: "function",
1300
- },
1301
- {
1302
- inputs: [
1303
- {
1304
- internalType: "address[]",
1305
- name: "pools",
1306
- type: "address[]",
1307
- },
1308
- {
1309
- internalType: "uint64[]",
1310
- name: "weights",
1311
- type: "uint64[]",
1312
- },
1313
- ],
1314
- name: "vote",
1315
- outputs: [],
1316
- stateMutability: "nonpayable",
1317
- type: "function",
1318
- },
1319
- ];
1320
-
1321
- const _bytecode =
1322
- "0x60e06040523060c052348015610013575f5ffd5b5060405161497d38038061497d8339810160408190526100329161018f565b6001600160a01b038281166080526032829055831660a052600154600160a81b900460ff1615808015610070575060018054600160a01b900460ff16105b806100905750303b158015610090575060018054600160a01b900460ff16145b6100f75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b1790558015610124576001805460ff60a81b1916600160a81b1790555b801561016b576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050506101c8565b80516001600160a01b038116811461018a575f5ffd5b919050565b5f5f5f606084860312156101a1575f5ffd5b6101aa84610174565b92506101b860208501610174565b9150604084015190509250925092565b60805160a05160c05161474c6102315f395f8181610dbf01528181610dff0152818161138b015281816113cb015261144601525f81816105160152818161166a0152612b2501525f8181610549015281816125fa0152818161321f01526132dc015261474c5ff3fe608060405260043610610217575f3560e01c8063078dfbe71461021b57806313b6e9711461023c57806313d65dcb1461025b57806316ac7e301461027a5780631c9bdb49146102af57806321049028146102c25780632477bfbe146102d55780632982d519146103025780633659cfe61461032e578063366c771d1461034d57806338b8765c1461037c5780633e39b6501461039b57806349be407d146103bd5780634e71e0c8146103dc5780634f1ef286146103f057806352d1902d146104035780635925570614610417578063632c096d14610436578063646fb67c14610462578063698766ee1461048e5780636aea2826146104ad57806382ae9ef7146104f157806382dabb211461050557806389c071ea146105385780638d66c2841461056b5780638da5cb5b146105995780638f45ff78146105b757806392a8b2d3146105e4578063945f18381461060f57806399a2af751461062e5780639efc7575146106435780639f752aef14610658578063a0e1163414610677578063a71f6f5f14610696578063b292bf95146106b5578063bfa5b324146106e1578063c291230d146106ff578063c4d66de814610712578063cc88370e14610731578063d45f5e211461075e578063d5cd7d201461077d578063e30c397814610791578063e5c64935146107b0578063f144cf17146107cf578063f4359ce514610820578063f7f03fea14610836578063fa78668f1461085c575b5f5ffd5b348015610226575f5ffd5b5061023a610235366004613a24565b610873565b005b348015610247575f5ffd5b5061023a610256366004613aa4565b610974565b348015610266575f5ffd5b5061023a610275366004613bcf565b610ab3565b348015610285575f5ffd5b50610299610294366004613c90565b610bfe565b6040516102a69190613cec565b60405180910390f35b61023a6102bd366004613d12565b610c27565b61023a6102d0366004613d58565b610c6e565b3480156102e0575f5ffd5b506102f46102ef366004613c90565b610ca3565b6040519081526020016102a6565b34801561030d575f5ffd5b5060a454610321906001600160a01b031681565b6040516102a69190613d80565b348015610339575f5ffd5b5061023a610348366004613d94565b610db5565b348015610358575f5ffd5b5061036c610367366004613dad565b610e7c565b6040516102a69493929190613e4f565b348015610387575f5ffd5b5061023a610396366004613d94565b61103b565b3480156103a6575f5ffd5b506103af61118c565b6040516102a6929190613ebc565b3480156103c8575f5ffd5b5061023a6103d7366004613d94565b61128e565b3480156103e7575f5ffd5b5061023a6112d9565b61023a6103fe366004613ee0565b611381565b34801561040e575f5ffd5b506102f461143a565b348015610422575f5ffd5b5061023a610431366004613f83565b6114e6565b348015610441575f5ffd5b50610455610450366004613f9e565b611564565b6040516102a69190613fd8565b34801561046d575f5ffd5b5061048161047c366004613ffc565b6115a4565b6040516102a6919061404d565b348015610499575f5ffd5b5061023a6104a836600461405b565b61161a565b3480156104b8575f5ffd5b506102f46104c7366004613ffc565b6001600160a01b039182165f90815260a36020908152604080832093909416825291909152205490565b3480156104fc575f5ffd5b5061023a6118df565b348015610510575f5ffd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b348015610543575f5ffd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b348015610576575f5ffd5b5061058a6105853660046140c5565b611915565b6040516102a6939291906140e2565b3480156105a4575f5ffd5b505f54610321906001600160a01b031681565b3480156105c2575f5ffd5b506105d66105d1366004613dad565b611a52565b6040516102a692919061410d565b3480156105ef575f5ffd5b506102f46105fe366004613d94565b60a66020525f908152604090205481565b34801561061a575f5ffd5b506102f4610629366004613d94565b611b89565b348015610639575f5ffd5b506102f460a75481565b34801561064e575f5ffd5b506102f460325481565b348015610663575f5ffd5b5061023a610672366004613d94565b611bb0565b348015610682575f5ffd5b5060a554610321906001600160a01b031681565b3480156106a1575f5ffd5b5061023a6106b036600461416d565b611bfb565b3480156106c0575f5ffd5b50609a546106d4906001600160801b031681565b6040516102a69190614184565b3480156106ec575f5ffd5b506106d46a084595161401484a00000081565b61023a61070d366004613c90565b611c5d565b34801561071d575f5ffd5b5061023a61072c366004613d94565b611cd7565b34801561073c575f5ffd5b5061075061074b366004614198565b611e2f565b6040516102a69291906141b8565b348015610769575f5ffd5b5061023a61077836600461416d565b611f15565b348015610788575f5ffd5b50610299611f43565b34801561079c575f5ffd5b50600154610321906001600160a01b031681565b3480156107bb575f5ffd5b5061023a6107ca36600461405b565b611f54565b3480156107da575f5ffd5b506106d46107e93660046141d0565b6001600160801b038082165f90815260a1602090815260408083206001600160a01b03871684526001019091529020541692915050565b34801561082b575f5ffd5b506106d462093a8081565b348015610841575f5ffd5b50609a546106d490600160801b90046001600160801b031681565b348015610867575f5ffd5b506106d46303bfc40081565b5f546001600160a01b031633146108a55760405162461bcd60e51b815260040161089c90614205565b60405180910390fd5b8115610953576001600160a01b0383161515806108bf5750805b6109035760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161089c565b5f80546040516001600160a01b03808716939216915f5160206146b05f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b60a5546001600160a01b031633148061099657505f546001600160a01b031633145b6109dc5760405162461bcd60e51b81526020600482015260176024820152761c995b5bdd99481c1bdbdb081b9bdd08185b1b1bddd959604a1b604482015260640161089c565b5f5b8181101561096f575f8383838181106109f9576109f961423a565b9050602002016020810190610a0e9190613d94565b9050610a1981612050565b610a38578060405163913accad60e01b815260040161089c9190613d80565b6001600160a01b0381165f90815260a060205260409020546001600160401b0316610a628261103b565b610a6b8261205c565b6040516001600160a01b038316906001600160401b038316907ff2e3b584c4d1ed5ead9a4b7de2a8225fd42d13f09e417cd294d03f1dd07fc914905f90a350506001016109de565b60a4546001600160a01b0316331480610ad557505f546001600160a01b031633145b610af15760405162461bcd60e51b815260040161089c9061424e565b8051825114610b135760405163512509d360e11b815260040160405180910390fd5b5f5b825181101561096f575f5f848381518110610b3257610b3261423a565b6020026020010151848481518110610b4c57610b4c61423a565b602002602001015191509150610b6181612050565b15610b815780604051639e7f1f4160e01b815260040161089c9190613d80565b610b8c609d826120fa565b15610bac5780604051634753d28360e01b815260040161089c9190613d80565b610bb6828261210e565b6040516001600160a01b038216906001600160401b038416907f336f0b3cc523e98d21e261389542b62abaffc094a21a82f1eec2779d7c8323cb905f90a35050600101610b15565b6001600160401b0381165f908152609f60205260409020606090610c21906121ce565b92915050565b5f546001600160a01b03163314610c505760405162461bcd60e51b815260040161089c90614205565b610c5e83838360a7546121da565b471561096f5761096f33476124bf565b5f546001600160a01b03163314610c975760405162461bcd60e51b815260040161089c90614205565b61096f603382846125d1565b5f46826001600160401b031603610cbb57505f919050565b6001600160401b0382165f908152609f60205260408120610cdb906125e6565b9050805f03610cec57505f92915050565b5f816001600160401b03811115610d0557610d05613ae2565b604051908082528060200260200182016040528015610d2e578160200160208202803683370190505b5090505f826001600160401b03811115610d4a57610d4a613ae2565b604051908082528060200260200182016040528015610d73578160200160208202803683370190505b509050610dac856001600160401b03165f8484604051602001610d989392919061427c565b6040516020818303038152906040526125ef565b95945050505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610dfd5760405162461bcd60e51b815260040161089c906142b1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e2f61268d565b6001600160a01b031614610e555760405162461bcd60e51b815260040161089c906142ea565b610e5e816126a8565b604080515f80825260208201909252610e79918391906126d1565b50565b5f5f610e866139a0565b5050506001600160a01b0383165f90815260a060209081526040918290208054835180850190945260018201546001600160801b038082168652600160801b9091048116938501939093526001600160401b0380821694600160401b9092049093169290916060918690811115610eff57610eff613ae2565b604051908082528060200260200182016040528015610f28578160200160208202803683370190505b5091505f5b8681101561103057610f6d888883818110610f4a57610f4a61423a565b9050602002016020810190610f5f9190613f83565b6001600160801b031661283b565b610fb257878782818110610f8357610f8361423a565b9050602002016020810190610f989190613f83565b604051637bf16ce960e11b815260040161089c9190614184565b816002015f898984818110610fc957610fc961423a565b9050602002016020810190610fde9190613f83565b6001600160801b03908116825260208201929092526040015f205484519116908490839081106110105761101061423a565b6001600160801b0390921660209283029190910190910152600101610f2d565b505093509350935093565b61104481612050565b611063578060405163913accad60e01b815260040161089c9190613d80565b6001600160a01b0381165f90815260a06020526040812054600160401b90046001600160801b031690611094612850565b9050806001600160801b0316826001600160801b0316106110b457505050565b6001600160a01b0383165f90815260a060209081526040918290208251808401909352600101546001600160801b038082168452600160801b90910416908201525b816001600160801b0316836001600160801b0316101561117b5761111d62093a8084614337565b6001600160a01b0385165f90815260a0602090815260408083206001600160801b038086168552600290910190925290912054919450611160918391168561285a565b9050611176848461117184826128a8565b6128f8565b6110f6565b61118684828561298b565b50505050565b6060805f61119a6033612a11565b9050806001600160401b038111156111b4576111b4613ae2565b6040519080825280602002602001820160405280156111dd578160200160208202803683370190505b509250806001600160401b038111156111f8576111f8613ae2565b604051908082528060200260200182016040528015611221578160200160208202803683370190505b5091505f5b8181101561128857611239603382612a1b565b85838151811061124b5761124b61423a565b602002602001018584815181106112645761126461423a565b6001600160a01b039093166020938402919091019092019190915252600101611226565b50509091565b5f546001600160a01b031633146112b75760405162461bcd60e51b815260040161089c90614205565b60a580546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163381146113345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161089c565b5f80546040516001600160a01b03808516939216915f5160206146b05f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036113c95760405162461bcd60e51b815260040161089c906142b1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166113fb61268d565b6001600160a01b0316146114215760405162461bcd60e51b815260040161089c906142ea565b61142a826126a8565b611436828260016126d1565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146114d45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161089c565b505f5160206146905f395f51905f5290565b5f546001600160a01b0316331461150f5760405162461bcd60e51b815260040161089c90614205565b609a80546001600160801b03808416600160801b0291161790556040517ffe870af61f024df0d7f960ad100676f3ffaa7ea6a44bc6c7adf2756cb8cf4b3890611559908390614184565b60405180910390a150565b61156c6139b6565b6001600160a01b038085165f90815260a36020908152604080832093871683529290522061159a9083612a38565b90505b9392505050565b6115ac6139dd565b506001600160a01b038083165f90815260a260209081526040808320938516835260019384018252918290208251808401845281546001600160401b0316815283518085019094529301546001600160801b038082168452600160801b909104168282015282015292915050565b3383821461163b5760405163512509d360e11b815260040160405180910390fd5b5f546001600160a01b038281169116148015906116e957506040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319061169f908490600401613d80565b602060405180830381865afa1580156116ba573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116de9190614356565b6001600160801b0316155b15611709578060405163e7640c0360e01b815260040161089c9190613d80565b5f61171382612aac565b90505f5b8581101561187a5761174e8787838181106117345761173461423a565b90506020020160208101906117499190613d94565b612050565b1561177d5761177d8787838181106117685761176861423a565b90506020020160208101906103969190613d94565b5f6117d6848989858181106117945761179461423a565b90506020020160208101906117a99190613d94565b858989878181106117bc576117bc61423a565b90506020020160208101906117d19190613c90565b612b9d565b90508787838181106117ea576117ea61423a565b90506020020160208101906117ff9190613d94565b6001600160a01b0316846001600160a01b03167fc71e393f1527f71ce01b78ea87c9bd4fca84f1482359ce7ac9b73f358c61b1e18888868181106118455761184561423a565b905060200201602081019061185a9190613c90565b84604051611869929190614371565b60405180910390a350600101611717565b506001600160a01b0382165f90815260a260205260409020546001600160401b0316670de0b6b3a76400008111156118d65760405163903482f560e01b815260048101829052670de0b6b3a7640000602482015260440161089c565b50505050505050565b5f6118ea609b6125e6565b90505f5b8181101561190c57611904610396609b83612f53565b6001016118ee565b50610e79612f5e565b5f5f606061192b866001600160801b031661283b565b61194a5785604051637bf16ce960e11b815260040161089c9190614184565b6001600160801b038087165f90815260a160205260409020805460ff8116955061010090049091169250846001600160401b0381111561198c5761198c613ae2565b6040519080825280602002602001820160405280156119b5578160200160208202803683370190505b5091505f5b85811015611a4757816001015f8888848181106119d9576119d961423a565b90506020020160208101906119ee9190613d94565b6001600160a01b0316815260208101919091526040015f205483516001600160801b0390911690849083908110611a2757611a2761423a565b6001600160801b03909216602092830291909101909101526001016119ba565b505093509350939050565b6001600160a01b0383165f90815260a26020526040902080546001600160401b03908116916060918490811115611a8b57611a8b613ae2565b604051908082528060200260200182016040528015611ac457816020015b611ab16139dd565b815260200190600190039081611aa95790505b5091505f5b84811015611b7f57816001015f878784818110611ae857611ae861423a565b9050602002016020810190611afd9190613d94565b6001600160a01b0316815260208082019290925260409081015f208151808301835281546001600160401b0316815282518084019093526001909101546001600160801b038082168452600160801b9091041682840152918201528351849083908110611b6c57611b6c61423a565b6020908102919091010152600101611ac9565b5050935093915050565b6001600160a01b0381165f90815260a66020526040812054808203610c215760a75461159d565b5f546001600160a01b03163314611bd95760405162461bcd60e51b815260040161089c90614205565b60a480546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314611c245760405162461bcd60e51b815260040161089c90614205565b611c2d81612fdb565b6040518181527f8cbc4fe2c8f6dfa7ac4f8affa74f9664acfb5c6fd044f51706e458cb5a8b8fa490602001611559565b5f611c66612850565b6001600160801b0381165f90815260a1602052604090205490915060ff16611ca35780604051631d83110f60e21b815260040161089c9190614184565b611cc68282609a60109054906101000a90046001600160801b031660a7546121da565b504715610e7957610e7933476124bf565b600154600160a81b900460ff1615808015611cfd575060018054600160a01b900460ff16105b80611d245750611d0c30612fe9565b158015611d24575060018054600160a01b900460ff16145b611d875760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161089c565b6001805460ff60a01b1916600160a01b1790558015611db4576001805460ff60a81b1916600160a81b1790555b611dbd82612ff8565b611dc5612850565b609a80546001600160801b0319166001600160801b03929092169190911790558015611436576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f6060611e3c609d6125e6565b9150818310611e5e57604051637f52b2bf60e01b815260040160405180910390fd5b611e68848461438e565b611e739060016143a1565b6001600160401b03811115611e8a57611e8a613ae2565b604051908082528060200260200182016040528015611eb3578160200160208202803683370190505b509050835b838111611f0d57611eca609d82612f53565b82611ed5878461438e565b81518110611ee557611ee561423a565b6001600160a01b0390921660209283029190910190910152611f06816143b4565b9050611eb8565b509250929050565b5f546001600160a01b03163314611f3e5760405162461bcd60e51b815260040161089c90614205565b603255565b6060611f4f609b6121ce565b905090565b60a4546001600160a01b0316331480611f7657505f546001600160a01b031633145b611f925760405162461bcd60e51b815260040161089c9061424e565b828114611fb25760405163512509d360e11b815260040160405180910390fd5b5f5b8381101561200c57612004858583818110611fd157611fd161423a565b9050602002016020810190611fe69190613d94565b848484818110611ff857611ff861423a565b90506020020135613086565b600101611fb4565b507ff928912629bf241f6bddb48fd8de3f071422321e8118042858e8e4a901d256698484848460405161204294939291906143cc565b60405180910390a150505050565b5f610c21609b836120fa565b6001600160a01b0381165f90815260a060209081526040808320546001600160401b0316808452609f90925290912061209590836130aa565b6120a1576120a1614446565b6120ac609b836130aa565b6120b8576120b8614446565b6120c3609d836130be565b6120cf576120cf614446565b506001600160a01b03165f90815260a06020526040812080546001600160c01b031916815560010155565b5f61159d836001600160a01b0384166130d2565b6001600160401b0382165f908152609f6020526040902061212f90826130be565b61213b5761213b614446565b612146609b826130be565b61215257612152614446565b6001600160a01b0381165f90815260a06020526040902080546001600160401b0319166001600160401b03841617905561218a612850565b6001600160a01b039091165f90815260a06020526040902080546001600160801b0392909216600160401b02600160401b600160c01b031990921691909117905550565b60605f61159d836130e9565b6001600160801b038084165f90815260a160205260408120546101009004909116908190036122095750611186565b6001600160401b0385165f908152609f60205260408120612229906125e6565b9050805f03612239575050611186565b6001600160401b0386165f908152609f60205260408120612259906121ce565b90505f826001600160401b0381111561227457612274613ae2565b60405190808252806020026020018201604052801561229d578160200160208202803683370190505b5090505f5b838110156123a8575f60a15f8a6001600160801b03166001600160801b031681526020019081526020015f206001015f8584815181106122e4576122e461423a565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f9054906101000a90046001600160801b03166001600160801b031690505f61235f6123508685815181106123425761234261423a565b60200260200101518a613142565b61235a848a613171565b61319f565b90506123818161237b62093a806001600160801b038d1661445a565b906131b4565b8484815181106123935761239361423a565b602090810291909101015250506001016122a2565b5046886001600160401b031603612434575f6123ce60336001600160401b038b166131d1565b60405163072cbf8760e41b81529091506001600160a01b038216906372cbf87090612401908b908790879060040161427c565b5f604051808303815f87803b158015612418575f5ffd5b505af115801561242a573d5f5f3e3d5ffd5b505050505061246a565b61246a886001600160401b03168884846040516020016124569392919061427c565b6040516020818303038152906040526131dc565b866001600160801b0316886001600160401b03167fc78a580f215ba474e75ecbd7636c375e8d2cd25edb0f2467f99b2d0752e104ba886040516124ad9190614184565b60405180910390a35050505050505050565b8047101561250f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161089c565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612558576040519150601f19603f3d011682016040523d82523d5f602084013e61255d565b606091505b505090508061096f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b606482015260840161089c565b5f61159a84846001600160a01b03851661334e565b5f610c21825490565b5f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166384fe172161262a6033866131d1565b85856032546040518563ffffffff1660e01b815260040161264e94939291906144be565b602060405180830381865afa158015612669573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159d91906144f5565b5f5160206146905f395f51905f52546001600160a01b031690565b5f546001600160a01b03163314610e795760405162461bcd60e51b815260040161089c90614205565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156127045761096f8361336a565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561275e575060408051601f3d908101601f1916820190925261275b918101906144f5565b60015b6127c15760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161089c565b5f5160206146905f395f51905f52811461282f5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161089c565b5061096f838383613403565b5f61284962093a8083614520565b1592915050565b5f611f4f42613427565b6128626139a0565b8284602001516128729190614533565b6001600160801b0316602082015261288a8284614552565b84516128969190614533565b6001600160801b031681529392505050565b5f825f01516001600160801b03168284602001516128c69190614552565b6001600160801b031611156128dc57505f610c21565b8183602001516128ec9190614552565b835161159d9190614533565b6001600160801b038083165f90815260a16020526040902080548392600191612928918591610100900416614337565b82546101009290920a6001600160801b038181021990931691831602179091559283165f90815260a1602090815260408083206001600160a01b0397909716835260019690960190529390932080546001600160801b0319169190921617905550565b6001600160a01b0383165f81815260a060209081526040918290208551918601516001600160801b03908116600160801b029281169290921760018201558054918516600160401b02600160401b600160c01b0319909216919091179055515f5160206146f75f395f51905f5290612a04908590614574565b60405180910390a2505050565b5f610c2182613440565b5f808080612a29868661344a565b909450925050505b9250929050565b612a406139b6565b825f018281548110612a5457612a5461423a565b5f918252602091829020604080518082018252600290930290910180546001600160801b03908116845282518084019093526001909101548082168352600160801b9004168184015291810191909152905092915050565b604080518082019091525f80825260208201525f546001600160a01b0390811690831603612b0e576a084595161401484a000000612af6612af16303bfc40042614337565b613427565b6001600160801b039081166020840152168152919050565b6040516332dad3cf60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cb6b4f3c90612b5a908590600401613d80565b6040805180830381865afa158015612b74573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612af69190614582565b919050565b612ba56139a0565b6001600160a01b038086165f90815260a260209081526040808320938816835260a0825280832060018086018452938290208251808401909352909301546001600160801b03808216808452600160801b90920416928201929092529015612d6257612c1087612050565b8015612c205750612c2081613473565b15612cdc576040805180820190915260018301546001600160801b038082168352600160801b909104166020820152612c5990826134a7565b80516020918201516001600160801b03908116600160801b029116176001840155810151600283015f612c8b846134f0565b6001600160801b03908116825260208201929092526040015f90812080549092612cb791859116614533565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505b6001600160a01b0387165f90815260018401602052604081205484546001600160401b039182169286929091612d14918591166145af565b82546001600160401b039182166101009390930a9283029190920219909116179055506001600160a01b0387165f90815260018481016020526040822080546001600160401b031916815501555b6001600160401b03851615612f0257612d7a87612050565b612d99578660405163913accad60e01b815260040161089c9190613d80565b612dac866001600160401b038716613549565b6040805180820190915260018401546001600160801b038082168352600160801b909104166020820152909450612de390856135c2565b80516020918201516001600160801b03908116600160801b029116176001840155840151600283015f612e15876134f0565b6001600160801b03908116825260208201929092526040015f90812080549092612e4191859116614337565b82546001600160801b039182166101009390930a9283029282021916919091179091556040805180820182526001600160401b03808a16825260208083018a81526001600160a01b038e165f90815260018b81018452958120945185549085166001600160401b0319909116178555905180519201518616600160801b02919095161791909201558554889350869291612edd918591166145ce565b92506101000a8154816001600160401b0302191690836001600160401b031602179055505b866001600160a01b03165f5160206146f75f395f51905f5283600101604051612f4091546001600160801b038116825260801c602082015260400190565b60405180910390a2505050949350505050565b5f61159d83836135f7565b5f612f67612850565b90505b609a546001600160801b03908116908216118015612fa057506001600160801b0381165f90815260a1602052604090205460ff16155b15610e79576001600160801b0381165f90815260a160205260409020805460ff19166001179055612fd462093a8082614533565b9050612f6a565b612fe48161361d565b60a755565b6001600160a01b03163b151590565b600154600160a81b900460ff166130655760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161089c565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b61308f8161361d565b6001600160a01b039091165f90815260a66020526040902055565b5f61159d836001600160a01b038416613649565b5f61159d836001600160a01b038416613733565b5f9081526001919091016020526040902054151590565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561313657602002820191905f5260205f20905b815481526020019060010190808311613122575b50505050509050919050565b6001600160a01b0382165f90815260a660205260408120548082036131675782613169565b805b949350505050565b5f80613185670de0b6b3a76400008561445a565b90508281816131965761319661450c565b04949350505050565b5f8183106131ad578161159d565b5090919050565b5f806131c0838561445a565b9050670de0b6b3a764000081613196565b5f61159d838361377a565b6131e76033836137e9565b6131f3576131f3614446565b5f6131ff6033846131d1565b6032546040516384fe172160e01b8152919250905f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906384fe17219061325a9086908990899088906004016144be565b602060405180830381865afa158015613275573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061329991906144f5565b9050804710156132c55760405163704c5be560e11b81524760048201526024810182905260440161089c565b60405163b2267a7b60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b2267a7b9083906133199087908a908a9089906004016144be565b5f604051808303818588803b158015613330575f5ffd5b505af1158015613342573d5f5f3e3d5ffd5b50505050505050505050565b5f828152600284016020526040812082905561159a84846137f4565b61337381612fe9565b6133d55760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161089c565b5f5160206146905f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b61340c836137ff565b5f825111806134185750805b1561096f57611186838361383e565b5f62093a8061343681846145ed565b610c219190614552565b5f610c21826125e6565b5f80806134578585612f53565b5f81815260029690960160205260409095205494959350505050565b5f81602001516001600160801b03165f14158015610c215750612849613498836134f0565b6001600160801b031642101590565b6134af6139a0565b815183516134bd9190614533565b6001600160801b03168152602080830151908401516134dc9190614533565b6001600160801b0316602082015292915050565b5f81602001516001600160801b03165f03613538578151602083015160405163fbd384a560e01b81526001600160801b0392831660048201529116602482015260440161089c565b60208201518251610c2191906145ed565b6135516139a0565b825161359490670de0b6b3a7640000906303bfc4009061357b9086906001600160801b031661445a565b613585919061461b565b61358f919061461b565b613863565b6001600160801b031660208083018290528401516135b191614552565b6001600160801b0316815292915050565b6135ca6139a0565b815183516135d89190614337565b6001600160801b03168152602080830151908401516134dc9190614337565b5f825f01828154811061360c5761360c61423a565b905f5260205f200154905092915050565b670de0b6b3a7640000811115610e7957604051633808b85160e11b81526004810182905260240161089c565b5f8181526001830160205260408120548015613723575f61366b60018361438e565b85549091505f9061367e9060019061438e565b90508181146136dd575f865f01828154811061369c5761369c61423a565b905f5260205f200154905080875f0184815481106136bc576136bc61423a565b5f918252602080832090910192909255918252600188019052604090208390555b85548690806136ee576136ee61462e565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610c21565b5f915050610c21565b5092915050565b5f61373e83836130d2565b61377357508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610c21565b505f610c21565b5f8181526002830160205260408120548015158061379d575061379d848461387b565b6131675760405162461bcd60e51b815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000604482015260640161089c565b5f61159d838361387b565b5f61159d8383613733565b6138088161336a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b606061159d83836040518060600160405280602781526020016146d060279139613886565b5f6001600160801b03821115613877575f5ffd5b5090565b5f61159d83836138fa565b60605f5f856001600160a01b0316856040516138a29190614642565b5f60405180830381855af49150503d805f81146138da576040519150601f19603f3d011682016040523d82523d5f602084013e6138df565b606091505b50915091506138f086838387613905565b9695505050505050565b5f61159d83836130d2565b606083156139715782515f0361396a5761391e85612fe9565b61396a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161089c565b5081613169565b61316983838151156139865781518083602001fd5b8060405162461bcd60e51b815260040161089c919061465d565b604080518082019091525f808252602082015290565b60405180604001604052805f6001600160801b031681526020016139d86139a0565b905290565b60405180604001604052805f6001600160401b031681526020016139d86139a0565b80356001600160a01b0381168114612b98575f5ffd5b80358015158114612b98575f5ffd5b5f5f5f60608486031215613a36575f5ffd5b613a3f846139ff565b9250613a4d60208501613a15565b9150613a5b60408501613a15565b90509250925092565b5f5f83601f840112613a74575f5ffd5b5081356001600160401b03811115613a8a575f5ffd5b6020830191508360208260051b8501011115612a31575f5ffd5b5f5f60208385031215613ab5575f5ffd5b82356001600160401b03811115613aca575f5ffd5b613ad685828601613a64565b90969095509350505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715613b1e57613b1e613ae2565b604052919050565b5f6001600160401b03821115613b3e57613b3e613ae2565b5060051b60200190565b80356001600160401b0381168114612b98575f5ffd5b5f82601f830112613b6d575f5ffd5b8135613b80613b7b82613b26565b613af6565b8082825260208201915060208360051b860101925085831115613ba1575f5ffd5b602085015b83811015613bc557613bb7816139ff565b835260209283019201613ba6565b5095945050505050565b5f5f60408385031215613be0575f5ffd5b82356001600160401b03811115613bf5575f5ffd5b8301601f81018513613c05575f5ffd5b8035613c13613b7b82613b26565b8082825260208201915060208360051b850101925087831115613c34575f5ffd5b6020840193505b82841015613c5d57613c4c84613b48565b825260209384019390910190613c3b565b945050505060208301356001600160401b03811115613c7a575f5ffd5b613c8685828601613b5e565b9150509250929050565b5f60208284031215613ca0575f5ffd5b61159d82613b48565b5f8151808452602084019350602083015f5b82811015613ce25781516001600160a01b0316865260209586019590910190600101613cbb565b5093949350505050565b602081525f61159d6020830184613ca9565b6001600160801b0381168114610e79575f5ffd5b5f5f5f60608486031215613d24575f5ffd5b613d2d84613b48565b92506020840135613d3d81613cfe565b91506040840135613d4d81613cfe565b809150509250925092565b5f5f60408385031215613d69575f5ffd5b613d72836139ff565b946020939093013593505050565b6001600160a01b0391909116815260200190565b5f60208284031215613da4575f5ffd5b61159d826139ff565b5f5f5f60408486031215613dbf575f5ffd5b613dc8846139ff565b925060208401356001600160401b03811115613de2575f5ffd5b613dee86828701613a64565b9497909650939450505050565b80516001600160801b03908116835260209182015116910152565b5f8151808452602084019350602083015f5b82811015613ce25781516001600160801b0316865260209586019590910190600101613e28565b6001600160401b03851681526001600160801b0384166020820152613e776040820184613dfb565b60a060808201525f6138f060a0830184613e16565b5f8151808452602084019350602083015f5b82811015613ce2578151865260209586019590910190600101613e9e565b604081525f613ece6040830185613e8c565b8281036020840152610dac8185613ca9565b5f5f60408385031215613ef1575f5ffd5b613efa836139ff565b915060208301356001600160401b03811115613f14575f5ffd5b8301601f81018513613f24575f5ffd5b80356001600160401b03811115613f3d57613f3d613ae2565b613f50601f8201601f1916602001613af6565b818152866020838501011115613f64575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f60208284031215613f93575f5ffd5b813561316781613cfe565b5f5f5f60608486031215613fb0575f5ffd5b613fb9846139ff565b9250613fc7602085016139ff565b929592945050506040919091013590565b81516001600160801b03168152602080830151606083019161372c90840182613dfb565b5f5f6040838503121561400d575f5ffd5b614016836139ff565b9150614024602084016139ff565b90509250929050565b80516001600160401b031682526020808201519061096f90840182613dfb565b60608101610c21828461402d565b5f5f5f5f6040858703121561406e575f5ffd5b84356001600160401b03811115614083575f5ffd5b61408f87828801613a64565b90955093505060208501356001600160401b038111156140ad575f5ffd5b6140b987828801613a64565b95989497509550505050565b5f5f5f604084860312156140d7575f5ffd5b8335613dc881613cfe565b83151581526001600160801b03831660208201526060604082018190525f90610dac90830184613e16565b6001600160401b03831681526040602080830182905283519183018290525f91908401906060840190835b818110156141615761414b83855161402d565b6020939093019260609290920191600101614138565b50909695505050505050565b5f6020828403121561417d575f5ffd5b5035919050565b6001600160801b0391909116815260200190565b5f5f604083850312156141a9575f5ffd5b50508035926020909101359150565b828152604060208201525f61159a6040830184613ca9565b5f5f604083850312156141e1575f5ffd5b6141ea836139ff565b915060208301356141fa81613cfe565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b602080825260149082015273185919081c1bdbdb081b9bdd08185b1b1bddd95960621b604082015260600190565b6001600160801b03841681526060602082018190525f9061429f90830185613ca9565b82810360408401526138f08185613e8c565b6020808252602c908201525f5160206146705f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f5160206146705f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b6001600160801b038181168382160190811115610c2157610c21614323565b5f60208284031215614366575f5ffd5b815161316781613cfe565b6001600160401b03831681526060810161159d6020830184613dfb565b81810381811115610c2157610c21614323565b80820180821115610c2157610c21614323565b5f600182016143c5576143c5614323565b5060010190565b604080825281018490525f8560608301825b8781101561440c576001600160a01b036143f7846139ff565b168252602092830192909101906001016143de565b5083810360208501528481526001600160fb1b0385111561442b575f5ffd5b8460051b915081866020830137016020019695505050505050565b634e487b7160e01b5f52600160045260245ffd5b8082028115828204841417610c2157610c21614323565b5f5b8381101561448b578181015183820152602001614473565b50505f910152565b5f81518084526144aa816020860160208601614471565b601f01601f19169290920160200192915050565b60018060a01b0385168152836020820152608060408201525f6144e46080830185614493565b905082606083015295945050505050565b5f60208284031215614505575f5ffd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b5f8261452e5761452e61450c565b500690565b6001600160801b038281168282160390811115610c2157610c21614323565b6001600160801b03818116838216029081169081811461372c5761372c614323565b60408101610c218284613dfb565b5f5f60408385031215614593575f5ffd5b825161459e81613cfe565b60208401519092506141fa81613cfe565b6001600160401b038281168282160390811115610c2157610c21614323565b6001600160401b038181168382160190811115610c2157610c21614323565b5f6001600160801b038316806146055761460561450c565b6001600160801b03929092169190910492915050565b5f826146295761462961450c565b500490565b634e487b7160e01b5f52603160045260245ffd5b5f8251614653818460208701614471565b9190910192915050565b602081525f61159d602083018461449356fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a512c82e73ec974de3c794a3ea6bbdfbad18531c1394ace9972f3f0166b67863a264697066735822122020bdbd733aae0d5bf604550737753c9c516b2b3d7e58dc5c98b47ba51d110a4964736f6c634300081e0033";
1323
-
1324
- type PendleVotingControllerUpgConstructorParams =
1325
- | [signer?: Signer]
1326
- | ConstructorParameters<typeof ContractFactory>;
1327
-
1328
- const isSuperArgs = (
1329
- xs: PendleVotingControllerUpgConstructorParams
1330
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1331
-
1332
- export class PendleVotingControllerUpg__factory extends ContractFactory {
1333
- constructor(...args: PendleVotingControllerUpgConstructorParams) {
1334
- if (isSuperArgs(args)) {
1335
- super(...args);
1336
- } else {
1337
- super(_abi, _bytecode, args[0]);
1338
- }
1339
- this.contractName = "PendleVotingControllerUpg";
1340
- }
1341
-
1342
- deploy(
1343
- _vePendle: string,
1344
- _pendleMsgSendEndpoint: string,
1345
- initialApproxDestinationGas: BigNumberish,
1346
- overrides?: Overrides & { from?: string | Promise<string> }
1347
- ): Promise<PendleVotingControllerUpg> {
1348
- return super.deploy(
1349
- _vePendle,
1350
- _pendleMsgSendEndpoint,
1351
- initialApproxDestinationGas,
1352
- overrides || {}
1353
- ) as Promise<PendleVotingControllerUpg>;
1354
- }
1355
- getDeployTransaction(
1356
- _vePendle: string,
1357
- _pendleMsgSendEndpoint: string,
1358
- initialApproxDestinationGas: BigNumberish,
1359
- overrides?: Overrides & { from?: string | Promise<string> }
1360
- ): TransactionRequest {
1361
- return super.getDeployTransaction(
1362
- _vePendle,
1363
- _pendleMsgSendEndpoint,
1364
- initialApproxDestinationGas,
1365
- overrides || {}
1366
- );
1367
- }
1368
- attach(address: string): PendleVotingControllerUpg {
1369
- return super.attach(address) as PendleVotingControllerUpg;
1370
- }
1371
- connect(signer: Signer): PendleVotingControllerUpg__factory {
1372
- return super.connect(signer) as PendleVotingControllerUpg__factory;
1373
- }
1374
- static readonly contractName: "PendleVotingControllerUpg";
1375
- public readonly contractName: "PendleVotingControllerUpg";
1376
- static readonly bytecode = _bytecode;
1377
- static readonly abi = _abi;
1378
- static createInterface(): PendleVotingControllerUpgInterface {
1379
- return new utils.Interface(_abi) as PendleVotingControllerUpgInterface;
1380
- }
1381
- static connect(
1382
- address: string,
1383
- signerOrProvider: Signer | Provider
1384
- ): PendleVotingControllerUpg {
1385
- return new Contract(
1386
- address,
1387
- _abi,
1388
- signerOrProvider
1389
- ) as PendleVotingControllerUpg;
1390
- }
1391
- }