@pendle/core-v2 0.18.0-testnet → 0.20.0-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 (285) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +592 -0
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  43. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
  47. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
  49. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
  50. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +50 -0
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +1296 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +1283 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1231 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +133 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
  91. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  93. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  95. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  97. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  99. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +123 -5
  101. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
  102. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
  103. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
  105. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
  107. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
  109. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
  111. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/{IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json → Balancer/IGauge.sol/IGauge.json} +18 -33
  113. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
  114. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
  115. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
  116. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
  117. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.json +24 -0
  119. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
  120. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
  121. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
  123. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +43 -32
  133. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  138. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  140. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
  141. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
  142. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
  144. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  146. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  148. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  150. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  152. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  153. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  154. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  155. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  156. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  157. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  158. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  159. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  160. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  161. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  163. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  165. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  166. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  167. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +1 -1
  168. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  169. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +214 -0
  170. package/contracts/core/libraries/ArrayLib.sol +9 -0
  171. package/contracts/core/libraries/Errors.sol +9 -2
  172. package/contracts/interfaces/IPFeeDistributor.sol +10 -10
  173. package/deployments/43113-core.json +9 -3
  174. package/deployments/43113-helper.json +1 -1
  175. package/deployments/80001-helper.json +3 -0
  176. package/package.json +1 -1
  177. package/typechain-types/ComposableStablePreview.ts +217 -0
  178. package/typechain-types/IBalancerFees.ts +89 -0
  179. package/typechain-types/IBalancerStablePreview.ts +217 -0
  180. package/typechain-types/IBasePool.ts +482 -0
  181. package/typechain-types/IComposableStable.ts +730 -0
  182. package/typechain-types/IGauge.ts +160 -0
  183. package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
  184. package/typechain-types/IMetaStablePool.ts +619 -0
  185. package/typechain-types/IPFeeDistributor.ts +61 -78
  186. package/typechain-types/IPFeeDistributorFactory.ts +53 -139
  187. package/typechain-types/IRateProvider.ts +81 -0
  188. package/typechain-types/IRewards.ts +35 -5
  189. package/typechain-types/IVault.ts +410 -0
  190. package/typechain-types/MetaStableMath.ts +113 -0
  191. package/typechain-types/MetaStablePreview.ts +501 -0
  192. package/typechain-types/Multicall2.ts +437 -0
  193. package/typechain-types/PendleAura3EthSY.ts +1639 -0
  194. package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
  195. package/typechain-types/PendleAuraCbethWstethSY.ts +1626 -0
  196. package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
  197. package/typechain-types/PendleAuraWethWstethSY.ts +1562 -0
  198. package/typechain-types/PendleConvexLPSY.ts +204 -0
  199. package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
  200. package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
  201. package/typechain-types/PendleFeeDistributor.ts +409 -117
  202. package/typechain-types/PendleLooksStakingSY.ts +204 -0
  203. package/typechain-types/PendleQiTokenSY.ts +204 -0
  204. package/typechain-types/PendleWstEthSY.ts +204 -0
  205. package/typechain-types/SAPE.ts +204 -0
  206. package/typechain-types/SYBase.ts +204 -0
  207. package/typechain-types/SYBaseWithRewards.ts +204 -0
  208. package/typechain-types/StEthHelper.ts +107 -0
  209. package/typechain-types/StablePreviewBase.ts +217 -0
  210. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  211. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  212. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  213. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  214. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  215. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  216. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  217. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  218. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  219. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  220. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  221. package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
  222. package/typechain-types/factories/Errors__factory.ts +122 -4
  223. package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
  224. package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
  225. package/typechain-types/factories/IBasePool__factory.ts +340 -0
  226. package/typechain-types/factories/IComposableStable__factory.ts +482 -0
  227. package/typechain-types/factories/IGauge__factory.ts +70 -0
  228. package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
  229. package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
  230. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +25 -34
  231. package/typechain-types/factories/IPFeeDistributor__factory.ts +42 -31
  232. package/typechain-types/factories/IRateProvider__factory.ts +36 -0
  233. package/typechain-types/factories/IRewards__factory.ts +18 -0
  234. package/typechain-types/factories/IVault__factory.ts +287 -0
  235. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  236. package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
  237. package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
  238. package/typechain-types/factories/Multicall2__factory.ts +372 -0
  239. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  240. package/typechain-types/factories/PendleAura3EthSY__factory.ts +1365 -0
  241. package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
  242. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1356 -0
  243. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
  244. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1304 -0
  245. package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
  246. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
  247. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
  248. package/typechain-types/factories/PendleFeeDistributor__factory.ts +341 -66
  249. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  250. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  251. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
  252. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  253. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  254. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  255. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  256. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  257. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  258. package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
  259. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  260. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  261. package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
  262. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  263. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  264. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  265. package/typechain-types/factories/SAPE__factory.ts +142 -1
  266. package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
  267. package/typechain-types/factories/SYBase__factory.ts +141 -0
  268. package/typechain-types/factories/StEthHelper__factory.ts +62 -0
  269. package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
  270. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  271. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  272. package/typechain-types/hardhat.d.ts +184 -85
  273. package/typechain-types/index.ts +42 -16
  274. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
  275. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +0 -131
  276. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  277. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -310
  278. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
  279. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +0 -389
  280. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +0 -4
  281. package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +0 -159
  282. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +0 -99
  283. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +0 -70
  284. package/contracts/interfaces/IPFeeDistributorFactory.sol +0 -14
  285. package/deployments/1-markets/APE-JUNE-29.json +0 -8
