@pendle/core-v2 0.11.10-testnet → 0.12.0-testnet

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 (381) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +199 -30
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +4 -0
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +1030 -0
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +1025 -0
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +948 -0
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +140 -25
  15. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +138 -23
  17. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +138 -23
  19. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
  20. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +310 -0
  21. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
  22. package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json → CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json} +18 -85
  23. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
  24. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +336 -0
  25. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
  26. package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json → CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json} +8 -21
  27. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
  28. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +131 -0
  29. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
  30. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +297 -0
  31. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
  32. package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +376 -0
  33. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +11 -0
  35. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +29 -2
  37. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +40 -86
  39. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +228 -40
  42. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +232 -12
  44. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +164 -47
  46. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +25 -93
  48. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +222 -9
  51. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +106 -5
  53. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
  55. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +13 -2
  57. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +87 -2
  60. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +80 -16
  62. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +164 -2
  64. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +172 -4
  66. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +109 -2
  68. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +62 -4
  70. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +7 -2
  72. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +199 -4
  74. package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +108 -2
  76. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +146 -4
  78. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +4 -0
  81. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +177 -0
  82. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +4 -0
  83. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +78 -0
  84. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +4 -0
  85. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json +24 -0
  86. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
  87. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +264 -0
  88. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
  89. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +305 -0
  90. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +4 -0
  91. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +34 -0
  92. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +31 -1
  94. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +5 -0
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +30 -0
  98. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +10 -0
  100. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +30 -0
  102. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +106 -1
  104. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +112 -0
  106. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json +76 -0
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +13 -0
  110. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +4 -0
  111. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +24 -0
  112. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +4 -0
  113. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +63 -0
  114. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +148 -0
  116. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +4 -0
  117. package/build/artifacts/contracts/interfaces/{IPVotingEscrow.sol/IPVotingEscrow.json → IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.json} +88 -2
  118. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +4 -28
  120. package/build/artifacts/contracts/libraries/Errors.sol/Errors.dbg.json +4 -0
  121. package/build/artifacts/contracts/libraries/Errors.sol/Errors.json +886 -0
  122. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +1 -1
  123. package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +28 -2
  124. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  125. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  126. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  127. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  128. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +4 -0
  129. package/build/artifacts/contracts/libraries/{solmate/SSTORE2.sol/SSTORE2.json → VeHistoryLib.sol/CheckpointHelper.json} +4 -4
  130. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  131. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  132. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  133. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
  134. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
  135. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +45 -0
  136. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
  137. package/build/artifacts/contracts/libraries/helpers/{SSTORE2Deployer.sol/SSTORE2Deployer.json → BaseSplitCodeFactory.sol/CodeDeployer.json} +4 -4
  138. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  139. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
  140. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  141. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  142. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  143. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  144. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  145. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  146. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  147. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  148. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  149. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  150. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  151. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  152. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  153. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
  154. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +4 -0
  155. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +167 -0
  156. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +182 -4
  158. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +126 -79
  160. package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol +3 -1
  161. package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +19 -16
  162. package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +135 -0
  163. package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +96 -0
  164. package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol +215 -0
  165. package/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol +83 -0
  166. package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +10 -15
  167. package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +30 -43
  168. package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +74 -0
  169. package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +38 -0
  170. package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +83 -0
  171. package/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol → CrossChainMsg/PendleMsgSenderAppUpg.sol} +12 -13
  172. package/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
  173. package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +96 -0
  174. package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +68 -0
  175. package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +4 -3
  176. package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +6 -2
  177. package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +12 -4
  178. package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +29 -19
  179. package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +27 -19
  180. package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +63 -27
  181. package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +6 -5
  182. package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +2 -2
  183. package/contracts/core/Market/PendleMarket.sol +26 -24
  184. package/contracts/core/Market/PendleMarketFactory.sol +41 -20
  185. package/contracts/core/PendleERC20Permit.sol +84 -0
  186. package/contracts/core/PendleRouter.sol +2 -1
  187. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +8 -7
  188. package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +37 -22
  189. package/contracts/core/YieldContracts/PendleYieldToken.sol +106 -35
  190. package/contracts/core/actions/ActionAddRemoveLiq.sol +58 -41
  191. package/contracts/core/actions/ActionCallback.sol +24 -14
  192. package/contracts/core/actions/ActionMintRedeem.sol +14 -4
  193. package/contracts/core/actions/ActionMisc.sol +2 -1
  194. package/contracts/core/actions/ActionSwapPT.sol +38 -19
  195. package/contracts/core/actions/ActionSwapPTYT.sol +7 -6
  196. package/contracts/core/actions/ActionSwapYT.sol +36 -19
  197. package/contracts/core/actions/base/ActionBaseMintRedeem.sol +15 -8
  198. package/contracts/interfaces/ConvexCurve/IBooster.sol +32 -0
  199. package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +20 -0
  200. package/contracts/interfaces/ConvexCurve/ICvxCrv.sol +6 -0
  201. package/contracts/interfaces/ConvexCurve/IRewards.sol +38 -0
  202. package/contracts/interfaces/Curve/ICrvPool.sol +69 -0
  203. package/contracts/interfaces/IBoringOwnableUpgradeable.sol +10 -0
  204. package/contracts/interfaces/IPActionAddRemoveLiq.sol +7 -7
  205. package/contracts/interfaces/IPActionMintRedeem.sol +1 -0
  206. package/contracts/interfaces/IPActionSwapPT.sol +6 -6
  207. package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
  208. package/contracts/interfaces/IPActionSwapYT.sol +13 -13
  209. package/contracts/interfaces/IPFeeDistributor.sol +19 -0
  210. package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
  211. package/contracts/interfaces/IPMarket.sol +2 -0
  212. package/contracts/interfaces/IPMsgReceiverApp.sol +7 -0
  213. package/contracts/interfaces/IPMsgSendEndpoint.sol +17 -0
  214. package/contracts/interfaces/IPVotingController.sol +22 -0
  215. package/contracts/interfaces/{IPVotingEscrow.sol → IPVotingEscrowMainchain.sol} +11 -1
  216. package/contracts/interfaces/ISuperComposableYield.sol +2 -7
  217. package/contracts/libraries/Errors.sol +121 -0
  218. package/contracts/libraries/OracleLib.sol +6 -3
  219. package/contracts/libraries/VeBalanceLib.sol +5 -1
  220. package/contracts/libraries/VeHistoryLib.sol +20 -31
  221. package/contracts/libraries/helpers/ArrayLib.sol +0 -17
  222. package/contracts/libraries/helpers/BaseSplitCodeFactory.sol +288 -0
  223. package/contracts/libraries/helpers/TokenHelper.sol +4 -0
  224. package/contracts/libraries/kyberswap/AggregationRouterHelper.sol +0 -7
  225. package/contracts/libraries/math/MarketMathCore.sol +29 -25
  226. package/contracts/libraries/math/Math.sol +6 -2
  227. package/contracts/libraries/math/WeekMath.sol +2 -2
  228. package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +43 -0
  229. package/contracts/offchain-helpers/MarketMathStatic.sol +36 -36
  230. package/contracts/offchain-helpers/RouterStatic.sol +45 -37
  231. package/deployments/43113-core.json +11 -10
  232. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
  233. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
  234. package/deployments/43113-testenv.json +9 -9
  235. package/deployments/80001-core.json +10 -9
  236. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
  237. package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
  238. package/deployments/80001-testenv.json +16 -16
  239. package/package.json +1 -1
  240. package/typechain-types/ActionAddRemoveLiq.ts +18 -6
  241. package/typechain-types/ActionMintRedeem.ts +9 -2
  242. package/typechain-types/ActionSwapPT.ts +18 -6
  243. package/typechain-types/ActionSwapPTYT.ts +6 -2
  244. package/typechain-types/ActionSwapYT.ts +18 -6
  245. package/typechain-types/Errors.ts +57 -0
  246. package/typechain-types/ICrvPool.ts +137 -22
  247. package/typechain-types/IPActionAddRemoveLiq.ts +19 -7
  248. package/typechain-types/IPActionMintRedeem.ts +9 -2
  249. package/typechain-types/IPActionSwapPT.ts +18 -6
  250. package/typechain-types/IPActionSwapPTYT.ts +6 -2
  251. package/typechain-types/IPActionSwapYT.ts +18 -6
  252. package/typechain-types/IPAllAction.ts +70 -23
  253. package/typechain-types/IPBatchSeller.ts +252 -0
  254. package/typechain-types/IPMarket.ts +13 -0
  255. package/typechain-types/IPVotingController.ts +244 -7
  256. package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
  257. package/typechain-types/IRewards.ts +25 -10
  258. package/typechain-types/ISuperComposableYield.ts +7 -46
  259. package/typechain-types/MarketMathStatic.ts +139 -10
  260. package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
  261. package/typechain-types/Pendle3CrvTokenSCY.ts +85 -185
  262. package/typechain-types/PendleBatchSeller.ts +626 -0
  263. package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +185 -220
  264. package/typechain-types/PendleConvexCurveLPSCY.ts +159 -182
  265. package/typechain-types/PendleCvxCRVSCY.ts +0 -34
  266. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +28 -149
  267. package/typechain-types/PendleMarket.ts +104 -0
  268. package/typechain-types/PendleMarketFactory.ts +76 -13
  269. package/typechain-types/PendlePrincipalToken.ts +104 -0
  270. package/typechain-types/PendleQiTokenSCY.ts +111 -46
  271. package/typechain-types/PendleVotingControllerUpg.ts +133 -77
  272. package/typechain-types/PendleWstEthSCY.ts +111 -46
  273. package/typechain-types/PendleYieldContractFactory.ts +84 -21
  274. package/typechain-types/PendleYieldToken.ts +175 -0
  275. package/typechain-types/PtAMMArb.ts +587 -0
  276. package/typechain-types/RouterStatic.ts +99 -75
  277. package/typechain-types/SCYBase.ts +111 -46
  278. package/typechain-types/SCYBaseWithRewards.ts +111 -46
  279. package/typechain-types/VotingControllerStorageUpg.ts +246 -27
  280. package/typechain-types/VotingEscrowPendleMainchain.ts +81 -93
  281. package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
  282. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +169 -1
  283. package/typechain-types/factories/ActionCallback__factory.ts +108 -1
  284. package/typechain-types/factories/ActionMintRedeem__factory.ts +59 -1
  285. package/typechain-types/factories/ActionMisc__factory.ts +6 -1
  286. package/typechain-types/factories/ActionSwapPTYT__factory.ts +107 -1
  287. package/typechain-types/factories/ActionSwapPT__factory.ts +196 -1
  288. package/typechain-types/factories/ActionSwapYT__factory.ts +143 -1
  289. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  290. package/typechain-types/factories/Errors__factory.ts +933 -0
  291. package/typechain-types/factories/ICrvPool__factory.ts +85 -12
  292. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +31 -1
  293. package/typechain-types/factories/IPActionMintRedeem__factory.ts +5 -0
  294. package/typechain-types/factories/IPActionSwapPTYT__factory.ts +10 -0
  295. package/typechain-types/factories/IPActionSwapPT__factory.ts +30 -0
  296. package/typechain-types/factories/IPActionSwapYT__factory.ts +30 -0
  297. package/typechain-types/factories/IPAllAction__factory.ts +106 -1
  298. package/typechain-types/factories/IPBatchSeller__factory.ts +138 -0
  299. package/typechain-types/factories/IPMarket__factory.ts +13 -0
  300. package/typechain-types/factories/IPVotingController__factory.ts +148 -0
  301. package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
  302. package/typechain-types/factories/IRewards__factory.ts +14 -1
  303. package/typechain-types/factories/ISuperComposableYield__factory.ts +4 -28
  304. package/typechain-types/factories/MarketMathStatic__factory.ts +181 -3
  305. package/typechain-types/factories/OracleLib__factory.ts +27 -1
  306. package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
  307. package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
  308. package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +74 -128
  309. package/typechain-types/factories/PendleBatchSeller__factory.ts +558 -0
  310. package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +207 -136
  311. package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +170 -95
  312. package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +1 -29
  313. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  314. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +17 -1
  315. package/typechain-types/factories/PendleFeeDistributor__factory.ts +6 -1
  316. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +11 -0
  317. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +28 -1
  318. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +48 -86
  319. package/typechain-types/factories/PendleMarketFactory__factory.ts +129 -9
  320. package/typechain-types/factories/PendleMarket__factory.ts +214 -1
  321. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +17 -1
  322. package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +11 -0
  323. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +6 -1
  324. package/typechain-types/factories/PendlePrincipalToken__factory.ts +86 -1
  325. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  326. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +198 -29
  327. package/typechain-types/factories/PendleRouter__factory.ts +12 -1
  328. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +235 -40
  329. package/typechain-types/factories/PendleWstEthSCY__factory.ts +137 -22
  330. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +103 -20
  331. package/typechain-types/factories/PendleYieldToken__factory.ts +163 -1
  332. package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
  333. package/typechain-types/factories/RouterStatic__factory.ts +67 -20
  334. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +136 -21
  335. package/typechain-types/factories/SCYBase__factory.ts +136 -21
  336. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +232 -12
  337. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +171 -47
  338. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +31 -93
  339. package/typechain-types/hardhat.d.ts +99 -0
  340. package/typechain-types/index.ts +22 -0
  341. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +0 -4
  342. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +0 -810
  343. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +0 -4
  344. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +0 -10
  345. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +0 -4
  346. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +0 -833
  347. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +0 -4
  348. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +0 -723
  349. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +0 -4
  350. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +0 -728
  351. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +0 -4
  352. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +0 -705
  353. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +0 -4
  354. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +0 -864
  355. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +0 -4
  356. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +0 -718
  357. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +0 -4
  358. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +0 -784
  359. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
  360. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
  361. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +0 -4
  362. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
  363. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +0 -4
  364. package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +0 -4
  365. package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +0 -134
  366. package/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol +0 -161
  367. package/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol +0 -126
  368. package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol +0 -242
  369. package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol +0 -146
  370. package/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol +0 -176
  371. package/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol +0 -129
  372. package/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol +0 -193
  373. package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol +0 -155
  374. package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +0 -182
  375. package/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol +0 -53
  376. package/contracts/libraries/helpers/SSTORE2Deployer.sol +0 -30
  377. package/contracts/libraries/solmate/SSTORE2.sol +0 -99
  378. package/contracts/offchain-helpers/SSTORE2DeployerContract.sol +0 -21
  379. package/deployments/43113-markets/benqi-market-10D931.json +0 -8
  380. package/deployments/43113-markets/benqi-market-9fbD64.json +0 -8
  381. package/deployments/43113-markets/benqi-market-A12361.json +0 -8
