@pendle/core-v2 5.8.6 → 5.8.7-fee-beta

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 (244) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  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/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.json +56 -0
  95. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  129. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  130. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  131. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  133. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +4 -0
  149. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +345 -0
  150. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +4 -0
  151. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +237 -0
  152. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  175. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  177. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  178. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  179. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  180. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  181. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  182. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  183. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  184. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  191. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  192. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  193. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  194. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  195. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  196. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  197. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  198. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  199. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  200. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  201. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  202. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  204. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  206. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  208. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  212. package/contracts/interfaces/IPLPWrapperFactory.sol +10 -0
  213. package/contracts/offchain-helpers/PendleLPWrapper.sol +51 -0
  214. package/contracts/offchain-helpers/PendleLPWrapperFactory.sol +50 -0
  215. package/deployments/1-core.json +4 -2
  216. package/deployments/146-core.json +3 -2
  217. package/deployments/42161-core.json +3 -2
  218. package/deployments/5000-core.json +3 -2
  219. package/deployments/56-core.json +3 -2
  220. package/deployments/80094-core.json +3 -2
  221. package/deployments/8453-core.json +3 -2
  222. package/package.json +1 -1
  223. package/typechain-types/ActionBase.ts +81 -0
  224. package/typechain-types/ActionDelegateBase.ts +81 -0
  225. package/typechain-types/ActionInputTracker.ts +81 -0
  226. package/typechain-types/ExpiredLpPtRedeemer.ts +507 -0
  227. package/typechain-types/IPLPWrapperFactory.ts +151 -0
  228. package/typechain-types/ITracker.ts +224 -0
  229. package/typechain-types/PendleLPWrapper.ts +526 -0
  230. package/typechain-types/PendleLPWrapperFactory.ts +409 -0
  231. package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
  232. package/typechain-types/Tracker.ts +432 -0
  233. package/typechain-types/factories/ActionBase__factory.ts +36 -0
  234. package/typechain-types/factories/ActionDelegateBase__factory.ts +93 -0
  235. package/typechain-types/factories/ActionInputTracker__factory.ts +39 -0
  236. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +347 -0
  237. package/typechain-types/factories/IPLPWrapperFactory__factory.ts +71 -0
  238. package/typechain-types/factories/ITracker__factory.ts +114 -0
  239. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +299 -0
  240. package/typechain-types/factories/PendleLPWrapper__factory.ts +400 -0
  241. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  242. package/typechain-types/factories/Tracker__factory.ts +303 -0
  243. package/typechain-types/hardhat.d.ts +45 -0
  244. package/typechain-types/index.ts +10 -0
