@pendle/core-v2 0.8.0-beta → 0.8.0-beta-3

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 (278) 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 +50 -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 +50 -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 +50 -2
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +50 -2
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +50 -2
  15. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +48 -0
  17. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +48 -0
  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/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
  23. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -15
  25. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -15
  27. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +60 -58
  30. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -24
  32. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +4 -29
  34. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -22
  36. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +1 -20
  38. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +30 -105
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  42. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
  44. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  46. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  48. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +137 -18
  55. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  57. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +206 -16
  59. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +12 -117
  61. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +0 -148
  63. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +0 -148
  65. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +0 -173
  67. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +338 -0
  81. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +68 -0
  83. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +406 -0
  85. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
  91. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +31 -2
  97. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -19
  99. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +1 -7
  102. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +97 -16
  105. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +48 -0
  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/interfaces/IYearnVault.sol/IYearnVault.json +74 -1
  117. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  118. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  119. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  120. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
  121. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  122. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
  123. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  124. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  125. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  126. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  127. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  128. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
  129. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  130. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
  131. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  132. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
  133. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  134. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
  135. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  136. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  137. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  138. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  139. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  140. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  141. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  142. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  143. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  144. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  145. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
  146. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  147. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
  148. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  149. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
  150. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +249 -4
  153. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  154. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
  155. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  156. package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +8 -4
  157. package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
  158. package/contracts/core/Market/PendleMarket.sol +2 -2
  159. package/contracts/core/YieldContracts/PendleYieldToken.sol +26 -0
  160. package/contracts/core/actions/ActionCallback.sol +1 -3
  161. package/contracts/core/actions/base/ActionSCYAndPTBase.sol +2 -2
  162. package/contracts/core/actions/base/ActionSCYAndYTBase.sol +4 -1
  163. package/contracts/interfaces/IPRouterStatic.sol +7 -2
  164. package/contracts/interfaces/IYearnVault.sol +5 -1
  165. package/contracts/libraries/SCY/SCYIndex.sol +8 -1
  166. package/contracts/libraries/SCY/SCYUtils.sol +16 -0
  167. package/contracts/libraries/math/MarketMathCore.sol +21 -25
  168. package/contracts/libraries/math/Math.sol +0 -5
  169. package/contracts/offchain-helpers/RouterStatic.sol +137 -5
  170. package/deployments/43113-core.json +10 -10
  171. package/deployments/43113-markets/benqi-market-0x9f080Af83E84099ED92b1b9b4B4BbE4400f2A3CB.json +7 -0
  172. package/deployments/80001-core.json +9 -9
  173. package/deployments/80001-markets/benqi-market-0x78699fa58C484e9867B8047A12E959ccB8BaD90E.json +7 -0
  174. package/package.json +1 -1
  175. package/typechain-types/ActionCore.ts +180 -38
  176. package/typechain-types/ActionSCYAndPTBase.ts +3 -129
  177. package/typechain-types/ActionSCYAndPYBase.ts +3 -129
  178. package/typechain-types/ActionSCYAndYTBase.ts +3 -149
  179. package/typechain-types/ActionYT.ts +31 -117
  180. package/typechain-types/IPActionCore.ts +271 -3
  181. package/typechain-types/IPActionYT.ts +63 -3
  182. package/typechain-types/IPAllAction.ts +329 -3
  183. package/typechain-types/IPMarket.ts +38 -38
  184. package/typechain-types/IPRouterStatic.ts +61 -16
  185. package/typechain-types/IPVeToken.ts +0 -31
  186. package/typechain-types/IPVotingEscrow.ts +3 -7
  187. package/typechain-types/IPYieldToken.ts +107 -30
  188. package/typechain-types/ISuperComposableYield.ts +78 -0
  189. package/typechain-types/IYearnVault.ts +100 -9
  190. package/typechain-types/PendleAaveV3SCY.ts +78 -0
  191. package/typechain-types/PendleERC4626SCY.ts +78 -0
  192. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
  193. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
  194. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
  195. package/typechain-types/PendleMarket.ts +38 -142
  196. package/typechain-types/PendleQiTokenSCY.ts +78 -0
  197. package/typechain-types/PendleVotingControllerUpg.ts +139 -132
  198. package/typechain-types/PendleWstEthSCY.ts +78 -0
  199. package/typechain-types/PendleYearnVaultSCY.ts +78 -0
  200. package/typechain-types/PendleYieldToken.ts +186 -39
  201. package/typechain-types/RouterStatic.ts +402 -16
  202. package/typechain-types/SCYBase.ts +78 -0
  203. package/typechain-types/SCYBaseWithRewards.ts +78 -0
  204. package/typechain-types/VotingControllerStorageUpg.ts +93 -64
  205. package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
  206. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
  207. package/typechain-types/VotingEscrowTokenBase.ts +8 -39
  208. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  209. package/typechain-types/factories/ActionCore__factory.ts +205 -15
  210. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
  211. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
  212. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
  213. package/typechain-types/factories/ActionYT__factory.ts +11 -116
  214. package/typechain-types/factories/ERC20__factory.ts +1 -1
  215. package/typechain-types/factories/IPActionCore__factory.ts +338 -0
  216. package/typechain-types/factories/IPActionYT__factory.ts +68 -0
  217. package/typechain-types/factories/IPAllAction__factory.ts +406 -0
  218. package/typechain-types/factories/IPMarket__factory.ts +28 -28
  219. package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
  220. package/typechain-types/factories/IPVeToken__factory.ts +0 -19
  221. package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
  222. package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
  223. package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
  224. package/typechain-types/factories/IYearnVault__factory.ts +74 -1
  225. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
  226. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  227. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  228. package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
  229. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
  230. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
  231. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
  232. package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
  233. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  234. package/typechain-types/factories/PendleMarket__factory.ts +29 -104
  235. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  236. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  237. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +49 -1
  238. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  239. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
  240. package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
  241. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
  242. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  243. package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
  244. package/typechain-types/factories/RouterStatic__factory.ts +248 -3
  245. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
  246. package/typechain-types/factories/SCYBase__factory.ts +48 -0
  247. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
  248. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
  249. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
  250. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
  251. package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +0 -7
  252. package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +0 -7
  253. package/typechain-types/CelerReceiver.ts +0 -267
  254. package/typechain-types/CelerSender.ts +0 -164
  255. package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
  256. package/typechain-types/IPVotingEscrowController.ts +0 -154
  257. package/typechain-types/PendleBtrflyScy.ts +0 -822
  258. package/typechain-types/PendleGaugeController.ts +0 -282
  259. package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
  260. package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
  261. package/typechain-types/PendleJoeLpSCY.ts +0 -835
  262. package/typechain-types/PendleVotingController.ts +0 -865
  263. package/typechain-types/VotingControllerStorage.ts +0 -410
  264. package/typechain-types/VotingEscrowController.ts +0 -154
  265. package/typechain-types/VotingEscrowToken.ts +0 -335
  266. package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
  267. package/typechain-types/factories/CelerSender__factory.ts +0 -67
  268. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
  269. package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
  270. package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
  271. package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
  272. package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
  273. package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
  274. package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
  275. package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
  276. package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
  277. package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
  278. package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -225