@@ -7,6 +7,42 @@ import { Provider } from "@ethersproject/providers";
7
7
  import type { ICrvPool, ICrvPoolInterface } from "../ICrvPool";
8
8
 
9
9
  const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "uint256[2]",
14
+ name: "_deposit_amount",
15
+ type: "uint256[2]",
16
+ },
17
+ {
18
+ internalType: "uint256",
19
+ name: "_min_amount",
20
+ type: "uint256",
21
+ },
22
+ ],
23
+ name: "add_liquidity",
24
+ outputs: [],
25
+ stateMutability: "nonpayable",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "uint256[3]",
32
+ name: "_deposit_amount",
33
+ type: "uint256[3]",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "_min_amount",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ name: "add_liquidity",
42
+ outputs: [],
43
+ stateMutability: "nonpayable",
44
+ type: "function",
45
+ },
10
46
  {
11
47
  inputs: [
12
48
  {
@@ -36,6 +72,30 @@ const _abi = [
36
72
  stateMutability: "nonpayable",
37
73
  type: "function",
38
74
  },
75
+ {
76
+ inputs: [
77
+ {
78
+ internalType: "uint256[3]",
79
+ name: "_amounts",
80
+ type: "uint256[3]",
81
+ },
82
+ {
83
+ internalType: "bool",
84
+ name: "_is_deposit",
85
+ type: "bool",
86
+ },
87
+ ],
88
+ name: "calc_token_amount",
89
+ outputs: [
90
+ {
91
+ internalType: "uint256",
92
+ name: "",
93
+ type: "uint256",
94
+ },
95
+ ],
96
+ stateMutability: "view",
97
+ type: "function",
98
+ },
39
99
  {
40
100
  inputs: [
41
101
  {
@@ -60,6 +120,30 @@ const _abi = [
60
120
  stateMutability: "view",
61
121
  type: "function",
62
122
  },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "uint256[2]",
127
+ name: "_amounts",
128
+ type: "uint256[2]",
129
+ },
130
+ {
131
+ internalType: "bool",
132
+ name: "_is_deposit",
133
+ type: "bool",
134
+ },
135
+ ],
136
+ name: "calc_token_amount",
137
+ outputs: [
138
+ {
139
+ internalType: "uint256",
140
+ name: "",
141
+ type: "uint256",
142
+ },
143
+ ],
144
+ stateMutability: "view",
145
+ type: "function",
146
+ },
63
147
  {
64
148
  inputs: [
65
149
  {
@@ -211,20 +295,9 @@ const _abi = [
211
295
  name: "_min_amount",
212
296
  type: "uint256",
213
297
  },
214
- {
215
- internalType: "address",
216
- name: "_receiver",
217
- type: "address",
218
- },
219
298
  ],
220
299
  name: "remove_liquidity_one_coin",
221
- outputs: [
222
- {
223
- internalType: "uint256",
224
- name: "",
225
- type: "uint256",
226
- },
227
- ],
300
+ outputs: [],
228
301
  stateMutability: "nonpayable",
229
302
  type: "function",
230
303
  },
@@ -465,7 +465,7 @@ const _abi = [
465
465
  },
466
466
  {
467
467
  internalType: "uint256",
468
- name: "scyUsed",
468
+ name: "netScyUsed",
469
469
  type: "uint256",
470
470
  },
471
471
  {
@@ -593,6 +593,11 @@ const _abi = [
593
593
  name: "netLpOut",
594
594
  type: "uint256",
595
595
  },
596
+ {
597
+ internalType: "uint256",
598
+ name: "netScyFee",
599
+ type: "uint256",
600
+ },
596
601
  ],
597
602
  stateMutability: "nonpayable",
598
603
  type: "function",
@@ -659,6 +664,11 @@ const _abi = [
659
664
  name: "netLpOut",
660
665
  type: "uint256",
661
666
  },
667
+ {
668
+ internalType: "uint256",
669
+ name: "netScyFee",
670
+ type: "uint256",
671
+ },
662
672
  ],
663
673
  stateMutability: "nonpayable",
664
674
  type: "function",
@@ -747,6 +757,11 @@ const _abi = [
747
757
  name: "netLpOut",
748
758
  type: "uint256",
749
759
  },
760
+ {
761
+ internalType: "uint256",
762
+ name: "netScyFee",
763
+ type: "uint256",
764
+ },
750
765
  ],
751
766
  stateMutability: "payable",
752
767
  type: "function",
@@ -906,6 +921,11 @@ const _abi = [
906
921
  name: "netPtOut",
907
922
  type: "uint256",
908
923
  },
924
+ {
925
+ internalType: "uint256",
926
+ name: "netScyFee",
927
+ type: "uint256",
928
+ },
909
929
  ],
910
930
  stateMutability: "nonpayable",
911
931
  type: "function",
@@ -940,6 +960,11 @@ const _abi = [
940
960
  name: "netScyOut",
941
961
  type: "uint256",
942
962
  },
963
+ {
964
+ internalType: "uint256",
965
+ name: "netScyFee",
966
+ type: "uint256",
967
+ },
943
968
  ],
