@pendle/core-v2 2.9.0-mainnet → 2.10.1-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 (262) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +4 -0
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +492 -0
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  43. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  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/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  83. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  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/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  93. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  95. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  97. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +7 -2
  99. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.json +169 -0
  111. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  116. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  118. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  119. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  120. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  121. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +4 -0
  122. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +200 -0
  123. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  124. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  125. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  126. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  127. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  128. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  129. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  130. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  131. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  133. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  135. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  137. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  138. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  139. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  140. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  141. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  142. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  143. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  144. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  147. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  149. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  151. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  153. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  155. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  157. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  161. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  163. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  165. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
  166. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  167. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
  168. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol +166 -0
  169. package/contracts/core/libraries/Errors.sol +1 -0
  170. package/contracts/interfaces/IPFeeDistributor.sol +3 -4
  171. package/contracts/interfaces/IPFeeDistributorV2.sol +46 -0
  172. package/contracts/offchain-helpers/EmptyUUPS.sol +16 -0
  173. package/contracts/oracles/samples/PendlePtGlpOracle.sol +1 -1
  174. package/deployments/1-core.json +2 -1
  175. package/package.json +1 -1
  176. package/typechain-types/EmptyUUPS.ts +352 -0
  177. package/typechain-types/IChronosFactory.ts +245 -0
  178. package/typechain-types/IChronosPair.ts +631 -0
  179. package/typechain-types/IChronosRouter.ts +311 -0
  180. package/typechain-types/IERC721Receiver.ts +120 -0
  181. package/typechain-types/IMaGauge.ts +1246 -0
  182. package/typechain-types/IMaLPNFT.ts +1146 -0
  183. package/typechain-types/IPFeeDistributorV2.ts +287 -0
  184. package/typechain-types/IPair.ts +553 -0
  185. package/typechain-types/IPairFactory.ts +245 -0
  186. package/typechain-types/PendleChronosChrEthSY.ts +1520 -0
  187. package/typechain-types/PendleChronosNFTManager.ts +217 -0
  188. package/typechain-types/PendleChronosVolatilePairBase.ts +134 -0
  189. package/typechain-types/PendleFeeDistributorV2.ts +722 -0
  190. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  191. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  192. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  193. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  194. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  195. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  196. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  197. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  198. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  199. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  200. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  201. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  202. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  203. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  204. package/typechain-types/factories/EmptyUUPS__factory.ts +250 -0
  205. package/typechain-types/factories/Errors__factory.ts +6 -1
  206. package/typechain-types/factories/IChronosFactory__factory.ts +167 -0
  207. package/typechain-types/factories/IChronosPair__factory.ts +473 -0
  208. package/typechain-types/factories/IChronosRouter__factory.ts +210 -0
  209. package/typechain-types/factories/IERC721Receiver__factory.ts +60 -0
  210. package/typechain-types/factories/IMaGauge__factory.ts +740 -0
  211. package/typechain-types/factories/IMaLPNFT__factory.ts +702 -0
  212. package/typechain-types/factories/IPFeeDistributorV2__factory.ts +184 -0
  213. package/typechain-types/factories/IPairFactory__factory.ts +164 -0
  214. package/typechain-types/factories/IPair__factory.ts +392 -0
  215. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  216. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  217. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  218. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  219. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  220. package/typechain-types/factories/PendleChronosChrEthSY__factory.ts +1323 -0
  221. package/typechain-types/factories/PendleChronosNFTManager__factory.ts +161 -0
  222. package/typechain-types/factories/PendleChronosVolatilePairBase__factory.ts +95 -0
  223. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  224. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  225. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +549 -0
  226. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  227. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  228. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  229. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  230. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  231. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  232. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  233. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  234. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  235. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  236. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  237. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  238. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  239. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  240. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  241. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  242. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  243. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  244. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  245. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  246. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  247. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
  248. package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
  249. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  250. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  251. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  252. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  253. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  254. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  255. package/typechain-types/factories/SAPE__factory.ts +1 -1
  256. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  257. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  258. package/typechain-types/hardhat.d.ts +102 -30
  259. package/typechain-types/index.ts +24 -8
  260. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  261. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -592
  262. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +0 -219
