@pendle/core-v2 3.0.0-beta-2 → 3.0.0-beta-3

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 (334) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  30. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  32. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  34. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  40. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
  42. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +2 -2
  44. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -2
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -2
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -2
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -2
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -2
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -2
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -2
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -2
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +2 -2
  120. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  122. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  124. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  126. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  128. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  130. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  131. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  132. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -50
  134. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +61 -1
  136. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +94 -20
  139. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +40 -0
  142. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +40 -0
  144. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +235 -21
  146. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +43 -139
  149. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.json +33 -139
  151. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  157. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  158. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  159. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  160. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  161. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
  162. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.json +47 -153
  163. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  167. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  169. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
  171. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  173. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  175. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  188. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  190. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  192. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  194. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  196. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  197. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +63 -3
  198. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  199. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +18 -22
  200. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  201. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  202. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  204. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  206. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  208. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  213. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  215. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +4 -0
  216. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.json +69 -0
  217. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  219. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  220. package/contracts/core/libraries/Errors.sol +0 -3
  221. package/contracts/interfaces/IPActionAddRemoveLiq.sol +1 -1
  222. package/contracts/interfaces/IPActionMisc.sol +9 -2
  223. package/contracts/interfaces/IPLimitRouter.sol +15 -30
  224. package/contracts/limit/LimitMathCore.sol +54 -31
  225. package/contracts/limit/PendleLimitRouter.sol +3 -3
  226. package/contracts/limit/PendleOrderMixin.sol +172 -182
  227. package/contracts/router/ActionAddRemoveLiq.sol +3 -3
  228. package/contracts/router/ActionMisc.sol +16 -22
  229. package/contracts/router/PendleRouter.sol +84 -74
  230. package/contracts/router/base/MarketApproxLib.sol +1 -1
  231. package/contracts/router/base/SimulateHelper.sol +33 -0
  232. package/package.json +1 -1
  233. package/typechain-types/ActionAddRemoveLiq.ts +13 -10
  234. package/typechain-types/ActionMisc.ts +40 -14
  235. package/typechain-types/ActionSwapPT.ts +7 -4
  236. package/typechain-types/ActionSwapYT.ts +7 -4
  237. package/typechain-types/IPActionAddRemoveLiq.ts +13 -10
  238. package/typechain-types/IPActionMisc.ts +84 -14
  239. package/typechain-types/IPActionSwapPT.ts +7 -4
  240. package/typechain-types/IPActionSwapYT.ts +7 -4
  241. package/typechain-types/IPAllAction.ts +105 -32
  242. package/typechain-types/IPLimitRouter.ts +46 -176
  243. package/typechain-types/IPOrderMixin.ts +44 -174
  244. package/typechain-types/PendleLimitRouter.ts +47 -177
  245. package/typechain-types/PendleOrderMixin.ts +45 -175
  246. package/typechain-types/SimulateHelper.ts +146 -0
  247. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +62 -2
  248. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  249. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  250. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  251. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  252. package/typechain-types/factories/ActionMisc__factory.ts +17 -21
  253. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  254. package/typechain-types/factories/ActionSwapPT__factory.ts +41 -1
  255. package/typechain-types/factories/ActionSwapYT__factory.ts +41 -1
  256. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  257. package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -1
  258. package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -1
  259. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  260. package/typechain-types/factories/Errors__factory.ts +1 -49
  261. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +61 -1
  262. package/typechain-types/factories/IPActionMisc__factory.ts +94 -20
  263. package/typechain-types/factories/IPActionSwapPT__factory.ts +40 -0
  264. package/typechain-types/factories/IPActionSwapYT__factory.ts +40 -0
  265. package/typechain-types/factories/IPAllAction__factory.ts +235 -21
  266. package/typechain-types/factories/IPLimitRouter__factory.ts +43 -139
  267. package/typechain-types/factories/IPOrderMixin__factory.ts +33 -139
  268. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  269. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -1
  270. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
  271. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
  272. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  273. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  274. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  275. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
  276. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  277. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -1
  278. package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -1
  279. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  280. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
  281. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  282. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  283. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  284. package/typechain-types/factories/PendleETHXSY__factory.ts +1 -1
  285. package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -1
  286. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
  287. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  288. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  289. package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -1
  290. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  291. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  292. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  293. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  294. package/typechain-types/factories/PendleHlpSY__factory.ts +1 -1
  295. package/typechain-types/factories/PendleLimitRouter__factory.ts +58 -154
  296. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  297. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  298. package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -1
  299. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
  300. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  301. package/typechain-types/factories/PendleMarketV2__factory.ts +1 -1
  302. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  303. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  304. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  305. package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
  306. package/typechain-types/factories/PendleOrderMixin__factory.ts +47 -153
  307. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  308. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  309. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  310. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  311. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  312. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  313. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  314. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  315. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  316. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  317. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  318. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  319. package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
  320. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  321. package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
  322. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  323. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  324. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  325. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  326. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  327. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  328. package/typechain-types/factories/SAPE__factory.ts +1 -1
  329. package/typechain-types/factories/SimulateHelper__factory.ts +84 -0
  330. package/typechain-types/factories/SwETHSY__factory.ts +1 -1
  331. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  332. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  333. package/typechain-types/hardhat.d.ts +9 -9
  334. package/typechain-types/index.ts +2 -2
