@pendle/core-v2 0.8.0-beta-10 → 0.8.0-beta-11

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 (222) 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/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.json +837 -0
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
  15. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
  17. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  24. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  26. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  29. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  32. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  34. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +105 -30
  37. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  39. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
  41. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  43. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  45. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  48. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -83
  52. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  54. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +16 -206
  56. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +117 -12
  58. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +148 -0
  60. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +148 -0
  62. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +173 -0
  64. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +0 -338
  78. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +0 -68
  80. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -406
  82. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
  88. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +5 -0
  94. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +0 -81
  100. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +47 -0
  107. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +56 -0
  109. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +63 -0
  111. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  116. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  117. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  118. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  119. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
  120. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  121. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
  122. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  123. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  124. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  125. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  126. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  127. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
  128. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  129. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
  130. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  131. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
  132. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  133. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
  134. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  135. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  136. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  137. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  138. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  139. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  140. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  141. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  142. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  143. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  144. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
  145. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  146. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
  147. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  148. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
  149. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +7 -2
  152. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  153. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
  154. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  155. package/contracts/core/PendleRouter.sol +8 -0
  156. package/contracts/core/YieldContracts/PendleYieldToken.sol +13 -5
  157. package/contracts/core/actions/ActionCore.sol +80 -0
  158. package/contracts/core/actions/base/ActionSCYAndPYBase.sol +36 -0
  159. package/contracts/interfaces/IPActionCore.sol +78 -0
  160. package/contracts/interfaces/IPRouterStatic.sol +2 -1
  161. package/contracts/offchain-helpers/RouterStatic.sol +47 -1
  162. package/deployments/43113-core.json +1 -1
  163. package/deployments/80001-core.json +1 -1
  164. package/package.json +1 -1
  165. package/typechain-types/ActionCore.ts +38 -180
  166. package/typechain-types/ActionSCYAndPTBase.ts +129 -3
  167. package/typechain-types/ActionSCYAndPYBase.ts +129 -3
  168. package/typechain-types/ActionSCYAndYTBase.ts +149 -3
  169. package/typechain-types/ActionYT.ts +117 -31
  170. package/typechain-types/IPActionCore.ts +3 -271
  171. package/typechain-types/IPActionYT.ts +3 -63
  172. package/typechain-types/IPAllAction.ts +3 -329
  173. package/typechain-types/IPMarket.ts +38 -38
  174. package/typechain-types/IPRouterStatic.ts +6 -3
  175. package/typechain-types/IPYieldToken.ts +0 -74
  176. package/typechain-types/IStargateLPStaking.ts +143 -0
  177. package/typechain-types/IStargatePool.ts +129 -0
  178. package/typechain-types/IStargateRouter.ts +159 -0
  179. package/typechain-types/PendleMarket.ts +142 -38
  180. package/typechain-types/PendleStargatePool.ts +1089 -0
  181. package/typechain-types/PendleYieldToken.ts +0 -74
  182. package/typechain-types/RouterStatic.ts +6 -3
  183. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  184. package/typechain-types/factories/ActionCore__factory.ts +15 -205
  185. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +148 -0
  186. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +148 -0
  187. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +173 -0
  188. package/typechain-types/factories/ActionYT__factory.ts +116 -11
  189. package/typechain-types/factories/ERC20__factory.ts +1 -1
  190. package/typechain-types/factories/IPActionCore__factory.ts +0 -338
  191. package/typechain-types/factories/IPActionYT__factory.ts +0 -68
  192. package/typechain-types/factories/IPAllAction__factory.ts +0 -406
  193. package/typechain-types/factories/IPMarket__factory.ts +28 -28
  194. package/typechain-types/factories/IPRouterStatic__factory.ts +5 -0
  195. package/typechain-types/factories/IPYieldToken__factory.ts +0 -81
  196. package/typechain-types/factories/IStargateLPStaking__factory.ts +62 -0
  197. package/typechain-types/factories/IStargatePool__factory.ts +68 -0
  198. package/typechain-types/factories/IStargateRouter__factory.ts +78 -0
  199. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
  200. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  201. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  202. package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
  203. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  204. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  205. package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
  206. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  207. package/typechain-types/factories/PendleMarket__factory.ts +104 -29
  208. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  209. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  210. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
  211. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  212. package/typechain-types/factories/PendleStargatePool__factory.ts +929 -0
  213. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  214. package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
  215. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +1 -1
  216. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  217. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -82
  218. package/typechain-types/factories/RouterStatic__factory.ts +6 -1
  219. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  220. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  221. package/typechain-types/hardhat.d.ts +36 -0
  222. package/typechain-types/index.ts +8 -0
