@pendle/core-v2 0.16.6-testnet → 0.17.0-daily

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 (329) 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/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +16 -5
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -13
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -53
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +25 -13
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +221 -50
  49. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  51. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1144 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1209 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +3 -82
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +142 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +997 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
  75. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +83 -10
  80. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
  82. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  84. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  86. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +3 -38
  88. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  90. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  93. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +105 -31
  95. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
  97. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
  99. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
  101. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +1 -1
  103. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
  105. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
  107. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +8 -8
  109. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +18 -18
  111. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +2 -2
  115. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +28 -28
  117. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -38
  119. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +17 -5
  122. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +50 -19
  124. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +7 -7
  130. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +13 -0
  132. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  133. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  135. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +58 -2
  137. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -46
  139. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +138 -62
  141. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  142. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +11 -11
  143. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  145. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +20 -20
  147. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  149. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  151. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +3 -3
  153. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +4 -4
  155. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -186
  157. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  160. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  161. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  162. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  163. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  164. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  165. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
  166. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
  167. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -6
  168. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
  169. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
  170. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +10 -5
  171. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -6
  172. package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +0 -5
  173. package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
  174. package/contracts/core/BulkSeller/BulkSeller.sol +0 -15
  175. package/contracts/core/BulkSeller/BulkSellerFactory.sol +7 -6
  176. package/contracts/core/Market/MarketMathCore.sol +52 -11
  177. package/contracts/core/Market/PendleMarket.sol +35 -22
  178. package/contracts/core/Market/PendleMarketFactory.sol +67 -35
  179. package/contracts/core/StandardizedYield/SYBase.sol +26 -3
  180. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
  181. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
  182. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
  183. package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
  184. package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
  185. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +46 -26
  186. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
  187. package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +0 -0
  188. package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +128 -0
  189. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
  190. package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +30 -12
  191. package/contracts/core/YieldContracts/PendleYieldToken.sol +79 -22
  192. package/contracts/core/erc20/PendleERC20.sol +4 -7
  193. package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
  194. package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
  195. package/contracts/core/libraries/Errors.sol +12 -2
  196. package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
  197. package/contracts/interfaces/Curve/ICrvPool.sol +3 -4
  198. package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
  199. package/contracts/interfaces/IERC4626.sol +1 -1
  200. package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
  201. package/contracts/interfaces/ILooksStaking.sol +13 -0
  202. package/contracts/interfaces/IPActionAddRemoveLiq.sol +4 -4
  203. package/contracts/interfaces/IPActionMintRedeem.sol +8 -8
  204. package/contracts/interfaces/IPActionSwapYT.sol +2 -2
  205. package/contracts/interfaces/IPBulkSeller.sol +0 -4
  206. package/contracts/interfaces/IPMarket.sol +20 -4
  207. package/contracts/interfaces/IPMarketFactory.sol +15 -5
  208. package/contracts/interfaces/IPMsgSendEndpoint.sol +1 -1
  209. package/contracts/interfaces/IPYieldContractFactory.sol +2 -2
  210. package/contracts/interfaces/IPYieldToken.sol +2 -0
  211. package/contracts/interfaces/IStandardizedYield.sol +15 -10
  212. package/contracts/offchain-helpers/BulkSellerOffchain.sol +17 -8
  213. package/contracts/offchain-helpers/MarketMathStatic.sol +35 -96
  214. package/contracts/offchain-helpers/RouterStatic.sol +49 -9
  215. package/contracts/router/ActionAddRemoveLiq.sol +102 -10
  216. package/contracts/router/ActionMintRedeem.sol +44 -4
  217. package/contracts/router/ActionSwapPT.sol +41 -11
  218. package/contracts/router/ActionSwapPTYT.sol +32 -7
  219. package/contracts/router/ActionSwapYT.sol +49 -33
  220. package/contracts/router/PendleRouter.sol +3 -11
  221. package/contracts/router/base/MarketApproxLib.sol +61 -21
  222. package/deployments/43113-core.json +19 -14
  223. package/deployments/43113-markets/WETH-FEB-2ND.json +10 -0
  224. package/deployments/43113-testenv.json +1 -2
  225. package/package.json +7 -7
  226. package/typechain-types/ActionAddRemoveLiq.ts +18 -18
  227. package/typechain-types/ActionMintRedeem.ts +30 -30
  228. package/typechain-types/ActionSwapPTYT.ts +5 -5
  229. package/typechain-types/ActionSwapYT.ts +5 -5
  230. package/typechain-types/BulkSeller.ts +0 -87
  231. package/typechain-types/BulkSellerOffchain.ts +74 -0
  232. package/typechain-types/IBooster.ts +9 -3
  233. package/typechain-types/ICrvPool.ts +4 -9
  234. package/typechain-types/IERC4626.ts +5 -5
  235. package/typechain-types/IPActionAddRemoveLiq.ts +13 -13
  236. package/typechain-types/IPActionMintRedeem.ts +30 -30
  237. package/typechain-types/IPActionSwapYT.ts +5 -5
  238. package/typechain-types/IPAllAction.ts +48 -48
  239. package/typechain-types/IPBulkSeller.ts +0 -68
  240. package/typechain-types/IPMarket.ts +26 -16
  241. package/typechain-types/IPMarketFactory.ts +70 -37
  242. package/typechain-types/IPMsgSendEndpoint.ts +1 -1
  243. package/typechain-types/IPYieldContractFactory.ts +11 -11
  244. package/typechain-types/IPYieldToken.ts +21 -0
  245. package/typechain-types/MarketMathStatic.ts +0 -67
  246. package/typechain-types/PendleConvexLPSY.ts +204 -0
  247. package/typechain-types/PendleMarket.ts +26 -16
  248. package/typechain-types/PendleMarketFactory.ts +316 -92
  249. package/typechain-types/PendleQiTokenSY.ts +204 -0
  250. package/typechain-types/PendleRouter.ts +3 -287
  251. package/typechain-types/PendleWstEthSY.ts +204 -0
  252. package/typechain-types/PendleYieldContractFactory.ts +63 -18
  253. package/typechain-types/PendleYieldToken.ts +42 -0
  254. package/typechain-types/RouterStatic.ts +65 -7
  255. package/typechain-types/SYBase.ts +204 -0
  256. package/typechain-types/SYBaseWithRewards.ts +204 -0
  257. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -8
  258. package/typechain-types/VotingEscrowTokenBase.ts +0 -21
  259. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +10 -10
  260. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  261. package/typechain-types/factories/ActionMintRedeem__factory.ts +19 -19
  262. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  263. package/typechain-types/factories/ActionSwapPTYT__factory.ts +2 -2
  264. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  265. package/typechain-types/factories/ActionSwapYT__factory.ts +3 -3
  266. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  267. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  268. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  269. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  270. package/typechain-types/factories/BulkSellerOffchain__factory.ts +57 -1
  271. package/typechain-types/factories/BulkSeller__factory.ts +1 -52
  272. package/typechain-types/factories/Errors__factory.ts +104 -30
  273. package/typechain-types/factories/IBooster__factory.ts +1 -1
  274. package/typechain-types/factories/ICrvPool__factory.ts +14 -7
  275. package/typechain-types/factories/IERC4626__factory.ts +1 -1
  276. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +8 -8
  277. package/typechain-types/factories/IPActionMintRedeem__factory.ts +18 -18
  278. package/typechain-types/factories/IPActionSwapYT__factory.ts +2 -2
  279. package/typechain-types/factories/IPAllAction__factory.ts +28 -28
  280. package/typechain-types/factories/IPBulkSeller__factory.ts +0 -38
  281. package/typechain-types/factories/IPMarketFactory__factory.ts +50 -19
  282. package/typechain-types/factories/IPMarket__factory.ts +17 -5
  283. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +1 -1
  284. package/typechain-types/factories/IPYieldContractFactory__factory.ts +7 -7
  285. package/typechain-types/factories/IPYieldToken__factory.ts +13 -0
  286. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -45
  287. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  288. package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
  289. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  290. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  291. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  292. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  293. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  294. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  295. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  296. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  297. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  298. package/typechain-types/factories/PendleMarketFactory__factory.ts +220 -49
  299. package/typechain-types/factories/PendleMarket__factory.ts +18 -6
  300. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  301. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  302. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  303. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  304. package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
  305. package/typechain-types/factories/PendleRouter__factory.ts +1 -185
  306. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  307. package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
  308. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +82 -9
  309. package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
  310. package/typechain-types/factories/RouterStatic__factory.ts +79 -3
  311. package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
  312. package/typechain-types/factories/SYBase__factory.ts +141 -0
  313. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  314. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +15 -4
  315. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +0 -13
  316. package/typechain-types/hardhat.d.ts +0 -36
  317. package/typechain-types/index.ts +0 -6
  318. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
  319. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
  320. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
  321. package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -30
  322. package/deployments/43113-markets/QIWBTC-3RD-FEB.json +0 -11
  323. package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +0 -9
  324. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  325. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -9
  326. package/deployments/80001-core.json +0 -16
  327. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  328. package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
  329. package/deployments/80001-testenv.json +0 -22
