@pendle/core-v2 2.11.0-mainnet → 2.12.0-mainnet

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 (270) hide show
  1. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  4. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
  7. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +592 -0
  8. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +79 -2
  10. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +77 -0
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  23. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  25. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  27. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  29. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  32. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  34. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  38. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +252 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +10 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +4 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json +89 -0
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +338 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +1464 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  86. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  89. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  91. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  94. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  96. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  98. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.json +237 -0
  100. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.json +56 -0
  102. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.json +142 -0
  104. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +402 -0
  106. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +438 -0
  108. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +4 -0
  109. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +729 -0
  110. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +4 -0
  111. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.json +647 -0
  112. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +4 -0
  113. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.json +350 -0
  114. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +77 -0
  127. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  128. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  129. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  130. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  131. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  133. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  135. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  137. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  139. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  141. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  143. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  145. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  147. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  148. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  149. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  150. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  151. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  152. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  153. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  154. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  155. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  156. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  158. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  160. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  161. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  162. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  163. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  164. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  165. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  166. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  167. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  168. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  170. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  172. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  174. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +224 -0
  175. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +15 -0
  176. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +144 -0
  177. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol +38 -0
  178. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +146 -0
  179. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol +177 -0
  180. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +243 -0
  181. package/contracts/core/libraries/math/Math.sol +19 -3
  182. package/contracts/interfaces/Camelot/ICamelotFactory.sol +22 -0
  183. package/contracts/interfaces/Camelot/ICamelotNFTFactory.sol +11 -0
  184. package/contracts/interfaces/Camelot/ICamelotNFTHandler.sol +26 -0
  185. package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +19 -0
  186. package/contracts/interfaces/Camelot/ICamelotNitroPool.sol +28 -0
  187. package/contracts/interfaces/Camelot/ICamelotPair.sol +109 -0
  188. package/contracts/interfaces/Camelot/ICamelotRouter.sol +127 -0
  189. package/contracts/interfaces/Camelot/IXGrail.sol +31 -0
  190. package/contracts/interfaces/IPVotingController.sol +10 -0
  191. package/deployments/42161-markets/CAMELOT-PEP-27JUNE2024-ARBITRUM.JSON.json +10 -0
  192. package/package.json +1 -1
  193. package/typechain-types/CamelotRewardHelper.ts +347 -0
  194. package/typechain-types/CamelotV1VolatileLpHelper.ts +152 -0
  195. package/typechain-types/CamelotV1VolatilePreview.ts +479 -0
  196. package/typechain-types/ICamelotFactory.ts +375 -0
  197. package/typechain-types/ICamelotNFTFactory.ts +122 -0
  198. package/typechain-types/ICamelotNFTHandler.ts +262 -0
  199. package/typechain-types/ICamelotNFTPool.ts +710 -0
  200. package/typechain-types/ICamelotNitroPool.ts +689 -0
  201. package/typechain-types/ICamelotPair.ts +16 -0
  202. package/typechain-types/IERC165.ts +102 -0
  203. package/typechain-types/IERC721.ts +487 -0
  204. package/typechain-types/IPVotingController.ts +93 -0
  205. package/typechain-types/IXGrail.ts +603 -0
  206. package/typechain-types/PendleCamelotV1VolatileSY.ts +1929 -0
  207. package/typechain-types/PendleVotingControllerUpg.ts +93 -0
  208. package/typechain-types/VotingControllerStorageUpg.ts +93 -0
  209. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  210. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  211. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  212. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  213. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  214. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  215. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  216. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  217. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  218. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  219. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  220. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  221. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  222. package/typechain-types/factories/CamelotRewardHelper__factory.ts +313 -0
  223. package/typechain-types/factories/CamelotV1VolatileLpHelper__factory.ts +108 -0
  224. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +400 -0
  225. package/typechain-types/factories/ICamelotFactory__factory.ts +252 -0
  226. package/typechain-types/factories/ICamelotNFTFactory__factory.ts +71 -0
  227. package/typechain-types/factories/ICamelotNFTHandler__factory.ts +157 -0
  228. package/typechain-types/factories/ICamelotNFTPool__factory.ts +417 -0
  229. package/typechain-types/factories/ICamelotNitroPool__factory.ts +453 -0
  230. package/typechain-types/factories/ICamelotPair__factory.ts +13 -0
  231. package/typechain-types/factories/IERC165__factory.ts +42 -0
  232. package/typechain-types/factories/IERC721__factory.ts +308 -0
  233. package/typechain-types/factories/IPVotingController__factory.ts +77 -0
  234. package/typechain-types/factories/IXGrail__factory.ts +362 -0
  235. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  236. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  237. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  238. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  239. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1557 -0
  240. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  241. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  242. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  243. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  244. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  245. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  246. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  247. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  248. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  249. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  250. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  251. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  252. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  253. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  254. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  255. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  256. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  257. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  258. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  259. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +78 -1
  260. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  261. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  262. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  263. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  264. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  265. package/typechain-types/factories/SAPE__factory.ts +1 -1
  266. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +77 -0
  267. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  268. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  269. package/typechain-types/hardhat.d.ts +135 -0
  270. package/typechain-types/index.ts +30 -0