@@ -0,0 +1,347 @@
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
+ ExpiredLpPtRedeemer,
8
+ ExpiredLpPtRedeemerInterface,
9
+ } from "../ExpiredLpPtRedeemer";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ anonymous: false,
19
+ inputs: [
20
+ {
21
+ indexed: false,
22
+ internalType: "address",
23
+ name: "previousAdmin",
24
+ type: "address",
25
+ },
26
+ {
27
+ indexed: false,
28
+ internalType: "address",
29
+ name: "newAdmin",
30
+ type: "address",
31
+ },
32
+ ],
33
+ name: "AdminChanged",
34
+ type: "event",
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: true,
41
+ internalType: "address",
42
+ name: "beacon",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "BeaconUpgraded",
47
+ type: "event",
48
+ },
49
+ {
50
+ anonymous: false,
51
+ inputs: [
52
+ {
53
+ indexed: false,
54
+ internalType: "uint8",
55
+ name: "version",
56
+ type: "uint8",
57
+ },
58
+ ],
59
+ name: "Initialized",
60
+ type: "event",
61
+ },
62
+ {
63
+ anonymous: false,
64
+ inputs: [
65
+ {
66
+ indexed: true,
67
+ internalType: "address",
68
+ name: "previousOwner",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: true,
73
+ internalType: "address",
74
+ name: "newOwner",
75
+ type: "address",
76
+ },
77
+ ],
78
+ name: "OwnershipTransferred",
79
+ type: "event",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: true,
86
+ internalType: "address",
87
+ name: "implementation",
88
+ type: "address",
89
+ },
90
+ ],
91
+ name: "Upgraded",
92
+ type: "event",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "claimOwnership",
97
+ outputs: [],
98
+ stateMutability: "nonpayable",
99
+ type: "function",
100
+ },
101
+ {
102
+ inputs: [
103
+ {
104
+ internalType: "address",
105
+ name: "receiver",
106
+ type: "address",
107
+ },
108
+ {
109
+ internalType: "address",
110
+ name: "market",
111
+ type: "address",
112
+ },
113
+ {
114
+ internalType: "uint256",
115
+ name: "netPtIn",
116
+ type: "uint256",
117
+ },
118
+ {
119
+ internalType: "uint256",
120
+ name: "netLpIn",
121
+ type: "uint256",
122
+ },
123
+ {
124
+ internalType: "address",
125
+ name: "tokenRedeemSy",
126
+ type: "address",
127
+ },
128
+ {
129
+ internalType: "uint256",
130
+ name: "minTokenOut",
131
+ type: "uint256",
132
+ },
133
+ ],
134
+ name: "exitPostExpToToken",
135
+ outputs: [
136
+ {
137
+ internalType: "uint256",
138
+ name: "totalTokenOut",
139
+ type: "uint256",
140
+ },
141
+ ],
142
+ stateMutability: "nonpayable",
143
+ type: "function",
144
+ },
145
+ {
146
+ inputs: [],
147
+ name: "initialize",
148
+ outputs: [],
149
+ stateMutability: "nonpayable",
150
+ type: "function",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "owner",
155
+ outputs: [
156
+ {
157
+ internalType: "address",
158
+ name: "",
159
+ type: "address",
160
+ },
161
+ ],
162
+ stateMutability: "view",
163
+ type: "function",
164
+ },
165
+ {
166
+ inputs: [],
167
+ name: "pendingOwner",
168
+ outputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "",
172
+ type: "address",
173
+ },
174
+ ],
175
+ stateMutability: "view",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "proxiableUUID",
181
+ outputs: [
182
+ {
183
+ internalType: "bytes32",
184
+ name: "",
185
+ type: "bytes32",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "address[]",
195
+ name: "markets",
196
+ type: "address[]",
197
+ },
198
+ {
199
+ internalType: "bool",
200
+ name: "isWhitelisted",
201
+ type: "bool",
202
+ },
203
+ ],
204
+ name: "setWhitelistedMarket",
205
+ outputs: [],
206
+ stateMutability: "nonpayable",
207
+ type: "function",
208
+ },
209
+ {
210
+ inputs: [
211
+ {
212
+ internalType: "address",
213
+ name: "newOwner",
214
+ type: "address",
215
+ },
216
+ {
217
+ internalType: "bool",
218
+ name: "direct",
219
+ type: "bool",
220
+ },
221
+ {
222
+ internalType: "bool",
223
+ name: "renounce",
224
+ type: "bool",
225
+ },
226
+ ],
227
+ name: "transferOwnership",
228
+ outputs: [],
229
+ stateMutability: "nonpayable",
230
+ type: "function",
231
+ },
232
+ {
233
+ inputs: [
234
+ {
235
+ internalType: "address",
236
+ name: "newImplementation",
237
+ type: "address",
238
+ },
239
+ ],
240
+ name: "upgradeTo",
241
+ outputs: [],
242
+ stateMutability: "nonpayable",
243
+ type: "function",
244
+ },
245
+ {
246
+ inputs: [
247
+ {
248
+ internalType: "address",
249
+ name: "newImplementation",
250
+ type: "address",
251
+ },
252
+ {
253
+ internalType: "bytes",
254
+ name: "data",
255
+ type: "bytes",
256
+ },
257
+ ],
258
+ name: "upgradeToAndCall",
259
+ outputs: [],
260
+ stateMutability: "payable",
261
+ type: "function",
262
+ },
263
+ {
264
+ inputs: [
265
+ {
266
+ internalType: "address",
267
+ name: "",
268
+ type: "address",
269
+ },
270
+ ],
271
+ name: "whitelistedMarkets",
272
+ outputs: [
273
+ {
274
+ internalType: "bool",
275
+ name: "",
276
+ type: "bool",
277
+ },
278
+ ],
279
+ stateMutability: "view",
280
+ type: "function",
281
+ },
282
+ {
283
+ inputs: [
284
+ {
285
+ internalType: "address[]",
286
+ name: "tokens",
287
+ type: "address[]",
288
+ },
289
+ ],
290
+ name: "withdraw",
291
+ outputs: [],
292
+ stateMutability: "nonpayable",
293
+ type: "function",
294
+ },
295
+ ];
296
+
297
+ const _bytecode =
298
+ "0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100ee565b600154600160a81b900460ff16156100905760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100ec576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051611c256101256000396000818161033f0152818161037f015281816104b2015281816104f2015261056e0152611c256000f3fe6080604052600436106100975760003560e01c8063078dfbe71461009c5780633659cfe6146100be5780634e71e0c8146100de5780634f1ef286146100f357806352d1902d146101065780638129fc1c1461012e5780638da5cb5b146101435780639ea517a414610170578063bd5dec9814610190578063c5759ddd146101b0578063e30c3978146101d0578063e68b4951146101f0575b600080fd5b3480156100a857600080fd5b506100bc6100b736600461153d565b610230565b005b3480156100ca57600080fd5b506100bc6100d9366004611588565b610335565b3480156100ea57600080fd5b506100bc6103fd565b6100bc6101013660046115f2565b6104a8565b34801561011257600080fd5b5061011b610561565b6040519081526020015b60405180910390f35b34801561013a57600080fd5b506100bc61060f565b34801561014f57600080fd5b50600054610163906001600160a01b031681565b6040516101259190611699565b34801561017c57600080fd5b5061011b61018b3660046116ad565b610745565b34801561019c57600080fd5b506100bc6101ab366004611737565b610a74565b3480156101bc57600080fd5b506100bc6101cb3660046117ca565b610af7565b3480156101dc57600080fd5b50600154610163906001600160a01b031681565b3480156101fc57600080fd5b5061022061020b366004611588565b60646020526000908152604090205460ff1681565b6040519015158152602001610125565b6000546001600160a01b031633146102635760405162461bcd60e51b815260040161025a90611844565b60405180910390fd5b8115610314576001600160a01b03831615158061027d5750805b6102c15760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161025a565b600080546040516001600160a01b0380871693921691600080516020611ba983398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361037d5760405162461bcd60e51b815260040161025a90611879565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166103af610c50565b6001600160a01b0316146103d55760405162461bcd60e51b815260040161025a906118b3565b6103de81610c6c565b604080516000808252602082019092526103fa91839190610c96565b50565b6001546001600160a01b03163381146104585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161025a565b600080546040516001600160a01b0380851693921691600080516020611ba983398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104f05760405162461bcd60e51b815260040161025a90611879565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610522610c50565b6001600160a01b0316146105485760405162461bcd60e51b815260040161025a906118b3565b61055182610c6c565b61055d82826001610c96565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105fc5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161025a565b50600080516020611b8983398151915290565b600154600160a81b900460ff1615808015610635575060018054600160a01b900460ff16105b8061065c575061064430610e01565b15801561065c575060018054600160a01b900460ff16145b6106bf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161025a565b6001805460ff60a01b1916600160a01b17905580156106ec576001805460ff60a81b1916600160a81b1790555b6106f4610e10565b6106fc610e4d565b80156103fa576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b600061074f610e80565b6001600160a01b03861660009081526064602052604090205460ff1661079d5760405162461bcd60e51b81526020600482015260036024820152626e2f6160e81b604482015260640161025a565b6000806000886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906118ed565b925092509250886001600160a01b0316639262187b336040518263ffffffff1660e01b81526004016108369190611699565b6000604051808303816000875af1158015610855573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261087d919081019061192f565b5060008089156108a0576108938433308c610ed7565b61089d8a826119ca565b90505b8815610947576108b28b338d8c610ed7565b6000808c6001600160a01b031663f6b911bc30308e6040518463ffffffff1660e01b81526004016108e5939291906119dd565b60408051808303816000875af1158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190611a01565b909250905061093682856119ca565b935061094281846119ca565b925050505b60006109b6846001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af115801561098c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b09190611a25565b83610ef2565b90506109c281846119ca565b92506109cf868785610f1a565b60405163769f8e5d60e01b81526001600160a01b038e81166004830152602482018590528a81166044830152606482018a90526001608483015287169063769f8e5d9060a4016020604051808303816000875af1158015610a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a589190611a25565b9650505050505050610a6a6001600255565b9695505050505050565b6000546001600160a01b03163314610a9e5760405162461bcd60e51b815260040161025a90611844565b60005b815181101561055d57610aef828281518110610abf57610abf611a3e565b602002602001015133610aea858581518110610add57610add611a3e565b6020026020010151610fe5565b610f1a565b600101610aa1565b6000546001600160a01b03163314610b215760405162461bcd60e51b815260040161025a90611844565b60005b82811015610c4a57838382818110610b3e57610b3e611a3e565b9050602002016020810190610b539190611588565b6001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190611a54565b610bee5760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08195e1c1a5c995960aa1b604482015260640161025a565b8160646000868685818110610c0557610c05611a3e565b9050602002016020810190610c1a9190611588565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610b24565b50505050565b600080516020611b89833981519152546001600160a01b031690565b6000546001600160a01b031633146103fa5760405162461bcd60e51b815260040161025a90611844565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610cc9576103308361106f565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611a25565b60015b610d865760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161025a565b600080516020611b898339815191528114610df55760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161025a565b50610330838383611109565b6001600160a01b03163b151590565b600154600160a81b900460ff16610e395760405162461bcd60e51b815260040161025a90611a71565b600080546001600160a01b03191633179055565b600154600160a81b900460ff16610e765760405162461bcd60e51b815260040161025a90611a71565b610e7e61112e565b565b6002805403610ed15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161025a565b60028055565b8015610c4a57610c4a6001600160a01b038516848484611157565b600082610f07670de0b6b3a764000084611abc565b610f119190611ad3565b90505b92915050565b80600003610f2757505050565b6001600160a01b038316610fca576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610f82576040519150601f19603f3d011682016040523d82523d6000602084013e610f87565b606091505b5050905080610c4a5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161025a565b6103306001600160a01b03841683836111af565b6001600255565b60006001600160a01b03821615611068576040516370a0823160e01b81526001600160a01b038316906370a0823190611022903090600401611699565b602060405180830381865afa15801561103f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110639190611a25565b610f14565b4792915050565b61107881610e01565b6110da5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161025a565b600080516020611b8983398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611112836111df565b60008251118061111f5750805b1561033057610c4a838361121f565b600154600160a81b900460ff16610fde5760405162461bcd60e51b815260040161025a90611a71565b610c4a846323b872dd60e01b858585604051602401611178939291906119dd565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611244565b6040516001600160a01b03831660248201526044810182905261033090849063a9059cbb60e01b90606401611178565b6111e88161106f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610f118383604051806060016040528060278152602001611bc960279139611319565b6000611299826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113879092919063ffffffff16565b90508051600014806112ba5750808060200190518101906112ba9190611a54565b6103305760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161025a565b6060600080856001600160a01b0316856040516113369190611b19565b600060405180830381855af49150503d8060008114611371576040519150601f19603f3d011682016040523d82523d6000602084013e611376565b606091505b5091509150610a6a8683838761139e565b60606113968484600085611415565b949350505050565b6060831561140b578251600003611404576113b885610e01565b6114045760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161025a565b5081611396565b61139683836114f0565b6060824710156114765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161025a565b600080866001600160a01b031685876040516114929190611b19565b60006040518083038185875af1925050503d80600081146114cf576040519150601f19603f3d011682016040523d82523d6000602084013e6114d4565b606091505b50915091506114e58783838761139e565b979650505050505050565b8151156115005781518083602001fd5b8060405162461bcd60e51b815260040161025a9190611b35565b6001600160a01b03811681146103fa57600080fd5b80151581146103fa57600080fd5b60008060006060848603121561155257600080fd5b833561155d8161151a565b9250602084013561156d8161152f565b9150604084013561157d8161152f565b809150509250925092565b60006020828403121561159a57600080fd5b81356115a58161151a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156115ea576115ea6115ac565b604052919050565b6000806040838503121561160557600080fd5b82356116108161151a565b91506020838101356001600160401b038082111561162d57600080fd5b818601915086601f83011261164157600080fd5b813581811115611653576116536115ac565b611665601f8201601f191685016115c2565b9150808252878482850101111561167b57600080fd5b80848401858401376000848284010152508093505050509250929050565b6001600160a01b0391909116815260200190565b60008060008060008060c087890312156116c657600080fd5b86356116d18161151a565b955060208701356116e18161151a565b9450604087013593506060870135925060808701356116ff8161151a565b8092505060a087013590509295509295509295565b60006001600160401b0382111561172d5761172d6115ac565b5060051b60200190565b6000602080838503121561174a57600080fd5b82356001600160401b0381111561176057600080fd5b8301601f8101851361177157600080fd5b803561178461177f82611714565b6115c2565b81815260059190911b820183019083810190878311156117a357600080fd5b928401925b828410156114e55783356117bb8161151a565b825292840192908401906117a8565b6000806000604084860312156117df57600080fd5b83356001600160401b03808211156117f657600080fd5b818601915086601f83011261180a57600080fd5b81358181111561181957600080fd5b8760208260051b850101111561182e57600080fd5b6020928301955093505084013561157d8161152f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c90820152600080516020611b6983398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c90820152600080516020611b6983398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60008060006060848603121561190257600080fd5b835161190d8161151a565b602085015190935061191e8161151a565b604085015190925061157d8161151a565b6000602080838503121561194257600080fd5b82516001600160401b0381111561195857600080fd5b8301601f8101851361196957600080fd5b805161197761177f82611714565b81815260059190911b8201830190838101908783111561199657600080fd5b928401925b828410156114e55783518252928401929084019061199b565b634e487b7160e01b600052601160045260246000fd5b80820180821115610f1457610f146119b4565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008060408385031215611a1457600080fd5b505080516020909101519092909150565b600060208284031215611a3757600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611a6657600080fd5b81516115a58161152f565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b8082028115828204841417610f1457610f146119b4565b600082611af057634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015611b10578181015183820152602001611af8565b50506000910152565b60008251611b2b818460208701611af5565b9190910192915050565b6020815260008251806020840152611b54816040850160208701611af5565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220f401e7fe426ff72fea5b5fafee35b59ef45bf12326c0e09ab7adab859e8af89564736f6c63430008170033";
299
+
300
+ type ExpiredLpPtRedeemerConstructorParams =
301
+ | [signer?: Signer]
302
+ | ConstructorParameters<typeof ContractFactory>;
303
+
304
+ const isSuperArgs = (
305
+ xs: ExpiredLpPtRedeemerConstructorParams
306
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
307
+
308
+ export class ExpiredLpPtRedeemer__factory extends ContractFactory {
309
+ constructor(...args: ExpiredLpPtRedeemerConstructorParams) {
310
+ if (isSuperArgs(args)) {
311
+ super(...args);
312
+ } else {
313
+ super(_abi, _bytecode, args[0]);
314
+ }
315
+ this.contractName = "ExpiredLpPtRedeemer";
316
+ }
317
+
318
+ deploy(
319
+ overrides?: Overrides & { from?: string | Promise<string> }
320
+ ): Promise<ExpiredLpPtRedeemer> {
321
+ return super.deploy(overrides || {}) as Promise<ExpiredLpPtRedeemer>;
322
+ }
323
+ getDeployTransaction(
324
+ overrides?: Overrides & { from?: string | Promise<string> }
325
+ ): TransactionRequest {
326
+ return super.getDeployTransaction(overrides || {});
327
+ }
328
+ attach(address: string): ExpiredLpPtRedeemer {
329
+ return super.attach(address) as ExpiredLpPtRedeemer;
330
+ }
331
+ connect(signer: Signer): ExpiredLpPtRedeemer__factory {
332
+ return super.connect(signer) as ExpiredLpPtRedeemer__factory;
333
+ }
334
+ static readonly contractName: "ExpiredLpPtRedeemer";
335
+ public readonly contractName: "ExpiredLpPtRedeemer";
336
+ static readonly bytecode = _bytecode;
337
+ static readonly abi = _abi;
338
+ static createInterface(): ExpiredLpPtRedeemerInterface {
339
+ return new utils.Interface(_abi) as ExpiredLpPtRedeemerInterface;
340
+ }
341
+ static connect(
342
+ address: string,
343
+ signerOrProvider: Signer | Provider
344
+ ): ExpiredLpPtRedeemer {
345
+ return new Contract(address, _abi, signerOrProvider) as ExpiredLpPtRedeemer;
346
+ }
347
+ }
@@ -0,0 +1,71 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPLPWrapperFactory,
9
+ IPLPWrapperFactoryInterface,
10
+ } from "../IPLPWrapperFactory";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "_lpToken",
18
+ type: "address",
19
+ },
20
+ ],
21
+ name: "createOrGet",
22
+ outputs: [
23
+ {
24
+ internalType: "address",
25
+ name: "wrapper",
26
+ type: "address",
27
+ },
28
+ ],
29
+ stateMutability: "nonpayable",
30
+ type: "function",
31
+ },
32
+ {
33
+ inputs: [],
34
+ name: "rewardReceiver",
35
+ outputs: [
36
+ {
37
+ internalType: "address",
38
+ name: "",
39
+ type: "address",
40
+ },
41
+ ],
42
+ stateMutability: "view",
43
+ type: "function",
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "address",
49
+ name: "_rewardReceiver",
50
+ type: "address",
51
+ },
52
+ ],
53
+ name: "setRewardReceiver",
54
+ outputs: [],
55
+ stateMutability: "nonpayable",
56
+ type: "function",
57
+ },
58
+ ];
59
+
60
+ export class IPLPWrapperFactory__factory {
61
+ static readonly abi = _abi;
62
+ static createInterface(): IPLPWrapperFactoryInterface {
63
+ return new utils.Interface(_abi) as IPLPWrapperFactoryInterface;
64
+ }
65
+ static connect(
66
+ address: string,
67
+ signerOrProvider: Signer | Provider
68
+ ): IPLPWrapperFactory {
69
+ return new Contract(address, _abi, signerOrProvider) as IPLPWrapperFactory;
70
+ }
71
+ }
@@ -0,0 +1,114 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { ITracker, ITrackerInterface } from "../ITracker";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "market",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "enum ITracker.InputType",
22
+ name: "inputType",
23
+ type: "uint8",
24
+ },
25
+ {
26
+ indexed: false,
27
+ internalType: "uint256",
28
+ name: "amount",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "SetTradeAllowed",
33
+ type: "event",
34
+ },
35
+ {
36
+ inputs: [],
37
+ name: "isTradeAllowed",
38
+ outputs: [
39
+ {
40
+ internalType: "bool",
41
+ name: "",
42
+ type: "bool",
43
+ },
44
+ ],
45
+ stateMutability: "view",
46
+ type: "function",
47
+ },
48
+ {
49
+ inputs: [
50
+ {
51
+ internalType: "address",
52
+ name: "market",
53
+ type: "address",
54
+ },
55
+ {
56
+ internalType: "enum ITracker.InputType",
57
+ name: "inputType",
58
+ type: "uint8",
59
+ },
60
+ {
61
+ internalType: "uint256",
62
+ name: "amount",
63
+ type: "uint256",
64
+ },
65
+ ],
66
+ name: "record",
67
+ outputs: [],
68
+ stateMutability: "nonpayable",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "releaseRecord",
74
+ outputs: [],
75
+ stateMutability: "nonpayable",
76
+ type: "function",
77
+ },
78
+ {
79
+ inputs: [
80
+ {
81
+ internalType: "address[]",
82
+ name: "markets",
83
+ type: "address[]",
84
+ },
85
+ {
86
+ internalType: "enum ITracker.InputType[]",
87
+ name: "inputTypes",
88
+ type: "uint8[]",
89
+ },
90
+ {
91
+ internalType: "uint256[]",
92
+ name: "amounts",
93
+ type: "uint256[]",
94
+ },
95
+ ],
96
+ name: "setMinTradeAllowed",
97
+ outputs: [],
98
+ stateMutability: "nonpayable",
99
+ type: "function",
100
+ },
101
+ ];
102
+
103
+ export class ITracker__factory {
104
+ static readonly abi = _abi;
105
+ static createInterface(): ITrackerInterface {
106
+ return new utils.Interface(_abi) as ITrackerInterface;
107
+ }
108
+ static connect(
109
+ address: string,
110
+ signerOrProvider: Signer | Provider
111
+ ): ITracker {
112
+ return new Contract(address, _abi, signerOrProvider) as ITracker;
113
+ }
114
+ }