@pendle/core-v2 2.11.0-mainnet → 2.13.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 +170 -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 +251 -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 +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,313 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ CamelotRewardHelper,
8
+ CamelotRewardHelperInterface,
9
+ } from "../CamelotRewardHelper";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "_nitroPool",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "address",
21
+ name: "_lp",
22
+ type: "address",
23
+ },
24
+ ],
25
+ stateMutability: "nonpayable",
26
+ type: "constructor",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "uint256",
32
+ name: "tokenId",
33
+ type: "uint256",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "positionId",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ name: "InvalidTokenId",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "GRAIL",
47
+ outputs: [
48
+ {
49
+ internalType: "address",
50
+ name: "",
51
+ type: "address",
52
+ },
53
+ ],
54
+ stateMutability: "view",
55
+ type: "function",
56
+ },
57
+ {
58
+ inputs: [],
59
+ name: "nftPool",
60
+ outputs: [
61
+ {
62
+ internalType: "address",
63
+ name: "",
64
+ type: "address",
65
+ },
66
+ ],
67
+ stateMutability: "view",
68
+ type: "function",
69
+ },
70
+ {
71
+ inputs: [],
72
+ name: "nitroPool",
73
+ outputs: [
74
+ {
75
+ internalType: "address",
76
+ name: "",
77
+ type: "address",
78
+ },
79
+ ],
80
+ stateMutability: "view",
81
+ type: "function",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "address",
87
+ name: "",
88
+ type: "address",
89
+ },
90
+ {
91
+ internalType: "address",
92
+ name: "",
93
+ type: "address",
94
+ },
95
+ {
96
+ internalType: "uint256",
97
+ name: "tokenId",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ internalType: "bytes",
102
+ name: "",
103
+ type: "bytes",
104
+ },
105
+ ],
106
+ name: "onERC721Received",
107
+ outputs: [
108
+ {
109
+ internalType: "bytes4",
110
+ name: "",
111
+ type: "bytes4",
112
+ },
113
+ ],
114
+ stateMutability: "view",
115
+ type: "function",
116
+ },
117
+ {
118
+ inputs: [
119
+ {
120
+ internalType: "address",
121
+ name: "",
122
+ type: "address",
123
+ },
124
+ {
125
+ internalType: "uint256",
126
+ name: "tokenId",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "",
132
+ type: "uint256",
133
+ },
134
+ ],
135
+ name: "onNFTAddToPosition",
136
+ outputs: [
137
+ {
138
+ internalType: "bool",
139
+ name: "",
140
+ type: "bool",
141
+ },
142
+ ],
143
+ stateMutability: "view",
144
+ type: "function",
145
+ },
146
+ {
147
+ inputs: [
148
+ {
149
+ internalType: "address",
150
+ name: "",
151
+ type: "address",
152
+ },
153
+ {
154
+ internalType: "address",
155
+ name: "",
156
+ type: "address",
157
+ },
158
+ {
159
+ internalType: "uint256",
160
+ name: "tokenId",
161
+ type: "uint256",
162
+ },
163
+ {
164
+ internalType: "uint256",
165
+ name: "",
166
+ type: "uint256",
167
+ },
168
+ {
169
+ internalType: "uint256",
170
+ name: "",
171
+ type: "uint256",
172
+ },
173
+ ],
174
+ name: "onNFTHarvest",
175
+ outputs: [
176
+ {
177
+ internalType: "bool",
178
+ name: "",
179
+ type: "bool",
180
+ },
181
+ ],
182
+ stateMutability: "view",
183
+ type: "function",
184
+ },
185
+ {
186
+ inputs: [
187
+ {
188
+ internalType: "address",
189
+ name: "",
190
+ type: "address",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "tokenId",
195
+ type: "uint256",
196
+ },
197
+ {
198
+ internalType: "uint256",
199
+ name: "",
200
+ type: "uint256",
201
+ },
202
+ ],
203
+ name: "onNFTWithdraw",
204
+ outputs: [
205
+ {
206
+ internalType: "bool",
207
+ name: "",
208
+ type: "bool",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [],
216
+ name: "positionId",
217
+ outputs: [
218
+ {
219
+ internalType: "uint256",
220
+ name: "",
221
+ type: "uint256",
222
+ },
223
+ ],
224
+ stateMutability: "view",
225
+ type: "function",
226
+ },
227
+ {
228
+ inputs: [],
229
+ name: "xGRAIL",
230
+ outputs: [
231
+ {
232
+ internalType: "address",
233
+ name: "",
234
+ type: "address",
235
+ },
236
+ ],
237
+ stateMutability: "view",
238
+ type: "function",
239
+ },
240
+ {
241
+ inputs: [],
242
+ name: "yieldBooster",
243
+ outputs: [
244
+ {
245
+ internalType: "address",
246
+ name: "",
247
+ type: "address",
248
+ },
249
+ ],
250
+ stateMutability: "view",
251
+ type: "function",
252
+ },
253
+ ];
254
+
255
+ const _bytecode =
256
+ "0x61012060405260001960005534801561001757600080fd5b50604051610a11380380610a118339810160408190526100369161049d565b6001600160a01b03821660a081905260408051630828862d60e01b81529051630828862d916004808201926020929091908290030181865afa158015610080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a491906104d0565b6001600160a01b03166080816001600160a01b03168152505060a0516001600160a01b031663c414c5846040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012191906104d0565b6001600160a01b031660e0816001600160a01b03168152505060a0516001600160a01b03166346fa466a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561017a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061019e91906104d0565b6001600160a01b0316610100816001600160a01b0316815250506080516001600160a01b03166368e5dab56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021c91906104d0565b6001600160a01b031660c0526080516102369082906102a5565b6101005160c0516040516330d83b4760e21b81526001600160a01b039092169163c360ed1c9161026c91600019906004016104f2565b600060405180830381600087803b15801561028657600080fd5b505af115801561029a573d6000803e3d6000fd5b5050505050506105a9565b6001600160a01b0382166102b7575050565b6102c960026001600160601b0361050b565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015610322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610346919061053f565b10156103655761035882826000610369565b6103658282600019610369565b5050565b600080846001600160a01b031663095ea7b360e01b85856040516024016103919291906104f2565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516103cf9190610558565b6000604051808303816000865af19150503d806000811461040c576040519150601f19603f3d011682016040523d82523d6000602084013e610411565b606091505b509150915081801561043b57508051158061043b57508080602001905181019061043b9190610587565b61047a5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b80516001600160a01b038116811461049857600080fd5b919050565b600080604083850312156104b057600080fd5b6104b983610481565b91506104c760208401610481565b90509250929050565b6000602082840312156104e257600080fd5b6104eb82610481565b9392505050565b6001600160a01b03929092168252602082015260400190565b60006001600160601b038381168061053357634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60006020828403121561055157600080fd5b5051919050565b6000825160005b81811015610579576020818601810151858301520161055f565b506000920191825250919050565b60006020828403121561059957600080fd5b815180151581146104eb57600080fd5b60805160a05160c05160e051610100516104256105ec60003960006101b701526000610190015260006101520152600061012b01526000609801526104256000f3fe608060405234801561001057600080fd5b506004361061008e5760003560e01c80630828862d14610093578063150b7a02146100d757806334677c7a146101035780634d6446d91461012657806368e5dab51461014d57806371640de3146101745780637a2660381461018b578063896a21de146101b2578063e2b36dc314610103578063fe4ee967146101d9575b600080fd5b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ea6100e53660046102d5565b6101ec565b6040516001600160e01b031990911681526020016100ce565b61011661011136600461036f565b61023b565b60405190151581526020016100ce565b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b61017d60005481565b6040519081526020016100ce565b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b6101166101e73660046103a2565b610279565b60008360005481146102285760005460405163168a450960e21b815261021f918391600401918252602082015260400190565b60405180910390fd5b50630a85bd0160e11b9695505050505050565b600082600054811461026e5760005460405163168a450960e21b815261021f918391600401918252602082015260400190565b506001949350505050565b60008360005481146102ac5760005460405163168a450960e21b815261021f918391600401918252602082015260400190565b5060019695505050505050565b80356001600160a01b03811681146102d057600080fd5b919050565b6000806000806000608086880312156102ed57600080fd5b6102f6866102b9565b9450610304602087016102b9565b93506040860135925060608601356001600160401b038082111561032757600080fd5b818801915088601f83011261033b57600080fd5b81358181111561034a57600080fd5b89602082850101111561035c57600080fd5b9699959850939650602001949392505050565b60008060006060848603121561038457600080fd5b61038d846102b9565b95602085013595506040909401359392505050565b600080600080600060a086880312156103ba57600080fd5b6103c3866102b9565b94506103d1602087016102b9565b9497949650505050604083013592606081013592608090910135915056fea26469706673582212200e8fb499d8293999ef4b293735d7836007b852f1d5c75a357890cfb1fa0f7a9564736f6c63430008110033";
257
+
258
+ type CamelotRewardHelperConstructorParams =
259
+ | [signer?: Signer]
260
+ | ConstructorParameters<typeof ContractFactory>;
261
+
262
+ const isSuperArgs = (
263
+ xs: CamelotRewardHelperConstructorParams
264
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
265
+
266
+ export class CamelotRewardHelper__factory extends ContractFactory {
267
+ constructor(...args: CamelotRewardHelperConstructorParams) {
268
+ if (isSuperArgs(args)) {
269
+ super(...args);
270
+ } else {
271
+ super(_abi, _bytecode, args[0]);
272
+ }
273
+ this.contractName = "CamelotRewardHelper";
274
+ }
275
+
276
+ deploy(
277
+ _nitroPool: string,
278
+ _lp: string,
279
+ overrides?: Overrides & { from?: string | Promise<string> }
280
+ ): Promise<CamelotRewardHelper> {
281
+ return super.deploy(
282
+ _nitroPool,
283
+ _lp,
284
+ overrides || {}
285
+ ) as Promise<CamelotRewardHelper>;
286
+ }
287
+ getDeployTransaction(
288
+ _nitroPool: string,
289
+ _lp: string,
290
+ overrides?: Overrides & { from?: string | Promise<string> }
291
+ ): TransactionRequest {
292
+ return super.getDeployTransaction(_nitroPool, _lp, overrides || {});
293
+ }
294
+ attach(address: string): CamelotRewardHelper {
295
+ return super.attach(address) as CamelotRewardHelper;
296
+ }
297
+ connect(signer: Signer): CamelotRewardHelper__factory {
298
+ return super.connect(signer) as CamelotRewardHelper__factory;
299
+ }
300
+ static readonly contractName: "CamelotRewardHelper";
301
+ public readonly contractName: "CamelotRewardHelper";
302
+ static readonly bytecode = _bytecode;
303
+ static readonly abi = _abi;
304
+ static createInterface(): CamelotRewardHelperInterface {
305
+ return new utils.Interface(_abi) as CamelotRewardHelperInterface;
306
+ }
307
+ static connect(
308
+ address: string,
309
+ signerOrProvider: Signer | Provider
310
+ ): CamelotRewardHelper {
311
+ return new Contract(address, _abi, signerOrProvider) as CamelotRewardHelper;
312
+ }
313
+ }
@@ -0,0 +1,108 @@
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
+ CamelotV1VolatileLpHelper,
9
+ CamelotV1VolatileLpHelperInterface,
10
+ } from "../CamelotV1VolatileLpHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "factory",
16
+ outputs: [
17
+ {
18
+ internalType: "address",
19
+ name: "",
20
+ type: "address",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "pair",
29
+ outputs: [
30
+ {
31
+ internalType: "address",
32
+ name: "",
33
+ type: "address",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "referrerForSwap",
42
+ outputs: [
43
+ {
44
+ internalType: "address",
45
+ name: "",
46
+ type: "address",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "router",
55
+ outputs: [
56
+ {
57
+ internalType: "address",
58
+ name: "",
59
+ type: "address",
60
+ },
61
+ ],
62
+ stateMutability: "view",
63
+ type: "function",
64
+ },
65
+ {
66
+ inputs: [],
67
+ name: "token0",
68
+ outputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "",
72
+ type: "address",
73
+ },
74
+ ],
75
+ stateMutability: "view",
76
+ type: "function",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "token1",
81
+ outputs: [
82
+ {
83
+ internalType: "address",
84
+ name: "",
85
+ type: "address",
86
+ },
87
+ ],
88
+ stateMutability: "view",
89
+ type: "function",
90
+ },
91
+ ];
92
+
93
+ export class CamelotV1VolatileLpHelper__factory {
94
+ static readonly abi = _abi;
95
+ static createInterface(): CamelotV1VolatileLpHelperInterface {
96
+ return new utils.Interface(_abi) as CamelotV1VolatileLpHelperInterface;
97
+ }
98
+ static connect(
99
+ address: string,
100
+ signerOrProvider: Signer | Provider
101
+ ): CamelotV1VolatileLpHelper {
102
+ return new Contract(
103
+ address,
104
+ _abi,
105
+ signerOrProvider
106
+ ) as CamelotV1VolatileLpHelper;
107
+ }
108
+ }