@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,1069 @@
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
+ LimitRouterBase,
9
+ LimitRouterBaseInterface,
10
+ } from "../LimitRouterBase";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [],
16
+ name: "EIP712DomainChanged",
17
+ type: "event",
18
+ },
19
+ {
20
+ anonymous: false,
21
+ inputs: [
22
+ {
23
+ indexed: false,
24
+ internalType: "uint8",
25
+ name: "version",
26
+ type: "uint8",
27
+ },
28
+ ],
29
+ name: "Initialized",
30
+ type: "event",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: false,
37
+ internalType: "address[]",
38
+ name: "YTs",
39
+ type: "address[]",
40
+ },
41
+ {
42
+ indexed: false,
43
+ internalType: "uint256[]",
44
+ name: "lnFeeRateRoots",
45
+ type: "uint256[]",
46
+ },
47
+ ],
48
+ name: "LnFeeRateRootsSet",
49
+ type: "event",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ indexed: true,
56
+ internalType: "address",
57
+ name: "maker",
58
+ type: "address",
59
+ },
60
+ {
61
+ indexed: false,
62
+ internalType: "uint256",
63
+ name: "oldNonce",
64
+ type: "uint256",
65
+ },
66
+ {
67
+ indexed: false,
68
+ internalType: "uint256",
69
+ name: "newNonce",
70
+ type: "uint256",
71
+ },
72
+ ],
73
+ name: "NonceIncreased",
74
+ type: "event",
75
+ },
76
+ {
77
+ anonymous: false,
78
+ inputs: [
79
+ {
80
+ indexed: true,
81
+ internalType: "address",
82
+ name: "maker",
83
+ type: "address",
84
+ },
85
+ {
86
+ indexed: true,
87
+ internalType: "bytes32",
88
+ name: "orderHash",
89
+ type: "bytes32",
90
+ },
91
+ ],
92
+ name: "OrderCanceled",
93
+ type: "event",
94
+ },
95
+ {
96
+ anonymous: false,
97
+ inputs: [
98
+ {
99
+ indexed: true,
100
+ internalType: "bytes32",
101
+ name: "orderHash",
102
+ type: "bytes32",
103
+ },
104
+ {
105
+ indexed: true,
106
+ internalType: "enum IPLimitOrderType.OrderType",
107
+ name: "orderType",
108
+ type: "uint8",
109
+ },
110
+ {
111
+ indexed: true,
112
+ internalType: "address",
113
+ name: "YT",
114
+ type: "address",
115
+ },
116
+ {
117
+ indexed: false,
118
+ internalType: "address",
119
+ name: "token",
120
+ type: "address",
121
+ },
122
+ {
123
+ indexed: false,
124
+ internalType: "uint256",
125
+ name: "netInputFromMaker",
126
+ type: "uint256",
127
+ },
128
+ {
129
+ indexed: false,
130
+ internalType: "uint256",
131
+ name: "netOutputToMaker",
132
+ type: "uint256",
133
+ },
134
+ {
135
+ indexed: false,
136
+ internalType: "uint256",
137
+ name: "feeAmount",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ indexed: false,
142
+ internalType: "uint256",
143
+ name: "notionalVolume",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ name: "OrderFilled",
148
+ type: "event",
149
+ },
150
+ {
151
+ anonymous: false,
152
+ inputs: [
153
+ {
154
+ indexed: true,
155
+ internalType: "bytes32",
156
+ name: "orderHash",
157
+ type: "bytes32",
158
+ },
159
+ {
160
+ indexed: true,
161
+ internalType: "enum IPLimitOrderType.OrderType",
162
+ name: "orderType",
163
+ type: "uint8",
164
+ },
165
+ {
166
+ indexed: true,
167
+ internalType: "address",
168
+ name: "YT",
169
+ type: "address",
170
+ },
171
+ {
172
+ indexed: false,
173
+ internalType: "address",
174
+ name: "token",
175
+ type: "address",
176
+ },
177
+ {
178
+ indexed: false,
179
+ internalType: "uint256",
180
+ name: "netInputFromMaker",
181
+ type: "uint256",
182
+ },
183
+ {
184
+ indexed: false,
185
+ internalType: "uint256",
186
+ name: "netOutputToMaker",
187
+ type: "uint256",
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: "uint256",
192
+ name: "feeAmount",
193
+ type: "uint256",
194
+ },
195
+ {
196
+ indexed: false,
197
+ internalType: "uint256",
198
+ name: "notionalVolume",
199
+ type: "uint256",
200
+ },
201
+ {
202
+ indexed: false,
203
+ internalType: "address",
204
+ name: "maker",
205
+ type: "address",
206
+ },
207
+ {
208
+ indexed: false,
209
+ internalType: "address",
210
+ name: "taker",
211
+ type: "address",
212
+ },
213
+ ],
214
+ name: "OrderFilledV2",
215
+ type: "event",
216
+ },
217
+ {
218
+ anonymous: false,
219
+ inputs: [
220
+ {
221
+ indexed: true,
222
+ internalType: "address",
223
+ name: "previousOwner",
224
+ type: "address",
225
+ },
226
+ {
227
+ indexed: true,
228
+ internalType: "address",
229
+ name: "newOwner",
230
+ type: "address",
231
+ },
232
+ ],
233
+ name: "OwnershipTransferred",
234
+ type: "event",
235
+ },
236
+ {
237
+ inputs: [],
238
+ name: "DOMAIN_SEPARATOR",
239
+ outputs: [
240
+ {
241
+ internalType: "bytes32",
242
+ name: "",
243
+ type: "bytes32",
244
+ },
245
+ ],
246
+ stateMutability: "view",
247
+ type: "function",
248
+ },
249
+ {
250
+ inputs: [],
251
+ name: "WNATIVE",
252
+ outputs: [
253
+ {
254
+ internalType: "address",
255
+ name: "",
256
+ type: "address",
257
+ },
258
+ ],
259
+ stateMutability: "view",
260
+ type: "function",
261
+ },
262
+ {
263
+ inputs: [
264
+ {
265
+ components: [
266
+ {
267
+ internalType: "uint256",
268
+ name: "salt",
269
+ type: "uint256",
270
+ },
271
+ {
272
+ internalType: "uint256",
273
+ name: "expiry",
274
+ type: "uint256",
275
+ },
276
+ {
277
+ internalType: "uint256",
278
+ name: "nonce",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ internalType: "enum IPLimitOrderType.OrderType",
283
+ name: "orderType",
284
+ type: "uint8",
285
+ },
286
+ {
287
+ internalType: "address",
288
+ name: "token",
289
+ type: "address",
290
+ },
291
+ {
292
+ internalType: "address",
293
+ name: "YT",
294
+ type: "address",
295
+ },
296
+ {
297
+ internalType: "address",
298
+ name: "maker",
299
+ type: "address",
300
+ },
301
+ {
302
+ internalType: "address",
303
+ name: "receiver",
304
+ type: "address",
305
+ },
306
+ {
307
+ internalType: "uint256",
308
+ name: "makingAmount",
309
+ type: "uint256",
310
+ },
311
+ {
312
+ internalType: "uint256",
313
+ name: "lnImpliedRate",
314
+ type: "uint256",
315
+ },
316
+ {
317
+ internalType: "uint256",
318
+ name: "failSafeRate",
319
+ type: "uint256",
320
+ },
321
+ {
322
+ internalType: "bytes",
323
+ name: "permit",
324
+ type: "bytes",
325
+ },
326
+ ],
327
+ internalType: "struct Order",
328
+ name: "order",
329
+ type: "tuple",
330
+ },
331
+ {
332
+ internalType: "bytes",
333
+ name: "signature",
334
+ type: "bytes",
335
+ },
336
+ ],
337
+ name: "_checkSig",
338
+ outputs: [
339
+ {
340
+ internalType: "bytes32",
341
+ name: "",
342
+ type: "bytes32",
343
+ },
344
+ {
345
+ internalType: "uint256",
346
+ name: "",
347
+ type: "uint256",
348
+ },
349
+ {
350
+ internalType: "uint256",
351
+ name: "",
352
+ type: "uint256",
353
+ },
354
+ ],
355
+ stateMutability: "view",
356
+ type: "function",
357
+ },
358
+ {
359
+ inputs: [
360
+ {
361
+ internalType: "uint8",
362
+ name: "amount",
363
+ type: "uint8",
364
+ },
365
+ ],
366
+ name: "advanceNonce",
367
+ outputs: [],
368
+ stateMutability: "nonpayable",
369
+ type: "function",
370
+ },
371
+ {
372
+ inputs: [
373
+ {
374
+ components: [
375
+ {
376
+ internalType: "uint256",
377
+ name: "salt",
378
+ type: "uint256",
379
+ },
380
+ {
381
+ internalType: "uint256",
382
+ name: "expiry",
383
+ type: "uint256",
384
+ },
385
+ {
386
+ internalType: "uint256",
387
+ name: "nonce",
388
+ type: "uint256",
389
+ },
390
+ {
391
+ internalType: "enum IPLimitOrderType.OrderType",
392
+ name: "orderType",
393
+ type: "uint8",
394
+ },
395
+ {
396
+ internalType: "address",
397
+ name: "token",
398
+ type: "address",
399
+ },
400
+ {
401
+ internalType: "address",
402
+ name: "YT",
403
+ type: "address",
404
+ },
405
+ {
406
+ internalType: "address",
407
+ name: "maker",
408
+ type: "address",
409
+ },
410
+ {
411
+ internalType: "address",
412
+ name: "receiver",
413
+ type: "address",
414
+ },
415
+ {
416
+ internalType: "uint256",
417
+ name: "makingAmount",
418
+ type: "uint256",
419
+ },
420
+ {
421
+ internalType: "uint256",
422
+ name: "lnImpliedRate",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ internalType: "uint256",
427
+ name: "failSafeRate",
428
+ type: "uint256",
429
+ },
430
+ {
431
+ internalType: "bytes",
432
+ name: "permit",
433
+ type: "bytes",
434
+ },
435
+ ],
436
+ internalType: "struct Order[]",
437
+ name: "orders",
438
+ type: "tuple[]",
439
+ },
440
+ ],
441
+ name: "cancelBatch",
442
+ outputs: [],
443
+ stateMutability: "nonpayable",
444
+ type: "function",
445
+ },
446
+ {
447
+ inputs: [
448
+ {
449
+ components: [
450
+ {
451
+ internalType: "uint256",
452
+ name: "salt",
453
+ type: "uint256",
454
+ },
455
+ {
456
+ internalType: "uint256",
457
+ name: "expiry",
458
+ type: "uint256",
459
+ },
460
+ {
461
+ internalType: "uint256",
462
+ name: "nonce",
463
+ type: "uint256",
464
+ },
465
+ {
466
+ internalType: "enum IPLimitOrderType.OrderType",
467
+ name: "orderType",
468
+ type: "uint8",
469
+ },
470
+ {
471
+ internalType: "address",
472
+ name: "token",
473
+ type: "address",
474
+ },
475
+ {
476
+ internalType: "address",
477
+ name: "YT",
478
+ type: "address",
479
+ },
480
+ {
481
+ internalType: "address",
482
+ name: "maker",
483
+ type: "address",
484
+ },
485
+ {
486
+ internalType: "address",
487
+ name: "receiver",
488
+ type: "address",
489
+ },
490
+ {
491
+ internalType: "uint256",
492
+ name: "makingAmount",
493
+ type: "uint256",
494
+ },
495
+ {
496
+ internalType: "uint256",
497
+ name: "lnImpliedRate",
498
+ type: "uint256",
499
+ },
500
+ {
501
+ internalType: "uint256",
502
+ name: "failSafeRate",
503
+ type: "uint256",
504
+ },
505
+ {
506
+ internalType: "bytes",
507
+ name: "permit",
508
+ type: "bytes",
509
+ },
510
+ ],
511
+ internalType: "struct Order",
512
+ name: "order",
513
+ type: "tuple",
514
+ },
515
+ ],
516
+ name: "cancelSingle",
517
+ outputs: [],
518
+ stateMutability: "nonpayable",
519
+ type: "function",
520
+ },
521
+ {
522
+ inputs: [],
523
+ name: "claimOwnership",
524
+ outputs: [],
525
+ stateMutability: "nonpayable",
526
+ type: "function",
527
+ },
528
+ {
529
+ inputs: [],
530
+ name: "eip712Domain",
531
+ outputs: [
532
+ {
533
+ internalType: "bytes1",
534
+ name: "fields",
535
+ type: "bytes1",
536
+ },
537
+ {
538
+ internalType: "string",
539
+ name: "name",
540
+ type: "string",
541
+ },
542
+ {
543
+ internalType: "string",
544
+ name: "version",
545
+ type: "string",
546
+ },
547
+ {
548
+ internalType: "uint256",
549
+ name: "chainId",
550
+ type: "uint256",
551
+ },
552
+ {
553
+ internalType: "address",
554
+ name: "verifyingContract",
555
+ type: "address",
556
+ },
557
+ {
558
+ internalType: "bytes32",
559
+ name: "salt",
560
+ type: "bytes32",
561
+ },
562
+ {
563
+ internalType: "uint256[]",
564
+ name: "extensions",
565
+ type: "uint256[]",
566
+ },
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function",
570
+ },
571
+ {
572
+ inputs: [],
573
+ name: "feeRecipient",
574
+ outputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "",
578
+ type: "address",
579
+ },
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function",
583
+ },
584
+ {
585
+ inputs: [
586
+ {
587
+ components: [
588
+ {
589
+ components: [
590
+ {
591
+ internalType: "uint256",
592
+ name: "salt",
593
+ type: "uint256",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "expiry",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ internalType: "uint256",
602
+ name: "nonce",
603
+ type: "uint256",
604
+ },
605
+ {
606
+ internalType: "enum IPLimitOrderType.OrderType",
607
+ name: "orderType",
608
+ type: "uint8",
609
+ },
610
+ {
611
+ internalType: "address",
612
+ name: "token",
613
+ type: "address",
614
+ },
615
+ {
616
+ internalType: "address",
617
+ name: "YT",
618
+ type: "address",
619
+ },
620
+ {
621
+ internalType: "address",
622
+ name: "maker",
623
+ type: "address",
624
+ },
625
+ {
626
+ internalType: "address",
627
+ name: "receiver",
628
+ type: "address",
629
+ },
630
+ {
631
+ internalType: "uint256",
632
+ name: "makingAmount",
633
+ type: "uint256",
634
+ },
635
+ {
636
+ internalType: "uint256",
637
+ name: "lnImpliedRate",
638
+ type: "uint256",
639
+ },
640
+ {
641
+ internalType: "uint256",
642
+ name: "failSafeRate",
643
+ type: "uint256",
644
+ },
645
+ {
646
+ internalType: "bytes",
647
+ name: "permit",
648
+ type: "bytes",
649
+ },
650
+ ],
651
+ internalType: "struct Order",
652
+ name: "order",
653
+ type: "tuple",
654
+ },
655
+ {
656
+ internalType: "bytes",
657
+ name: "signature",
658
+ type: "bytes",
659
+ },
660
+ {
661
+ internalType: "uint256",
662
+ name: "makingAmount",
663
+ type: "uint256",
664
+ },
665
+ ],
666
+ internalType: "struct FillOrderParams[]",
667
+ name: "params",
668
+ type: "tuple[]",
669
+ },
670
+ {
671
+ internalType: "address",
672
+ name: "receiver",
673
+ type: "address",
674
+ },
675
+ {
676
+ internalType: "uint256",
677
+ name: "maxTaking",
678
+ type: "uint256",
679
+ },
680
+ {
681
+ internalType: "bytes",
682
+ name: "",
683
+ type: "bytes",
684
+ },
685
+ {
686
+ internalType: "bytes",
687
+ name: "callback",
688
+ type: "bytes",
689
+ },
690
+ ],
691
+ name: "fill",
692
+ outputs: [
693
+ {
694
+ internalType: "uint256",
695
+ name: "actualMaking",
696
+ type: "uint256",
697
+ },
698
+ {
699
+ internalType: "uint256",
700
+ name: "actualTaking",
701
+ type: "uint256",
702
+ },
703
+ {
704
+ internalType: "uint256",
705
+ name: "totalFee",
706
+ type: "uint256",
707
+ },
708
+ {
709
+ internalType: "bytes",
710
+ name: "callbackReturn",
711
+ type: "bytes",
712
+ },
713
+ ],
714
+ stateMutability: "nonpayable",
715
+ type: "function",
716
+ },
717
+ {
718
+ inputs: [
719
+ {
720
+ internalType: "address",
721
+ name: "YT",
722
+ type: "address",
723
+ },
724
+ ],
725
+ name: "getLnFeeRateRoot",
726
+ outputs: [
727
+ {
728
+ internalType: "uint256",
729
+ name: "res",
730
+ type: "uint256",
731
+ },
732
+ ],
733
+ stateMutability: "view",
734
+ type: "function",
735
+ },
736
+ {
737
+ inputs: [
738
+ {
739
+ components: [
740
+ {
741
+ internalType: "uint256",
742
+ name: "salt",
743
+ type: "uint256",
744
+ },
745
+ {
746
+ internalType: "uint256",
747
+ name: "expiry",
748
+ type: "uint256",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "nonce",
753
+ type: "uint256",
754
+ },
755
+ {
756
+ internalType: "enum IPLimitOrderType.OrderType",
757
+ name: "orderType",
758
+ type: "uint8",
759
+ },
760
+ {
761
+ internalType: "address",
762
+ name: "token",
763
+ type: "address",
764
+ },
765
+ {
766
+ internalType: "address",
767
+ name: "YT",
768
+ type: "address",
769
+ },
770
+ {
771
+ internalType: "address",
772
+ name: "maker",
773
+ type: "address",
774
+ },
775
+ {
776
+ internalType: "address",
777
+ name: "receiver",
778
+ type: "address",
779
+ },
780
+ {
781
+ internalType: "uint256",
782
+ name: "makingAmount",
783
+ type: "uint256",
784
+ },
785
+ {
786
+ internalType: "uint256",
787
+ name: "lnImpliedRate",
788
+ type: "uint256",
789
+ },
790
+ {
791
+ internalType: "uint256",
792
+ name: "failSafeRate",
793
+ type: "uint256",
794
+ },
795
+ {
796
+ internalType: "bytes",
797
+ name: "permit",
798
+ type: "bytes",
799
+ },
800
+ ],
801
+ internalType: "struct Order",
802
+ name: "order",
803
+ type: "tuple",
804
+ },
805
+ ],
806
+ name: "hashOrder",
807
+ outputs: [
808
+ {
809
+ internalType: "bytes32",
810
+ name: "",
811
+ type: "bytes32",
812
+ },
813
+ ],
814
+ stateMutability: "view",
815
+ type: "function",
816
+ },
817
+ {
818
+ inputs: [],
819
+ name: "increaseNonce",
820
+ outputs: [],
821
+ stateMutability: "nonpayable",
822
+ type: "function",
823
+ },
824
+ {
825
+ inputs: [
826
+ {
827
+ internalType: "address",
828
+ name: "_feeRecipient",
829
+ type: "address",
830
+ },
831
+ ],
832
+ name: "initialize",
833
+ outputs: [],
834
+ stateMutability: "nonpayable",
835
+ type: "function",
836
+ },
837
+ {
838
+ inputs: [
839
+ {
840
+ internalType: "address",
841
+ name: "",
842
+ type: "address",
843
+ },
844
+ ],
845
+ name: "nonce",
846
+ outputs: [
847
+ {
848
+ internalType: "uint256",
849
+ name: "",
850
+ type: "uint256",
851
+ },
852
+ ],
853
+ stateMutability: "view",
854
+ type: "function",
855
+ },
856
+ {
857
+ inputs: [
858
+ {
859
+ internalType: "address",
860
+ name: "makerAddress",
861
+ type: "address",
862
+ },
863
+ {
864
+ internalType: "uint256",
865
+ name: "makerNonce",
866
+ type: "uint256",
867
+ },
868
+ ],
869
+ name: "nonceEquals",
870
+ outputs: [
871
+ {
872
+ internalType: "bool",
873
+ name: "",
874
+ type: "bool",
875
+ },
876
+ ],
877
+ stateMutability: "view",
878
+ type: "function",
879
+ },
880
+ {
881
+ inputs: [
882
+ {
883
+ internalType: "bytes32[]",
884
+ name: "orderHashes",
885
+ type: "bytes32[]",
886
+ },
887
+ ],
888
+ name: "orderStatuses",
889
+ outputs: [
890
+ {
891
+ internalType: "uint256[]",
892
+ name: "remainings",
893
+ type: "uint256[]",
894
+ },
895
+ {
896
+ internalType: "uint256[]",
897
+ name: "filledAmounts",
898
+ type: "uint256[]",
899
+ },
900
+ ],
901
+ stateMutability: "view",
902
+ type: "function",
903
+ },
904
+ {
905
+ inputs: [
906
+ {
907
+ internalType: "bytes32[]",
908
+ name: "orderHashes",
909
+ type: "bytes32[]",
910
+ },
911
+ ],
912
+ name: "orderStatusesRaw",
913
+ outputs: [
914
+ {
915
+ internalType: "uint256[]",
916
+ name: "remainingsRaw",
917
+ type: "uint256[]",
918
+ },
919
+ {
920
+ internalType: "uint256[]",
921
+ name: "filledAmounts",
922
+ type: "uint256[]",
923
+ },
924
+ ],
925
+ stateMutability: "view",
926
+ type: "function",
927
+ },
928
+ {
929
+ inputs: [],
930
+ name: "owner",
931
+ outputs: [
932
+ {
933
+ internalType: "address",
934
+ name: "",
935
+ type: "address",
936
+ },
937
+ ],
938
+ stateMutability: "view",
939
+ type: "function",
940
+ },
941
+ {
942
+ inputs: [],
943
+ name: "ownerHelper",
944
+ outputs: [
945
+ {
946
+ internalType: "address",
947
+ name: "",
948
+ type: "address",
949
+ },
950
+ ],
951
+ stateMutability: "view",
952
+ type: "function",
953
+ },
954
+ {
955
+ inputs: [],
956
+ name: "pendingOwner",
957
+ outputs: [
958
+ {
959
+ internalType: "address",
960
+ name: "",
961
+ type: "address",
962
+ },
963
+ ],
964
+ stateMutability: "view",
965
+ type: "function",
966
+ },
967
+ {
968
+ inputs: [
969
+ {
970
+ internalType: "address",
971
+ name: "_feeRecipient",
972
+ type: "address",
973
+ },
974
+ ],
975
+ name: "setFeeRecipient",
976
+ outputs: [],
977
+ stateMutability: "nonpayable",
978
+ type: "function",
979
+ },
980
+ {
981
+ inputs: [
982
+ {
983
+ internalType: "address[]",
984
+ name: "YTs",
985
+ type: "address[]",
986
+ },
987
+ {
988
+ internalType: "uint256[]",
989
+ name: "lnFeeRateRoots",
990
+ type: "uint256[]",
991
+ },
992
+ ],
993
+ name: "setLnFeeRateRoots",
994
+ outputs: [],
995
+ stateMutability: "nonpayable",
996
+ type: "function",
997
+ },
998
+ {
999
+ inputs: [
1000
+ {
1001
+ internalType: "address",
1002
+ name: "_helper",
1003
+ type: "address",
1004
+ },
1005
+ ],
1006
+ name: "setOwnerHelper",
1007
+ outputs: [],
1008
+ stateMutability: "nonpayable",
1009
+ type: "function",
1010
+ },
1011
+ {
1012
+ inputs: [
1013
+ {
1014
+ internalType: "address",
1015
+ name: "target",
1016
+ type: "address",
1017
+ },
1018
+ {
1019
+ internalType: "bytes",
1020
+ name: "data",
1021
+ type: "bytes",
1022
+ },
1023
+ ],
1024
+ name: "simulate",
1025
+ outputs: [],
1026
+ stateMutability: "payable",
1027
+ type: "function",
1028
+ },
1029
+ {
1030
+ inputs: [
1031
+ {
1032
+ internalType: "address",
1033
+ name: "newOwner",
1034
+ type: "address",
1035
+ },
1036
+ {
1037
+ internalType: "bool",
1038
+ name: "direct",
1039
+ type: "bool",
1040
+ },
1041
+ {
1042
+ internalType: "bool",
1043
+ name: "renounce",
1044
+ type: "bool",
1045
+ },
1046
+ ],
1047
+ name: "transferOwnership",
1048
+ outputs: [],
1049
+ stateMutability: "nonpayable",
1050
+ type: "function",
1051
+ },
1052
+ {
1053
+ stateMutability: "payable",
1054
+ type: "receive",
1055
+ },
1056
+ ];
1057
+
1058
+ export class LimitRouterBase__factory {
1059
+ static readonly abi = _abi;
1060
+ static createInterface(): LimitRouterBaseInterface {
1061
+ return new utils.Interface(_abi) as LimitRouterBaseInterface;
1062
+ }
1063
+ static connect(
1064
+ address: string,
1065
+ signerOrProvider: Signer | Provider
1066
+ ): LimitRouterBase {
1067
+ return new Contract(address, _abi, signerOrProvider) as LimitRouterBase;
1068
+ }
1069
+ }