@pendle/core-v2 2.10.1-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 (264) 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 +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  22. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  24. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  26. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  28. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  31. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  33. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  37. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +4 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +252 -0
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +4 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +10 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +4 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json +89 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +4 -0
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +338 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +4 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +1464 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  85. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  88. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  90. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  93. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  95. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  97. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.json +237 -0
  99. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.json +56 -0
  101. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +4 -0
  102. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.json +142 -0
  103. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +402 -0
  105. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +438 -0
  107. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +729 -0
  109. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.json +647 -0
  111. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.json +350 -0
  113. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  126. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  127. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  128. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  129. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  131. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  133. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  135. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  137. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  139. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  141. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  143. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  145. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  146. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  147. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  148. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  149. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  150. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  151. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  152. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  153. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  154. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  155. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  156. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  158. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  160. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  161. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  162. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  163. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  164. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  165. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  166. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  167. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  168. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  169. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  170. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  172. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +224 -0
  173. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +16 -14
  174. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +144 -0
  175. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol +38 -0
  176. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +146 -0
  177. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol +177 -0
  178. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +243 -0
  179. package/contracts/core/libraries/math/Math.sol +19 -3
  180. package/contracts/interfaces/Camelot/ICamelotFactory.sol +22 -0
  181. package/contracts/interfaces/Camelot/ICamelotNFTFactory.sol +11 -0
  182. package/contracts/interfaces/Camelot/ICamelotNFTHandler.sol +26 -0
  183. package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +19 -0
  184. package/contracts/interfaces/Camelot/ICamelotNitroPool.sol +28 -0
  185. package/contracts/interfaces/Camelot/ICamelotPair.sol +109 -0
  186. package/contracts/interfaces/Camelot/ICamelotRouter.sol +127 -0
  187. package/contracts/interfaces/Camelot/IXGrail.sol +31 -0
  188. package/contracts/interfaces/IPVotingController.sol +8 -5
  189. package/deployments/42161-markets/CAMELOT-PEP-27JUNE2024-ARBITRUM.JSON.json +10 -0
  190. package/deployments/merkle-distribution/2023-04-27.json +3342 -0
  191. package/package.json +1 -1
  192. package/typechain-types/CamelotRewardHelper.ts +347 -0
  193. package/typechain-types/CamelotV1VolatileLpHelper.ts +152 -0
  194. package/typechain-types/CamelotV1VolatilePreview.ts +479 -0
  195. package/typechain-types/ICamelotFactory.ts +375 -0
  196. package/typechain-types/ICamelotNFTFactory.ts +122 -0
  197. package/typechain-types/ICamelotNFTHandler.ts +262 -0
  198. package/typechain-types/ICamelotNFTPool.ts +710 -0
  199. package/typechain-types/ICamelotNitroPool.ts +689 -0
  200. package/typechain-types/ICamelotPair.ts +16 -0
  201. package/typechain-types/IERC165.ts +102 -0
  202. package/typechain-types/IERC721.ts +487 -0
  203. package/typechain-types/IXGrail.ts +603 -0
  204. package/typechain-types/PendleCamelotV1VolatileSY.ts +1929 -0
  205. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  206. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  207. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  208. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  209. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  210. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  211. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  212. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  213. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  214. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  215. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  216. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  217. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  218. package/typechain-types/factories/CamelotRewardHelper__factory.ts +313 -0
  219. package/typechain-types/factories/CamelotV1VolatileLpHelper__factory.ts +108 -0
  220. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +400 -0
  221. package/typechain-types/factories/ICamelotFactory__factory.ts +252 -0
  222. package/typechain-types/factories/ICamelotNFTFactory__factory.ts +71 -0
  223. package/typechain-types/factories/ICamelotNFTHandler__factory.ts +157 -0
  224. package/typechain-types/factories/ICamelotNFTPool__factory.ts +417 -0
  225. package/typechain-types/factories/ICamelotNitroPool__factory.ts +453 -0
  226. package/typechain-types/factories/ICamelotPair__factory.ts +13 -0
  227. package/typechain-types/factories/IERC165__factory.ts +42 -0
  228. package/typechain-types/factories/IERC721__factory.ts +308 -0
  229. package/typechain-types/factories/IXGrail__factory.ts +362 -0
  230. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  231. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  232. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  233. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  234. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1557 -0
  235. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  236. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  237. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  238. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  239. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  240. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  241. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  242. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  243. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  244. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  245. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  246. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  247. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  248. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  249. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  250. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  251. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  252. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  253. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  254. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  255. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  256. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  257. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  258. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  259. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  260. package/typechain-types/factories/SAPE__factory.ts +1 -1
  261. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  262. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  263. package/typechain-types/hardhat.d.ts +86 -32
  264. package/typechain-types/index.ts +28 -16