@@ -1,298 +0,0 @@
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
- VotingControllerStorage,
9
- VotingControllerStorageInterface,
10
- } from "../VotingControllerStorage";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "MAX_LOCK_TIME",
16
- outputs: [
17
- {
18
- internalType: "uint128",
19
- name: "",
20
- type: "uint128",
21
- },
22
- ],
23
- stateMutability: "view",
24
- type: "function",
25
- },
26
- {
27
- inputs: [],
28
- name: "MAX_WEIGHT",
29
- outputs: [
30
- {
31
- internalType: "uint64",
32
- name: "",
33
- type: "uint64",
34
- },
35
- ],
36
- stateMutability: "view",
37
- type: "function",
38
- },
39
- {
40
- inputs: [],
41
- name: "WEEK",
42
- outputs: [
43
- {
44
- internalType: "uint128",
45
- name: "",
46
- type: "uint128",
47
- },
48
- ],
49
- stateMutability: "view",
50
- type: "function",
51
- },
52
- {
53
- inputs: [
54
- {
55
- internalType: "address",
56
- name: "pool",
57
- type: "address",
58
- },
59
- {
60
- internalType: "uint128",
61
- name: "timestamp",
62
- type: "uint128",
63
- },
64
- ],
65
- name: "getPoolVotesAt",
66
- outputs: [
67
- {
68
- internalType: "uint128",
69
- name: "",
70
- type: "uint128",
71
- },
72
- ],
73
- stateMutability: "view",
74
- type: "function",
75
- },
76
- {
77
- inputs: [
78
- {
79
- internalType: "uint128",
80
- name: "timestamp",
81
- type: "uint128",
82
- },
83
- ],
84
- name: "getTotalVotesAt",
85
- outputs: [
86
- {
87
- internalType: "uint128",
88
- name: "",
89
- type: "uint128",
90
- },
91
- ],
92
- stateMutability: "view",
93
- type: "function",
94
- },
95
- {
96
- inputs: [
97
- {
98
- internalType: "address",
99
- name: "user",
100
- type: "address",
101
- },
102
- {
103
- internalType: "address",
104
- name: "pool",
105
- type: "address",
106
- },
107
- ],
108
- name: "getUserPoolVote",
109
- outputs: [
110
- {
111
- components: [
112
- {
113
- internalType: "uint64",
114
- name: "weight",
115
- type: "uint64",
116
- },
117
- {
118
- components: [
119
- {
120
- internalType: "uint128",
121
- name: "bias",
122
- type: "uint128",
123
- },
124
- {
125
- internalType: "uint128",
126
- name: "slope",
127
- type: "uint128",
128
- },
129
- ],
130
- internalType: "struct VeBalance",
131
- name: "vote",
132
- type: "tuple",
133
- },
134
- ],
135
- internalType: "struct VotingControllerStorage.UserPoolInfo",
136
- name: "",
137
- type: "tuple",
138
- },
139
- ],
140
- stateMutability: "view",
141
- type: "function",
142
- },
143
- {
144
- inputs: [],
145
- name: "pendlePerSec",
146
- outputs: [
147
- {
148
- internalType: "uint128",
149
- name: "",
150
- type: "uint128",
151
- },
152
- ],
153
- stateMutability: "view",
154
- type: "function",
155
- },
156
- {
157
- inputs: [
158
- {
159
- internalType: "address",
160
- name: "",
161
- type: "address",
162
- },
163
- ],
164
- name: "poolInfos",
165
- outputs: [
166
- {
167
- internalType: "uint64",
168
- name: "chainId",
169
- type: "uint64",
170
- },
171
- {
172
- internalType: "uint128",
173
- name: "timestamp",
174
- type: "uint128",
175
- },
176
- {
177
- components: [
178
- {
179
- internalType: "uint128",
180
- name: "bias",
181
- type: "uint128",
182
- },
183
- {
184
- internalType: "uint128",
185
- name: "slope",
186
- type: "uint128",
187
- },
188
- ],
189
- internalType: "struct VeBalance",
190
- name: "vote",
191
- type: "tuple",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [
199
- {
200
- internalType: "address",
201
- name: "",
202
- type: "address",
203
- },
204
- ],
205
- name: "userDatas",
206
- outputs: [
207
- {
208
- internalType: "uint64",
209
- name: "totalVotedWeight",
210
- type: "uint64",
211
- },
212
- ],
213
- stateMutability: "view",
214
- type: "function",
215
- },
216
- {
217
- inputs: [
218
- {
219
- internalType: "address",
220
- name: "",
221
- type: "address",
222
- },
223
- {
224
- internalType: "address",
225
- name: "",
226
- type: "address",
227
- },
228
- {
229
- internalType: "uint256",
230
- name: "",
231
- type: "uint256",
232
- },
233
- ],
234
- name: "userPoolCheckpoints",
235
- outputs: [
236
- {
237
- components: [
238
- {
239
- internalType: "uint128",
240
- name: "bias",
241
- type: "uint128",
242
- },
243
- {
244
- internalType: "uint128",
245
- name: "slope",
246
- type: "uint128",
247
- },
248
- ],
249
- internalType: "struct VeBalance",
250
- name: "balance",
251
- type: "tuple",
252
- },
253
- {
254
- internalType: "uint128",
255
- name: "timestamp",
256
- type: "uint128",
257
- },
258
- ],
259
- stateMutability: "view",
260
- type: "function",
261
- },
262
- {
263
- inputs: [
264
- {
265
- internalType: "uint128",
266
- name: "",
267
- type: "uint128",
268
- },
269
- ],
270
- name: "weekData",
271
- outputs: [
272
- {
273
- internalType: "uint128",
274
- name: "totalVotes",
275
- type: "uint128",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- ];
282
-
283
- export class VotingControllerStorage__factory {
284
- static readonly abi = _abi;
285
- static createInterface(): VotingControllerStorageInterface {
286
- return new utils.Interface(_abi) as VotingControllerStorageInterface;
287
- }
288
- static connect(
289
- address: string,
290
- signerOrProvider: Signer | Provider
291
- ): VotingControllerStorage {
292
- return new Contract(
293
- address,
294
- _abi,
295
- signerOrProvider
296
- ) as VotingControllerStorage;
297
- }
298
- }
@@ -1,80 +0,0 @@
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
- VotingEscrowController,
9
- VotingEscrowControllerInterface,
10
- } from "../VotingEscrowController";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "pendlePerSec",
16
- outputs: [
17
- {
18
- internalType: "uint256",
19
- name: "",
20
- type: "uint256",
21
- },
22
- ],
23
- stateMutability: "nonpayable",
24
- type: "function",
25
- },
26
- {
27
- inputs: [
28
- {
29
- internalType: "address",
30
- name: "pool",
31
- type: "address",
32
- },
33
- ],
34
- name: "readPoolRewardInfo",
35
- outputs: [
36
- {
37
- internalType: "uint256",
38
- name: "vote",
39
- type: "uint256",
40
- },
41
- {
42
- internalType: "uint256",
43
- name: "pendleSpeed",
44
- type: "uint256",
45
- },
46
- ],
47
- stateMutability: "nonpayable",
48
- type: "function",
49
- },
50
- {
51
- inputs: [],
52
- name: "totalVote",
53
- outputs: [
54
- {
55
- internalType: "uint256",
56
- name: "",
57
- type: "uint256",
58
- },
59
- ],
60
- stateMutability: "nonpayable",
61
- type: "function",
62
- },
63
- ];
64
-
65
- export class VotingEscrowController__factory {
66
- static readonly abi = _abi;
67
- static createInterface(): VotingEscrowControllerInterface {
68
- return new utils.Interface(_abi) as VotingEscrowControllerInterface;
69
- }
70
- static connect(
71
- address: string,
72
- signerOrProvider: Signer | Provider
73
- ): VotingEscrowController {
74
- return new Contract(
75
- address,
76
- _abi,
77
- signerOrProvider
78
- ) as VotingEscrowController;
79
- }
80
- }
@@ -1,225 +0,0 @@
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
- VotingEscrowToken,
9
- VotingEscrowTokenInterface,
10
- } from "../VotingEscrowToken";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "MAX_LOCK_TIME",
16
- outputs: [
17
- {
18
- internalType: "uint128",
19
- name: "",
20
- type: "uint128",
21
- },
22
- ],
23
- stateMutability: "view",
24
- type: "function",
25
- },
26
- {
27
- inputs: [],
28
- name: "WEEK",
29
- outputs: [
30
- {
31
- internalType: "uint128",
32
- name: "",
33
- type: "uint128",
34
- },
35
- ],
36
- stateMutability: "view",
37
- type: "function",
38
- },
39
- {
40
- inputs: [
41
- {
42
- internalType: "address",
43
- name: "user",
44
- type: "address",
45
- },
46
- ],
47
- name: "balanceOf",
48
- outputs: [
49
- {
50
- internalType: "uint128",
51
- name: "",
52
- type: "uint128",
53
- },
54
- ],
55
- stateMutability: "view",
56
- type: "function",
57
- },
58
- {
59
- inputs: [
60
- {
61
- components: [
62
- {
63
- internalType: "uint128",
64
- name: "amount",
65
- type: "uint128",
66
- },
67
- {
68
- internalType: "uint128",
69
- name: "expiry",
70
- type: "uint128",
71
- },
72
- ],
73
- internalType: "struct VotingEscrowToken.LockedPosition",
74
- name: "position",
75
- type: "tuple",
76
- },
77
- ],
78
- name: "convertToVeBalance",
79
- outputs: [
80
- {
81
- components: [
82
- {
83
- internalType: "uint128",
84
- name: "bias",
85
- type: "uint128",
86
- },
87
- {
88
- internalType: "uint128",
89
- name: "slope",
90
- type: "uint128",
91
- },
92
- ],
93
- internalType: "struct VeBalance",
94
- name: "res",
95
- type: "tuple",
96
- },
97
- ],
98
- stateMutability: "pure",
99
- type: "function",
100
- },
101
- {
102
- inputs: [
103
- {
104
- internalType: "uint128",
105
- name: "amount",
106
- type: "uint128",
107
- },
108
- {
109
- internalType: "uint128",
110
- name: "expiry",
111
- type: "uint128",
112
- },
113
- ],
114
- name: "convertToVeBalance",
115
- outputs: [
116
- {
117
- internalType: "uint128",
118
- name: "",
119
- type: "uint128",
120
- },
121
- {
122
- internalType: "uint128",
123
- name: "",
124
- type: "uint128",
125
- },
126
- ],
127
- stateMutability: "pure",
128
- type: "function",
129
- },
130
- {
131
- inputs: [
132
- {
133
- internalType: "address",
134
- name: "user",
135
- type: "address",
136
- },
137
- ],
138
- name: "isPositionExpired",
139
- outputs: [
140
- {
141
- internalType: "bool",
142
- name: "",
143
- type: "bool",
144
- },
145
- ],
146
- stateMutability: "view",
147
- type: "function",
148
- },
149
- {
150
- inputs: [],
151
- name: "lastSupplyUpdatedAt",
152
- outputs: [
153
- {
154
- internalType: "uint128",
155
- name: "",
156
- type: "uint128",
157
- },
158
- ],
159
- stateMutability: "view",
160
- type: "function",
161
- },
162
- {
163
- inputs: [
164
- {
165
- internalType: "address",
166
- name: "",
167
- type: "address",
168
- },
169
- ],
170
- name: "positionData",
171
- outputs: [
172
- {
173
- internalType: "uint128",
174
- name: "amount",
175
- type: "uint128",
176
- },
177
- {
178
- internalType: "uint128",
179
- name: "expiry",
180
- type: "uint128",
181
- },
182
- ],
183
- stateMutability: "view",
184
- type: "function",
185
- },
186
- {
187
- inputs: [],
188
- name: "totalSupplyCurrent",
189
- outputs: [
190
- {
191
- internalType: "uint128",
192
- name: "",
193
- type: "uint128",
194
- },
195
- ],
196
- stateMutability: "nonpayable",
197
- type: "function",
198
- },
199
- {
200
- inputs: [],
201
- name: "totalSupplyStored",
202
- outputs: [
203
- {
204
- internalType: "uint128",
205
- name: "",
206
- type: "uint128",
207
- },
208
- ],
209
- stateMutability: "view",
210
- type: "function",
211
- },
212
- ];
213
-
214
- export class VotingEscrowToken__factory {
215
- static readonly abi = _abi;
216
- static createInterface(): VotingEscrowTokenInterface {
217
- return new utils.Interface(_abi) as VotingEscrowTokenInterface;
218
- }
219
- static connect(
220
- address: string,
221
- signerOrProvider: Signer | Provider
222
- ): VotingEscrowToken {
223
- return new Contract(address, _abi, signerOrProvider) as VotingEscrowToken;
224
- }
225
- }