@@ -6,61 +6,31 @@
6
6
  {
7
7
  "anonymous": false,
8
8
  "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "enum IPOrderMixinType.OrderType",
12
- "name": "orderType",
13
- "type": "uint8"
14
- },
15
9
  {
16
10
  "indexed": true,
17
11
  "internalType": "address",
18
- "name": "YT",
12
+ "name": "maker",
19
13
  "type": "address"
20
14
  },
21
15
  {
22
16
  "indexed": true,
23
- "internalType": "address",
24
- "name": "taker",
25
- "type": "address"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "netOutputToTaker",
31
- "type": "uint256"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "uint256",
36
- "name": "netInputFromTaker",
37
- "type": "uint256"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "uint256",
42
- "name": "totalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "uint256",
48
- "name": "rawTotalMaking",
49
- "type": "uint256"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "uint256",
54
- "name": "rawTotalTaking",
55
- "type": "uint256"
17
+ "internalType": "bytes32",
18
+ "name": "orderHash",
19
+ "type": "bytes32"
56
20
  }
57
21
  ],
58
- "name": "FlashFill",
22
+ "name": "OrderCanceled",
59
23
  "type": "event"
60
24
  },
61
25
  {
62
26
  "anonymous": false,
63
27
  "inputs": [
28
+ {
29
+ "indexed": true,
30
+ "internalType": "bytes32",
31
+ "name": "orderHash",
32
+ "type": "bytes32"
33
+ },
64
34
  {
65
35
  "indexed": true,
66
36
  "internalType": "enum IPOrderMixinType.OrderType",
@@ -74,87 +44,37 @@
74
44
  "type": "address"
75
45
  },
76
46
  {
77
- "indexed": true,
47
+ "indexed": false,
78
48
  "internalType": "address",
79
- "name": "taker",
49
+ "name": "token",
80
50
  "type": "address"
81
51
  },
82
52
  {
83
53
  "indexed": false,
84
54
  "internalType": "uint256",
85
- "name": "actualMaking",
86
- "type": "uint256"
87
- },
88
- {
89
- "indexed": false,
90
- "internalType": "uint256",
91
- "name": "actualTaking",
92
- "type": "uint256"
93
- },
94
- {
95
- "indexed": false,
96
- "internalType": "uint256",
97
- "name": "totalFee",
98
- "type": "uint256"
99
- },
100
- {
101
- "indexed": false,
102
- "internalType": "uint256",
103
- "name": "rawTotalMaking",
55
+ "name": "netInputFromMaker",
104
56
  "type": "uint256"
105
57
  },
106
58
  {
107
59
  "indexed": false,
108
60
  "internalType": "uint256",
109
- "name": "rawTotalTaking",
61
+ "name": "netOutputToMaker",
110
62
  "type": "uint256"
111
- }
112
- ],
113
- "name": "NormalFill",
114
- "type": "event"
115
- },
116
- {
117
- "anonymous": false,
118
- "inputs": [
119
- {
120
- "indexed": true,
121
- "internalType": "address",
122
- "name": "maker",
123
- "type": "address"
124
- },
125
- {
126
- "indexed": true,
127
- "internalType": "bytes32",
128
- "name": "orderHash",
129
- "type": "bytes32"
130
63
  },
131
64
  {
132
65
  "indexed": false,
133
66
  "internalType": "uint256",
134
- "name": "remaining",
67
+ "name": "feeAmount",
135
68
  "type": "uint256"
136
- }
137
- ],
138
- "name": "OrderCanceled",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "bytes32",
147
- "name": "orderHash",
148
- "type": "bytes32"
149
69
  },