944
969
  stateMutability: "nonpayable",
945
970
  type: "function",
@@ -996,6 +1021,11 @@ const _abi = [
996
1021
  name: "netTokenOut",
997
1022
  type: "uint256",
998
1023
  },
1024
+ {
1025
+ internalType: "uint256",
1026
+ name: "netScyFee",
1027
+ type: "uint256",
1028
+ },
999
1029
  ],
1000
1030
  stateMutability: "nonpayable",
1001
1031
  type: "function",
@@ -600,6 +600,11 @@ const _abi = [
600
600
  name: "outputToken",
601
601
  type: "address",
602
602
  },
603
+ {
604
+ internalType: "uint256",
605
+ name: "minTokenOut",
606
+ type: "uint256",
607
+ },
603
608
  ],
604
609
  internalType: "struct IPActionMintRedeem.RouterSwapAllStruct",
605
610
  name: "dataSwap",
@@ -109,6 +109,11 @@ const _abi = [
109
109
  name: "netYtOut",
110
110
  type: "uint256",
111
111
  },
112
+ {
113
+ internalType: "uint256",
114
+ name: "netScyFee",
115
+ type: "uint256",
116
+ },
112
117
  ],
113
118
  stateMutability: "nonpayable",
114
119
  type: "function",
@@ -175,6 +180,11 @@ const _abi = [
175
180
  name: "netPtOut",
176
181
  type: "uint256",
177
182
  },