@@ -7,412 +7,6 @@ import { Provider } from "@ethersproject/providers";
7
7
  import type { IPAllAction, IPAllActionInterface } from "../IPAllAction";
8
8
 
9
9
  const _abi = [
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: true,
15
- internalType: "address",
16
- name: "caller",
17
- type: "address",
18
- },
19
- {
20
- indexed: true,
21
- internalType: "address",
22
- name: "market",
23
- type: "address",
24
- },
25
- {
26
- indexed: true,
27
- internalType: "address",
28
- name: "receiver",
29
- type: "address",
30
- },
31
- {
32
- indexed: false,
33
- internalType: "uint256",
34
- name: "scyUsed",
35
- type: "uint256",
36
- },
37
- {
38
- indexed: false,
39
- internalType: "uint256",
40
- name: "ptUsed",
41
- type: "uint256",
42
- },
43
- {
44
- indexed: false,
45
- internalType: "uint256",
46
- name: "lpOut",
47
- type: "uint256",
48
- },
49
- ],
50
- name: "AddLiquidity",
51
- type: "event",
52
- },
53
- {
54
- anonymous: false,
55
- inputs: [
56
- {
57
- indexed: true,
58
- internalType: "address",
59
- name: "caller",
60
- type: "address",
61
- },
62
- {
63
- indexed: true,
64
- internalType: "address",
65
- name: "receiver",
66
- type: "address",
67
- },
68
- {
69
- indexed: true,
70
- internalType: "address",
71
- name: "YT",
72
- type: "address",
73
- },
74
- {
75
- indexed: false,
76
- internalType: "address",
77
- name: "rawTokenIn",
78
- type: "address",
79
- },
80
- {
81
- indexed: false,
82
- internalType: "uint256",
83
- name: "netRawTokenIn",
84
- type: "uint256",
85
- },
86
- {
87
- indexed: false,
88
- internalType: "uint256",
89
- name: "netPyOut",
90
- type: "uint256",
91
- },
92
- ],
93
- name: "MintPyFromRawToken",
94
- type: "event",
95
- },
96
- {
97
- anonymous: false,
98
- inputs: [
99
- {
100
- indexed: true,
101
- internalType: "address",
102
- name: "caller",
103
- type: "address",
104
- },
105
- {
106
- indexed: true,
107
- internalType: "address",
108
- name: "receiver",
109
- type: "address",
110
- },
111
- {
112
- indexed: true,
113
- internalType: "address",
114
- name: "SCY",
115
- type: "address",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "address",
120
- name: "rawTokenIn",
121
- type: "address",
122
- },
123
- {
124
- indexed: false,
125
- internalType: "uint256",
126
- name: "netRawTokenIn",
127
- type: "uint256",
128
- },
129
- {
130
- indexed: false,
131
- internalType: "uint256",
132
- name: "netScyOut",
133
- type: "uint256",
134
- },
135
- ],
136
- name: "MintScyFromRawToken",
137
- type: "event",
138
- },
139
- {
140
- anonymous: false,
141
- inputs: [
142
- {
143
- indexed: true,
144
- internalType: "address",
145
- name: "caller",
146
- type: "address",
147
- },
148
- {
149
- indexed: true,
150
- internalType: "address",
151
- name: "receiver",
152
- type: "address",
153
- },
154
- {
155
- indexed: true,
156
- internalType: "address",
157
- name: "YT",
158
- type: "address",
159
- },
160
- {
161
- indexed: false,
162
- internalType: "uint256",
163
- name: "netPyIn",
164
- type: "uint256",
165
- },
166
- {
167
- indexed: false,
168
- internalType: "address",
169
- name: "rawTokenOut",
170
- type: "address",
171
- },
172
- {
173
- indexed: false,
174
- internalType: "uint256",
175
- name: "netRawTokenOut",
176
- type: "uint256",
177
- },
178
- ],
179
- name: "RedeemPyToRawToken",
180
- type: "event",
181
- },
182
- {
183
- anonymous: false,
184
- inputs: [
185
- {
186
- indexed: true,
187
- internalType: "address",
188
- name: "caller",
189
- type: "address",
190
- },
191
- {
192
- indexed: true,
193
- internalType: "address",
194
- name: "receiver",
195
- type: "address",
196
- },
197
- {
198
- indexed: true,
199
- internalType: "address",
200
- name: "SCY",
201
- type: "address",
202
- },
203
- {
204
- indexed: false,
205
- internalType: "uint256",
206
- name: "netScyIn",
207
- type: "uint256",
208
- },
209
- {
210
- indexed: false,
211
- internalType: "address",
212
- name: "rawTokenOut",
213
- type: "address",
214
- },
215
- {
216
- indexed: false,
217
- internalType: "uint256",
218
- name: "netRawTokenOut",
219
- type: "uint256",
220
- },
221
- ],
222
- name: "RedeemScyToRawToken",
223
- type: "event",
224
- },
225
- {
226
- anonymous: false,
227
- inputs: [
228
- {
229
- indexed: true,
230
- internalType: "address",
231
- name: "caller",
232
- type: "address",
233
- },
234
- {
235
- indexed: true,
236
- internalType: "address",
237
- name: "market",
238
- type: "address",
239
- },
240
- {
241
- indexed: false,
242
- internalType: "address",
243
- name: "receiver",
244
- type: "address",
245
- },
246
- {
247
- indexed: false,
248
- internalType: "uint256",
249
- name: "lpIn",
250
- type: "uint256",
251
- },
252
- {
253
- indexed: false,
254
- internalType: "uint256",
255
- name: "amountPTOut",
256
- type: "uint256",
257
- },
258
- {
259
- indexed: false,
260
- internalType: "uint256",
261
- name: "amountSCYOut",
262
- type: "uint256",
263
- },
264
- ],
265
- name: "RemoveLiquidity",
266
- type: "event",
267
- },
268
- {
269
- anonymous: false,
270
- inputs: [
271
- {
272
- indexed: true,
273
- internalType: "address",
274
- name: "caller",
275
- type: "address",
276
- },
277
- {
278
- indexed: true,
279
- internalType: "address",
280
- name: "market",
281
- type: "address",
282
- },
283
- {
284
- indexed: true,
285
- internalType: "address",
286
- name: "rawToken",
287
- type: "address",
288
- },
289
- {
290
- indexed: false,
291
- internalType: "address",
292
- name: "receiver",
293
- type: "address",
294
- },
295
- {
296
- indexed: false,
297
- internalType: "int256",
298
- name: "amountPtToAccount",
299
- type: "int256",
300
- },
301
- {
302
- indexed: false,
303
- internalType: "int256",
304
- name: "amountRawTokenToAccount",
305
- type: "int256",
306
- },
307
- ],
308
- name: "SwapPtAndRawToken",
309
- type: "event",
310
- },
311
- {
312
- anonymous: false,
313
- inputs: [
314
- {
315
- indexed: true,
316
- internalType: "address",
317
- name: "caller",
318
- type: "address",
319
- },
320
- {
321
- indexed: true,
322
- internalType: "address",
323
- name: "market",
324
- type: "address",
325
- },
326
- {
327
- indexed: true,
328
- internalType: "address",
329
- name: "receiver",
330
- type: "address",
331
- },
332
- {
333
- indexed: false,
334
- internalType: "int256",
335
- name: "amountPtToAccount",
336
- type: "int256",
337
- },
338
- {
339
- indexed: false,
340
- internalType: "int256",
341
- name: "amountScyToAccount",
342
- type: "int256",
343
- },
344
- ],
345
- name: "SwapPtAndScy",
346
- type: "event",
347
- },
348
- {
349
- anonymous: false,
350
- inputs: [
351
- {
352
- indexed: true,
353
- internalType: "address",
354
- name: "user",
355
- type: "address",
356
- },
357
- {
358
- indexed: true,
359
- internalType: "address",
360
- name: "market",
361
- type: "address",
362
- },
363
- {
364
- indexed: true,
365
- internalType: "address",
366
- name: "rawToken",
367
- type: "address",
368
- },
369
- {
370
- indexed: false,
371
- internalType: "int256",
372
- name: "ytToAccount",
373
- type: "int256",
374
- },
375
- {
376
- indexed: false,
377
- internalType: "int256",
378
- name: "rawTokenToAccount",
379
- type: "int256",
380
- },
381
- ],
382
- name: "SwapYTAndRawToken",
383
- type: "event",
384
- },
385
- {
386
- anonymous: false,
387
- inputs: [
388
- {
389
- indexed: true,
390
- internalType: "address",
391
- name: "user",
392
- type: "address",
393
- },
394
- {
395
- indexed: true,
396
- internalType: "address",
397
- name: "market",
398
- type: "address",
399
- },
400
- {
401
- indexed: false,
402
- internalType: "int256",
403
- name: "ytToAccount",
404
- type: "int256",
405
- },
406
- {
407
- indexed: false,
408
- internalType: "int256",
409
- name: "scyToAccount",
410
- type: "int256",
411
- },
412
- ],
413
- name: "SwapYTAndSCY",
414
- type: "event",
415
- },
416
10
  {
417
11
  inputs: [
418
12
  {
@@ -13,23 +13,29 @@ const _abi = [
13
13
  {
14
14
  indexed: true,
15
15
  internalType: "address",
16
- name: "owner",
16
+ name: "receiver",
17
17
  type: "address",
18
18
  },
19
19
  {
20
- indexed: true,
21
- internalType: "address",
22
- name: "spender",
23
- type: "address",
20
+ indexed: false,
21
+ internalType: "uint256",
22
+ name: "lpToAccount",
23
+ type: "uint256",
24
24
  },
25
25
  {
26
26
  indexed: false,
27
27
  internalType: "uint256",
28
- name: "value",
28
+ name: "scyUsed",
29
+ type: "uint256",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "ptUsed",
29
35
  type: "uint256",
30
36
  },
31
37
  ],
32
- name: "Approval",
38
+ name: "AddLiquidity",
33
39
  type: "event",
34
40
  },
35
41
  {
@@ -38,35 +44,23 @@ const _abi = [
38
44
  {
39
45
  indexed: true,
40
46
  internalType: "address",
41
- name: "receiverScy",
47
+ name: "owner",
42
48
  type: "address",
43
49
  },
44
50
  {
45
51
  indexed: true,
46
52
  internalType: "address",
47
- name: "receiverPt",
53
+ name: "spender",
48
54
  type: "address",
49
55
  },
50
56
  {
51
57
  indexed: false,
52
58
  internalType: "uint256",
53
- name: "lpBurned",
54
- type: "uint256",
55
- },
56
- {
57
- indexed: false,
58
- internalType: "uint256",
59
- name: "scyToAccount",
60
- type: "uint256",
61
- },
62
- {
63
- indexed: false,
64
- internalType: "uint256",
65
- name: "ptToAccount",
59
+ name: "value",
66
60
  type: "uint256",
67
61
  },
68
62
  ],
69
- name: "Burn",
63
+ name: "Approval",
70
64
  type: "event",
71
65
  },
72
66
  {
@@ -75,29 +69,35 @@ const _abi = [
75
69
  {
76
70
  indexed: true,
77
71
  internalType: "address",
78
- name: "receiver",
72
+ name: "receiverScy",
73
+ type: "address",
74
+ },
75
+ {
76
+ indexed: true,
77
+ internalType: "address",
78
+ name: "receiverPt",
79
79
  type: "address",
80
80
  },
81
81
  {
82
82
  indexed: false,
83
83
  internalType: "uint256",
84
- name: "lpMinted",
84
+ name: "lpRemoved",
85
85
  type: "uint256",
86
86
  },
87
87
  {
88
88
  indexed: false,
89
89
  internalType: "uint256",
90
- name: "scyUsed",
90
+ name: "scyToAccount",
91
91
  type: "uint256",
92
92
  },
93
93
  {
94
94
  indexed: false,
95
95
  internalType: "uint256",
96
- name: "ptUsed",
96
+ name: "ptToAccount",
97
97
  type: "uint256",
98
98
  },
99
99
  ],
100
- name: "Mint",
100
+ name: "RemoveLiquidity",
101
101
  type: "event",
102
102
  },
103
103
  {
@@ -141,6 +141,11 @@ const _abi = [
141
141
  name: "impliedYield",
142
142
  type: "int256",
143
143
  },
144
+ {
145
+ internalType: "uint256",
146
+ name: "exchangeRate",
147
+ type: "uint256",
148
+ },
144
149
  ],
145
150
  stateMutability: "view",
146
151
  type: "function",
@@ -32,87 +32,6 @@ const _abi = [
32
32
  name: "Approval",
33
33
  type: "event",
34
34
  },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "caller",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "receiver",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "uint256",
53
- name: "amountPYToRedeem",
54
- type: "uint256",
55
- },
56
- {
57
- indexed: false,
58
- internalType: "uint256",
59
- name: "amountScyOut",
60
- type: "uint256",
61
- },
62
- ],
63
- name: "Burn",
64
- type: "event",
65
- },
66
- {
67
- anonymous: false,
68
- inputs: [
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "caller",
73
- type: "address",
74
- },
75
- {
76
- indexed: true,
77
- internalType: "address",
78
- name: "receiverPT",
79
- type: "address",
80
- },
81
- {
82
- indexed: true,
83
- internalType: "address",
84
- name: "receiverYT",
85
- type: "address",
86
- },
87
- {
88
- indexed: false,
89
- internalType: "uint256",
90
- name: "amountScyToMint",
91
- type: "uint256",
92
- },
93
- {
94
- indexed: false,
95
- internalType: "uint256",
96
- name: "amountPYOut",
97
- type: "uint256",
98
- },
99
- ],
100
- name: "Mint",
101
- type: "event",
102
- },
103
- {
104
- anonymous: false,
105
- inputs: [
106
- {
107
- indexed: true,
108
- internalType: "uint256",
109
- name: "newIndex",
110
- type: "uint256",
111
- },
112
- ],
113
- name: "NewInterestIndex",
114
- type: "event",
115
- },
116
35
  {
117
36
  anonymous: false,
118
37
  inputs: [
@@ -0,0 +1,62 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IStargateLPStaking,
9
+ IStargateLPStakingInterface,
10
+ } from "../IStargateLPStaking";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "_pid",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "_amount",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "deposit",
27
+ outputs: [],
28
+ stateMutability: "nonpayable",
29
+ type: "function",
30
+ },
31
+ {
32
+ inputs: [
33
+ {
34
+ internalType: "uint256",
35
+ name: "_pid",
36
+ type: "uint256",
37
+ },
38
+ {
39
+ internalType: "uint256",
40
+ name: "_amount",
41
+ type: "uint256",
42
+ },
43
+ ],
44
+ name: "withdraw",
45
+ outputs: [],
46
+ stateMutability: "nonpayable",
47
+ type: "function",
48
+ },
49
+ ];
50
+
51
+ export class IStargateLPStaking__factory {
52
+ static readonly abi = _abi;
53
+ static createInterface(): IStargateLPStakingInterface {
54
+ return new utils.Interface(_abi) as IStargateLPStakingInterface;
55
+ }
56
+ static connect(
57
+ address: string,
58
+ signerOrProvider: Signer | Provider
59
+ ): IStargateLPStaking {
60
+ return new Contract(address, _abi, signerOrProvider) as IStargateLPStaking;
61
+ }
62
+ }