@pendle/core-v2 6.5.0-swaphubtest → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/LICENSE +12 -82
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
  53. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +231 -0
  107. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  140. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  141. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +226 -21
  142. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  143. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +228 -23
  144. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  157. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  161. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  168. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  187. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  197. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  235. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  237. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  239. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  241. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  243. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  245. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  247. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  249. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  251. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  253. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  257. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  259. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  260. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  262. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  263. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  265. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  266. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  267. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  268. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  269. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  270. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  272. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  277. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +3 -3
  278. package/contracts/interfaces/IPLimitRouter.sol +7 -0
  279. package/contracts/limit/LimitRouterBase.sol +2 -11
  280. package/contracts/limit/PendleLimitRouter.sol +23 -1
  281. package/deployments/1-core.json +10 -6
  282. package/deployments/10-core.json +8 -4
  283. package/deployments/130-core.json +8 -2
  284. package/deployments/143-core.json +18 -0
  285. package/deployments/146-core.json +8 -4
  286. package/deployments/42161-core.json +8 -4
  287. package/deployments/43114-core.json +5 -2
  288. package/deployments/43114-offchain-helper.json +3 -0
  289. package/deployments/5000-core.json +8 -4
  290. package/deployments/56-core.json +8 -4
  291. package/deployments/57073-core.json +18 -0
  292. package/deployments/747474-core.json +18 -0
  293. package/deployments/80094-core.json +8 -4
  294. package/deployments/8453-core.json +8 -4
  295. package/deployments/9745-core.json +7 -3
  296. package/deployments/999-core.json +7 -3
  297. package/package.json +1 -1
  298. package/typechain-types/IPLimitRouter.ts +83 -0
  299. package/typechain-types/LimitRouterBase.ts +79 -46
  300. package/typechain-types/PendleLimitRouter.ts +79 -46
  301. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  302. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  303. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  304. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  305. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  306. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  307. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  308. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  309. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  310. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  311. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  312. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  313. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  314. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  315. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  316. package/typechain-types/factories/IPLimitRouter__factory.ts +231 -0
  317. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  318. package/typechain-types/factories/LimitRouterBase__factory.ts +226 -21
  319. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  320. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  321. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
  322. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  323. package/typechain-types/factories/PendleLimitRouter__factory.ts +227 -22
  324. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  325. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  326. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  327. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  328. package/typechain-types/factories/Reflector__factory.ts +1 -1
  329. package/typechain-types/Broadcaster.ts +0 -455
  330. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  331. package/typechain-types/IPVotingController.ts +0 -534
  332. package/typechain-types/PendleFeeDistributor.ts +0 -746
  333. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -689
  334. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  335. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  336. package/typechain-types/PendleMarketFactoryV6Upg.ts +0 -773
  337. package/typechain-types/PendleMarketV6.ts +0 -1248
  338. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  339. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  340. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  341. package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
  342. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  343. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  344. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  345. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  346. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  347. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  348. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  349. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  350. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,671 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- PendleFeeDistributor,