183
+ {
184
+ internalType: "uint256",
185
+ name: "netScyFee",
186
+ type: "uint256",
187
+ },
178
188
  ],
179
189
  stateMutability: "nonpayable",
180
190
  type: "function",
@@ -120,6 +120,11 @@ const _abi = [
120
120
  name: "netScyOut",
121
121
  type: "uint256",
122
122
  },
123
+ {
124
+ internalType: "uint256",
125
+ name: "netScyFee",
126
+ type: "uint256",
127
+ },
123
128
  ],
124
129
  stateMutability: "nonpayable",
125
130
  type: "function",
@@ -176,6 +181,11 @@ const _abi = [
176
181
  name: "netTokenOut",
177
182
  type: "uint256",
178
183
  },
184
+ {
185
+ internalType: "uint256",
186
+ name: "netScyFee",
187
+ type: "uint256",
188
+ },
179
189
  ],
180
190
  stateMutability: "nonpayable",
181
191
  type: "function",
@@ -242,6 +252,11 @@ const _abi = [
242
252
  name: "netPtOut",
243
253
  type: "uint256",
244
254
  },
255
+ {
256
+ internalType: "uint256",
257
+ name: "netScyFee",
258
+ type: "uint256",
259
+ },
245
260
  ],
246
261
  stateMutability: "nonpayable",
