@pendle/core-v2 0.11.3-testnet → 0.11.5-testnet

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 (289) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +950 -0
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.json +963 -0
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.dbg.json +4 -0
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.json +976 -0
  15. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
  16. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +873 -0
  17. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
  18. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
  19. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.dbg.json +4 -0
  20. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.json +950 -0
  21. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.dbg.json +4 -0
  22. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.json +857 -0
  23. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
  24. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
  25. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  26. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
  27. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
  28. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
  29. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  30. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
  31. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +1 -1
  32. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +2 -2
  33. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
  34. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
  35. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  36. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.dbg.json +4 -0
  37. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.json +756 -0
  38. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +294 -0
  41. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json → CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json} +7 -85
  43. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
  44. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +331 -0
  45. package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json → CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json} +8 -21
  47. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +7 -7
  49. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +9 -9
  51. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +18 -91
  53. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +20 -28
  56. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +26 -41
  59. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +14 -93
  61. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +84 -9
  64. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +68 -14
  66. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
  67. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
  68. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  70. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +77 -2
  73. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +76 -21
  75. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +113 -2
  77. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +52 -4
  79. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  81. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +22 -4
  83. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +2 -2
  85. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +52 -4
  87. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +52 -4
  89. package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +4 -0
  91. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +177 -0
  92. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +4 -0
  93. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +78 -0
  94. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +4 -0
  95. package/build/artifacts/contracts/{periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json → interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json} +3 -3
  96. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
  97. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +251 -0
  98. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +232 -0
  100. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -0
  102. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +30 -0
  105. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +30 -0
  107. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +90 -0
  109. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +7 -7
  111. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +7 -7
  113. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +13 -0
  115. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
  117. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +24 -0
  119. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +4 -0
  120. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +63 -0
  121. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +2 -2
  125. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  126. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  127. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  128. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  129. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  130. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  131. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
  132. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +45 -0
  133. package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
  134. package/build/artifacts/contracts/libraries/helpers/{SSTORE2Deployer.sol/SSTORE2Deployer.json → BaseSplitCodeFactory.sol/CodeDeployer.json} +4 -4
  135. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  136. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
  137. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
  138. package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +35 -0
  139. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
  140. package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
  141. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  142. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  143. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  144. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  145. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  146. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  147. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  148. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  149. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  150. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +4 -0
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +167 -0
  153. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  155. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +86 -63
  157. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  158. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +2 -2
  159. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  160. package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  161. package/deployments/43113-core.json +1 -1
  162. package/package.json +1 -1
  163. package/typechain-types/ActionAddRemoveLiq.ts +18 -6
  164. package/typechain-types/ActionSwapPT.ts +18 -6
  165. package/typechain-types/ActionSwapYT.ts +18 -6
  166. package/typechain-types/BaseSplitCodeFactory.ts +118 -0
  167. package/typechain-types/BaseSplitCodeFactoryContract.ts +267 -0
  168. package/typechain-types/ERC20Permit.ts +521 -0
  169. package/typechain-types/IBooster.ts +275 -0
  170. package/typechain-types/ICrvDepositor.ts +174 -0
  171. package/typechain-types/ICrvPool.ts +397 -0
  172. package/typechain-types/ICvxCrv.ts +81 -0
  173. package/typechain-types/IERC20Permit.ts +175 -0
  174. package/typechain-types/IPActionAddRemoveLiq.ts +18 -6
  175. package/typechain-types/IPActionSwapPT.ts +18 -6
  176. package/typechain-types/IPActionSwapYT.ts +18 -6
  177. package/typechain-types/IPAllAction.ts +54 -18
  178. package/typechain-types/IPFeeDistributor.ts +2 -7
  179. package/typechain-types/IPGaugeController.ts +26 -26
  180. package/typechain-types/IPGaugeControllerMainchain.ts +26 -26
  181. package/typechain-types/IPMarket.ts +13 -0
  182. package/typechain-types/IPMsgReceiverApp.ts +104 -0
  183. package/typechain-types/IPMsgSendEndpoint.ts +156 -0
  184. package/typechain-types/IRewards.ts +539 -0
  185. package/typechain-types/Pendle3CrvHelper.ts +133 -0
  186. package/typechain-types/Pendle3CrvTokenSCY.ts +1250 -0
  187. package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1250 -0
  188. package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
  189. package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
  190. package/typechain-types/PendleConvexCurveLPSCY.ts +1212 -0
  191. package/typechain-types/PendleCvxCRVSCY.ts +1138 -0
  192. package/typechain-types/PendleERC20Permit.ts +443 -0
  193. package/typechain-types/PendleFeeDistributor.ts +2 -41
  194. package/typechain-types/PendleFeeDistributorFactory.ts +28 -1
  195. package/typechain-types/PendleGaugeControllerBaseUpg.ts +27 -27
  196. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +27 -27
  197. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +44 -165
  198. package/typechain-types/PendleMarket.ts +104 -0
  199. package/typechain-types/PendleMarketFactory.ts +74 -16
  200. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +491 -0
  201. package/typechain-types/PendleMsgReceiverAppUpg.ts +250 -0
  202. package/typechain-types/PendleMsgSendEndpointUpg.ts +581 -0
  203. package/typechain-types/PendleMsgSenderAppUpg.ts +289 -0
  204. package/typechain-types/PendlePrincipalToken.ts +104 -0
  205. package/typechain-types/PendleVotingControllerUpg.ts +21 -53
  206. package/typechain-types/PendleYieldContractFactory.ts +86 -28
  207. package/typechain-types/PendleYieldToken.ts +175 -0
  208. package/typechain-types/RouterStatic.ts +58 -29
  209. package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
  210. package/typechain-types/VotingEscrowPendleMainchain.ts +24 -80
  211. package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
  212. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +66 -4
  213. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  214. package/typechain-types/factories/ActionMintRedeem__factory.ts +36 -4
  215. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  216. package/typechain-types/factories/ActionSwapPT__factory.ts +66 -4
  217. package/typechain-types/factories/ActionSwapYT__factory.ts +66 -4
  218. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +226 -0
  219. package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
  220. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  221. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +4 -42
  222. package/typechain-types/factories/ERC20Permit__factory.ts +368 -0
  223. package/typechain-types/factories/IBooster__factory.ts +189 -0
  224. package/typechain-types/factories/ICrvDepositor__factory.ts +90 -0
  225. package/typechain-types/factories/ICrvPool__factory.ts +244 -0
  226. package/typechain-types/factories/ICvxCrv__factory.ts +36 -0
  227. package/typechain-types/factories/IERC20Permit__factory.ts +98 -0
  228. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +30 -0
  229. package/typechain-types/factories/IPActionSwapPT__factory.ts +30 -0
  230. package/typechain-types/factories/IPActionSwapYT__factory.ts +30 -0
  231. package/typechain-types/factories/IPAllAction__factory.ts +90 -0
  232. package/typechain-types/factories/IPFeeDistributor__factory.ts +0 -5
  233. package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +7 -7
  234. package/typechain-types/factories/IPGaugeController__factory.ts +7 -7
  235. package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
  236. package/typechain-types/factories/IPMarket__factory.ts +13 -0
  237. package/typechain-types/factories/IPMsgReceiverApp__factory.ts +39 -0
  238. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +78 -0
  239. package/typechain-types/factories/IRewards__factory.ts +263 -0
  240. package/typechain-types/factories/ISJoe__factory.ts +2 -2
  241. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  242. package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
  243. package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +1050 -0
  244. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
  245. package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1054 -0
  246. package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
  247. package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
  248. package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +892 -0
  249. package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +938 -0
  250. package/typechain-types/factories/PendleERC20Permit__factory.ts +405 -0
  251. package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
  252. package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
  253. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +30 -2
  254. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -19
  255. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +7 -7
  256. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +8 -8
  257. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +26 -91
  258. package/typechain-types/factories/PendleMarketFactory__factory.ts +95 -15
  259. package/typechain-types/factories/PendleMarket__factory.ts +76 -1
  260. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +374 -0
  261. package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +131 -0
  262. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +393 -0
  263. package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +154 -0
  264. package/typechain-types/factories/PendlePrincipalToken__factory.ts +76 -1
  265. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
  266. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
  267. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  268. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
  269. package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
  270. package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
  271. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +27 -28
  272. package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
  273. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
  274. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +105 -23
  275. package/typechain-types/factories/PendleYieldToken__factory.ts +112 -1
  276. package/typechain-types/factories/RouterStatic__factory.ts +31 -8
  277. package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
  278. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +33 -41
  279. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +20 -93
  280. package/typechain-types/hardhat.d.ts +223 -79
  281. package/typechain-types/index.ts +54 -20
  282. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
  283. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
  284. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
  285. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +0 -4
  286. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +0 -10
  287. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +0 -4
  288. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +0 -87
  289. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +0 -4