@@ -184,7 +184,7 @@ export interface IERC4626 extends BaseContract {
184
184
  name(overrides?: CallOverrides): Promise<[string]>;
185
185
 
186
186
  redeem(
187
- assets: BigNumberish,
187
+ shares: BigNumberish,
188
188
  receiver: string,
189
189
  owner: string,
190
190
  overrides?: Overrides & { from?: string | Promise<string> }
@@ -240,7 +240,7 @@ export interface IERC4626 extends BaseContract {
240
240
  name(overrides?: CallOverrides): Promise<string>;
241
241
 
242
242
  redeem(
243
- assets: BigNumberish,
243
+ shares: BigNumberish,
244
244
  receiver: string,
245
245
  owner: string,
246
246
  overrides?: Overrides & { from?: string | Promise<string> }
@@ -296,7 +296,7 @@ export interface IERC4626 extends BaseContract {
296
296
  name(overrides?: CallOverrides): Promise<string>;
297
297
 
298
298
  redeem(
299
- assets: BigNumberish,
299
+ shares: BigNumberish,
300
300
  receiver: string,
301
301
  owner: string,
302
302
  overrides?: CallOverrides
@@ -377,7 +377,7 @@ export interface IERC4626 extends BaseContract {
377
377
  name(overrides?: CallOverrides): Promise<BigNumber>;
378
378
 
379
379
  redeem(
380
- assets: BigNumberish,
380
+ shares: BigNumberish,
381
381
  receiver: string,
382
382
  owner: string,
383
383
  overrides?: Overrides & { from?: string | Promise<string> }
@@ -437,7 +437,7 @@ export interface IERC4626 extends BaseContract {
437
437
  name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
438
438
 
439
439
  redeem(
440
- assets: BigNumberish,
440
+ shares: BigNumberish,
441
441
  receiver: string,
442
442
  owner: string,
443
443
  overrides?: Overrides & { from?: string | Promise<string> }
@@ -199,7 +199,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
199
199
  "AddLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
200
200
  "AddLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
201
201
  "RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
202
- "RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)": EventFragment;
202
+ "RemoveLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
203
203
  "RemoveLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
204
204
  "RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
205
205
  "RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
@@ -239,8 +239,8 @@ export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
239
239
  {
240
240
  caller: string;
241
241
  market: string;
242
- receiver: string;
243
242
  tokenIn: string;
243
+ receiver: string;
244
244
  netTokenUsed: BigNumber;
245
245
  netPtUsed: BigNumber;
246
246
  netLpOut: BigNumber;
@@ -309,14 +309,14 @@ export type RemoveLiquidityDualSyAndPtEventFilter =
309
309
  TypedEventFilter<RemoveLiquidityDualSyAndPtEvent>;
310
310
 
311
311
  export type RemoveLiquidityDualTokenAndPtEvent = TypedEvent<
312
- [string, string, string, BigNumber, BigNumber, string, BigNumber],
312
+ [string, string, string, string, BigNumber, BigNumber, BigNumber],
313
313
  {
314
314
  caller: string;
315
315
  market: string;
316
+ tokenOut: string;
316
317
  receiver: string;
317
318
  netLpToRemove: BigNumber;
318
319
  netPtOut: BigNumber;
319
- tokenOut: string;
320
320
  netTokenOut: BigNumber;
321
321
  }
322
322
  >;
@@ -711,8 +711,8 @@ export interface IPActionAddRemoveLiq extends BaseContract {
711
711
  "AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
712
712
  caller?: string | null,
713
713
  market?: string | null,
714
- receiver?: string | null,
715
- tokenIn?: null,
714
+ tokenIn?: string | null,
715
+ receiver?: null,
716
716
  netTokenUsed?: null,
717
717
  netPtUsed?: null,
718
718
  netLpOut?: null
@@ -720,8 +720,8 @@ export interface IPActionAddRemoveLiq extends BaseContract {
720
720
  AddLiquidityDualTokenAndPt(
721
721
  caller?: string | null,
722
722
  market?: string | null,
723
- receiver?: string | null,
724
- tokenIn?: null,
723
+ tokenIn?: string | null,
724
+ receiver?: null,
725
725
  netTokenUsed?: null,
726
726
  netPtUsed?: null,
727
727
  netLpOut?: null
@@ -791,22 +791,22 @@ export interface IPActionAddRemoveLiq extends BaseContract {
791
791
  netSyOut?: null
792
792
  ): RemoveLiquidityDualSyAndPtEventFilter;
793
793
 
794
- "RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)"(
794
+ "RemoveLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
795
795
  caller?: string | null,
796
796
  market?: string | null,
797
- receiver?: string | null,
797
+ tokenOut?: string | null,
798
+ receiver?: null,
798
799
  netLpToRemove?: null,
799
800
  netPtOut?: null,
800
- tokenOut?: null,
801
801
  netTokenOut?: null
802
802
  ): RemoveLiquidityDualTokenAndPtEventFilter;
803
803
  RemoveLiquidityDualTokenAndPt(
804
804
  caller?: string | null,
805
805
  market?: string | null,
806
- receiver?: string | null,
806
+ tokenOut?: string | null,
807
+ receiver?: null,
807
808
  netLpToRemove?: null,
808
809
  netPtOut?: null,
809
- tokenOut?: null,
810
810
  netTokenOut?: null
811
811
  ): RemoveLiquidityDualTokenAndPtEventFilter;
812
812
 
@@ -207,8 +207,8 @@ export interface IPActionMintRedeemInterface extends utils.Interface {
207
207
  "RedeemDueInterestAndRewards(address,address[],address[],address[],uint256[][],uint256[],uint256[][],uint256[][])": EventFragment;
208
208
  "RedeemDueInterestAndRewardsThenSwapAll(address,address[],address[],address[],address,uint256)": EventFragment;
209
209
  "RedeemPyToSy(address,address,address,uint256,uint256)": EventFragment;
210
- "RedeemPyToToken(address,address,address,uint256,address,uint256)": EventFragment;
211
- "RedeemSyToToken(address,address,address,uint256,address,uint256)": EventFragment;
210
+ "RedeemPyToToken(address,address,address,address,uint256,uint256)": EventFragment;
211
+ "RedeemSyToToken(address,address,address,address,uint256,uint256)": EventFragment;
212
212
  };
213
213
 
214
214
  getEvent(nameOrSignatureOrTopic: "MintPyFromSy"): EventFragment;
@@ -242,9 +242,9 @@ export type MintPyFromTokenEvent = TypedEvent<
242
242
  [string, string, string, string, BigNumber, BigNumber],
243
243
  {
244
244
  caller: string;
245
- receiver: string;
246
- YT: string;
247
245
  tokenIn: string;
246
+ YT: string;
247
+ receiver: string;
248
248
  netTokenIn: BigNumber;
249
249
  netPyOut: BigNumber;
250
250
  }
@@ -256,9 +256,9 @@ export type MintSyFromTokenEvent = TypedEvent<
256
256
  [string, string, string, string, BigNumber, BigNumber],
257
257
  {
258
258
  caller: string;
259
- receiver: string;
260
- SY: string;
261
259
  tokenIn: string;
260
+ SY: string;
261
+ receiver: string;
262
262
  netTokenIn: BigNumber;
263
263
  netSyOut: BigNumber;
264
264
  }
@@ -321,13 +321,13 @@ export type RedeemPyToSyEvent = TypedEvent<
321
321
  export type RedeemPyToSyEventFilter = TypedEventFilter<RedeemPyToSyEvent>;
322
322
 
323
323
  export type RedeemPyToTokenEvent = TypedEvent<
324
- [string, string, string, BigNumber, string, BigNumber],
324
+ [string, string, string, string, BigNumber, BigNumber],
325
325
  {
326
326
  caller: string;
327
- receiver: string;
327
+ tokenOut: string;
328
328
  YT: string;
329
+ receiver: string;
329
330
  netPyIn: BigNumber;
330
- tokenOut: string;
331
331
  netTokenOut: BigNumber;
332
332
  }
333
333
  >;
@@ -335,13 +335,13 @@ export type RedeemPyToTokenEvent = TypedEvent<
335
335
  export type RedeemPyToTokenEventFilter = TypedEventFilter<RedeemPyToTokenEvent>;
336
336
 
337
337
  export type RedeemSyToTokenEvent = TypedEvent<
338
- [string, string, string, BigNumber, string, BigNumber],
338
+ [string, string, string, string, BigNumber, BigNumber],
339
339
  {
340
340
  caller: string;
341
- receiver: string;
341
+ tokenOut: string;
342
342
  SY: string;
343
+ receiver: string;
343
344
  netSyIn: BigNumber;
344
- tokenOut: string;
345
345
  netTokenOut: BigNumber;
346
346
  }
347
347
  >;
@@ -601,34 +601,34 @@ export interface IPActionMintRedeem extends BaseContract {
601
601
 
602
602
  "MintPyFromToken(address,address,address,address,uint256,uint256)"(
603
603
  caller?: string | null,
604
- receiver?: string | null,
604
+ tokenIn?: string | null,
605
605
  YT?: string | null,
606
- tokenIn?: null,
606
+ receiver?: null,
607
607
  netTokenIn?: null,
608
608
  netPyOut?: null
609
609
  ): MintPyFromTokenEventFilter;
610
610
  MintPyFromToken(
611
611
  caller?: string | null,
612
- receiver?: string | null,
612
+ tokenIn?: string | null,
613
613
  YT?: string | null,
614
- tokenIn?: null,
614
+ receiver?: null,
615
615
  netTokenIn?: null,
616
616
  netPyOut?: null
617
617
  ): MintPyFromTokenEventFilter;
618
618
 
619
619
  "MintSyFromToken(address,address,address,address,uint256,uint256)"(
620
620
  caller?: string | null,
621
- receiver?: string | null,
621
+ tokenIn?: string | null,
622
622
  SY?: string | null,
623
- tokenIn?: null,
623
+ receiver?: null,
624
624
  netTokenIn?: null,
625
625
  netSyOut?: null
626
626
  ): MintSyFromTokenEventFilter;
627
627
  MintSyFromToken(
628
628
  caller?: string | null,
629
- receiver?: string | null,
629
+ tokenIn?: string | null,
630
630
  SY?: string | null,
631
- tokenIn?: null,
631
+ receiver?: null,
632
632
  netTokenIn?: null,
633
633
  netSyOut?: null
634
634
  ): MintSyFromTokenEventFilter;
@@ -686,37 +686,37 @@ export interface IPActionMintRedeem extends BaseContract {
686
686
  netSyOut?: null
687
687
  ): RedeemPyToSyEventFilter;
688
688
 
689
- "RedeemPyToToken(address,address,address,uint256,address,uint256)"(
689
+ "RedeemPyToToken(address,address,address,address,uint256,uint256)"(
690
690
  caller?: string | null,
691
- receiver?: string | null,
691
+ tokenOut?: string | null,
692
692
  YT?: string | null,
693
+ receiver?: null,
693
694
  netPyIn?: null,
694
- tokenOut?: null,
695
695
  netTokenOut?: null
696
696
  ): RedeemPyToTokenEventFilter;
697
697
  RedeemPyToToken(
698
698
  caller?: string | null,
699
- receiver?: string | null,
699
+ tokenOut?: string | null,
700
700
  YT?: string | null,
701
+ receiver?: null,
701
702
  netPyIn?: null,
702
- tokenOut?: null,
703
703
  netTokenOut?: null
704
704
  ): RedeemPyToTokenEventFilter;
705
705
 
706
- "RedeemSyToToken(address,address,address,uint256,address,uint256)"(
706
+ "RedeemSyToToken(address,address,address,address,uint256,uint256)"(
707
707
  caller?: string | null,
708
- receiver?: string | null,
708
+ tokenOut?: string | null,
709
709
  SY?: string | null,
710
+ receiver?: null,
710
711
  netSyIn?: null,
711
- tokenOut?: null,
712
712
  netTokenOut?: null
713
713
  ): RedeemSyToTokenEventFilter;
714
714
  RedeemSyToToken(
715
715
  caller?: string | null,
716
- receiver?: string | null,
716
+ tokenOut?: string | null,
717
717
  SY?: string | null,
718
+ receiver?: null,
718
719
  netSyIn?: null,
719
- tokenOut?: null,
720
720
  netTokenOut?: null
721
721
  ): RedeemSyToTokenEventFilter;
722
722
  };
@@ -183,8 +183,8 @@ export type SwapYtAndTokenEvent = TypedEvent<
183
183
  {
184
184
  caller: string;
185
185
  market: string;
186
- receiver: string;
187
186
  token: string;
187
+ receiver: string;
188
188
  netYtToAccount: BigNumber;
189
189
  netTokenToAccount: BigNumber;
190
190
  }
@@ -407,16 +407,16 @@ export interface IPActionSwapYT extends BaseContract {
407
407
  "SwapYtAndToken(address,address,address,address,int256,int256)"(
408
408
  caller?: string | null,
409
409
  market?: string | null,
410
- receiver?: string | null,
411
- token?: null,
410
+ token?: string | null,
411
+ receiver?: null,
412
412
  netYtToAccount?: null,
413
413
  netTokenToAccount?: null
414
414
  ): SwapYtAndTokenEventFilter;
415
415
  SwapYtAndToken(
416
416
  caller?: string | null,
417
417
  market?: string | null,
418
- receiver?: string | null,
419
- token?: null,
418
+ token?: string | null,
419
+ receiver?: null,
420
420
  netYtToAccount?: null,
421
421
  netTokenToAccount?: null
422
422
  ): SwapYtAndTokenEventFilter;
@@ -456,10 +456,10 @@ export interface IPAllActionInterface extends utils.Interface {
456
456
  "RedeemDueInterestAndRewards(address,address[],address[],address[],uint256[][],uint256[],uint256[][],uint256[][])": EventFragment;
457
457
  "RedeemDueInterestAndRewardsThenSwapAll(address,address[],address[],address[],address,uint256)": EventFragment;
458
458
  "RedeemPyToSy(address,address,address,uint256,uint256)": EventFragment;
459
- "RedeemPyToToken(address,address,address,uint256,address,uint256)": EventFragment;
460
- "RedeemSyToToken(address,address,address,uint256,address,uint256)": EventFragment;
459
+ "RedeemPyToToken(address,address,address,address,uint256,uint256)": EventFragment;
460
+ "RedeemSyToToken(address,address,address,address,uint256,uint256)": EventFragment;
461
461
  "RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
462
- "RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)": EventFragment;
462
+ "RemoveLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
463
463
  "RemoveLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
464
464
  "RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
465
465
  "RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
@@ -521,8 +521,8 @@ export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
521
521
  {
522
522
  caller: string;
523
523
  market: string;
524
- receiver: string;
525
524
  tokenIn: string;
525
+ receiver: string;
526
526
  netTokenUsed: BigNumber;
527
527
  netPtUsed: BigNumber;
528
528
  netLpOut: BigNumber;
@@ -592,9 +592,9 @@ export type MintPyFromTokenEvent = TypedEvent<
592
592
  [string, string, string, string, BigNumber, BigNumber],
593
593
  {
594
594
  caller: string;
595
- receiver: string;
596
- YT: string;
597
595
  tokenIn: string;
596
+ YT: string;
597
+ receiver: string;
598
598
  netTokenIn: BigNumber;
599
599
  netPyOut: BigNumber;
600
600
  }
@@ -606,9 +606,9 @@ export type MintSyFromTokenEvent = TypedEvent<
606
606
  [string, string, string, string, BigNumber, BigNumber],
607
607
  {
608
608
  caller: string;
609
- receiver: string;
610
- SY: string;
611
609
  tokenIn: string;
610
+ SY: string;
611
+ receiver: string;
612
612
  netTokenIn: BigNumber;
613
613
  netSyOut: BigNumber;
614
614
  }
@@ -671,13 +671,13 @@ export type RedeemPyToSyEvent = TypedEvent<
671
671
  export type RedeemPyToSyEventFilter = TypedEventFilter<RedeemPyToSyEvent>;
672
672
 
673
673
  export type RedeemPyToTokenEvent = TypedEvent<
674
- [string, string, string, BigNumber, string, BigNumber],
674
+ [string, string, string, string, BigNumber, BigNumber],
675
675
  {
676
676
  caller: string;
677
- receiver: string;
677
+ tokenOut: string;
678
678
  YT: string;
679
+ receiver: string;
679
680
  netPyIn: BigNumber;
680
- tokenOut: string;
681
681
  netTokenOut: BigNumber;
682
682
  }
683
683
  >;
@@ -685,13 +685,13 @@ export type RedeemPyToTokenEvent = TypedEvent<
685
685
  export type RedeemPyToTokenEventFilter = TypedEventFilter<RedeemPyToTokenEvent>;
686
686
 
687
687
  export type RedeemSyToTokenEvent = TypedEvent<
688
- [string, string, string, BigNumber, string, BigNumber],
688
+ [string, string, string, string, BigNumber, BigNumber],
689
689
  {
690
690
  caller: string;
691
- receiver: string;
691
+ tokenOut: string;
692
692
  SY: string;
693
+ receiver: string;
693
694
  netSyIn: BigNumber;
694
- tokenOut: string;
695
695
  netTokenOut: BigNumber;
696
696
  }
697
697
  >;
@@ -714,14 +714,14 @@ export type RemoveLiquidityDualSyAndPtEventFilter =
714
714
  TypedEventFilter<RemoveLiquidityDualSyAndPtEvent>;
715
715
 
716
716
  export type RemoveLiquidityDualTokenAndPtEvent = TypedEvent<
717
- [string, string, string, BigNumber, BigNumber, string, BigNumber],
717
+ [string, string, string, string, BigNumber, BigNumber, BigNumber],
718
718
  {
719
719
  caller: string;
720
720
  market: string;
721
+ tokenOut: string;
721
722
  receiver: string;
722
723
  netLpToRemove: BigNumber;
723
724
  netPtOut: BigNumber;
724
- tokenOut: string;
725
725
  netTokenOut: BigNumber;
726
726
  }
727
727
  >;
@@ -830,8 +830,8 @@ export type SwapYtAndTokenEvent = TypedEvent<
830
830
  {
831
831
  caller: string;
832
832
  market: string;
833
- receiver: string;
834
833
  token: string;
834
+ receiver: string;
835
835
  netYtToAccount: BigNumber;
836
836
  netTokenToAccount: BigNumber;
837
837
  }
@@ -1793,8 +1793,8 @@ export interface IPAllAction extends BaseContract {
1793
1793
  "AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
1794
1794
  caller?: string | null,
1795
1795
  market?: string | null,
1796
- receiver?: string | null,
1797
- tokenIn?: null,
1796
+ tokenIn?: string | null,
1797
+ receiver?: null,
1798
1798
  netTokenUsed?: null,
1799
1799
  netPtUsed?: null,
1800
1800
  netLpOut?: null
@@ -1802,8 +1802,8 @@ export interface IPAllAction extends BaseContract {
1802
1802
  AddLiquidityDualTokenAndPt(
1803
1803
  caller?: string | null,
1804
1804
  market?: string | null,
1805
- receiver?: string | null,
1806
- tokenIn?: null,
1805
+ tokenIn?: string | null,
1806
+ receiver?: null,
1807
1807
  netTokenUsed?: null,
1808
1808
  netPtUsed?: null,
1809
1809
  netLpOut?: null
@@ -1873,34 +1873,34 @@ export interface IPAllAction extends BaseContract {
1873
1873
 
1874
1874
  "MintPyFromToken(address,address,address,address,uint256,uint256)"(
1875
1875
  caller?: string | null,
1876
- receiver?: string | null,
1876
+ tokenIn?: string | null,
1877
1877
  YT?: string | null,
1878
- tokenIn?: null,
1878
+ receiver?: null,
1879
1879
  netTokenIn?: null,
1880
1880
  netPyOut?: null
1881
1881
  ): MintPyFromTokenEventFilter;
1882
1882
  MintPyFromToken(
1883
1883
  caller?: string | null,
1884
- receiver?: string | null,
1884
+ tokenIn?: string | null,
1885
1885
  YT?: string | null,
1886
- tokenIn?: null,
1886
+ receiver?: null,
1887
1887
  netTokenIn?: null,
1888
1888
  netPyOut?: null
1889
1889
  ): MintPyFromTokenEventFilter;
1890
1890
 
1891
1891
  "MintSyFromToken(address,address,address,address,uint256,uint256)"(
1892
1892
  caller?: string | null,
1893
- receiver?: string | null,
1893
+ tokenIn?: string | null,
1894
1894
  SY?: string | null,
1895
- tokenIn?: null,
1895
+ receiver?: null,
1896
1896
  netTokenIn?: null,
1897
1897
  netSyOut?: null
1898
1898
  ): MintSyFromTokenEventFilter;
1899
1899
  MintSyFromToken(
1900
1900
  caller?: string | null,
1901
- receiver?: string | null,
1901
+ tokenIn?: string | null,
1902
1902
  SY?: string | null,
1903
- tokenIn?: null,
1903
+ receiver?: null,
1904
1904
  netTokenIn?: null,
1905
1905
  netSyOut?: null
1906
1906
  ): MintSyFromTokenEventFilter;
@@ -1958,37 +1958,37 @@ export interface IPAllAction extends BaseContract {
1958
1958
  netSyOut?: null
1959
1959
  ): RedeemPyToSyEventFilter;
1960
1960
 
1961
- "RedeemPyToToken(address,address,address,uint256,address,uint256)"(
1961
+ "RedeemPyToToken(address,address,address,address,uint256,uint256)"(
1962
1962
  caller?: string | null,
1963
- receiver?: string | null,
1963
+ tokenOut?: string | null,
1964
1964
  YT?: string | null,
1965
+ receiver?: null,
1965
1966
  netPyIn?: null,
1966
- tokenOut?: null,
1967
1967
  netTokenOut?: null
1968
1968
  ): RedeemPyToTokenEventFilter;
1969
1969
  RedeemPyToToken(
1970
1970
  caller?: string | null,
1971
- receiver?: string | null,
1971
+ tokenOut?: string | null,
1972
1972
  YT?: string | null,
1973
+ receiver?: null,
1973
1974
  netPyIn?: null,
1974
- tokenOut?: null,
1975
1975
  netTokenOut?: null
1976
1976
  ): RedeemPyToTokenEventFilter;
1977
1977
 
1978
- "RedeemSyToToken(address,address,address,uint256,address,uint256)"(
1978
+ "RedeemSyToToken(address,address,address,address,uint256,uint256)"(
1979
1979
  caller?: string | null,
1980
- receiver?: string | null,
1980
+ tokenOut?: string | null,
1981
1981
  SY?: string | null,
1982
+ receiver?: null,
1982
1983
  netSyIn?: null,
1983
- tokenOut?: null,
1984
1984
  netTokenOut?: null
1985
1985
  ): RedeemSyToTokenEventFilter;
1986
1986
  RedeemSyToToken(
1987
1987
  caller?: string | null,
1988
- receiver?: string | null,
1988
+ tokenOut?: string | null,
1989
1989
  SY?: string | null,
1990
+ receiver?: null,
1990
1991
  netSyIn?: null,
1991
- tokenOut?: null,
1992
1992
  netTokenOut?: null
1993
1993
  ): RedeemSyToTokenEventFilter;
1994
1994
 
@@ -2009,22 +2009,22 @@ export interface IPAllAction extends BaseContract {
2009
2009
  netSyOut?: null
2010
2010
  ): RemoveLiquidityDualSyAndPtEventFilter;
2011
2011
 
2012
- "RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)"(
2012
+ "RemoveLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
2013
2013
  caller?: string | null,
2014
2014
  market?: string | null,
2015
- receiver?: string | null,
2015
+ tokenOut?: string | null,
2016
+ receiver?: null,
2016
2017
  netLpToRemove?: null,
2017
2018
  netPtOut?: null,
2018
- tokenOut?: null,
2019
2019
  netTokenOut?: null
2020
2020
  ): RemoveLiquidityDualTokenAndPtEventFilter;
2021
2021
  RemoveLiquidityDualTokenAndPt(
2022
2022
  caller?: string | null,
2023
2023
  market?: string | null,
2024
- receiver?: string | null,
2024
+ tokenOut?: string | null,
2025
+ receiver?: null,
2025
2026
  netLpToRemove?: null,
2026
2027
  netPtOut?: null,
2027
- tokenOut?: null,
2028
2028
  netTokenOut?: null
2029
2029
  ): RemoveLiquidityDualTokenAndPtEventFilter;
2030
2030
 
@@ -2140,16 +2140,16 @@ export interface IPAllAction extends BaseContract {
2140
2140
  "SwapYtAndToken(address,address,address,address,int256,int256)"(
2141
2141
  caller?: string | null,
2142
2142
  market?: string | null,
2143
- receiver?: string | null,
2144
- token?: null,
2143
+ token?: string | null,
2144
+ receiver?: null,
2145
2145
  netYtToAccount?: null,
2146
2146
  netTokenToAccount?: null
2147
2147
  ): SwapYtAndTokenEventFilter;
2148
2148
  SwapYtAndToken(
2149
2149
  caller?: string | null,
2150
2150
  market?: string | null,
2151
- receiver?: string | null,
2152
- token?: null,
2151
+ token?: string | null,
2152
+ receiver?: null,
2153
2153
  netYtToAccount?: null,
2154
2154
  netTokenToAccount?: null
2155
2155
  ): SwapYtAndTokenEventFilter;