247
262
  type: "function",
@@ -330,6 +345,11 @@ const _abi = [
330
345
  name: "netPtOut",
331
346
  type: "uint256",
332
347
  },
348
+ {
349
+ internalType: "uint256",
350
+ name: "netScyFee",
351
+ type: "uint256",
352
+ },
333
353
  ],
334
354
  stateMutability: "payable",
335
355
  type: "function",
@@ -396,6 +416,11 @@ const _abi = [
396
416
  name: "netPtIn",
397
417
  type: "uint256",
398
418
  },
419
+ {
420
+ internalType: "uint256",
421
+ name: "netScyFee",
422
+ type: "uint256",
423
+ },
399
424
  ],
400
425
  stateMutability: "nonpayable",
401
426
  type: "function",
@@ -430,6 +455,11 @@ const _abi = [
430
455
  name: "netScyIn",
431
456
  type: "uint256",
432
457
  },
458
+ {
459
+ internalType: "uint256",
460
+ name: "netScyFee",
461
+ type: "uint256",
462
+ },
433
463
  ],
434
464
  stateMutability: "nonpayable",
435
465
  type: "function",
@@ -152,6 +152,11 @@ const _abi = [
152
152
  name: "netYtOut",
153
153
  type: "uint256",
154
154
  },
155
+ {
156
+ internalType: "uint256",
157
+ name: "netScyFee",
158
+ type: "uint256",
159
+ },
155
160
  ],