150
70
  {
151
71
  "indexed": false,
152
72
  "internalType": "uint256",
153
- "name": "remaining",
73
+ "name": "notionalVolume",
154
74
  "type": "uint256"
155
75
  }
156
76
  ],
157
- "name": "OrderRemainingUpdated",
77
+ "name": "OrderFilled",
158
78
  "type": "event"
159
79
  },
160
80
  {
@@ -249,6 +169,11 @@
249
169
  "name": "lnImpliedRate",
250
170
  "type": "uint256"
251
171
  },
172
+ {
173
+ "internalType": "uint256",
174
+ "name": "failSafeRate",
175
+ "type": "uint256"
176
+ },
252
177
  {
253
178
  "internalType": "bytes",
254
179
  "name": "permit",
@@ -319,6 +244,11 @@
319
244
  "name": "lnImpliedRate",
320
245
  "type": "uint256"
321
246
  },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "failSafeRate",
250
+ "type": "uint256"
251
+ },
322
252
  {
323
253
  "internalType": "bytes",
324
254
  "name": "permit",
@@ -404,6 +334,11 @@
404
334
  "name": "lnImpliedRate",
405
335
  "type": "uint256"
406
336
  },
337
+ {
338
+ "internalType": "uint256",
339
+ "name": "failSafeRate",
340
+ "type": "uint256"
341
+ },
407
342
  {
408
343
  "internalType": "bytes",
409
344
  "name": "permit",
@@ -466,47 +401,6 @@
466
401
  "stateMutability": "nonpayable",
467
402
  "type": "function"
468
403
  },