@@ -0,0 +1,740 @@
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 { IMaGauge, IMaGaugeInterface } from "../IMaGauge";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "DISTRIBUTION",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "DURATION",
26
+ outputs: [
27
+ {
28
+ internalType: "uint256",
29
+ name: "",
30
+ type: "uint256",
31
+ },
32
+ ],
33
+ stateMutability: "view",
34
+ type: "function",
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "TOKEN",
39
+ outputs: [
40
+ {
41
+ internalType: "address",
42
+ name: "",
43
+ type: "address",
44
+ },
45
+ ],
46
+ stateMutability: "view",
47
+ type: "function",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "_VE",
52
+ outputs: [
53
+ {
54
+ internalType: "address",
55
+ name: "",
56
+ type: "address",
57
+ },
58
+ ],
59
+ stateMutability: "view",
60
+ type: "function",
61
+ },
62
+ {
63
+ inputs: [
64
+ {
65
+ internalType: "uint256",
66
+ name: "",
67
+ type: "uint256",
68
+ },
69
+ ],
70
+ name: "_balances",
71
+ outputs: [
72
+ {
73
+ internalType: "uint256",
74
+ name: "",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ stateMutability: "view",
79
+ type: "function",
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: "uint256",
85
+ name: "",
86
+ type: "uint256",
87
+ },
88
+ ],
89
+ name: "_depositEpoch",
90
+ outputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ stateMutability: "view",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [],
102
+ name: "_periodFinish",
103
+ outputs: [
104
+ {
105
+ internalType: "uint256",
106
+ name: "",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ stateMutability: "view",
111
+ type: "function",
112
+ },
113
+ {
114
+ inputs: [
115
+ {
116
+ internalType: "uint256",
117
+ name: "",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ name: "_start",
122
+ outputs: [
123
+ {
124
+ internalType: "uint256",
125
+ name: "",
126
+ type: "uint256",
127
+ },
128
+ ],
129
+ stateMutability: "view",
130
+ type: "function",
131
+ },
132
+ {
133
+ inputs: [],
134
+ name: "_totalSupply",
135
+ outputs: [
136
+ {
137
+ internalType: "uint256",
138
+ name: "",
139
+ type: "uint256",
140
+ },
141
+ ],
142
+ stateMutability: "view",
143
+ type: "function",
144
+ },
145
+ {
146
+ inputs: [
147
+ {
148
+ internalType: "uint256",
149
+ name: "tokenId",
150
+ type: "uint256",
151
+ },
152
+ ],
153
+ name: "balanceOfToken",
154
+ outputs: [
155
+ {
156
+ internalType: "uint256",
157
+ name: "",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ stateMutability: "view",
162
+ type: "function",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "claimFees",
167
+ outputs: [
168
+ {
169
+ internalType: "uint256",
170
+ name: "claimed0",
171
+ type: "uint256",
172
+ },
173
+ {
174
+ internalType: "uint256",
175
+ name: "claimed1",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ stateMutability: "nonpayable",
180
+ type: "function",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "uint256",
186
+ name: "amount",
187
+ type: "uint256",
188
+ },
189
+ ],
190
+ name: "deposit",
191
+ outputs: [
192
+ {
193
+ internalType: "uint256",
194
+ name: "_tokenId",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ stateMutability: "nonpayable",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "depositAll",
204
+ outputs: [
205
+ {
206
+ internalType: "uint256",
207
+ name: "_tokenId",
208
+ type: "uint256",
209
+ },
210
+ ],
211
+ stateMutability: "nonpayable",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [
216
+ {
217
+ internalType: "uint256",
218
+ name: "_tokenId",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ name: "earned",
223
+ outputs: [
224
+ {
225
+ internalType: "uint256",
226
+ name: "",
227
+ type: "uint256",
228
+ },
229
+ ],
230
+ stateMutability: "view",
231
+ type: "function",
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: "external_bribe",
236
+ outputs: [
237
+ {
238
+ internalType: "address",
239
+ name: "",
240
+ type: "address",
241
+ },
242
+ ],
243
+ stateMutability: "view",
244
+ type: "function",
245
+ },
246
+ {
247
+ inputs: [],
248
+ name: "fees0",
249
+ outputs: [
250
+ {
251
+ internalType: "uint256",
252
+ name: "",
253
+ type: "uint256",
254
+ },
255
+ ],
256
+ stateMutability: "view",
257
+ type: "function",
258
+ },
259
+ {
260
+ inputs: [],
261
+ name: "fees1",
262
+ outputs: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "",
266
+ type: "uint256",
267
+ },
268
+ ],
269
+ stateMutability: "view",
270
+ type: "function",
271
+ },
272
+ {
273
+ inputs: [],
274
+ name: "gaugeRewarder",
275
+ outputs: [
276
+ {
277
+ internalType: "address",
278
+ name: "",
279
+ type: "address",
280
+ },
281
+ ],
282
+ stateMutability: "view",
283
+ type: "function",
284
+ },
285
+ {
286
+ inputs: [
287
+ {
288
+ internalType: "uint256",
289
+ name: "_tokenId",
290
+ type: "uint256",
291
+ },
292
+ ],
293
+ name: "getReward",
294
+ outputs: [],
295
+ stateMutability: "nonpayable",
296
+ type: "function",
297
+ },
298
+ {
299
+ inputs: [
300
+ {
301
+ internalType: "uint256",
302
+ name: "_from",
303
+ type: "uint256",
304
+ },
305
+ {
306
+ internalType: "uint256",
307
+ name: "_to",
308
+ type: "uint256",
309
+ },
310
+ ],
311
+ name: "harvestAndMerge",
312
+ outputs: [],
313
+ stateMutability: "nonpayable",
314
+ type: "function",
315
+ },
316
+ {
317
+ inputs: [
318
+ {
319
+ internalType: "uint256[]",
320
+ name: "amounts",
321
+ type: "uint256[]",
322
+ },
323
+ {
324
+ internalType: "uint256",
325
+ name: "_tokenId",
326
+ type: "uint256",
327
+ },
328
+ ],
329
+ name: "harvestAndSplit",
330
+ outputs: [],
331
+ stateMutability: "nonpayable",
332
+ type: "function",
333
+ },
334
+ {
335
+ inputs: [],
336
+ name: "internal_bribe",
337
+ outputs: [
338
+ {
339
+ internalType: "address",
340
+ name: "",
341
+ type: "address",
342
+ },
343
+ ],
344
+ stateMutability: "view",
345
+ type: "function",
346
+ },
347
+ {
348
+ inputs: [],
349
+ name: "isForPair",
350
+ outputs: [
351
+ {
352
+ internalType: "bool",
353
+ name: "",
354
+ type: "bool",
355
+ },
356
+ ],
357
+ stateMutability: "view",
358
+ type: "function",
359
+ },
360
+ {
361
+ inputs: [],
362
+ name: "lastTimeRewardApplicable",
363
+ outputs: [
364
+ {
365
+ internalType: "uint256",
366
+ name: "",
367
+ type: "uint256",
368
+ },
369
+ ],
370
+ stateMutability: "view",
371
+ type: "function",
372
+ },
373
+ {
374
+ inputs: [],
375
+ name: "lastUpdateTime",
376
+ outputs: [
377
+ {
378
+ internalType: "uint256",
379
+ name: "",
380
+ type: "uint256",
381
+ },
382
+ ],
383
+ stateMutability: "view",
384
+ type: "function",
385
+ },
386
+ {
387
+ inputs: [],
388
+ name: "maGaugeId",
389
+ outputs: [
390
+ {
391
+ internalType: "uint256",
392
+ name: "",
393
+ type: "uint256",
394
+ },
395
+ ],
396
+ stateMutability: "view",
397
+ type: "function",
398
+ },
399
+ {
400
+ inputs: [],
401
+ name: "maNFTs",
402
+ outputs: [
403
+ {
404
+ internalType: "address",
405
+ name: "",
406
+ type: "address",
407
+ },
408
+ ],
409
+ stateMutability: "view",
410
+ type: "function",
411
+ },
412
+ {
413
+ inputs: [
414
+ {
415
+ internalType: "uint256",
416
+ name: "_tokenId",
417
+ type: "uint256",
418
+ },
419
+ ],
420
+ name: "maturityLevelOfTokenMaxArray",
421
+ outputs: [
422
+ {
423
+ internalType: "uint256",
424
+ name: "_matLevel",
425
+ type: "uint256",
426
+ },
427
+ ],
428
+ stateMutability: "view",
429
+ type: "function",
430
+ },
431
+ {
432
+ inputs: [
433
+ {
434
+ internalType: "uint256",
435
+ name: "_tokenId",
436
+ type: "uint256",
437
+ },
438
+ ],
439
+ name: "maturityLevelOfTokenMaxBoost",
440
+ outputs: [
441
+ {
442
+ internalType: "uint256",
443
+ name: "_matLevel",
444
+ type: "uint256",
445
+ },
446
+ ],
447
+ stateMutability: "view",
448
+ type: "function",
449
+ },
450
+ {
451
+ inputs: [
452
+ {
453
+ internalType: "address",
454
+ name: "token",
455
+ type: "address",
456
+ },
457
+ {
458
+ internalType: "uint256",
459
+ name: "reward",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ name: "notifyRewardAmount",
464
+ outputs: [],
465
+ stateMutability: "nonpayable",
466
+ type: "function",
467
+ },
468
+ {
469
+ inputs: [],
470
+ name: "owner",
471
+ outputs: [
472
+ {
473
+ internalType: "address",
474
+ name: "",
475
+ type: "address",
476
+ },
477
+ ],
478
+ stateMutability: "view",
479
+ type: "function",
480
+ },
481
+ {
482
+ inputs: [],
483
+ name: "periodFinish",
484
+ outputs: [
485
+ {
486
+ internalType: "uint256",
487
+ name: "",
488
+ type: "uint256",
489
+ },
490
+ ],
491
+ stateMutability: "view",
492
+ type: "function",
493
+ },
494
+ {
495
+ inputs: [],
496
+ name: "renounceOwnership",
497
+ outputs: [],
498
+ stateMutability: "nonpayable",
499
+ type: "function",
500
+ },
501
+ {
502
+ inputs: [],
503
+ name: "rewardForDuration",
504
+ outputs: [
505
+ {
506
+ internalType: "uint256",
507
+ name: "",
508
+ type: "uint256",
509
+ },
510
+ ],
511
+ stateMutability: "view",
512
+ type: "function",
513
+ },
514
+ {
515
+ inputs: [],
516
+ name: "rewardPerToken",
517
+ outputs: [
518
+ {
519
+ internalType: "uint256",
520
+ name: "",
521
+ type: "uint256",
522
+ },
523
+ ],
524
+ stateMutability: "view",
525
+ type: "function",
526
+ },
527
+ {
528
+ inputs: [],
529
+ name: "rewardPerTokenStored",
530
+ outputs: [
531
+ {
532
+ internalType: "uint256",
533
+ name: "",
534
+ type: "uint256",
535
+ },
536
+ ],
537
+ stateMutability: "view",
538
+ type: "function",
539
+ },
540
+ {
541
+ inputs: [],
542
+ name: "rewardRate",
543
+ outputs: [
544
+ {
545
+ internalType: "uint256",
546
+ name: "",
547
+ type: "uint256",
548
+ },
549
+ ],
550
+ stateMutability: "view",
551
+ type: "function",
552
+ },
553
+ {
554
+ inputs: [],
555
+ name: "rewardToken",
556
+ outputs: [
557
+ {
558
+ internalType: "address",
559
+ name: "",
560
+ type: "address",
561
+ },
562
+ ],
563
+ stateMutability: "view",
564
+ type: "function",
565
+ },
566
+ {
567
+ inputs: [
568
+ {
569
+ internalType: "uint256",
570
+ name: "",
571
+ type: "uint256",
572
+ },
573
+ ],
574
+ name: "rewards",
575
+ outputs: [
576
+ {
577
+ internalType: "uint256",
578
+ name: "",
579
+ type: "uint256",
580
+ },
581
+ ],
582
+ stateMutability: "view",
583
+ type: "function",
584
+ },
585
+ {
586
+ inputs: [
587
+ {
588
+ internalType: "address",
589
+ name: "_distribution",
590
+ type: "address",
591
+ },
592
+ ],
593
+ name: "setDistribution",
594
+ outputs: [],
595
+ stateMutability: "nonpayable",
596
+ type: "function",
597
+ },
598
+ {
599
+ inputs: [
600
+ {
601
+ internalType: "address",
602
+ name: "_gaugeRewarder",
603
+ type: "address",
604
+ },
605
+ ],
606
+ name: "setGaugeRewarder",
607
+ outputs: [],
608
+ stateMutability: "nonpayable",
609
+ type: "function",
610
+ },
611
+ {
612
+ inputs: [],
613
+ name: "totalSupply",
614
+ outputs: [
615
+ {
616
+ internalType: "uint256",
617
+ name: "",
618
+ type: "uint256",
619
+ },
620
+ ],
621
+ stateMutability: "view",
622
+ type: "function",
623
+ },
624
+ {
625
+ inputs: [],
626
+ name: "totalWeight",
627
+ outputs: [
628
+ {
629
+ internalType: "uint256",
630
+ name: "_totalWeight",
631
+ type: "uint256",
632
+ },
633
+ ],
634
+ stateMutability: "view",
635
+ type: "function",
636
+ },
637
+ {
638
+ inputs: [
639
+ {
640
+ internalType: "address",
641
+ name: "newOwner",
642
+ type: "address",
643
+ },
644
+ ],
645
+ name: "transferOwnership",
646
+ outputs: [],
647
+ stateMutability: "nonpayable",
648
+ type: "function",
649
+ },
650
+ {
651
+ inputs: [
652
+ {
653
+ internalType: "uint256",
654
+ name: "_tokenId",
655
+ type: "uint256",
656
+ },
657
+ ],
658
+ name: "updateReward",
659
+ outputs: [],
660
+ stateMutability: "nonpayable",
661
+ type: "function",
662
+ },
663
+ {
664
+ inputs: [
665
+ {
666
+ internalType: "uint256",
667
+ name: "",
668
+ type: "uint256",
669
+ },
670
+ ],
671
+ name: "userRewardPerTokenPaid",
672
+ outputs: [
673
+ {
674
+ internalType: "uint256",
675
+ name: "",
676
+ type: "uint256",
677
+ },
678
+ ],
679
+ stateMutability: "view",
680
+ type: "function",
681
+ },
682
+ {
683
+ inputs: [
684
+ {
685
+ internalType: "uint256",
686
+ name: "_tokenId",
687
+ type: "uint256",
688
+ },
689
+ ],
690
+ name: "weightOfToken",
691
+ outputs: [
692
+ {
693
+ internalType: "uint256",
694
+ name: "",
695
+ type: "uint256",
696
+ },
697
+ ],
698
+ stateMutability: "view",
699
+ type: "function",
700
+ },
701
+ {
702
+ inputs: [
703
+ {
704
+ internalType: "uint256",
705
+ name: "_tokenId",
706
+ type: "uint256",
707
+ },
708
+ ],
709
+ name: "withdraw",
710
+ outputs: [],
711
+ stateMutability: "nonpayable",
712
+ type: "function",
713
+ },
714
+ {
715
+ inputs: [
716
+ {
717
+ internalType: "uint256",
718
+ name: "_tokenId",
719
+ type: "uint256",
720
+ },
721
+ ],
722
+ name: "withdrawAndHarvest",
723
+ outputs: [],
724
+ stateMutability: "nonpayable",
725
+ type: "function",
726
+ },
727
+ ];
728
+
729
+ export class IMaGauge__factory {
730
+ static readonly abi = _abi;
731
+ static createInterface(): IMaGaugeInterface {
732
+ return new utils.Interface(_abi) as IMaGaugeInterface;
733
+ }
734
+ static connect(
735
+ address: string,
736
+ signerOrProvider: Signer | Provider
737
+ ): IMaGauge {
738
+ return new Contract(address, _abi, signerOrProvider) as IMaGauge;
739
+ }
740
+ }