156
161
  stateMutability: "nonpayable",
157
162
  type: "function",
@@ -240,6 +245,11 @@ const _abi = [
240
245
  name: "netYtOut",
241
246
  type: "uint256",
242
247
  },
248
+ {
249
+ internalType: "uint256",
250
+ name: "netScyFee",
251
+ type: "uint256",
252
+ },
243
253
  ],
244
254
  stateMutability: "payable",
245
255
  type: "function",
@@ -274,6 +284,11 @@ const _abi = [
274
284
  name: "netScyOut",
275
285
  type: "uint256",
276
286
  },
287
+ {
288
+ internalType: "uint256",
289
+ name: "netScyFee",
290
+ type: "uint256",
291
+ },
277
292
  ],
278
293
  stateMutability: "nonpayable",
279
294
  type: "function",
@@ -330,6 +345,11 @@ const _abi = [
330
345
  name: "netTokenOut",
331
346
  type: "uint256",
332
347
  },
348
+ {
349
+ internalType: "uint256",
350
+ name: "netScyFee",
351
+ type: "uint256",
352
+ },
333
353
  ],
334
354
  stateMutability: "nonpayable",
335
355
  type: "function",
@@ -364,6 +384,11 @@ const _abi = [
364
384
  name: "netScyIn",
365
385
  type: "uint256",
366
386
  },
387
+ {
388
+ internalType: "uint256",
389
+ name: "netScyFee",
390
+ type: "uint256",
391
+ },
367
392
  ],
368
393
  stateMutability: "nonpayable",
369
394
  type: "function",
@@ -430,6 +455,11 @@ const _abi = [
430
455
  name: "netYtIn",
431
456
  type: "uint256",
432
457
  },
458
+ {
459
+ internalType: "uint256",
460
+ name: "netScyFee",
461
+ type: "uint256",
462
+ },
433
463
  ],
434
464
  stateMutability: "nonpayable",
435
465
  type: "function",
@@ -1003,7 +1003,7 @@ const _abi = [
1003
1003
  },
1004
1004
  {
1005
1005
  internalType: "uint256",
1006
- name: "scyUsed",
1006
+ name: "netScyUsed",
1007
1007
  type: "uint256",
1008
1008
  },