@@ -0,0 +1,308 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IERC721, IERC721Interface } from "../IERC721";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "owner",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "approved",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "uint256",
28
+ name: "tokenId",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "Approval",
33
+ type: "event",
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "owner",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "operator",
48
+ type: "address",
49
+ },
50
+ {
51
+ indexed: false,
52
+ internalType: "bool",
53
+ name: "approved",
54
+ type: "bool",
55
+ },
56
+ ],
57
+ name: "ApprovalForAll",
58
+ type: "event",
59
+ },
60
+ {
61
+ anonymous: false,
62
+ inputs: [
63
+ {
64
+ indexed: true,
65
+ internalType: "address",
66
+ name: "from",
67
+ type: "address",
68
+ },
69
+ {
70
+ indexed: true,
71
+ internalType: "address",
72
+ name: "to",
73
+ type: "address",
74
+ },
75
+ {
76
+ indexed: true,
77
+ internalType: "uint256",
78
+ name: "tokenId",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ name: "Transfer",
83
+ type: "event",
84
+ },
85
+ {
86
+ inputs: [
87
+ {
88
+ internalType: "address",
89
+ name: "to",
90
+ type: "address",
91
+ },
92
+ {
93
+ internalType: "uint256",
94
+ name: "tokenId",
95
+ type: "uint256",
96
+ },
97
+ ],
98
+ name: "approve",
99
+ outputs: [],
100
+ stateMutability: "nonpayable",
101
+ type: "function",
102
+ },
103
+ {
104
+ inputs: [
105
+ {
106
+ internalType: "address",
107
+ name: "owner",
108
+ type: "address",
109
+ },
110
+ ],
111
+ name: "balanceOf",
112
+ outputs: [
113
+ {
114
+ internalType: "uint256",
115
+ name: "balance",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ stateMutability: "view",
120
+ type: "function",
121
+ },
122
+ {
123
+ inputs: [
124
+ {
125
+ internalType: "uint256",
126
+ name: "tokenId",
127
+ type: "uint256",
128
+ },
129
+ ],
130
+ name: "getApproved",
131
+ outputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "operator",
135
+ type: "address",
136
+ },
137
+ ],
138
+ stateMutability: "view",
139
+ type: "function",
140
+ },
141
+ {
142
+ inputs: [
143
+ {
144
+ internalType: "address",
145
+ name: "owner",
146
+ type: "address",
147
+ },
148
+ {
149
+ internalType: "address",
150
+ name: "operator",
151
+ type: "address",
152
+ },
153
+ ],
154
+ name: "isApprovedForAll",
155
+ outputs: [
156
+ {
157
+ internalType: "bool",
158
+ name: "",
159
+ type: "bool",
160
+ },
161
+ ],
162
+ stateMutability: "view",
163
+ type: "function",
164
+ },
165
+ {
166
+ inputs: [
167
+ {
168
+ internalType: "uint256",
169
+ name: "tokenId",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ name: "ownerOf",
174
+ outputs: [
175
+ {
176
+ internalType: "address",
177
+ name: "owner",
178
+ type: "address",
179
+ },
180
+ ],
181
+ stateMutability: "view",
182
+ type: "function",
183
+ },
184
+ {
185
+ inputs: [
186
+ {
187
+ internalType: "address",
188
+ name: "from",
189
+ type: "address",
190
+ },
191
+ {
192
+ internalType: "address",
193
+ name: "to",
194
+ type: "address",
195
+ },
196
+ {
197
+ internalType: "uint256",
198
+ name: "tokenId",
199
+ type: "uint256",
200
+ },
201
+ ],
202
+ name: "safeTransferFrom",
203
+ outputs: [],
204
+ stateMutability: "nonpayable",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [
209
+ {
210
+ internalType: "address",
211
+ name: "from",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "address",
216
+ name: "to",
217
+ type: "address",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "tokenId",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ internalType: "bytes",
226
+ name: "data",
227
+ type: "bytes",
228
+ },
229
+ ],
230
+ name: "safeTransferFrom",
231
+ outputs: [],
232
+ stateMutability: "nonpayable",
233
+ type: "function",
234
+ },
235
+ {
236
+ inputs: [
237
+ {
238
+ internalType: "address",
239
+ name: "operator",
240
+ type: "address",
241
+ },
242
+ {
243
+ internalType: "bool",
244
+ name: "_approved",
245
+ type: "bool",
246
+ },
247
+ ],
248
+ name: "setApprovalForAll",
249
+ outputs: [],
250
+ stateMutability: "nonpayable",
251
+ type: "function",
252
+ },
253
+ {
254
+ inputs: [
255
+ {
256
+ internalType: "bytes4",
257
+ name: "interfaceId",
258
+ type: "bytes4",
259
+ },
260
+ ],
261
+ name: "supportsInterface",
262
+ outputs: [
263
+ {
264
+ internalType: "bool",
265
+ name: "",
266
+ type: "bool",
267
+ },
268
+ ],
269
+ stateMutability: "view",
270
+ type: "function",
271
+ },
272
+ {
273
+ inputs: [
274
+ {
275
+ internalType: "address",
276
+ name: "from",
277
+ type: "address",
278
+ },
279
+ {
280
+ internalType: "address",
281
+ name: "to",
282
+ type: "address",
283
+ },
284
+ {
285
+ internalType: "uint256",
286
+ name: "tokenId",
287
+ type: "uint256",
288
+ },
289
+ ],
290
+ name: "transferFrom",
291
+ outputs: [],
292
+ stateMutability: "nonpayable",
293
+ type: "function",
294
+ },
295
+ ];
296
+
297
+ export class IERC721__factory {
298
+ static readonly abi = _abi;
299
+ static createInterface(): IERC721Interface {
300
+ return new utils.Interface(_abi) as IERC721Interface;
301
+ }
302
+ static connect(
303
+ address: string,
304
+ signerOrProvider: Signer | Provider
305
+ ): IERC721 {
306
+ return new Contract(address, _abi, signerOrProvider) as IERC721;
307
+ }
308
+ }
@@ -236,6 +236,83 @@ const _abi = [
236
236
  stateMutability: "view",
237
237
  type: "function",
238
238
  },
239
+ {
240
+ inputs: [
241
+ {
242
+ internalType: "address",
243
+ name: "user",
244
+ type: "address",
245
+ },
246
+ {
247
+ internalType: "address",
248
+ name: "pool",
249
+ type: "address",
250
+ },
251
+ {
252
+ internalType: "uint256",
253
+ name: "index",
254
+ type: "uint256",
255
+ },
256
+ ],
257
+ name: "getUserPoolHistoryAt",
258
+ outputs: [
259
+ {
260
+ components: [
261
+ {
262
+ internalType: "uint128",
263
+ name: "timestamp",
264
+ type: "uint128",
265
+ },
266
+ {
267
+ components: [
268
+ {
269
+ internalType: "uint128",
270
+ name: "bias",
271
+ type: "uint128",
272
+ },
273
+ {
274
+ internalType: "uint128",
275
+ name: "slope",
276
+ type: "uint128",
277
+ },
278
+ ],
279
+ internalType: "struct VeBalance",
280
+ name: "value",
281
+ type: "tuple",
282
+ },
283
+ ],
284
+ internalType: "struct Checkpoint",
285
+ name: "",
286
+ type: "tuple",
287
+ },
288
+ ],
289
+ stateMutability: "view",
290
+ type: "function",
291
+ },
292
+ {
293
+ inputs: [
294
+ {
295
+ internalType: "address",
296
+ name: "user",
297
+ type: "address",
298
+ },
299
+ {
300
+ internalType: "address",
301
+ name: "pool",
302
+ type: "address",
303
+ },
304
+ ],
305
+ name: "getUserPoolHistoryLength",
306
+ outputs: [
307
+ {
308
+ internalType: "uint256",
309
+ name: "",
310
+ type: "uint256",
311
+ },
312
+ ],
313
+ stateMutability: "view",
314
+ type: "function",
315
+ },
239
316
  {
240
317
  inputs: [
241
318
  {