@pendle/core-v2 0.21.0-testnet → 1.0.0-mainnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) 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/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
  11. package/build/artifacts/contracts/{interfaces/IApeStaking.sol/IApeStaking.json → LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json} +52 -70
  12. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
  13. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +310 -0
  14. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
  15. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +389 -0
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  33. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  34. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  45. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  50. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  70. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  73. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  75. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  77. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  81. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +5 -134
  85. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +0 -18
  89. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +32 -43
  104. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/{Balancer/IGauge.sol/IGauge.json → IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json} +33 -18
  106. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  118. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  120. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  121. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  122. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -42
  123. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  124. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +98 -171
  125. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  127. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  129. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  131. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  132. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  133. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  135. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  137. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  139. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  140. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  141. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  142. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  144. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  146. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  148. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
  150. package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
  151. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  152. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -7
  153. package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
  154. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +99 -0
  155. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +70 -0
  156. package/contracts/core/BulkSeller/BulkSeller.sol +1 -1
  157. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
  158. package/contracts/core/libraries/ArrayLib.sol +0 -12
  159. package/contracts/core/libraries/Errors.sol +2 -15
  160. package/contracts/interfaces/ConvexCurve/IRewards.sol +0 -5
  161. package/contracts/interfaces/IPFeeDistributor.sol +10 -12
  162. package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
  163. package/contracts/offchain-helpers/MarketMathStatic.sol +88 -181
  164. package/contracts/offchain-helpers/RouterStatic.sol +72 -72
  165. package/contracts/router/kyberswap/AggregationRouterHelper.sol +192 -194
  166. package/contracts/router/kyberswap/IMultihopRouter.sol +139 -0
  167. package/deployments/1-core.json +29 -0
  168. package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +11 -0
  169. package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +10 -0
  170. package/deployments/1-markets/STETH-JUNE29.json +10 -0
  171. package/deployments/1-markets/STETH-MARCH30.json +10 -0
  172. package/package.json +6 -6
  173. package/typechain-types/IPFeeDistributor.ts +78 -61
  174. package/typechain-types/IPFeeDistributorFactory.ts +139 -53
  175. package/typechain-types/IRewards.ts +5 -35
  176. package/typechain-types/MarketMathStatic.ts +0 -49
  177. package/typechain-types/PendleFeeDistributor.ts +117 -409
  178. package/typechain-types/RouterStatic.ts +69 -40
  179. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  180. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  181. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  182. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  183. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  184. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  185. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  186. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  187. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  188. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  189. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  190. package/typechain-types/factories/Errors__factory.ts +4 -133
  191. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +34 -25
  192. package/typechain-types/factories/IPFeeDistributor__factory.ts +31 -42
  193. package/typechain-types/factories/IRewards__factory.ts +0 -18
  194. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -41
  195. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  196. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  197. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  198. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  199. package/typechain-types/factories/PendleFeeDistributor__factory.ts +66 -341
  200. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  201. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  202. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  203. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  204. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  205. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  206. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  207. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  208. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  209. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  210. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  211. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  212. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  213. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  214. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  215. package/typechain-types/factories/RouterStatic__factory.ts +41 -118
  216. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  217. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  218. package/typechain-types/hardhat.d.ts +40 -301
  219. package/typechain-types/index.ts +10 -68
  220. package/README.md +0 -28
  221. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  222. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -592
  223. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +0 -4
  224. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +0 -10
  225. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +0 -4
  226. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +0 -1075
  227. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +0 -4
  228. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +0 -1257
  229. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +0 -4
  230. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +0 -1244
  231. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +0 -4
  232. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +0 -1218
  233. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +0 -4
  234. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +0 -1192
  235. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +0 -4
  236. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +0 -10
  237. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +0 -4
  238. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +0 -133
  239. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +0 -4
  240. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +0 -10
  241. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +0 -4
  242. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +0 -40
  243. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +0 -4
  244. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +0 -322
  245. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +0 -4
  246. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +0 -1171
  247. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +0 -4
  248. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +0 -10
  249. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +0 -4
  250. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +0 -133
  251. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +0 -4
  252. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +0 -10
  253. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +0 -4
  254. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +0 -24
  255. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +0 -4
  256. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +0 -133
  257. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +0 -4
  258. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +0 -328
  259. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +0 -4
  260. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +0 -467
  261. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +0 -4
  262. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +0 -4
  263. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +0 -30
  264. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +0 -4
  265. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +0 -398
  266. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +0 -4
  267. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.json +0 -24
  268. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +0 -4
  269. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +0 -278
  270. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +0 -4
  271. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +0 -4
  272. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +0 -322
  273. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +0 -4
  274. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +0 -47
  275. package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +0 -4
  276. package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +0 -10
  277. package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  278. package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  279. package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +0 -4
  280. package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +0 -388
  281. package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +0 -4
  282. package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.json +0 -101
  283. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +0 -4
  284. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +0 -183
  285. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  286. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  287. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +0 -224
  288. package/contracts/core/StandardizedYield/StEthHelper.sol +0 -71
  289. package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +0 -197
  290. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +0 -170
  291. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +0 -162
  292. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +0 -134
  293. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +0 -154
  294. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +0 -289
  295. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +0 -618
  296. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +0 -68
  297. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +0 -322
  298. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +0 -390
  299. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +0 -329
  300. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +0 -30
  301. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +0 -189
  302. package/contracts/interfaces/Balancer/IAsset.sol +0 -4
  303. package/contracts/interfaces/Balancer/IBalancerFees.sol +0 -6
  304. package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +0 -22
  305. package/contracts/interfaces/Balancer/IBasePool.sol +0 -30
  306. package/contracts/interfaces/Balancer/IComposableStable.sol +0 -39
  307. package/contracts/interfaces/Balancer/IGauge.sol +0 -10
  308. package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +0 -6
  309. package/contracts/interfaces/Balancer/IMetaStablePool.sol +0 -31
  310. package/contracts/interfaces/Balancer/IRateProvider.sol +0 -6
  311. package/contracts/interfaces/Balancer/IVault.sol +0 -78
  312. package/contracts/interfaces/IApeStaking.sol +0 -30
  313. package/contracts/offchain-helpers/Multicall2.sol +0 -103
  314. package/contracts/offchain-helpers/PendleMulticall.sol +0 -26
  315. package/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol +0 -147
  316. package/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol +0 -17
  317. package/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol +0 -191
  318. package/contracts/router/kyberswap/interfaces/IHashflow.sol +0 -30
  319. package/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol +0 -33
  320. package/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -42
  321. package/deployments/43113-core.json +0 -29
  322. package/deployments/43113-helper.json +0 -4
  323. package/deployments/43113-markets/APE-30-MARCH.json +0 -10
  324. package/deployments/43113-markets/USDC-FEB-2ND.json +0 -10
  325. package/deployments/43113-markets/USDC-FEB-4TH.json +0 -10
  326. package/deployments/43113-markets/WETH-FEB-2ND.json +0 -11
  327. package/deployments/43113-markets/WETH-FEB-4TH.json +0 -11
  328. package/deployments/43113-testenv.json +0 -22
  329. package/deployments/80001-core.json +0 -28
  330. package/deployments/80001-helper.json +0 -4
  331. package/deployments/80001-markets/USDC-DEC-8TH.json +0 -10
  332. package/deployments/80001-markets/USDC-FEB-4TH.json +0 -10
  333. package/deployments/80001-markets/WETH-FEB-4TH.json +0 -11
  334. package/deployments/80001-testenv.json +0 -22
  335. package/typechain-types/BribeDistributor.ts +0 -363
  336. package/typechain-types/ComposableStablePreview.ts +0 -217
  337. package/typechain-types/DistributorBase.ts +0 -363
  338. package/typechain-types/FeeDistributor.ts +0 -416
  339. package/typechain-types/GMXPreviewHelper.ts +0 -134
  340. package/typechain-types/I1inchAggregationRouterV5.ts +0 -257
  341. package/typechain-types/IAggregationExecutor.ts +0 -182
  342. package/typechain-types/IApeStaking.ts +0 -305
  343. package/typechain-types/IBalancerFees.ts +0 -89
  344. package/typechain-types/IBalancerStablePreview.ts +0 -217
  345. package/typechain-types/IBasePool.ts +0 -482
  346. package/typechain-types/IComposableStable.ts +0 -730
  347. package/typechain-types/IExecutorHelperEthereum1.ts +0 -643
  348. package/typechain-types/IGMXVault.ts +0 -494
  349. package/typechain-types/IGauge.ts +0 -160
  350. package/typechain-types/IGlpManager.ts +0 -115
  351. package/typechain-types/IHashflow.ts +0 -159
  352. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
  353. package/typechain-types/ILiquidityGaugeFactory.ts +0 -99
  354. package/typechain-types/IMetaAggregationRouter.ts +0 -213
  355. package/typechain-types/IMetaAggregationRouterV2.ts +0 -221
  356. package/typechain-types/IMetaStablePool.ts +0 -619
  357. package/typechain-types/IMultihopRouterEthereum.ts +0 -209
  358. package/typechain-types/IPYieldTokenV2.ts +0 -915
  359. package/typechain-types/IRateProvider.ts +0 -81
  360. package/typechain-types/IRewardRouterV2.ts +0 -303
  361. package/typechain-types/ISwapAggregator.ts +0 -124
  362. package/typechain-types/IVault.ts +0 -410
  363. package/typechain-types/IVaultPriceFeed.ts +0 -114
  364. package/typechain-types/InterestManagerYTV2.ts +0 -124
  365. package/typechain-types/MetaStableMath.ts +0 -113
  366. package/typechain-types/MetaStablePreview.ts +0 -501
  367. package/typechain-types/Multicall2.ts +0 -437
  368. package/typechain-types/PendleApeStakingSY.ts +0 -1135
  369. package/typechain-types/PendleAura3EthSY.ts +0 -1600
  370. package/typechain-types/PendleAuraBalancerStableLPSY.ts +0 -1523
  371. package/typechain-types/PendleAuraCbethWstethSY.ts +0 -1587
  372. package/typechain-types/PendleAuraWethRethSY.ts +0 -1549
  373. package/typechain-types/PendleAuraWethWstethSY.ts +0 -1523
  374. package/typechain-types/PendleGlpSY.ts +0 -1449
  375. package/typechain-types/PendleMulticall.ts +0 -110
  376. package/typechain-types/PendlePrincipalTokenV2.ts +0 -614
  377. package/typechain-types/PendleYieldContractFactoryV2.ts +0 -801
  378. package/typechain-types/PendleYieldTokenV2.ts +0 -1304
  379. package/typechain-types/SAPE.ts +0 -1395
  380. package/typechain-types/SYBaseAutoCompound.ts +0 -1203
  381. package/typechain-types/StEthHelper.ts +0 -107
  382. package/typechain-types/StablePreviewBase.ts +0 -217
  383. package/typechain-types/SwapAggregator.ts +0 -406
  384. package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
  385. package/typechain-types/factories/ComposableStablePreview__factory.ts +0 -190
  386. package/typechain-types/factories/DistributorBase__factory.ts +0 -249
  387. package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
  388. package/typechain-types/factories/GMXPreviewHelper__factory.ts +0 -78
  389. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +0 -179
  390. package/typechain-types/factories/IAggregationExecutor__factory.ts +0 -84
  391. package/typechain-types/factories/IApeStaking__factory.ts +0 -161
  392. package/typechain-types/factories/IBalancerFees__factory.ts +0 -36
  393. package/typechain-types/factories/IBalancerStablePreview__factory.ts +0 -152
  394. package/typechain-types/factories/IBasePool__factory.ts +0 -340
  395. package/typechain-types/factories/IComposableStable__factory.ts +0 -482
  396. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +0 -407
  397. package/typechain-types/factories/IGMXVault__factory.ts +0 -320
  398. package/typechain-types/factories/IGauge__factory.ts +0 -70
  399. package/typechain-types/factories/IGlpManager__factory.ts +0 -55
  400. package/typechain-types/factories/IHashflow__factory.ts +0 -113
  401. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
  402. package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +0 -49
  403. package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +0 -234
  404. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
  405. package/typechain-types/factories/IMetaStablePool__factory.ts +0 -413
  406. package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
  407. package/typechain-types/factories/IPYieldTokenV2__factory.ts +0 -702
  408. package/typechain-types/factories/IRateProvider__factory.ts +0 -36
  409. package/typechain-types/factories/IRewardRouterV2__factory.ts +0 -180
  410. package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
  411. package/typechain-types/factories/IVaultPriceFeed__factory.ts +0 -60
  412. package/typechain-types/factories/IVault__factory.ts +0 -287
  413. package/typechain-types/factories/InterestManagerYTV2__factory.ts +0 -63
  414. package/typechain-types/factories/MetaStableMath__factory.ts +0 -93
  415. package/typechain-types/factories/MetaStablePreview__factory.ts +0 -375
  416. package/typechain-types/factories/Multicall2__factory.ts +0 -372
  417. package/typechain-types/factories/PendleApeStakingSY__factory.ts +0 -981
  418. package/typechain-types/factories/PendleAura3EthSY__factory.ts +0 -1326
  419. package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +0 -1190
  420. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +0 -1317
  421. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +0 -1291
  422. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +0 -1265
  423. package/typechain-types/factories/PendleGlpSY__factory.ts +0 -1255
  424. package/typechain-types/factories/PendleMulticall__factory.ts +0 -100
  425. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +0 -564
  426. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +0 -674
  427. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +0 -1122
  428. package/typechain-types/factories/SAPE__factory.ts +0 -1142
  429. package/typechain-types/factories/SYBaseAutoCompound__factory.ts +0 -942
  430. package/typechain-types/factories/StEthHelper__factory.ts +0 -62
  431. package/typechain-types/factories/StablePreviewBase__factory.ts +0 -148
  432. package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