1009
1009
  {
@@ -1131,6 +1131,11 @@ const _abi = [
1131
1131
  name: "netLpOut",
1132
1132
  type: "uint256",
1133
1133
  },
1134
+ {
1135
+ internalType: "uint256",
1136
+ name: "netScyFee",
1137
+ type: "uint256",
1138
+ },
1134
1139
  ],
1135
1140
  stateMutability: "nonpayable",
1136
1141
  type: "function",
@@ -1197,6 +1202,11 @@ const _abi = [
1197
1202
  name: "netLpOut",
1198
1203
  type: "uint256",
1199
1204
  },
1205
+ {
1206
+ internalType: "uint256",
1207
+ name: "netScyFee",
1208
+ type: "uint256",
1209
+ },
1200
1210
  ],
1201
1211
  stateMutability: "nonpayable",
1202
1212
  type: "function",
@@ -1285,6 +1295,11 @@ const _abi = [
1285
1295
  name: "netLpOut",
1286
1296
  type: "uint256",
1287
1297
  },
1298
+ {
1299
+ internalType: "uint256",
1300
+ name: "netScyFee",
1301
+ type: "uint256",
1302
+ },
1288
1303
  ],
1289
1304
  stateMutability: "payable",
1290
1305
  type: "function",
@@ -1559,6 +1574,11 @@ const _abi = [
1559
1574
  name: "outputToken",
1560
1575
  type: "address",
1561
1576
  },
1577
+ {
1578
+ internalType: "uint256",
1579
+ name: "minTokenOut",
1580
+ type: "uint256",
1581
+ },
1562
1582
  ],
1563
1583
  internalType: "struct IPActionMintRedeem.RouterSwapAllStruct",
1564
1584
  name: "dataSwap",
@@ -1882,6 +1902,11 @@ const _abi = [
1882
1902
  name: "netPtOut",
1883
1903
  type: "uint256",
1884
1904
  },
1905
+ {
1906
+ internalType: "uint256",
1907
+ name: "netScyFee",
1908
+ type: "uint256",
1909
+ },
1885
1910
  ],
1886
1911
  stateMutability: "nonpayable",
1887
1912
  type: "function",
@@ -1916,6 +1941,11 @@ const _abi = [
1916
1941
  name: "netScyOut",
1917
1942
  type: "uint256",
1918
1943
  },
1944
+ {
1945
+ internalType: "uint256",
1946
+ name: "netScyFee",
1947
+ type: "uint256",
1948
+ },
1919
1949
  ],
1920
1950
  stateMutability: "nonpayable",
1921
1951
  type: "function",
@@ -1972,6 +2002,11 @@ const _abi = [
1972
2002
  name: "netTokenOut",
1973
2003
  type: "uint256",
1974
2004
  },
2005
+ {
2006
+ internalType: "uint256",
2007
+ name: "netScyFee",
2008
+ type: "uint256",
2009
+ },
1975
2010
  ],
1976
2011
  stateMutability: "nonpayable",
1977
2012
  type: "function",
@@ -2006,6 +2041,11 @@ const _abi = [
2006
2041
  name: "netScyOut",
2007
2042
  type: "uint256",
2008
2043
  },
2044
+ {
2045
+ internalType: "uint256",
2046
+ name: "netScyFee",
2047
+ type: "uint256",
2048
+ },
2009
2049
  ],
2010
2050
  stateMutability: "nonpayable",
2011
2051
  type: "function",
@@ -2062,6 +2102,11 @@ const _abi = [
2062
2102
  name: "netTokenOut",
2063
2103
  type: "uint256",
2064
2104
  },
2105
+ {
2106
+ internalType: "uint256",
2107
+ name: "netScyFee",
2108
+ type: "uint256",
2109
+ },
2065
2110
  ],
2066
2111
  stateMutability: "nonpayable",
2067
2112
  type: "function",
@@ -2128,6 +2173,11 @@ const _abi = [
2128
2173
  name: "netYtOut",
2129
2174
  type: "uint256",
2130
2175
  },
2176
+ {
2177
+ internalType: "uint256",
2178
+ name: "netScyFee",
2179
+ type: "uint256",
2180
+ },
2131
2181
  ],
2132
2182
  stateMutability: "nonpayable",
2133
2183
  type: "function",
@@ -2194,6 +2244,11 @@ const _abi = [
2194
2244
  name: "netPtOut",
2195
2245
  type: "uint256",
2196
2246
  },