8
- PendleFeeDistributorInterface,
9
- } from "../PendleFeeDistributor";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "_votingController",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "_vePendle",
22
- type: "address",
23
- },
24
- {
25
- internalType: "address",
26
- name: "_rewardToken",
27
- type: "address",
28
- },
29
- ],
30
- stateMutability: "nonpayable",
31
- type: "constructor",
32
- },
33
- {
34
- inputs: [],
35
- name: "ArrayLengthMismatch",
36
- type: "error",
37
- },
38
- {
39
- inputs: [],
40
- name: "FDEpochLengthMismatch",
41
- type: "error",
42
- },
43
- {
44
- inputs: [
45
- {
46
- internalType: "address",
47
- name: "pool",
48
- type: "address",
49
- },
50
- ],
51
- name: "FDInvalidPool",
52
- type: "error",
53
- },
54
- {
55
- inputs: [
56
- {
57
- internalType: "uint256",
58
- name: "startEpoch",
59
- type: "uint256",
60
- },
61
- ],
62
- name: "FDInvalidStartEpoch",
63
- type: "error",
64
- },
65
- {
66
- inputs: [
67
- {
68
- internalType: "uint256",
69
- name: "lastFunded",
70
- type: "uint256",
71
- },
72
- {
73
- internalType: "uint256",
74
- name: "wTime",
75
- type: "uint256",
76
- },
77
- ],
78
- name: "FDInvalidWTimeFund",
79
- type: "error",
80
- },
81
- {
82
- inputs: [
83
- {
84
- internalType: "address",
85
- name: "pool",
86
- type: "address",
87
- },
88
- ],
89
- name: "FDPoolAlreadyExists",
90
- type: "error",
91
- },
92
- {
93
- inputs: [
94
- {
95
- internalType: "uint256",
96
- name: "actualTotalAmount",
97
- type: "uint256",
98
- },
99
- {
100
- internalType: "uint256",
101
- name: "expectedTotalAmount",
102
- type: "uint256",
103
- },
104
- ],
105
- name: "FDTotalAmountFundedNotMatch",
106
- type: "error",
107
- },
108
- {
109
- anonymous: false,
110
- inputs: [
111
- {
112
- indexed: false,
113
- internalType: "address",
114
- name: "previousAdmin",
115
- type: "address",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "address",
120
- name: "newAdmin",
121
- type: "address",
122
- },
123
- ],
124
- name: "AdminChanged",
125
- type: "event",
126
- },
127
- {
128
- anonymous: false,
129
- inputs: [
130
- {
131
- indexed: true,
132
- internalType: "address",
133
- name: "beacon",
134
- type: "address",
135
- },
136
- ],
137
- name: "BeaconUpgraded",
138
- type: "event",
139
- },
140
- {
141
- anonymous: false,
142
- inputs: [
143
- {
144
- indexed: true,
145
- internalType: "address",
146
- name: "pool",
147
- type: "address",
148
- },
149
- {
150
- indexed: true,
151
- internalType: "address",
152
- name: "user",
153
- type: "address",
154
- },
155
- {
156
- indexed: false,
157
- internalType: "uint256",
158
- name: "wTime",
159
- type: "uint256",
160
- },
161
- {
162
- indexed: false,
163
- internalType: "uint256",
164
- name: "amount",
165
- type: "uint256",
166
- },
167
- ],
168
- name: "ClaimReward",
169
- type: "event",
170
- },
171
- {
172
- anonymous: false,
173
- inputs: [
174
- {
175
- indexed: false,
176
- internalType: "uint8",
177
- name: "version",
178
- type: "uint8",
179
- },
180
- ],
181
- name: "Initialized",
182
- type: "event",
183
- },
184
- {
185
- anonymous: false,
186
- inputs: [
187
- {
188
- indexed: true,
189
- internalType: "address",
190
- name: "previousOwner",
191
- type: "address",
192
- },
193
- {
194
- indexed: true,
195
- internalType: "address",
196
- name: "newOwner",
197
- type: "address",
198
- },
199
- ],
200
- name: "OwnershipTransferred",
201
- type: "event",
202
- },
203
- {
204
- anonymous: false,
205
- inputs: [
206
- {
207
- indexed: true,
208
- internalType: "address",
209
- name: "pool",
210
- type: "address",
211
- },
212
- {
213
- indexed: true,
214
- internalType: "uint256",
215
- name: "startWeek",
216
- type: "uint256",
217
- },
218
- ],
219
- name: "PoolAdded",
220
- type: "event",
221
- },
222
- {
223
- anonymous: false,
224
- inputs: [
225
- {
226
- indexed: true,
227
- internalType: "address",
228
- name: "pool",
229
- type: "address",
230
- },
231
- {
232
- indexed: true,
233
- internalType: "uint256",
234
- name: "wTime",
235
- type: "uint256",
236
- },
237
- {
238
- indexed: false,
239
- internalType: "uint256",
240
- name: "amount",
241
- type: "uint256",
242
- },
243
- ],
244
- name: "UpdateFee",
245
- type: "event",
246
- },
247
- {
248
- anonymous: false,
249
- inputs: [
250
- {
251
- indexed: true,
252
- internalType: "address",
253
- name: "implementation",
254
- type: "address",
255
- },
256
- ],
257
- name: "Upgraded",
258
- type: "event",
259
- },
260
- {
261
- inputs: [
262
- {
263
- internalType: "address",
264
- name: "pool",
265
- type: "address",
266
- },
267
- {
268
- internalType: "uint256",
269
- name: "_startWeek",
270
- type: "uint256",
271
- },
272
- ],
273
- name: "addPool",
274
- outputs: [],
275
- stateMutability: "nonpayable",
276
- type: "function",
277
- },
278
- {
279
- inputs: [
280
- {
281
- internalType: "uint256",
282
- name: "",
283
- type: "uint256",
284
- },
285
- ],
286
- name: "allPools",
287
- outputs: [
288
- {
289
- internalType: "address",
290
- name: "",
291
- type: "address",
292
- },
293
- ],
294
- stateMutability: "view",
295
- type: "function",
296
- },
297
- {
298
- inputs: [],
299
- name: "claimOwnership",
300
- outputs: [],
301
- stateMutability: "nonpayable",
302
- type: "function",
303
- },
304
- {
305
- inputs: [
306
- {
307
- internalType: "address",
308
- name: "user",
309
- type: "address",
310
- },
311
- {
312
- internalType: "address[]",
313
- name: "pools",
314
- type: "address[]",
315
- },
316
- ],
317
- name: "claimReward",
318
- outputs: [
319
- {
320
- internalType: "uint256[]",
321
- name: "amountRewardOut",
322
- type: "uint256[]",
323
- },
324
- ],
325
- stateMutability: "nonpayable",
326
- type: "function",
327
- },
328
- {
329
- inputs: [
330
- {
331
- internalType: "address",
332
- name: "",
333
- type: "address",
334
- },
335
- {
336
- internalType: "uint256",
337
- name: "",
338
- type: "uint256",
339
- },
340
- ],
341
- name: "fees",
342
- outputs: [
343
- {
344
- internalType: "uint256",
345
- name: "",
346
- type: "uint256",
347
- },
348
- ],
349
- stateMutability: "view",
350
- type: "function",
351
- },
352
- {
353
- inputs: [
354
- {
355
- internalType: "address[]",
356
- name: "pools",
357
- type: "address[]",
358
- },
359
- {
360
- internalType: "uint256[][]",
361
- name: "wTimes",
362
- type: "uint256[][]",
363
- },
364
- {
365
- internalType: "uint256[][]",
366
- name: "amounts",
367
- type: "uint256[][]",
368
- },
369
- {
370
- internalType: "uint256",
371
- name: "totalAmountToFund",
372
- type: "uint256",
373
- },
374
- ],
375
- name: "fund",
376
- outputs: [],
377
- stateMutability: "nonpayable",
378
- type: "function",
379
- },
380
- {
381
- inputs: [],
382
- name: "getAllActivePools",
383
- outputs: [
384
- {
385
- internalType: "address[]",
386
- name: "",
387
- type: "address[]",
388
- },
389
- ],
390
- stateMutability: "view",
391
- type: "function",
392
- },
393
- {
394
- inputs: [],
395
- name: "getAllPools",
396
- outputs: [
397
- {
398
- internalType: "address[]",
399
- name: "",
400
- type: "address[]",
401
- },
402
- ],
403
- stateMutability: "view",
404
- type: "function",
405
- },
406
- {
407
- inputs: [
408
- {
409
- internalType: "address",
410
- name: "_owner",
411
- type: "address",
412
- },
413
- ],
414
- name: "initialize",
415
- outputs: [],
416
- stateMutability: "nonpayable",
417
- type: "function",
418
- },
419
- {
420
- inputs: [
421
- {
422
- internalType: "address",
423
- name: "",
424
- type: "address",
425
- },
426
- ],
427
- name: "lastFundedWeek",
428
- outputs: [
429
- {
430
- internalType: "uint256",
431
- name: "",
432
- type: "uint256",
433
- },
434
- ],
435
- stateMutability: "view",
436
- type: "function",
437
- },
438
- {
439
- inputs: [],
440
- name: "owner",
441
- outputs: [
442
- {
443
- internalType: "address",
444
- name: "",
445
- type: "address",
446
- },
447
- ],
448
- stateMutability: "view",
449
- type: "function",
450
- },
451
- {
452
- inputs: [],
453
- name: "pendingOwner",
454
- outputs: [
455
- {
456
- internalType: "address",
457
- name: "",
458
- type: "address",
459
- },
460
- ],
461
- stateMutability: "view",
462
- type: "function",
463
- },
464
- {
465
- inputs: [],
466
- name: "proxiableUUID",
467
- outputs: [
468
- {
469
- internalType: "bytes32",
470
- name: "",
471
- type: "bytes32",
472
- },
473
- ],
474
- stateMutability: "view",
475
- type: "function",
476
- },
477
- {
478
- inputs: [],
479
- name: "token",
480
- outputs: [
481
- {
482
- internalType: "address",
483
- name: "",
484
- type: "address",
485
- },
486
- ],
487
- stateMutability: "view",
488
- type: "function",
489
- },
490
- {
491
- inputs: [
492
- {
493
- internalType: "address",
494
- name: "newOwner",
495
- type: "address",
496
- },
497
- {
498
- internalType: "bool",
499
- name: "direct",
500
- type: "bool",
501
- },
502
- {
503
- internalType: "bool",
504
- name: "renounce",
505
- type: "bool",
506
- },
507
- ],
508
- name: "transferOwnership",
509
- outputs: [],
510
- stateMutability: "nonpayable",
511
- type: "function",
512
- },
513
- {
514
- inputs: [
515
- {
516
- internalType: "address",
517
- name: "newImplementation",
518
- type: "address",
519
- },
520
- ],
521
- name: "upgradeTo",
522
- outputs: [],
523
- stateMutability: "nonpayable",
524
- type: "function",
525
- },
526
- {
527
- inputs: [
528
- {
529
- internalType: "address",
530
- name: "newImplementation",
531
- type: "address",
532
- },
533
- {
534
- internalType: "bytes",
535
- name: "data",
536
- type: "bytes",
537
- },
538
- ],
539
- name: "upgradeToAndCall",
540
- outputs: [],
541
- stateMutability: "payable",
542
- type: "function",
543
- },
544
- {
545
- inputs: [
546
- {
547
- internalType: "address",
548
- name: "",
549
- type: "address",
550
- },
551
- {
552
- internalType: "address",
553
- name: "",
554
- type: "address",
555
- },
556
- ],
557
- name: "userInfo",
558
- outputs: [
559
- {
560
- internalType: "uint128",
561
- name: "firstUnclaimedWeek",
562
- type: "uint128",
563
- },
564
- {
565
- internalType: "uint128",
566
- name: "iter",
567
- type: "uint128",
568
- },
569
- ],
570
- stateMutability: "view",
571
- type: "function",
572
- },
573
- {
574
- inputs: [],
575
- name: "vePendle",
576
- outputs: [
577
- {
578
- internalType: "address",
579
- name: "",
580
- type: "address",
581
- },
582
- ],
583
- stateMutability: "view",
584
- type: "function",
585
- },
586
- {
587
- inputs: [],
588
- name: "votingController",
589
- outputs: [
590
- {
591
- internalType: "address",
592
- name: "",
593
- type: "address",
594
- },
595
- ],
596
- stateMutability: "view",
597
- type: "function",
598
- },
599
- ];
600
-
601
- const _bytecode =
602
- "0x61010060405230608052348015610014575f5ffd5b506040516127f03803806127f083398101604081905261003391610191565b600154600160a81b900460ff1615808015610059575060018054600160a01b900460ff16105b806100795750303b158015610079575060018054600160a01b900460ff16145b6100e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801561010d576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380851660a05283811660c052821660e052801561016d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050506101d1565b80516001600160a01b038116811461018c575f5ffd5b919050565b5f5f5f606084860312156101a3575f5ffd5b6101ac84610176565b92506101ba60208501610176565b91506101c860408501610176565b90509250925092565b60805160a05160c05160e05161258361026d5f395f81816103d5015281816107a40152610d1d01525f8181610306015281816115bc0152818161160a015281816116eb015281816117390152818161185901526118ae01525f81816102bf015281816116ac015281816117cd015261195e01525f818161062a0152818161066a015281816108ac015281816108ec015261096701526125835ff3fe6080604052600436106100ee575f3560e01c8063078dfbe7146100f25780630d6f1413146101135780630f208beb14610151578063263a5362146101bb57806332a9caba146101f15780633659cfe6146102105780633685ffe71461022f57806341d1de971461025b5780634e71e0c8146102875780634f1ef2861461029b578063517afbcf146102ae57806352d1902d146102e157806382dabb21146102f55780638da5cb5b14610328578063c4d66de814610346578063d5cd7d2014610365578063d7ace6ce14610386578063d88ff1f414610365578063e30c3978146103a5578063fc0c546a146103c4575b5f5ffd5b3480156100fd575f5ffd5b5061011161010c366004611d5c565b6103f7565b005b34801561011e575f5ffd5b5061013e61012d366004611da2565b60336020525f908152604090205481565b6040519081526020015b60405180910390f35b34801561015c575f5ffd5b5061019b61016b366004611dbb565b603460209081525f92835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610148565b3480156101c6575f5ffd5b5061013e6101d5366004611dec565b603560209081525f928352604080842090915290825290205481565b3480156101fc575f5ffd5b5061011161020b366004611dec565b6104f8565b34801561021b575f5ffd5b5061011161022a366004611da2565b610620565b34801561023a575f5ffd5b5061024e610249366004611e5b565b6106e7565b6040516101489190611ea9565b348015610266575f5ffd5b5061027a610275366004611eeb565b6107d2565b6040516101489190611f02565b348015610292575f5ffd5b506101116107fa565b6101116102a9366004611f82565b6108a2565b3480156102b9575f5ffd5b5061027a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102ec575f5ffd5b5061013e61095b565b348015610300575f5ffd5b5061027a7f000000000000000000000000000000000000000000000000000000000000000081565b348015610333575f5ffd5b505f5461027a906001600160a01b031681565b348015610351575f5ffd5b50610111610360366004611da2565b610a07565b348015610370575f5ffd5b50610379610b37565b6040516101489190612025565b348015610391575f5ffd5b506101116103a0366004612065565b610b97565b3480156103b0575f5ffd5b5060015461027a906001600160a01b031681565b3480156103cf575f5ffd5b5061027a7f000000000000000000000000000000000000000000000000000000000000000081565b5f546001600160a01b031633146104295760405162461bcd60e51b815260040161042090612109565b60405180910390fd5b81156104d7576001600160a01b0383161515806104435750805b6104875760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610420565b5f80546040516001600160a01b03808716939216915f5160206125075f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f546001600160a01b031633146105215760405162461bcd60e51b815260040161042090612109565b61052a81610da2565b1580610534575080155b1561055557604051631da2a47b60e01b815260048101829052602401610420565b6001600160a01b0382165f908152603360205260409020541561058d578160405163bfa6835d60e01b81526004016104209190611f02565b61059a62093a8082612152565b6001600160a01b0383165f8181526033602052604080822093909355603280546001810182559082527f11df491316f14931039edfd4f8964c9a443b862f02d4c7611d18c2bc4e6ff6970180546001600160a01b03191683179055915183927f0c98febfffcec480c66a977e13f14bafdb5199ea9603591a0715b0cabe0c3ae291a35050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106685760405162461bcd60e51b815260040161042090612165565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661069a610db7565b6001600160a01b0316146106c05760405162461bcd60e51b81526004016104209061219e565b6106c981610dd2565b604080515f808252602082019092526106e491839190610dfb565b50565b6060816001600160401b0381111561070157610701611f16565b60405190808252806020026020018201604052801561072a578160200160208202803683370190505b5090505f5b8281101561078c5761076784848381811061074c5761074c6121d7565b90506020020160208101906107619190611da2565b86610f65565b828281518110610779576107796121d7565b602090810291909101015260010161072f565b506107cb8461079a836111ef565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061122b565b9392505050565b603281815481106107e1575f80fd5b5f918252602090912001546001600160a01b0316905081565b6001546001600160a01b03163381146108555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610420565b5f80546040516001600160a01b03808516939216915f5160206125075f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036108ea5760405162461bcd60e51b815260040161042090612165565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661091c610db7565b6001600160a01b0316146109425760405162461bcd60e51b81526004016104209061219e565b61094b82610dd2565b61095782826001610dfb565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146109f55760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610420565b505f5160206124e75f395f51905f5290565b600154600160a81b900460ff1615808015610a2d575060018054600160a01b900460ff16105b80610a545750610a3c30611281565b158015610a54575060018054600160a01b900460ff16145b610ab75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610420565b6001805460ff60a01b1916600160a01b1790558015610ae4576001805460ff60a81b1916600160a81b1790555b610aed82611290565b8015610957576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60606032805480602002602001604051908101604052809291908181526020018280548015610b8d57602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311610b6f575b5050505050905090565b5f546001600160a01b03163314610bc05760405162461bcd60e51b815260040161042090612109565b858481141580610bd05750828114155b15610bee5760405163512509d360e11b815260040160405180910390fd5b5f805b82811015610ce157610c708a8a83818110610c0e57610c0e6121d7565b9050602002016020810190610c239190611da2565b898984818110610c3557610c356121d7565b9050602002810190610c4791906121eb565b898986818110610c5957610c596121d7565b9050602002810190610c6b91906121eb565b61131e565b610ccd868683818110610c8557610c856121d7565b9050602002810190610c9791906121eb565b808060200260200160405190810160405280939291908181526020018383602002808284375f920191909152506111ef92505050565b610cd79083612230565b9150600101610bf1565b50828114610d0657808360405163c4b307b760e01b8152600401610420929190612243565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90610d5690339030908690600401612251565b6020604051808303815f875af1158015610d72573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d969190612275565b50505050505050505050565b5f610db062093a80836122a4565b1592915050565b5f5160206124e75f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146106e45760405162461bcd60e51b815260040161042090612109565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e2e576104f3836114f6565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e88575060408051601f3d908101601f19168201909252610e85918101906122b7565b60015b610eeb5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610420565b5f5160206124e75f395f51905f528114610f595760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610420565b506104f383838361158f565b6001600160a01b0382165f9081526033602052604081205483908203610f9f5780604051624e263b60e41b81526004016104209190611f02565b5f610faa85856115b9565b9050805f03610fbc575f9250506111e8565b6001600160a01b038581165f90815260336020908152604080832054603483528184209489168452939091529020546001600160801b0380821691600160801b90041682821115611013575f9550505050506111e8565b5f61101f8989846116e1565b9050805f84900361104657815161103a9062093a80906122ce565b6001600160801b031693505b84841161118d5785611059846001612230565b10156110b057815181516001600160801b0391821691160361108d5761108a8a8a611085866001612230565b6116e1565b90505b80516001600160801b03168411156110b057826110a9816122ed565b9350508091505b60208201515f906110c19086611806565b6001600160801b031690508015611178575f6110dd8c87611856565b6001600160a01b038d165f9081526035602090815260408083208a84529091528120549192509082906111109085612305565b61111a919061231c565b9050611126818c612230565b9a508b6001600160a01b03168d6001600160a01b03167ffe7c5fc89da23a432c91f264decb100ab9d08ab7b14650c3cdb9b6b4f84a60e9898460405161116d929190612243565b60405180910390a350505b61118562093a8086612230565b945050611046565b50506040805180820182526001600160801b03938416815291831660208084019182526001600160a01b03808c165f90815260348352848120918c168152915291909120915190518316600160801b02921691909117905550505b5092915050565b5f80805b83518110156111e85783818151811061120e5761120e6121d7565b6020026020010151826112219190612230565b91506001016111f3565b6104f38363a9059cbb60e01b848460405160240161124a92919061232f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261198d565b6001600160a01b03163b151590565b600154600160a81b900460ff166112fd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610420565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0385165f908152603360205260408120548691036113575780604051624e263b60e41b81526004016104209190611f02565b83821461137757604051635174addf60e11b815260040160405180910390fd5b6001600160a01b0386165f9081526033602052604081205490611398611a60565b6001600160801b031690505f5b848110156114ad575f8888838181106113c0576113c06121d7565b9050602002013590505f8787848181106113dc576113dc6121d7565b602002919091013591506113f5905062093a8086612230565b8214611418578482604051637d9c405d60e11b8152600401610420929190612243565b6001600160a01b038b165f9081526035602090815260408083208584529091528120805483929061144a908490612230565b9091555061145d905062093a8086612230565b9450818b6001600160a01b03167fc9920255a27e7e0a5d647597e867ab827659000ae32276c878d8a04120efabb08360405161149b91815260200190565b60405180910390a350506001016113a5565b508082106114d2578181604051637d9c405d60e11b8152600401610420929190612243565b506001600160a01b039096165f908152603360205260409020959095555050505050565b6114ff81611281565b6115615760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610420565b5f5160206124e75f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b61159883611a6f565b5f825111806115a45750805b156104f3576115b38383611aae565b50505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036116855760405163fc367c6160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063fc367c619061163f908590600401611f02565b602060405180830381865afa15801561165a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167e91906122b7565b90506116db565b604051633575141360e11b81526001600160a01b03838116600483015284811660248301527f00000000000000000000000000000000000000000000000000000000000000001690636aea28269060440161163f565b92915050565b6116e9611ce8565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316036117b657604051637c386c7160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637c386c7190611770908690869060040161232f565b606060405180830381865afa15801561178b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117af919061235e565b90506107cb565b60405163632c096d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063632c096d9061177090869088908790600401612251565b5f825f01516001600160801b031682846020015161182491906123cf565b6001600160801b0316111561183a57505f6116db565b81836020015161184a91906123cf565b83516107cb91906123f1565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036119305760405163947975d960e01b81526001600160801b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063947975d9906024015b602060405180830381865afa1580156118fc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119209190612410565b6001600160801b031690506116db565b60405163f144cf1760e01b81526001600160a01b0384811660048301526001600160801b03841660248301527f0000000000000000000000000000000000000000000000000000000000000000169063f144cf17906044016118e1565b5f6119e1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ad39092919063ffffffff16565b905080515f1480611a01575080806020019051810190611a019190612275565b6104f35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610420565b5f611a6a42611ae9565b905090565b611a78816114f6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b60606107cb838360405180606001604052806027815260200161252760279139611b02565b6060611ae184845f85611b76565b949350505050565b5f62093a80611af88184612429565b6116db91906123cf565b60605f5f856001600160a01b031685604051611b1e9190612479565b5f60405180830381855af49150503d805f8114611b56576040519150601f19603f3d011682016040523d82523d5f602084013e611b5b565b606091505b5091509150611b6c86838387611c4d565b9695505050505050565b606082471015611bd75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610420565b5f5f866001600160a01b03168587604051611bf29190612479565b5f6040518083038185875af1925050503d805f8114611c2c576040519150601f19603f3d011682016040523d82523d5f602084013e611c31565b606091505b5091509150611c4287838387611c4d565b979650505050505050565b60608315611cb95782515f03611cb257611c6685611281565b611cb25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610420565b5081611ae1565b611ae18383815115611cce5781518083602001fd5b8060405162461bcd60e51b81526004016104209190612494565b60405180604001604052805f6001600160801b03168152602001611d2f60405180604001604052805f6001600160801b031681526020015f6001600160801b031681525090565b905290565b80356001600160a01b0381168114611d4a575f5ffd5b919050565b80151581146106e4575f5ffd5b5f5f5f60608486031215611d6e575f5ffd5b611d7784611d34565b92506020840135611d8781611d4f565b91506040840135611d9781611d4f565b809150509250925092565b5f60208284031215611db2575f5ffd5b6107cb82611d34565b5f5f60408385031215611dcc575f5ffd5b611dd583611d34565b9150611de360208401611d34565b90509250929050565b5f5f60408385031215611dfd575f5ffd5b611e0683611d34565b946020939093013593505050565b5f5f83601f840112611e24575f5ffd5b5081356001600160401b03811115611e3a575f5ffd5b6020830191508360208260051b8501011115611e54575f5ffd5b9250929050565b5f5f5f60408486031215611e6d575f5ffd5b611e7684611d34565b925060208401356001600160401b03811115611e90575f5ffd5b611e9c86828701611e14565b9497909650939450505050565b602080825282518282018190525f918401906040840190835b81811015611ee0578351835260209384019390920191600101611ec2565b509095945050505050565b5f60208284031215611efb575f5ffd5b5035919050565b6001600160a01b0391909116815260200190565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715611f4c57611f4c611f16565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611f7a57611f7a611f16565b604052919050565b5f5f60408385031215611f93575f5ffd5b611f9c83611d34565b915060208301356001600160401b03811115611fb6575f5ffd5b8301601f81018513611fc6575f5ffd5b80356001600160401b03811115611fdf57611fdf611f16565b611ff2601f8201601f1916602001611f52565b818152866020838501011115612006575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b602080825282518282018190525f918401906040840190835b81811015611ee05783516001600160a01b031683526020938401939092019160010161203e565b5f5f5f5f5f5f5f6080888a03121561207b575f5ffd5b87356001600160401b03811115612090575f5ffd5b61209c8a828b01611e14565b90985096505060208801356001600160401b038111156120ba575f5ffd5b6120c68a828b01611e14565b90965094505060408801356001600160401b038111156120e4575f5ffd5b6120f08a828b01611e14565b989b979a50959894979596606090950135949350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b818103818111156116db576116db61213e565b6020808252602c908201525f5160206124c75f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f5160206124c75f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f5f8335601e19843603018112612200575f5ffd5b8301803591506001600160401b03821115612219575f5ffd5b6020019150600581901b3603821315611e54575f5ffd5b808201808211156116db576116db61213e565b918252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b5f60208284031215612285575f5ffd5b81516107cb81611d4f565b634e487b7160e01b5f52601260045260245ffd5b5f826122b2576122b2612290565b500690565b5f602082840312156122c7575f5ffd5b5051919050565b6001600160801b0381811683821601908111156116db576116db61213e565b5f600182016122fe576122fe61213e565b5060010190565b80820281158282048414176116db576116db61213e565b5f8261232a5761232a612290565b500490565b6001600160a01b03929092168252602082015260400190565b80516001600160801b0381168114611d4a575f5ffd5b5f818303606081128015612370575f5ffd5b50612379611f2a565b61238284612348565b81526040601f1983011215612395575f5ffd5b61239d611f2a565b91506123ab60208501612348565b82526123b960408501612348565b6020830152816020820152809250505092915050565b6001600160801b0381811683821602908116908181146111e8576111e861213e565b6001600160801b0382811682821603908111156116db576116db61213e565b5f60208284031215612420575f5ffd5b6107cb82612348565b5f6001600160801b0383168061244157612441612290565b6001600160801b03929092169190910492915050565b5f5b83811015612471578181015183820152602001612459565b50505f910152565b5f825161248a818460208701612457565b9190910192915050565b602081525f82518060208401526124b2816040850160208701612457565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220afe87a5e5173af25aadb12edc05271823822cc9ecf64785d70a8301568fcc4a564736f6c634300081e0033";
603
-
604
- type PendleFeeDistributorConstructorParams =
605
- | [signer?: Signer]
606
- | ConstructorParameters<typeof ContractFactory>;
607
-
608
- const isSuperArgs = (
609
- xs: PendleFeeDistributorConstructorParams
610
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
611
-
612
- export class PendleFeeDistributor__factory extends ContractFactory {
613
- constructor(...args: PendleFeeDistributorConstructorParams) {
614
- if (isSuperArgs(args)) {
615
- super(...args);
616
- } else {
617
- super(_abi, _bytecode, args[0]);
618
- }
619
- this.contractName = "PendleFeeDistributor";
620
- }
621
-
622
- deploy(
623
- _votingController: string,
624
- _vePendle: string,
625
- _rewardToken: string,
626
- overrides?: Overrides & { from?: string | Promise<string> }
627
- ): Promise<PendleFeeDistributor> {
628
- return super.deploy(
629
- _votingController,
630
- _vePendle,
631
- _rewardToken,
632
- overrides || {}
633
- ) as Promise<PendleFeeDistributor>;
634
- }
635
- getDeployTransaction(
636
- _votingController: string,
637
- _vePendle: string,
638
- _rewardToken: string,
639
- overrides?: Overrides & { from?: string | Promise<string> }
640
- ): TransactionRequest {
641
- return super.getDeployTransaction(
642
- _votingController,
643
- _vePendle,
644
- _rewardToken,
645
- overrides || {}
646
- );
647
- }
648
- attach(address: string): PendleFeeDistributor {
649
- return super.attach(address) as PendleFeeDistributor;
650
- }
651
- connect(signer: Signer): PendleFeeDistributor__factory {
652
- return super.connect(signer) as PendleFeeDistributor__factory;
653
- }
654
- static readonly contractName: "PendleFeeDistributor";
655
- public readonly contractName: "PendleFeeDistributor";
656
- static readonly bytecode = _bytecode;
657
- static readonly abi = _abi;
658
- static createInterface(): PendleFeeDistributorInterface {
659
- return new utils.Interface(_abi) as PendleFeeDistributorInterface;
660
- }
661
- static connect(
662
- address: string,
663
- signerOrProvider: Signer | Provider
664
- ): PendleFeeDistributor {
665
- return new Contract(
666
- address,
667
- _abi,
668
- signerOrProvider
669
- ) as PendleFeeDistributor;
670
- }
671
- }