@@ -0,0 +1,453 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ ICamelotNitroPool,
9
+ ICamelotNitroPoolInterface,
10
+ } from "../ICamelotNitroPool";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "approved",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "uint256",
31
+ name: "tokenId",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "owner",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "operator",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "bool",
56
+ name: "approved",
57
+ type: "bool",
58
+ },
59
+ ],
60
+ name: "ApprovalForAll",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "address",
69
+ name: "from",
70
+ type: "address",
71
+ },
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "to",
76
+ type: "address",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "uint256",
81
+ name: "tokenId",
82
+ type: "uint256",
83
+ },
84
+ ],
85
+ name: "Transfer",
86
+ type: "event",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "address",
92
+ name: "to",
93
+ type: "address",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "tokenId",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "approve",
102
+ outputs: [],
103
+ stateMutability: "nonpayable",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ internalType: "address",
110
+ name: "owner",
111
+ type: "address",
112
+ },
113
+ ],
114
+ name: "balanceOf",
115
+ outputs: [
116
+ {
117
+ internalType: "uint256",
118
+ name: "balance",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ stateMutability: "view",
123
+ type: "function",
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "tokenId",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "emergencyWithdraw",
134
+ outputs: [],
135
+ stateMutability: "nonpayable",
136
+ type: "function",
137
+ },
138
+ {
139
+ inputs: [
140
+ {
141
+ internalType: "uint256",
142
+ name: "tokenId",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ name: "getApproved",
147
+ outputs: [
148
+ {
149
+ internalType: "address",
150
+ name: "operator",
151
+ type: "address",
152
+ },
153
+ ],
154
+ stateMutability: "view",
155
+ type: "function",
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: "grailToken",
160
+ outputs: [
161
+ {
162
+ internalType: "address",
163
+ name: "",
164
+ type: "address",
165
+ },
166
+ ],
167
+ stateMutability: "view",
168
+ type: "function",
169
+ },
170
+ {
171
+ inputs: [],
172
+ name: "harvest",
173
+ outputs: [],
174
+ stateMutability: "nonpayable",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "address",
181
+ name: "owner",
182
+ type: "address",
183
+ },
184
+ {
185
+ internalType: "address",
186
+ name: "operator",
187
+ type: "address",
188
+ },
189
+ ],
190
+ name: "isApprovedForAll",
191
+ outputs: [
192
+ {
193
+ internalType: "bool",
194
+ name: "",
195
+ type: "bool",
196
+ },
197
+ ],
198
+ stateMutability: "view",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "nftPool",
204
+ outputs: [
205
+ {
206
+ internalType: "address",
207
+ name: "",
208
+ type: "address",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [
216
+ {
217
+ internalType: "uint256",
218
+ name: "tokenId",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ name: "ownerOf",
223
+ outputs: [
224
+ {
225
+ internalType: "address",
226
+ name: "owner",
227
+ type: "address",
228
+ },
229
+ ],
230
+ stateMutability: "view",
231
+ type: "function",
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: "rewardsToken1",
236
+ outputs: [
237
+ {
238
+ components: [
239
+ {
240
+ internalType: "address",
241
+ name: "token",
242
+ type: "address",
243
+ },
244
+ {
245
+ internalType: "uint256",
246
+ name: "amount",
247
+ type: "uint256",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "remainingAmount",
252
+ type: "uint256",
253
+ },
254
+ {
255
+ internalType: "uint256",
256
+ name: "accRewardsPerShare",
257
+ type: "uint256",
258
+ },
259
+ ],
260
+ internalType: "struct ICamelotNitroPool.RewardsToken",
261
+ name: "",
262
+ type: "tuple",
263
+ },
264
+ ],
265
+ stateMutability: "view",
266
+ type: "function",
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: "rewardsToken2",
271
+ outputs: [
272
+ {
273
+ components: [
274
+ {
275
+ internalType: "address",
276
+ name: "token",
277
+ type: "address",
278
+ },
279
+ {
280
+ internalType: "uint256",
281
+ name: "amount",
282
+ type: "uint256",
283
+ },
284
+ {
285
+ internalType: "uint256",
286
+ name: "remainingAmount",
287
+ type: "uint256",
288
+ },
289
+ {
290
+ internalType: "uint256",
291
+ name: "accRewardsPerShare",
292
+ type: "uint256",
293
+ },
294
+ ],
295
+ internalType: "struct ICamelotNitroPool.RewardsToken",
296
+ name: "",
297
+ type: "tuple",
298
+ },
299
+ ],
300
+ stateMutability: "view",
301
+ type: "function",
302
+ },
303
+ {
304
+ inputs: [
305
+ {
306
+ internalType: "address",
307
+ name: "from",
308
+ type: "address",
309
+ },
310
+ {
311
+ internalType: "address",
312
+ name: "to",
313
+ type: "address",
314
+ },
315
+ {
316
+ internalType: "uint256",
317
+ name: "tokenId",
318
+ type: "uint256",
319
+ },
320
+ ],
321
+ name: "safeTransferFrom",
322
+ outputs: [],
323
+ stateMutability: "nonpayable",
324
+ type: "function",
325
+ },
326
+ {
327
+ inputs: [
328
+ {
329
+ internalType: "address",
330
+ name: "from",
331
+ type: "address",
332
+ },
333
+ {
334
+ internalType: "address",
335
+ name: "to",
336
+ type: "address",
337
+ },
338
+ {
339
+ internalType: "uint256",
340
+ name: "tokenId",
341
+ type: "uint256",
342
+ },
343
+ {
344
+ internalType: "bytes",
345
+ name: "data",
346
+ type: "bytes",
347
+ },
348
+ ],
349
+ name: "safeTransferFrom",
350
+ outputs: [],
351
+ stateMutability: "nonpayable",
352
+ type: "function",
353
+ },
354
+ {
355
+ inputs: [
356
+ {
357
+ internalType: "address",
358
+ name: "operator",
359
+ type: "address",
360
+ },
361
+ {
362
+ internalType: "bool",
363
+ name: "_approved",
364
+ type: "bool",
365
+ },
366
+ ],
367
+ name: "setApprovalForAll",
368
+ outputs: [],
369
+ stateMutability: "nonpayable",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [
374
+ {
375
+ internalType: "bytes4",
376
+ name: "interfaceId",
377
+ type: "bytes4",
378
+ },
379
+ ],
380
+ name: "supportsInterface",
381
+ outputs: [
382
+ {
383
+ internalType: "bool",
384
+ name: "",
385
+ type: "bool",
386
+ },
387
+ ],
388
+ stateMutability: "view",
389
+ type: "function",
390
+ },
391
+ {
392
+ inputs: [
393
+ {
394
+ internalType: "address",
395
+ name: "from",
396
+ type: "address",
397
+ },
398
+ {
399
+ internalType: "address",
400
+ name: "to",
401
+ type: "address",
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "tokenId",
406
+ type: "uint256",
407
+ },
408
+ ],
409
+ name: "transferFrom",
410
+ outputs: [],
411
+ stateMutability: "nonpayable",
412
+ type: "function",
413
+ },
414
+ {
415
+ inputs: [
416
+ {
417
+ internalType: "uint256",
418
+ name: "tokenId",
419
+ type: "uint256",
420
+ },
421
+ ],
422
+ name: "withdraw",
423
+ outputs: [],
424
+ stateMutability: "nonpayable",
425
+ type: "function",
426
+ },
427
+ {
428
+ inputs: [],
429
+ name: "xGrailToken",
430
+ outputs: [
431
+ {
432
+ internalType: "address",
433
+ name: "",
434
+ type: "address",
435
+ },
436
+ ],
437
+ stateMutability: "view",
438
+ type: "function",
439
+ },
440
+ ];
441
+
442
+ export class ICamelotNitroPool__factory {
443
+ static readonly abi = _abi;
444
+ static createInterface(): ICamelotNitroPoolInterface {
445
+ return new utils.Interface(_abi) as ICamelotNitroPoolInterface;
446
+ }
447
+ static connect(
448
+ address: string,
449
+ signerOrProvider: Signer | Provider
450
+ ): ICamelotNitroPool {
451
+ return new Contract(address, _abi, signerOrProvider) as ICamelotNitroPool;
452
+ }
453
+ }
@@ -539,6 +539,19 @@ const _abi = [
539
539
  stateMutability: "nonpayable",
540
540
  type: "function",
541
541
  },
542
+ {
543
+ inputs: [],
544
+ name: "stableSwap",
545
+ outputs: [
546
+ {
547
+ internalType: "bool",
548
+ name: "",
549
+ type: "bool",
550
+ },
551
+ ],
552
+ stateMutability: "view",
553
+ type: "function",
554
+ },
542
555
  {
543
556
  inputs: [
544
557
  {
@@ -0,0 +1,42 @@
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 { IERC165, IERC165Interface } from "../IERC165";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes4",
14
+ name: "interfaceId",
15
+ type: "bytes4",
16
+ },
17
+ ],
18
+ name: "supportsInterface",
19
+ outputs: [
20
+ {
21
+ internalType: "bool",
22
+ name: "",
23
+ type: "bool",
24
+ },
25
+ ],
26
+ stateMutability: "view",
27
+ type: "function",
28
+ },
29
+ ];
30
+
31
+ export class IERC165__factory {
32
+ static readonly abi = _abi;
33
+ static createInterface(): IERC165Interface {
34
+ return new utils.Interface(_abi) as IERC165Interface;
35
+ }
36
+ static connect(
37
+ address: string,
38
+ signerOrProvider: Signer | Provider
39
+ ): IERC165 {
40
+ return new Contract(address, _abi, signerOrProvider) as IERC165;
41
+ }
42
+ }