@@ -1,180 +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
- IRewardRouterV2,
9
- IRewardRouterV2Interface,
10
- } from "../IRewardRouterV2";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "claim",
16
- outputs: [],
17
- stateMutability: "nonpayable",
18
- type: "function",
19
- },
20
- {
21
- inputs: [],
22
- name: "glpManager",
23
- outputs: [
24
- {
25
- internalType: "address",
26
- name: "",
27
- type: "address",
28
- },
29
- ],
30
- stateMutability: "view",
31
- type: "function",
32
- },
33
- {
34
- inputs: [
35
- {
36
- internalType: "address",
37
- name: "_token",
38
- type: "address",
39
- },
40
- {
41
- internalType: "uint256",
42
- name: "_amount",
43
- type: "uint256",
44
- },
45
- {
46
- internalType: "uint256",
47
- name: "_minUsdg",
48
- type: "uint256",
49
- },
50
- {
51
- internalType: "uint256",
52
- name: "_minGlp",
53
- type: "uint256",
54
- },
55
- ],
56
- name: "mintAndStakeGlp",
57
- outputs: [
58
- {
59
- internalType: "uint256",
60
- name: "",
61
- type: "uint256",
62
- },
63
- ],
64
- stateMutability: "nonpayable",
65
- type: "function",
66
- },
67
- {
68
- inputs: [
69
- {
70
- internalType: "uint256",
71
- name: "_minUsdg",
72
- type: "uint256",
73
- },
74
- {
75
- internalType: "uint256",
76
- name: "_minGlp",
77
- type: "uint256",
78
- },
79
- ],
80
- name: "mintAndStakeGlpETH",
81
- outputs: [
82
- {
83
- internalType: "uint256",
84
- name: "",
85
- type: "uint256",
86
- },
87
- ],
88
- stateMutability: "payable",
89
- type: "function",
90
- },
91
- {
92
- inputs: [
93
- {
94
- internalType: "address",
95
- name: "_tokenOut",
96
- type: "address",
97
- },
98
- {
99
- internalType: "uint256",
100
- name: "_glpAmount",
101
- type: "uint256",
102
- },
103
- {
104
- internalType: "uint256",
105
- name: "_minOut",
106
- type: "uint256",
107
- },
108
- {
109
- internalType: "address",
110
- name: "_receiver",
111
- type: "address",
112
- },
113
- ],
114
- name: "unstakeAndRedeemGlp",
115
- outputs: [
116
- {
117
- internalType: "uint256",
118
- name: "",
119
- type: "uint256",
120
- },
121
- ],
122
- stateMutability: "nonpayable",
123
- type: "function",
124
- },
125
- {
126
- inputs: [
127
- {
128
- internalType: "uint256",
129
- name: "_glpAmount",
130
- type: "uint256",
131
- },
132
- {
133
- internalType: "uint256",
134
- name: "_minOut",
135
- type: "uint256",
136
- },
137
- {
138
- internalType: "address payable",
139
- name: "_receiver",
140
- type: "address",
141
- },
142
- ],
143
- name: "unstakeAndRedeemGlpETH",
144
- outputs: [
145
- {
146
- internalType: "uint256",
147
- name: "",
148
- type: "uint256",
149
- },
150
- ],
151
- stateMutability: "nonpayable",
152
- type: "function",
153
- },
154
- {
155
- inputs: [],
156
- name: "weth",
157
- outputs: [
158
- {
159
- internalType: "address",
160
- name: "",
161
- type: "address",
162
- },
163
- ],
164
- stateMutability: "view",
165
- type: "function",
166
- },
167
- ];
168
-
169
- export class IRewardRouterV2__factory {
170
- static readonly abi = _abi;
171
- static createInterface(): IRewardRouterV2Interface {
172
- return new utils.Interface(_abi) as IRewardRouterV2Interface;
173
- }
174
- static connect(
175
- address: string,
176
- signerOrProvider: Signer | Provider
177
- ): IRewardRouterV2 {
178
- return new Contract(address, _abi, signerOrProvider) as IRewardRouterV2;
179
- }
180
- }
@@ -1,66 +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
- ISwapAggregator,
9
- ISwapAggregatorInterface,
10
- } from "../ISwapAggregator";
11
-
12
- const _abi = [
13
- {
14
- inputs: [
15
- {
16
- internalType: "address",
17
- name: "tokenIn",
18
- type: "address",
19
- },
20
- {
21
- internalType: "uint256",
22
- name: "amountIn",
23
- type: "uint256",
24
- },
25
- {
26
- components: [
27
- {
28
- internalType: "enum AGGREGATOR",
29
- name: "aggregatorType",
30
- type: "uint8",
31
- },
32
- {
33
- internalType: "address",
34
- name: "router",
35
- type: "address",
36
- },
37
- {
38
- internalType: "bytes",
39
- name: "callData",
40
- type: "bytes",
41
- },
42
- ],
43
- internalType: "struct SwapData",
44
- name: "swapData",
45
- type: "tuple",
46
- },
47
- ],
48
- name: "swap",
49
- outputs: [],
50
- stateMutability: "payable",
51
- type: "function",
52
- },
53
- ];
54
-
55
- export class ISwapAggregator__factory {
56
- static readonly abi = _abi;
57
- static createInterface(): ISwapAggregatorInterface {
58
- return new utils.Interface(_abi) as ISwapAggregatorInterface;
59
- }
60
- static connect(
61
- address: string,
62
- signerOrProvider: Signer | Provider
63
- ): ISwapAggregator {
64
- return new Contract(address, _abi, signerOrProvider) as ISwapAggregator;
65
- }
66
- }
@@ -1,60 +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
- IVaultPriceFeed,
9
- IVaultPriceFeedInterface,
10
- } from "../IVaultPriceFeed";
11
-
12
- const _abi = [
13
- {
14
- inputs: [
15
- {
16
- internalType: "address",
17
- name: "_token",
18
- type: "address",
19
- },
20
- {
21
- internalType: "bool",
22
- name: "_maximise",
23
- type: "bool",
24
- },
25
- {
26
- internalType: "bool",
27
- name: "_includeAmmPrice",
28
- type: "bool",
29
- },
30
- {
31
- internalType: "bool",
32
- name: "_useSwapPricing",
33
- type: "bool",
34
- },
35
- ],
36
- name: "getPrice",
37
- outputs: [
38
- {
39
- internalType: "uint256",
40
- name: "",
41
- type: "uint256",
42
- },
43
- ],
44
- stateMutability: "view",
45
- type: "function",
46
- },
47
- ];
48
-
49
- export class IVaultPriceFeed__factory {
50
- static readonly abi = _abi;
51
- static createInterface(): IVaultPriceFeedInterface {
52
- return new utils.Interface(_abi) as IVaultPriceFeedInterface;
53
- }
54
- static connect(
55
- address: string,
56
- signerOrProvider: Signer | Provider
57
- ): IVaultPriceFeed {
58
- return new Contract(address, _abi, signerOrProvider) as IVaultPriceFeed;
59
- }
60
- }
@@ -1,287 +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 { IVault, IVaultInterface } from "../IVault";
8
-
9
- const _abi = [
10
- {
11
- inputs: [],
12
- name: "WETH",
13
- outputs: [
14
- {
15
- internalType: "contract IERC20",
16
- name: "",
17
- type: "address",
18
- },
19
- ],
20
- stateMutability: "view",
21
- type: "function",
22
- },
23
- {
24
- inputs: [
25
- {
26
- internalType: "bytes32",
27
- name: "poolId",
28
- type: "bytes32",
29
- },
30
- {
31
- internalType: "address",
32
- name: "sender",
33
- type: "address",
34
- },
35
- {
36
- internalType: "address payable",
37
- name: "recipient",
38
- type: "address",
39
- },
40
- {
41
- components: [
42
- {
43
- internalType: "address[]",
44
- name: "assets",
45
- type: "address[]",
46
- },
47
- {
48
- internalType: "uint256[]",
49
- name: "minAmountsOut",
50
- type: "uint256[]",
51
- },
52
- {
53
- internalType: "bytes",
54
- name: "userData",
55
- type: "bytes",
56
- },
57
- {
58
- internalType: "bool",
59
- name: "toInternalBalance",
60
- type: "bool",
61
- },
62
- ],
63
- internalType: "struct IVault.ExitPoolRequest",
64
- name: "request",
65
- type: "tuple",
66
- },
67
- ],
68
- name: "exitPool",
69
- outputs: [],
70
- stateMutability: "nonpayable",
71
- type: "function",
72
- },
73
- {
74
- inputs: [
75
- {
76
- internalType: "bytes32",
77
- name: "poolId",
78
- type: "bytes32",
79
- },
80
- ],
81
- name: "getPool",
82
- outputs: [
83
- {
84
- internalType: "address",
85
- name: "",
86
- type: "address",
87
- },
88
- {
89
- internalType: "uint8",
90
- name: "",
91
- type: "uint8",
92
- },
93
- ],
94
- stateMutability: "view",
95
- type: "function",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "bytes32",
101
- name: "poolId",
102
- type: "bytes32",
103
- },
104
- ],
105
- name: "getPoolTokens",
106
- outputs: [
107
- {
108
- internalType: "contract IERC20[]",
109
- name: "tokens",
110
- type: "address[]",
111
- },
112
- {
113
- internalType: "uint256[]",
114
- name: "balances",
115
- type: "uint256[]",
116
- },
117
- {
118
- internalType: "uint256",
119
- name: "lastChangeBlock",
120
- type: "uint256",
121
- },
122
- ],
123
- stateMutability: "view",
124
- type: "function",
125
- },
126
- {
127
- inputs: [],
128
- name: "getProtocolFeesCollector",
129
- outputs: [
130
- {
131
- internalType: "address",
132
- name: "",
133
- type: "address",
134
- },
135
- ],
136
- stateMutability: "view",
137
- type: "function",
138
- },
139
- {
140
- inputs: [
141
- {
142
- internalType: "bytes32",
143
- name: "poolId",
144
- type: "bytes32",
145
- },
146
- {
147
- internalType: "address",
148
- name: "sender",
149
- type: "address",
150
- },
151
- {
152
- internalType: "address",
153
- name: "recipient",
154
- type: "address",
155
- },
156
- {
157
- components: [
158
- {
159
- internalType: "address[]",
160
- name: "assets",
161
- type: "address[]",
162
- },
163
- {
164
- internalType: "uint256[]",
165
- name: "maxAmountsIn",
166
- type: "uint256[]",
167
- },
168
- {
169
- internalType: "bytes",
170
- name: "userData",
171
- type: "bytes",
172
- },
173
- {
174
- internalType: "bool",
175
- name: "fromInternalBalance",
176
- type: "bool",
177
- },
178
- ],
179
- internalType: "struct IVault.JoinPoolRequest",
180
- name: "request",
181
- type: "tuple",
182
- },
183
- ],
184
- name: "joinPool",
185
- outputs: [],
186
- stateMutability: "payable",
187
- type: "function",
188
- },
189
- {
190
- inputs: [
191
- {
192
- components: [
193
- {
194
- internalType: "bytes32",
195
- name: "poolId",
196
- type: "bytes32",
197
- },
198
- {
199
- internalType: "enum IVault.SwapKind",
200
- name: "kind",
201
- type: "uint8",
202
- },
203
- {
204
- internalType: "contract IAsset",
205
- name: "assetIn",
206
- type: "address",
207
- },
208
- {
209
- internalType: "contract IAsset",
210
- name: "assetOut",
211
- type: "address",
212
- },
213
- {
214
- internalType: "uint256",
215
- name: "amount",
216
- type: "uint256",
217
- },
218
- {
219
- internalType: "bytes",
220
- name: "userData",
221
- type: "bytes",
222
- },
223
- ],
224
- internalType: "struct IVault.SingleSwap",
225
- name: "singleSwap",
226
- type: "tuple",
227
- },
228
- {
229
- components: [
230
- {
231
- internalType: "address",
232
- name: "sender",
233
- type: "address",
234
- },
235
- {
236
- internalType: "bool",
237
- name: "fromInternalBalance",
238
- type: "bool",
239
- },
240
- {
241
- internalType: "address payable",
242
- name: "recipient",
243
- type: "address",
244
- },
245
- {
246
- internalType: "bool",
247
- name: "toInternalBalance",
248
- type: "bool",
249
- },
250
- ],
251
- internalType: "struct IVault.FundManagement",
252
- name: "funds",
253
- type: "tuple",
254
- },
255
- {
256
- internalType: "uint256",
257
- name: "limit",
258
- type: "uint256",
259
- },
260
- {
261
- internalType: "uint256",
262
- name: "deadline",
263
- type: "uint256",
264
- },
265
- ],
266
- name: "swap",
267
- outputs: [
268
- {
269
- internalType: "uint256",
270
- name: "",
271
- type: "uint256",
272
- },
273
- ],
274
- stateMutability: "payable",
275
- type: "function",
276
- },
277
- ];
278
-
279
- export class IVault__factory {
280
- static readonly abi = _abi;
281
- static createInterface(): IVaultInterface {
282
- return new utils.Interface(_abi) as IVaultInterface;
283
- }
284
- static connect(address: string, signerOrProvider: Signer | Provider): IVault {
285
- return new Contract(address, _abi, signerOrProvider) as IVault;
286
- }
287
- }
@@ -1,63 +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
- InterestManagerYTV2,
9
- InterestManagerYTV2Interface,
10
- } from "../InterestManagerYTV2";
11
-
12
- const _abi = [
13
- {
14
- inputs: [],
15
- name: "globalInterestIndex",
16
- outputs: [
17
- {
18
- internalType: "uint256",
19
- name: "",
20
- type: "uint256",
21
- },
22
- ],
23
- stateMutability: "view",
24
- type: "function",
25
- },
26
- {
27
- inputs: [
28
- {
29
- internalType: "address",
30
- name: "",
31
- type: "address",
32
- },
33
- ],
34
- name: "userInterest",
35
- outputs: [
36
- {
37
- internalType: "uint128",
38
- name: "index",
39
- type: "uint128",
40
- },
41
- {
42
- internalType: "uint128",
43
- name: "accrued",
44
- type: "uint128",
45
- },
46
- ],
47
- stateMutability: "view",
48
- type: "function",
49
- },
50
- ];
51
-
52
- export class InterestManagerYTV2__factory {
53
- static readonly abi = _abi;
54
- static createInterface(): InterestManagerYTV2Interface {
55
- return new utils.Interface(_abi) as InterestManagerYTV2Interface;
56
- }
57
- static connect(
58
- address: string,
59
- signerOrProvider: Signer | Provider
60
- ): InterestManagerYTV2 {
61
- return new Contract(address, _abi, signerOrProvider) as InterestManagerYTV2;
62
- }
63
- }