469
- {
470
- "inputs": [
471
- {
472
- "internalType": "address",
473
- "name": "YT",
474
- "type": "address"
475
- }
476
- ],
477
- "name": "getOnchainParams",
478
- "outputs": [
479
- {
480
- "components": [
481
- {
482
- "internalType": "uint256",
483
- "name": "timeToExpiry",
484
- "type": "uint256"
485
- },
486
- {
487
- "internalType": "uint256",
488
- "name": "pyIndex",
489
- "type": "uint256"
490
- },
491
- {
492
- "internalType": "address",
493
- "name": "feeRecipient",
494
- "type": "address"
495
- },
496
- {
497
- "internalType": "uint256",
498
- "name": "lnFeeRateRoot",
499
- "type": "uint256"
500
- }
501
- ],
502
- "internalType": "struct IPOrderMixinType.OnchainParams",
503
- "name": "",
504
- "type": "tuple"
505
- }
506
- ],
507
- "stateMutability": "nonpayable",
508
- "type": "function"
509
- },
510
404
  {
511
405
  "inputs": [
512
406
  {
@@ -561,6 +455,11 @@
561
455
  "name": "lnImpliedRate",
562
456
  "type": "uint256"
563
457
  },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "failSafeRate",
461
+ "type": "uint256"
462
+ },
564
463
  {
565
464
  "internalType": "bytes",
566
465
  "name": "permit",
@@ -652,6 +551,11 @@
652
551
  "name": "lnImpliedRate",
653
552
  "type": "uint256"
654
553
  },
554
+ {
555
+ "internalType": "uint256",
556
+ "name": "failSafeRate",
557
+ "type": "uint256"
558
+ },
655
559
  {
656
560
  "internalType": "bytes",
657
561
  "name": "permit",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -6,61 +6,31 @@
6
6
  {
7
7
  "anonymous": false,
8
8
  "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "enum IPOrderMixinType.OrderType",
12
- "name": "orderType",
13
- "type": "uint8"
14
- },
15
9
  {
16
10
  "indexed": true,
17
11
  "internalType": "address",
18
- "name": "YT",
12
+ "name": "maker",
19
13
  "type": "address"
20
14
  },
21
15
  {
22
16
  "indexed": true,
23
- "internalType": "address",
24
- "name": "taker",
25
- "type": "address"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "netOutputToTaker",
31
- "type": "uint256"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "uint256",
36
- "name": "netInputFromTaker",
37
- "type": "uint256"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "uint256",
42
- "name": "totalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "uint256",
48
- "name": "rawTotalMaking",
49
- "type": "uint256"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "uint256",
54
- "name": "rawTotalTaking",
55
- "type": "uint256"
17
+ "internalType": "bytes32",
18
+ "name": "orderHash",
19
+ "type": "bytes32"
56
20
  }
57
21
  ],
58
- "name": "FlashFill",
22
+ "name": "OrderCanceled",
59
23
  "type": "event"
60
24
  },
61
25
  {
62
26
  "anonymous": false,
63
27
  "inputs": [
28
+ {
29
+ "indexed": true,
30
+ "internalType": "bytes32",
31
+ "name": "orderHash",
32
+ "type": "bytes32"
33
+ },
64
34
  {
65
35
  "indexed": true,
66
36
  "internalType": "enum IPOrderMixinType.OrderType",
@@ -74,87 +44,37 @@
74
44
  "type": "address"
75
45
  },
76
46
  {
77
- "indexed": true,
47
+ "indexed": false,
78
48
  "internalType": "address",
79
- "name": "taker",
49
+ "name": "token",
80
50
  "type": "address"
81
51
  },
82
52
  {
83
53
  "indexed": false,
84
54
  "internalType": "uint256",
85
- "name": "actualMaking",
86
- "type": "uint256"
87
- },
88
- {
89
- "indexed": false,
90
- "internalType": "uint256",
91
- "name": "actualTaking",
92
- "type": "uint256"
93
- },
94
- {
95
- "indexed": false,
96
- "internalType": "uint256",
97
- "name": "totalFee",
98
- "type": "uint256"
99
- },
100
- {
101
- "indexed": false,
102
- "internalType": "uint256",
103
- "name": "rawTotalMaking",
55
+ "name": "netInputFromMaker",
104
56
  "type": "uint256"
105
57
  },
106
58
  {
107
59
  "indexed": false,
108
60
  "internalType": "uint256",
109
- "name": "rawTotalTaking",
61
+ "name": "netOutputToMaker",
110
62
  "type": "uint256"
111
- }
112
- ],
113
- "name": "NormalFill",
114
- "type": "event"
115
- },
116
- {
117
- "anonymous": false,
118
- "inputs": [
119
- {
120
- "indexed": true,
121
- "internalType": "address",
122
- "name": "maker",
123
- "type": "address"
124
- },
125
- {
126
- "indexed": true,
127
- "internalType": "bytes32",
128
- "name": "orderHash",
129
- "type": "bytes32"
130
63
  },
131
64
  {
132
65
  "indexed": false,
133
66
  "internalType": "uint256",
134
- "name": "remaining",
67
+ "name": "feeAmount",
135
68
  "type": "uint256"
136
- }
137
- ],
138
- "name": "OrderCanceled",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "bytes32",
147
- "name": "orderHash",
148
- "type": "bytes32"
149
69
  },