@@ -0,0 +1,133 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IBalancerStablePreview",
4
+ "sourceName": "contracts/interfaces/Balancer/IBalancerStablePreview.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes32",
10
+ "name": "poolId",
11
+ "type": "bytes32"
12
+ },
13
+ {
14
+ "internalType": "address",
15
+ "name": "sender",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "recipient",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "components": [
25
+ {
26
+ "internalType": "address[]",
27
+ "name": "assets",
28
+ "type": "address[]"
29
+ },
30
+ {
31
+ "internalType": "uint256[]",
32
+ "name": "minAmountsOut",
33
+ "type": "uint256[]"
34
+ },
35
+ {
36
+ "internalType": "bytes",
37
+ "name": "userData",
38
+ "type": "bytes"
39
+ },
40
+ {
41
+ "internalType": "bool",
42
+ "name": "toInternalBalance",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "internalType": "struct IVault.ExitPoolRequest",
47
+ "name": "request",
48
+ "type": "tuple"
49
+ },
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "data",
53
+ "type": "bytes"
54
+ }
55
+ ],
56
+ "name": "exitPoolPreview",
57
+ "outputs": [
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "amountTokenOut",
61
+ "type": "uint256"
62
+ }
63
+ ],
64
+ "stateMutability": "view",
65
+ "type": "function"
66
+ },
67
+ {
68
+ "inputs": [
69
+ {
70
+ "internalType": "bytes32",
71
+ "name": "poolId",
72
+ "type": "bytes32"
73
+ },
74
+ {
75
+ "internalType": "address",
76
+ "name": "sender",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "internalType": "address",
81
+ "name": "recipient",
82
+ "type": "address"
83
+ },
84
+ {
85
+ "components": [
86
+ {
87
+ "internalType": "address[]",
88
+ "name": "assets",
89
+ "type": "address[]"
90
+ },
91
+ {
92
+ "internalType": "uint256[]",
93
+ "name": "maxAmountsIn",
94
+ "type": "uint256[]"
95
+ },
96
+ {
97
+ "internalType": "bytes",
98
+ "name": "userData",
99
+ "type": "bytes"
100
+ },
101
+ {
102
+ "internalType": "bool",
103
+ "name": "fromInternalBalance",
104
+ "type": "bool"
105
+ }
106
+ ],
107
+ "internalType": "struct IVault.JoinPoolRequest",
108
+ "name": "request",
109
+ "type": "tuple"
110
+ },
111
+ {
112
+ "internalType": "bytes",
113
+ "name": "data",
114
+ "type": "bytes"
115
+ }
116
+ ],
117
+ "name": "joinPoolPreview",
118
+ "outputs": [
119
+ {
120
+ "internalType": "uint256",
121
+ "name": "amountBptOut",
122
+ "type": "uint256"
123
+ }
124
+ ],
125
+ "stateMutability": "view",
126
+ "type": "function"
127
+ }
128
+ ],
129
+ "bytecode": "0x",
130
+ "deployedBytecode": "0x",
131
+ "linkReferences": {},
132
+ "deployedLinkReferences": {}
133
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/898c016ce38afd1e254c72eb9cd3c68e.json"
4
+ }
@@ -0,0 +1,328 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IBasePool",
4
+ "sourceName": "contracts/interfaces/Balancer/IBasePool.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "address",
12
+ "name": "owner",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "spender",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "uint256",
24
+ "name": "value",
25
+ "type": "uint256"
26
+ }
27
+ ],
28
+ "name": "Approval",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "address",
37
+ "name": "from",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "to",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "value",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "Transfer",
54
+ "type": "event"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "address",
60
+ "name": "owner",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "internalType": "address",
65
+ "name": "spender",
66
+ "type": "address"
67
+ }
68
+ ],
69
+ "name": "allowance",
70
+ "outputs": [
71
+ {
72
+ "internalType": "uint256",
73
+ "name": "",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "stateMutability": "view",
78
+ "type": "function"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "spender",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "amount",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "approve",
94
+ "outputs": [
95
+ {
96
+ "internalType": "bool",
97
+ "name": "",
98
+ "type": "bool"
99
+ }
100
+ ],
101
+ "stateMutability": "nonpayable",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "account",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "balanceOf",
113
+ "outputs": [
114
+ {
115
+ "internalType": "uint256",
116
+ "name": "",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "getPoolId",
126
+ "outputs": [
127
+ {
128
+ "internalType": "bytes32",
129
+ "name": "",
130
+ "type": "bytes32"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "getSwapFeePercentage",
139
+ "outputs": [
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "bytes32",
153
+ "name": "poolId",
154
+ "type": "bytes32"
155
+ },
156
+ {
157
+ "internalType": "address",
158
+ "name": "sender",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "internalType": "address",
163
+ "name": "recipient",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "internalType": "uint256[]",
168
+ "name": "balances",
169
+ "type": "uint256[]"
170
+ },
171
+ {
172
+ "internalType": "uint256",
173
+ "name": "lastChangeBlock",
174
+ "type": "uint256"
175
+ },
176
+ {
177
+ "internalType": "uint256",
178
+ "name": "protocolSwapFeePercentage",
179
+ "type": "uint256"
180
+ },
181
+ {
182
+ "internalType": "bytes",
183
+ "name": "userData",
184
+ "type": "bytes"
185
+ }
186
+ ],
187
+ "name": "onExitPool",
188
+ "outputs": [
189
+ {
190
+ "internalType": "uint256[]",
191
+ "name": "amountsOut",
192
+ "type": "uint256[]"
193
+ },
194
+ {
195
+ "internalType": "uint256[]",
196
+ "name": "dueProtocolFeeAmounts",
197
+ "type": "uint256[]"
198
+ }
199
+ ],
200
+ "stateMutability": "nonpayable",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "bytes32",
207
+ "name": "poolId",
208
+ "type": "bytes32"
209
+ },
210
+ {
211
+ "internalType": "address",
212
+ "name": "sender",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "internalType": "address",
217
+ "name": "recipient",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "internalType": "uint256[]",
222
+ "name": "balances",
223
+ "type": "uint256[]"
224
+ },
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "lastChangeBlock",
228
+ "type": "uint256"
229
+ },
230
+ {
231
+ "internalType": "uint256",
232
+ "name": "protocolSwapFeePercentage",
233
+ "type": "uint256"
234
+ },
235
+ {
236
+ "internalType": "bytes",
237
+ "name": "userData",
238
+ "type": "bytes"
239
+ }
240
+ ],
241
+ "name": "onJoinPool",
242
+ "outputs": [
243
+ {
244
+ "internalType": "uint256[]",
245
+ "name": "amountsIn",
246
+ "type": "uint256[]"
247
+ },
248
+ {
249
+ "internalType": "uint256[]",
250
+ "name": "dueProtocolFeeAmounts",
251
+ "type": "uint256[]"
252
+ }
253
+ ],
254
+ "stateMutability": "nonpayable",
255
+ "type": "function"
256
+ },
257
+ {
258
+ "inputs": [],
259
+ "name": "totalSupply",
260
+ "outputs": [
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "stateMutability": "view",
268
+ "type": "function"
269
+ },
270
+ {
271
+ "inputs": [
272
+ {
273
+ "internalType": "address",
274
+ "name": "to",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "internalType": "uint256",
279
+ "name": "amount",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "name": "transfer",
284
+ "outputs": [
285
+ {
286
+ "internalType": "bool",
287
+ "name": "",
288
+ "type": "bool"
289
+ }
290
+ ],
291
+ "stateMutability": "nonpayable",
292
+ "type": "function"
293
+ },
294
+ {
295
+ "inputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "from",
299
+ "type": "address"
300
+ },
301
+ {
302
+ "internalType": "address",
303
+ "name": "to",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "internalType": "uint256",
308
+ "name": "amount",
309
+ "type": "uint256"
310
+ }
311
+ ],
312
+ "name": "transferFrom",
313
+ "outputs": [
314
+ {
315
+ "internalType": "bool",
316
+ "name": "",
317
+ "type": "bool"
318
+ }
319
+ ],
320
+ "stateMutability": "nonpayable",
321
+ "type": "function"
322
+ }
323
+ ],
324
+ "bytecode": "0x",
325
+ "deployedBytecode": "0x",
326
+ "linkReferences": {},
327
+ "deployedLinkReferences": {}
328
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/898c016ce38afd1e254c72eb9cd3c68e.json"
4
+ }