2247
+ {
2248
+ internalType: "uint256",
2249
+ name: "netScyFee",
2250
+ type: "uint256",
2251
+ },
2197
2252
  ],
2198
2253
  stateMutability: "nonpayable",
2199
2254
  type: "function",
@@ -2260,6 +2315,11 @@ const _abi = [
2260
2315
  name: "netYtOut",
2261
2316
  type: "uint256",
2262
2317
  },
2318
+ {
2319
+ internalType: "uint256",
2320
+ name: "netScyFee",
2321
+ type: "uint256",
2322
+ },
2263
2323
  ],
2264
2324
  stateMutability: "nonpayable",
2265
2325
  type: "function",
@@ -2348,6 +2408,11 @@ const _abi = [
2348
2408
  name: "netPtOut",
2349
2409
  type: "uint256",
2350
2410
  },
2411
+ {
2412
+ internalType: "uint256",
2413
+ name: "netScyFee",
2414
+ type: "uint256",
2415
+ },
2351
2416
  ],
2352
2417
  stateMutability: "payable",
2353
2418
  type: "function",
@@ -2436,6 +2501,11 @@ const _abi = [
2436
2501
  name: "netYtOut",
2437
2502
  type: "uint256",
2438
2503
  },
2504
+ {
2505
+ internalType: "uint256",
2506
+ name: "netScyFee",
2507
+ type: "uint256",
2508
+ },
2439
2509
  ],
2440
2510
  stateMutability: "payable",
2441
2511
  type: "function",
@@ -2502,6 +2572,11 @@ const _abi = [
2502
2572
  name: "netPtOut",
2503
2573
  type: "uint256",
2504
2574
  },
2575
+ {
2576
+ internalType: "uint256",
2577
+ name: "netScyFee",
2578
+ type: "uint256",
2579
+ },
2505
2580
  ],
2506
2581
  stateMutability: "nonpayable",
2507
2582
  type: "function",
@@ -2536,6 +2611,11 @@ const _abi = [
2536
2611
  name: "netScyOut",
2537
2612
  type: "uint256",
2538
2613
  },
2614
+ {
2615
+ internalType: "uint256",
2616
+ name: "netScyFee",
2617
+ type: "uint256",
2618
+ },
2539
2619
  ],
2540
2620
  stateMutability: "nonpayable",
2541
2621
  type: "function",
@@ -2592,6 +2672,11 @@ const _abi = [
2592
2672
  name: "netTokenOut",
2593
2673
  type: "uint256",
2594
2674
  },
2675
+ {
2676
+ internalType: "uint256",
2677
+ name: "netScyFee",
2678
+ type: "uint256",
2679
+ },
2595
2680
  ],
2596
2681
  stateMutability: "nonpayable",
2597
2682
  type: "function",
@@ -2658,6 +2743,11 @@ const _abi = [
2658
2743
  name: "netPtIn",
2659
2744
  type: "uint256",
2660
2745
  },
2746
+ {
2747
+ internalType: "uint256",
2748
+ name: "netScyFee",
2749
+ type: "uint256",
2750
+ },
2661
2751
  ],
2662
2752
  stateMutability: "nonpayable",
2663
2753
  type: "function",
@@ -2692,6 +2782,11 @@ const _abi = [
2692
2782
  name: "netScyIn",
2693
2783
  type: "uint256",
2694
2784
  },
2785
+ {
2786
+ internalType: "uint256",
2787
+ name: "netScyFee",
2788
+ type: "uint256",
2789
+ },
2695
2790
  ],
2696
2791
  stateMutability: "nonpayable",
2697
2792
  type: "function",
@@ -2726,6 +2821,11 @@ const _abi = [
2726
2821
  name: "netScyIn",
2727
2822
  type: "uint256",
2728
2823
  },
2824
+ {
2825
+ internalType: "uint256",
2826
+ name: "netScyFee",
2827
+ type: "uint256",
2828
+ },
2729
2829
  ],
2730
2830
  stateMutability: "nonpayable",
2731
2831
  type: "function",
@@ -2792,6 +2892,11 @@ const _abi = [
2792
2892
  name: "netYtIn",
2793
2893
  type: "uint256",
2794
2894
  },
2895
+ {
2896
+ internalType: "uint256",
2897
+ name: "netScyFee",
2898
+ type: "uint256",
2899
+ },
2795
2900
  ],
2796
2901
  stateMutability: "nonpayable",
2797
2902
  type: "function",