150
70
  {
151
71
  "indexed": false,
152
72
  "internalType": "uint256",
153
- "name": "remaining",
73
+ "name": "notionalVolume",
154
74
  "type": "uint256"
155
75
  }
156
76
  ],
157
- "name": "OrderRemainingUpdated",
77
+ "name": "OrderFilled",
158
78
  "type": "event"
159
79
  },
160
80
  {
@@ -226,6 +146,11 @@
226
146
  "name": "lnImpliedRate",
227
147
  "type": "uint256"
228
148
  },
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "failSafeRate",
152
+ "type": "uint256"
153
+ },
229
154
  {
230
155
  "internalType": "bytes",
231
156
  "name": "permit",
@@ -288,47 +213,6 @@
288
213
  "stateMutability": "nonpayable",
289
214
  "type": "function"
290
215
  },
291
- {
292
- "inputs": [
293
- {
294
- "internalType": "address",
295
- "name": "YT",
296
- "type": "address"
297
- }
298
- ],
299
- "name": "getOnchainParams",
300
- "outputs": [
301
- {
302
- "components": [
303
- {
304
- "internalType": "uint256",
305
- "name": "timeToExpiry",
306
- "type": "uint256"
307
- },
308
- {
309
- "internalType": "uint256",
310
- "name": "pyIndex",
311
- "type": "uint256"
312
- },
313
- {
314
- "internalType": "address",
315
- "name": "feeRecipient",
316
- "type": "address"
317
- },
318
- {
319
- "internalType": "uint256",
320
- "name": "lnFeeRateRoot",
321
- "type": "uint256"
322
- }
323
- ],
324
- "internalType": "struct IPOrderMixinType.OnchainParams",
325
- "name": "",
326
- "type": "tuple"
327
- }
328
- ],
329
- "stateMutability": "nonpayable",
330
- "type": "function"
331
- },
332
216
  {
333
217
  "inputs": [
334
218
  {
@@ -383,6 +267,11 @@
383
267
  "name": "lnImpliedRate",
384
268
  "type": "uint256"
385
269
  },
270
+ {
271
+ "internalType": "uint256",
272
+ "name": "failSafeRate",
273
+ "type": "uint256"
274
+ },
386
275
  {
387
276
  "internalType": "bytes",
388
277
  "name": "permit",
@@ -474,6 +363,11 @@
474
363
  "name": "lnImpliedRate",
475
364
  "type": "uint256"
476
365
  },
366
+ {
367
+ "internalType": "uint256",
368
+ "name": "failSafeRate",
369
+ "type": "uint256"
370
+ },
477
371
  {
478
372
  "internalType": "bytes",
479
373
  "name": "permit",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ed2177406f6bacea02ff5327d30cc9ef.json"
3
+ "buildInfo": "../../../build-info/82824d152422f5376742bb6f8a3b82e1.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "LimitMathCore",
4
4
  "sourceName": "contracts/limit/LimitMathCore.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206d6ee0e7fcf149c35cc836e9dd0dc09da07799f98b20abe59938aa3e567f148864736f6c63430008150033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206d6ee0e7fcf149c35cc836e9dd0dc09da07799f98b20abe59938aa3e567f148864736f6c63430008150033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2a553087b8cbdde9f46263e643993b38415754232a9a88bbbd819080783ad8f64736f6c63430008150033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2a553087b8cbdde9f46263e643993b38415754232a9a88bbbd819080783ad8f64736f6c63430008150033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b92e43bf2847928d134c479982c366d4.json"
3
+ "buildInfo": "../../../build-info/4bbd8902c8c8b71c7429a47343782f55.json"
4
4
  }