@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,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
+ }
@@ -0,0 +1,362 @@
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 { IXGrail, IXGrailInterface } from "../IXGrail";
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: "spender",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: false,
27
+ internalType: "uint256",
28
+ name: "value",
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: "from",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "to",
48
+ type: "address",
49
+ },
50
+ {
51
+ indexed: false,
52
+ internalType: "uint256",
53
+ name: "value",
54
+ type: "uint256",
55
+ },
56
+ ],
57
+ name: "Transfer",
58
+ type: "event",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "usageAddress",
65
+ type: "address",
66
+ },
67
+ {
68
+ internalType: "uint256",
69
+ name: "amount",
70
+ type: "uint256",
71
+ },
72
+ {
73
+ internalType: "bytes",
74
+ name: "usageData",
75
+ type: "bytes",
76
+ },
77
+ ],
78
+ name: "allocate",
79
+ outputs: [],
80
+ stateMutability: "nonpayable",
81
+ type: "function",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "address",
87
+ name: "owner",
88
+ type: "address",
89
+ },
90
+ {
91
+ internalType: "address",
92
+ name: "spender",
93
+ type: "address",
94
+ },
95
+ ],
96
+ name: "allowance",
97
+ outputs: [
98
+ {
99
+ internalType: "uint256",
100
+ name: "",
101
+ type: "uint256",
102
+ },
103
+ ],
104
+ stateMutability: "view",
105
+ type: "function",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "address",
111
+ name: "spender",
112
+ type: "address",
113
+ },
114
+ {
115
+ internalType: "uint256",
116
+ name: "amount",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "approve",
121
+ outputs: [
122
+ {
123
+ internalType: "bool",
124
+ name: "",
125
+ type: "bool",
126
+ },
127
+ ],
128
+ stateMutability: "nonpayable",
129
+ type: "function",
130
+ },
131
+ {
132
+ inputs: [
133
+ {
134
+ internalType: "address",
135
+ name: "usage",
136
+ type: "address",
137
+ },
138
+ {
139
+ internalType: "uint256",
140
+ name: "amount",
141
+ type: "uint256",
142
+ },
143
+ ],
144
+ name: "approveUsage",
145
+ outputs: [],
146
+ stateMutability: "nonpayable",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "account",
154
+ type: "address",
155
+ },
156
+ ],
157
+ name: "balanceOf",
158
+ outputs: [
159
+ {
160
+ internalType: "uint256",
161
+ name: "",
162
+ type: "uint256",
163
+ },
164
+ ],
165
+ stateMutability: "view",
166
+ type: "function",
167
+ },
168
+ {
169
+ inputs: [
170
+ {
171
+ internalType: "uint256",
172
+ name: "redeemIndex",
173
+ type: "uint256",
174
+ },
175
+ ],
176
+ name: "cancelRedeem",
177
+ outputs: [],
178
+ stateMutability: "nonpayable",
179
+ type: "function",
180
+ },
181
+ {
182
+ inputs: [
183
+ {
184
+ internalType: "address",
185
+ name: "usageAddress",
186
+ type: "address",
187
+ },
188
+ {
189
+ internalType: "uint256",
190
+ name: "amount",
191
+ type: "uint256",
192
+ },
193
+ {
194
+ internalType: "bytes",
195
+ name: "usageData",
196
+ type: "bytes",
197
+ },
198
+ ],
199
+ name: "deallocate",
200
+ outputs: [],
201
+ stateMutability: "nonpayable",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "uint256",
208
+ name: "redeemIndex",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ name: "finalizeRedeem",
213
+ outputs: [],
214
+ stateMutability: "nonpayable",
215
+ type: "function",
216
+ },
217
+ {
218
+ inputs: [
219
+ {
220
+ internalType: "address",
221
+ name: "user",
222
+ type: "address",
223
+ },
224
+ {
225
+ internalType: "address",
226
+ name: "usage",
227
+ type: "address",
228
+ },
229
+ ],
230
+ name: "getUsageApproval",
231
+ outputs: [
232
+ {
233
+ internalType: "uint256",
234
+ name: "",
235
+ type: "uint256",
236
+ },
237
+ ],
238
+ stateMutability: "view",
239
+ type: "function",
240
+ },
241
+ {
242
+ inputs: [
243
+ {
244
+ internalType: "uint256",
245
+ name: "xGrailAmount",
246
+ type: "uint256",
247
+ },
248
+ {
249
+ internalType: "uint256",
250
+ name: "duration",
251
+ type: "uint256",
252
+ },
253
+ ],
254
+ name: "redeem",
255
+ outputs: [],
256
+ stateMutability: "nonpayable",
257
+ type: "function",
258
+ },
259
+ {
260
+ inputs: [],
261
+ name: "totalSupply",
262
+ outputs: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "",
266
+ type: "uint256",
267
+ },
268
+ ],
269
+ stateMutability: "view",
270
+ type: "function",
271
+ },
272
+ {
273
+ inputs: [
274
+ {
275
+ internalType: "address",
276
+ name: "to",
277
+ type: "address",
278
+ },
279
+ {
280
+ internalType: "uint256",
281
+ name: "amount",
282
+ type: "uint256",
283
+ },
284
+ ],
285
+ name: "transfer",
286
+ outputs: [
287
+ {
288
+ internalType: "bool",
289
+ name: "",
290
+ type: "bool",
291
+ },
292
+ ],
293
+ stateMutability: "nonpayable",
294
+ type: "function",
295
+ },
296
+ {
297
+ inputs: [
298
+ {
299
+ internalType: "address",
300
+ name: "from",
301
+ type: "address",
302
+ },
303
+ {
304
+ internalType: "address",
305
+ name: "to",
306
+ type: "address",
307
+ },
308
+ {
309
+ internalType: "uint256",
310
+ name: "amount",
311
+ type: "uint256",
312
+ },
313
+ ],
314
+ name: "transferFrom",
315
+ outputs: [
316
+ {
317
+ internalType: "bool",
318
+ name: "",
319
+ type: "bool",
320
+ },
321
+ ],
322
+ stateMutability: "nonpayable",
323
+ type: "function",
324
+ },
325
+ {
326
+ inputs: [
327
+ {
328
+ internalType: "address",
329
+ name: "user",
330
+ type: "address",
331
+ },
332
+ {
333
+ internalType: "address",
334
+ name: "usage",
335
+ type: "address",
336
+ },
337
+ ],
338
+ name: "usageAllocations",
339
+ outputs: [
340
+ {
341
+ internalType: "uint256",
342
+ name: "",
343
+ type: "uint256",
344
+ },
345
+ ],
346
+ stateMutability: "view",
347
+ type: "function",
348
+ },
349
+ ];
350
+
351
+ export class IXGrail__factory {
352
+ static readonly abi = _abi;
353
+ static createInterface(): IXGrailInterface {
354
+ return new utils.Interface(_abi) as IXGrailInterface;
355
+ }
356
+ static connect(
357
+ address: string,
358
+ signerOrProvider: Signer | Provider
359
+ ): IXGrail {
360
+ return new Contract(address, _abi, signerOrProvider) as IXGrail;
361
+ }
362
+ }