@@ -0,0 +1,368 @@
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 { ERC20Permit, ERC20PermitInterface } from "../ERC20Permit";
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
+ name: "DOMAIN_SEPARATOR",
63
+ outputs: [
64
+ {
65
+ internalType: "bytes32",
66
+ name: "",
67
+ type: "bytes32",
68
+ },
69
+ ],
70
+ stateMutability: "view",
71
+ type: "function",
72
+ },
73
+ {
74
+ inputs: [
75
+ {
76
+ internalType: "address",
77
+ name: "owner",
78
+ type: "address",
79
+ },
80
+ {
81
+ internalType: "address",
82
+ name: "spender",
83
+ type: "address",
84
+ },
85
+ ],
86
+ name: "allowance",
87
+ outputs: [
88
+ {
89
+ internalType: "uint256",
90
+ name: "",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "spender",
102
+ type: "address",
103
+ },
104
+ {
105
+ internalType: "uint256",
106
+ name: "amount",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ name: "approve",
111
+ outputs: [
112
+ {
113
+ internalType: "bool",
114
+ name: "",
115
+ type: "bool",
116
+ },
117
+ ],
118
+ stateMutability: "nonpayable",
119
+ type: "function",
120
+ },
121
+ {
122
+ inputs: [
123
+ {
124
+ internalType: "address",
125
+ name: "account",
126
+ type: "address",
127
+ },
128
+ ],
129
+ name: "balanceOf",
130
+ outputs: [
131
+ {
132
+ internalType: "uint256",
133
+ name: "",
134
+ type: "uint256",
135
+ },
136
+ ],
137
+ stateMutability: "view",
138
+ type: "function",
139
+ },
140
+ {
141
+ inputs: [],
142
+ name: "decimals",
143
+ outputs: [
144
+ {
145
+ internalType: "uint8",
146
+ name: "",
147
+ type: "uint8",
148
+ },
149
+ ],
150
+ stateMutability: "view",
151
+ type: "function",
152
+ },
153
+ {
154
+ inputs: [
155
+ {
156
+ internalType: "address",
157
+ name: "spender",
158
+ type: "address",
159
+ },
160
+ {
161
+ internalType: "uint256",
162
+ name: "subtractedValue",
163
+ type: "uint256",
164
+ },
165
+ ],
166
+ name: "decreaseAllowance",
167
+ outputs: [
168
+ {
169
+ internalType: "bool",
170
+ name: "",
171
+ type: "bool",
172
+ },
173
+ ],
174
+ stateMutability: "nonpayable",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "address",
181
+ name: "spender",
182
+ type: "address",
183
+ },
184
+ {
185
+ internalType: "uint256",
186
+ name: "addedValue",
187
+ type: "uint256",
188
+ },
189
+ ],
190
+ name: "increaseAllowance",
191
+ outputs: [
192
+ {
193
+ internalType: "bool",
194
+ name: "",
195
+ type: "bool",
196
+ },
197
+ ],
198
+ stateMutability: "nonpayable",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "name",
204
+ outputs: [
205
+ {
206
+ internalType: "string",
207
+ name: "",
208
+ type: "string",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [
216
+ {
217
+ internalType: "address",
218
+ name: "owner",
219
+ type: "address",
220
+ },
221
+ ],
222
+ name: "nonces",
223
+ outputs: [
224
+ {
225
+ internalType: "uint256",
226
+ name: "",
227
+ type: "uint256",
228
+ },
229
+ ],
230
+ stateMutability: "view",
231
+ type: "function",
232
+ },
233
+ {
234
+ inputs: [
235
+ {
236
+ internalType: "address",
237
+ name: "owner",
238
+ type: "address",
239
+ },
240
+ {
241
+ internalType: "address",
242
+ name: "spender",
243
+ type: "address",
244
+ },
245
+ {
246
+ internalType: "uint256",
247
+ name: "value",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ internalType: "uint256",
252
+ name: "deadline",
253
+ type: "uint256",
254
+ },
255
+ {
256
+ internalType: "uint8",
257
+ name: "v",
258
+ type: "uint8",
259
+ },
260
+ {
261
+ internalType: "bytes32",
262
+ name: "r",
263
+ type: "bytes32",
264
+ },
265
+ {
266
+ internalType: "bytes32",
267
+ name: "s",
268
+ type: "bytes32",
269
+ },
270
+ ],
271
+ name: "permit",
272
+ outputs: [],
273
+ stateMutability: "nonpayable",
274
+ type: "function",
275
+ },
276
+ {
277
+ inputs: [],
278
+ name: "symbol",
279
+ outputs: [
280
+ {
281
+ internalType: "string",
282
+ name: "",
283
+ type: "string",
284
+ },
285
+ ],
286
+ stateMutability: "view",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [],
291
+ name: "totalSupply",
292
+ outputs: [
293
+ {
294
+ internalType: "uint256",
295
+ name: "",
296
+ type: "uint256",
297
+ },
298
+ ],
299
+ stateMutability: "view",
300
+ type: "function",
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "address",
306
+ name: "to",
307
+ type: "address",
308
+ },
309
+ {
310
+ internalType: "uint256",
311
+ name: "amount",
312
+ type: "uint256",
313
+ },
314
+ ],
315
+ name: "transfer",
316
+ outputs: [
317
+ {
318
+ internalType: "bool",
319
+ name: "",
320
+ type: "bool",
321
+ },
322
+ ],
323
+ stateMutability: "nonpayable",
324
+ type: "function",
325
+ },
326
+ {
327
+ inputs: [
328
+ {
329
+ internalType: "address",
330
+ name: "from",
331
+ type: "address",
332
+ },
333
+ {
334
+ internalType: "address",
335
+ name: "to",
336
+ type: "address",
337
+ },
338
+ {
339
+ internalType: "uint256",
340
+ name: "amount",
341
+ type: "uint256",
342
+ },
343
+ ],
344
+ name: "transferFrom",
345
+ outputs: [
346
+ {
347
+ internalType: "bool",
348
+ name: "",
349
+ type: "bool",
350
+ },
351
+ ],
352
+ stateMutability: "nonpayable",
353
+ type: "function",
354
+ },
355
+ ];
356
+
357
+ export class ERC20Permit__factory {
358
+ static readonly abi = _abi;
359
+ static createInterface(): ERC20PermitInterface {
360
+ return new utils.Interface(_abi) as ERC20PermitInterface;
361
+ }
362
+ static connect(
363
+ address: string,
364
+ signerOrProvider: Signer | Provider
365
+ ): ERC20Permit {
366
+ return new Contract(address, _abi, signerOrProvider) as ERC20Permit;
367
+ }
368
+ }
@@ -0,0 +1,189 @@
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 { IBooster, IBoosterInterface } from "../IBooster";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "crv",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "_pid",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ internalType: "uint256",
32
+ name: "_amount",
33
+ type: "uint256",
34
+ },
35
+ {
36
+ internalType: "bool",
37
+ name: "_stake",
38
+ type: "bool",
39
+ },
40
+ ],
41
+ name: "deposit",
42
+ outputs: [
43
+ {
44
+ internalType: "bool",
45
+ name: "",
46
+ type: "bool",
47
+ },
48
+ ],
49
+ stateMutability: "nonpayable",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "uint256",
56
+ name: "_pid",
57
+ type: "uint256",
58
+ },
59
+ {
60
+ internalType: "bool",
61
+ name: "_stake",
62
+ type: "bool",
63
+ },
64
+ ],
65
+ name: "depositAll",
66
+ outputs: [
67
+ {
68
+ internalType: "bool",
69
+ name: "",
70
+ type: "bool",
71
+ },
72
+ ],
73
+ stateMutability: "nonpayable",
74
+ type: "function",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ name: "poolInfo",
85
+ outputs: [
86
+ {
87
+ internalType: "address",
88
+ name: "",
89
+ type: "address",
90
+ },
91
+ {
92
+ internalType: "address",
93
+ name: "",
94
+ type: "address",
95
+ },
96
+ {
97
+ internalType: "address",
98
+ name: "",
99
+ type: "address",
100
+ },
101
+ {
102
+ internalType: "address",
103
+ name: "",
104
+ type: "address",
105
+ },
106
+ {
107
+ internalType: "address",
108
+ name: "",
109
+ type: "address",
110
+ },
111
+ {
112
+ internalType: "bool",
113
+ name: "",
114
+ type: "bool",
115
+ },
116
+ ],
117
+ stateMutability: "view",
118
+ type: "function",
119
+ },
120
+ {
121
+ inputs: [],
122
+ name: "poolLength",
123
+ outputs: [
124
+ {
125
+ internalType: "uint256",
126
+ name: "",
127
+ type: "uint256",
128
+ },
129
+ ],
130
+ stateMutability: "view",
131
+ type: "function",
132
+ },
133
+ {
134
+ inputs: [
135
+ {
136
+ internalType: "uint256",
137
+ name: "_pid",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "_amount",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ name: "withdraw",
147
+ outputs: [
148
+ {
149
+ internalType: "bool",
150
+ name: "",
151
+ type: "bool",
152
+ },
153
+ ],
154
+ stateMutability: "nonpayable",
155
+ type: "function",
156
+ },
157
+ {
158
+ inputs: [
159
+ {
160
+ internalType: "uint256",
161
+ name: "_pid",
162
+ type: "uint256",
163
+ },
164
+ ],
165
+ name: "withdrawAll",
166
+ outputs: [
167
+ {
168
+ internalType: "bool",
169
+ name: "",
170
+ type: "bool",
171
+ },
172
+ ],
173
+ stateMutability: "nonpayable",
174
+ type: "function",
175
+ },
176
+ ];
177
+
178
+ export class IBooster__factory {
179
+ static readonly abi = _abi;
180
+ static createInterface(): IBoosterInterface {
181
+ return new utils.Interface(_abi) as IBoosterInterface;
182
+ }
183
+ static connect(
184
+ address: string,
185
+ signerOrProvider: Signer | Provider
186
+ ): IBooster {
187
+ return new Contract(address, _abi, signerOrProvider) as IBooster;
188
+ }
189
+ }
@@ -0,0 +1,90 @@
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 { ICrvDepositor, ICrvDepositorInterface } from "../ICrvDepositor";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "crv",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "_amount",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ internalType: "bool",
32
+ name: "_lock",
33
+ type: "bool",
34
+ },
35
+ {
36
+ internalType: "address",
37
+ name: "_stakeAddress",
38
+ type: "address",
39
+ },
40
+ ],
41
+ name: "deposit",
42
+ outputs: [],
43
+ stateMutability: "nonpayable",
44
+ type: "function",
45
+ },
46
+ {
47
+ inputs: [
48
+ {
49
+ internalType: "bool",
50
+ name: "_lock",
51
+ type: "bool",
52
+ },
53
+ {
54
+ internalType: "address",
55
+ name: "_stakeAddress",
56
+ type: "address",
57
+ },
58
+ ],
59
+ name: "depositAll",
60
+ outputs: [],
61
+ stateMutability: "nonpayable",
62
+ type: "function",
63
+ },
64
+ {
65
+ inputs: [],
66
+ name: "minter",
67
+ outputs: [
68
+ {
69
+ internalType: "address",
70
+ name: "",
71
+ type: "address",
72
+ },
73
+ ],
74
+ stateMutability: "view",
75
+ type: "function",
76
+ },
77
+ ];
78
+
79
+ export class ICrvDepositor__factory {
80
+ static readonly abi = _abi;
81
+ static createInterface(): ICrvDepositorInterface {
82
+ return new utils.Interface(_abi) as ICrvDepositorInterface;
83
+ }
84
+ static connect(
85
+ address: string,
86
+ signerOrProvider: Signer | Provider
87
+ ): ICrvDepositor {
88
+ return new Contract(address, _abi, signerOrProvider) as ICrvDepositor;
89
+ }
90
+ }