@pendle/core-v2 5.5.0 → 5.7.0-sonic

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